.blog-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Hero Card */

.hero-card {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: calc(100vh - 100px);
    padding: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 790px;
    width: 100%;
    gap: 1em;
}

.blog-tag-list   { 
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 6px;
}

.blog-tag { 
    display: flex; 
    padding: 6px 10px;
    background-color: #871de4;
    border-radius: 7px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #fff;
}

.blog-tag:hover {
    border: none;
    background-color: #9930f4;
    color: #BABABA;
}

.blog-hero-title {
    text-align: left;
    text-transform: math-auto;
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0;
}

.blog-hero-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0;
}

.read-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: .5em;
}

.read-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 6px;
    border-radius: 20px;
    background-color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #000;
}

.read-btn:hover {
    background-color: #ffffff96;
    color: #000000b8;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #fff;
}

/* Navbar */

.blog-filter {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 20px 0;
    gap: 1em;
}

.filter-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    gap: 5px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: rgba(18, 18, 18, 0.7);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
    border: 2px solid transparent;
    color: #000;
}

.filter-btn.active {
    border: 2px solid #e41d2f;
    color: #000;
}

/* Grid Block */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px,1fr));
    padding: 30px 110px;
    gap: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 16px;
    background-color: #fff;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.card-thumb-wrapper {
    position: relative;
}

.card-thumb-wrapper .post-tag-list {
    position: absolute;
    top: 0; 
    left: 0;
    z-index: 2;
}

.card-thumb-wrapper .post-tag-list .post-tag {
    display: flex;
    background-color: #e41d2f; 
    padding: 4px 10px;
    border-radius: 7px 0 7px 0; 
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #fff;
}

.card-thumb-wrapper .post-tag-list .post-tag:hover {
    background-color: #b41427;
    color: #ffffffe0;
}

.card-thumb img { 
    display: flex; 
    width: 100%; 
    height: auto; 
    border-radius: 7px;
}

.blog-card h3 { 
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #000;
    margin: 0; 
}

.excerpt { 
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #000; 
    margin: 0; 
}

.meta { 
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: .5em;
}

.read-more {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 6px;
    border-radius: 20px;
    background-color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #fff;
}

.read-more:hover {
    background-color: #000000b8;
    color: #BABABA;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #000;
}

/* Single Post */

.post-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.post-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1em;
}

.post-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    width: 100%;
    gap: 1em;
}

.post-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #000;
    margin: 0;
}

.post-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #000;
    margin: 0;
}

.post-read-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: .5em;
}

.post-read-time {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.04em;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
}

.post-time {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #000;
}

.post-image {
    padding: 20px 40px;
}

.post-image img {
    border-radius: 20px;
    width: 1318px;
    height: 708px;
}

.single-post-content {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
    gap: 1em;
}

.single-post-content h2 {
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #000;
    margin: 0;
}

.single-post-content h3 {
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #000;
    margin: 0;
}

.single-post-content p {
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #000;
    margin: 0;
}

.single-post-content blockquote {
    border: 2px dashed #80141e;
    border-radius: 7px;
    padding: 20px;
}

.single-post-content blockquote p {
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #80141e;
    margin: 0;
}

.single-post-content ul.wp-block-list {
    margin: 0;
    padding: 0;    
}

.single-post-content ol.wp-block-list {
    margin-left: 1.5em;
    padding: 0;
}

.single-post-content ul.wp-block-list li,
.single-post-content ol.wp-block-list li {
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #000;
    list-style: auto;
}

.single-post-content .highlight { 
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #e41d2f;
}

@media (max-width: 1024px) { 
    .grid-4 { 
        gap: 24px; 
    } 

    .post-image {
        padding: 0;
    }

    .post-image img {
        width: 100%;
        height: auto;
    }
}

@media(max-width: 768px) {
    .grid-4 { 
        grid-template-columns: repeat(2,1fr); 
    }

    .post-image {
        padding: 0;
    }

    .post-image img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 480px) {
    .grid-4{ 
        grid-template-columns:1fr; 
    }

    .post-image {
        padding: 0;
    }

    .post-image img {
        width: 100%;
        height: auto;
    }
}
