@import url(main.css?v=1.1);

.header {
    background-image: inherit;
    height: 120px;
    background-color: rgba(8, 34, 74) !important;

    .menu {
        height: 100%;
        padding: 0 38px;


    }
}

main {
    section.sub-blog {
        padding: 0 100px;
        margin-bottom: 60px;

        .row-1 {
            color: #043E66;
            text-align: center;
            font-family: "Source Serif 4";
            font-size: 40px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            letter-spacing: 0.4px;

            display: flex;
            align-items: center;
            justify-content: start;
        }

        .row-2 {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            margin-bottom: 23px;
            gap: 80px;

            .right {


                .title {
                    color: #043E66;
                    font-family: "Source Serif 4";
                    font-size: 40px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 26px;
                    letter-spacing: 0.4px;
                }

                .more {
                    margin-top: 20px;
                    flex-shrink: 0;
                    align-self: stretch;
                    color: #043E66;
                    font-family: "Source Serif 4";
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 26px;
                }

            }
        }
    }

    section.blog {
        padding: 0 100px;
        margin-bottom: 60px;

        .row-3 {
            gap: 20px;

            .blog-card {
                display: flex;
                height: 400px;
                flex-direction: column;
                align-items: center;
                gap: 20px;
                flex-shrink: 0;
                border-radius: 12px;
                background: #D3E3F0;

                .image {
                    width: 100%;

                    img {
                        width: 100%;
                        height: 250px;
                        flex-shrink: 0;
                        border-radius: 35px;
                        padding: 20px;
                    }
                }

                .body {
                    width: 100%;
                    padding: 0 20px;
                    height: 110px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    .title {
                        color: #043E66;
                        font-family: "Source Serif 4";
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 24px;
                    }

                    .more {
                        display: flex;
                        justify-content: space-between;
                        align-items: end;

                        .icon {
                            display: flex;
                            width: 40px;
                            height: 41px;
                            padding: 9px 11px;
                            justify-content: center;
                            align-items: center;
                            gap: 10px;

                            border-radius: 30px;
                            background: #DBAB26;
                            box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
                        }

                        .text-link {
                            color: #043E66;
                            font-family: "Source Serif 4";
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 700;
                            line-height: 27px;
                            letter-spacing: 0.48px;
                            text-decoration-line: underline;
                            text-decoration-style: solid;
                            text-decoration-skip-ink: auto;
                            text-decoration-thickness: auto;
                            text-underline-offset: auto;
                            opacity: 0.5;
                        }
                    }
                }
            }
        }

    }
}

@media (max-width: 768px) {
    section.sub-blog {
        padding: 0 20px !important;
        margin-bottom: 30px !important;

        .row-1 {
            font-size: 22px;
        }

        .row-2 {
            margin-top: 10px;
            flex-direction: column;
            gap: 20px !important;



            .left {
                .image {
                    img {
                        border-radius: 12px;
                        width: 100%;
                        height: 398px;
                    }
                }

            }

            .right {
                .title{
                    font-size: 22px !important;
                }
            }

        }
    }

    section.blog {
        padding: 0 20px !important;
        margin-bottom: 30px !important;

        .row-3 {
            overflow-x: auto;
            scrollbar-width: none;

            .blog-card {
                width: 208px;
                height: 345px;

                .image {
                    img {
                        height: 200px;
                    }
                }
            }
        }
    }
}
