﻿.horse_blog_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.horse_blog_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.horse_blog {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.horse_blog_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.horse_back_bar {
    width: 100%;
    min-height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 4px;
    background-color: var(--surface-1);
    border-radius: 48px;
}

.horses_back_bar_link {
    width: 144px;
    height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .horses_back_bar_link:focus,
    .horses_back_bar_link:active,
    .horses_back_bar_link:hover {
        background-color: var(--button-state);
    }

    .horses_back_bar_link_icon {
        width: 36px;
        height: 36px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .horses_back_bar_link_icon svg {
            width: 24px;
            height: 24px;
            display: block;
        }

.horses_back_bar_link:focus .global_icon_fill,
.horses_back_bar_link:active .global_icon_fill,
.horses_back_bar_link:hover .global_icon_fill {
    fill: var(--icon-state);
}

.horses_back_bar_link:focus .horses_back_bar_link_text,
.horses_back_bar_link:active .horses_back_bar_link_text,
.horses_back_bar_link:hover .horses_back_bar_link_text {
    color: var(--text-state);
}

.horse_blog_title {
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid var(--border-blue);
}

.horse_blog_hero_image {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .horse_blog_hero_image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 16px;
    }

.horse_blog_body {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.horse_blog_article {
    width: 100%;
    display: flex;
    flex-direction: column;
    order: 1;
    gap: 16px;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.horse_blog_article_grouped {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horse_blog_article_text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .horse_blog_article_text p {
        width: 100%;
    }

.horse_blog_article_actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.horses_blog_article_link {
    width: 100%;
    max-width: 244px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .horses_blog_article_link:focus,
    .horses_blog_article_link:active,
    .horses_blog_article_link:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

    .horse_blog_archive {
        width: 100%;
        display: flex;
        flex-direction: column;
        order: 2;
        gap: 16px;
        padding: 8px;
    }

.horse_blog_archive_title {
    width: 100%;
}

.horse_blog_archive_list_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horse_blog_archive_list {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.horse_blog_archive_list_item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.horse_blog_archive_list_item_description {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.horse_blog_archive_list_item_button {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .horse_blog_archive_list_item_button:focus,
    .horse_blog_archive_list_item_button:active,
    .horse_blog_archive_list_item_button:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.horse_blog_archive_button {
    width: 100%;
    max-width: 244px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0 auto;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .horse_blog_archive_button:focus,
    .horse_blog_archive_button:active,
    .horse_blog_archive_button:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.horse_blog_publisher {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;
    gap: 16px;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.horse_blog_publisher_details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .horse_blog_publisher_details img {
        border-radius: 50%;
    }

    .horse_blog_publisher_bio {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

.horse_blog_publisher_bio_text {
    width: 100%;
}

@media only screen and (min-width: 680px) {
    .horse_blog_archive_list_item {
        width: calc(50% - 4px);
    }
}

@media only screen and (min-width: 1200px) {
    .horse_blog_article {
        width: calc(75% - 8px);
    }

    .horse_blog_archive {
        width: calc(75% - 8px);
        order: 3;
    }

    .horse_blog_publisher {
        width: calc(25% - 8px);
        justify-content: flex-start;
        order: 2;
    }
}

@media only screen and (min-width: 1365px) {
    .horse_blog_archive_list_item {
        width: calc(33.33% - 6px);
    }
}
