/* Homepage card layout */
.front-page-one-column {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Card list */
.front-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

/* Single card */
.front-card {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Remove extra spacing from default theme */
.front-cards .front-card {
    margin-bottom: 0;
}

/* Thumbnail area */
.front-card__thumb {
    flex: 0 0 170px;
    max-width: 170px;
    width: 170px;
    display: block;
    overflow: hidden;
    background: #f3f3f3;
}

.front-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    object-position: center;
}

/* Content area */
.front-card__body {
    flex: 1 1 auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.front-card__header {
    margin-bottom: 10px;
}

/* Title */
.front-card__title {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.2;
}

.front-card__title a {
    color: #222222;
    text-decoration: none;
}

.front-card__title a:hover,
.front-card__title a:focus {
    color: #21759b;
    text-decoration: underline;
}

/* Meta */
.front-card__meta {
    font-size: 13px;
    color: #777777;
    line-height: 1.4;
}

/* Excerpt */
.front-card__excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: #444444;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.front-card__excerpt p:last-child {
    margin-bottom: 0;
}

/* Card without thumbnail */
.front-card.no-thumb .front-card__body {
    width: 100%;
}

/* Mobile layout */
@media (max-width: 767px) {
    .front-card {
        display: block;
    }

    .front-card__thumb {
        max-width: 100%;
        width: 100%;
    }

    .front-card__thumb img {
        min-height: 220px;
    }

    .front-card__body {
        padding: 16px;
    }

    .front-card__title {
        font-size: 20px;
    }

    .front-cards {
        gap: 10px;
    }
}

/* Editor picks *--------------------------------------------------------/



/* Editor picks - compact vertical stack without absolute positioning */

/* Editor picks - clean compact list */
.editor-picks {
    margin: 0 0 28px;
}

.editor-picks__header {
    margin: 0 0 14px;
}

.editor-picks__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    color: #222222;
}

.editor-picks--hover-stack .editor-picks__stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.editor-picks--hover-stack .editor-picks__card {
    display: flex;
    align-items: flex-start;
    margin: 0;
    background: transparent;
    border: 0;
    overflow: hidden;
    box-shadow: none;
    transition: background-color 0.18s ease;
}

.editor-picks--hover-stack .editor-picks__card + .editor-picks__card {
    border-top: 1px solid #ececec;
}

.editor-picks--hover-stack .editor-picks__card.is-active {
    background: #fcfcfc;
}

.editor-picks--hover-stack .editor-picks__card:hover {
    background: #fafafa;
}

.editor-picks--hover-stack .editor-picks__card-thumb {
    display: block;
    flex: 0 0 176px;
    width: 176px;
    height: 56px;
    overflow: hidden;
    line-height: 0;
}

.editor-picks--hover-stack .editor-picks__card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.editor-picks--hover-stack .editor-picks__card-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 2px 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.editor-picks--hover-stack .editor-picks__card-title {
    margin: 0 0 1px;
    font-size: 15px;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.editor-picks--hover-stack .editor-picks__card-title a {
    color: #222222;
    text-decoration: none;
}

.editor-picks--hover-stack .editor-picks__card-title a:hover,
.editor-picks--hover-stack .editor-picks__card-title a:focus {
    color: #21759b;
    text-decoration: underline;
}

.editor-picks--hover-stack .editor-picks__card-excerpt {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    color: #5f5f5f;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.editor-picks--hover-stack .editor-picks__card-excerpt p {
    margin: 0;
}

.editor-picks--hover-stack .editor-picks__card::before,
.editor-picks--hover-stack .editor-picks__card::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 991px) {
    .editor-picks--hover-stack .editor-picks__card-thumb {
        flex: 0 0 24%;
        width: auto;
        max-width: 24%;
        height: 52px;
    }

    .editor-picks--hover-stack .editor-picks__card-body {
        padding: 2px 7px 0;
    }

    .editor-picks--hover-stack .editor-picks__card-title {
        font-size: 14px;
    }

    .editor-picks--hover-stack .editor-picks__card-excerpt {
        font-size: 10.5px;
    }
}

@media (max-width: 767px) {
    .editor-picks {
        margin-bottom: 22px;
    }

    .editor-picks__title {
        font-size: 24px;
    }

    .editor-picks--hover-stack .editor-picks__card-thumb {
        flex: 0 0 28%;
        width: auto;
        max-width: 28%;
        height: 48px;
    }

    .editor-picks--hover-stack .editor-picks__card-body {
        padding: 2px 6px 0;
    }

    .editor-picks--hover-stack .editor-picks__card-title {
        font-size: 13px;
        line-height: 1.1;
        margin: 0 0 1px;
    }

    .editor-picks--hover-stack .editor-picks__card-excerpt {
        font-size: 10px;
        line-height: 1.15;
        margin: 0;
    }
}

/*---------------------------------------------*/

.site-content .editor-picks--hover-stack article.editor-picks__card {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}





