.faq_section {
    background-color: #fff;
}
.faq_section h2,
.faq_section h3 {
    color: #4169e1;
}
.faq {
    background-color: var(--clr_primary);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
}
.accordion {
    flex-basis: 100%;
}
.accordion .accordion-item {
    background-color: #f5f8ff;
    border: 1px solid #eceff1;
    padding: 10px;
}
.accordion .accordion-item button[aria-expanded="true"] {
    border-bottom: 1px solid var(--clr_secondary);
}
.accordion button {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 100%;
    padding: 0.6em 0;
    color: #4169e1;
    font-size: 0.8rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}
.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
    color: var(--clr_secondary);
}
.accordion button:hover::after,
.accordion button:focus::after {
    cursor: pointer;
    color: var(--clr_secondary);
    border: 1px solid var(--clr_secondary);
}
.accordion button .accordion-title {
    padding: 0 1.5em 0 0;
}
.accordion button .icon {
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}
.accordion button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}
.accordion button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}
.accordion button[aria-expanded="true"] {
    color: var(--clr_secondary);
}
.accordion button[aria-expanded="true"] .icon::after {
    width: 0;
}
.accordion button[aria-expanded="true"] + .accordion-content {
    opacity: 1;
    max-height: fit-content !important;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}
.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 200ms linear,
        max-height 200ms linear;
    will-change: opacity, max-height;
}
.accordion .accordion-content p {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--clr_secondary);
    margin: 2em 0;
}
@media only screen and (min-width: 425px) {
    .accordion button {
        font-size: 1.15rem;
    }
    .accordion .accordion-content p {
        font-size: 1rem;
    }
}
@media only screen and (min-width: 768px) {
    .accordion {
        flex: 0 1 50%;
    }
}
.blogs_section {
    padding-block: 30px;
}
.column_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    min-height: 60vh;
}
h2 {
    font-size: 40px;
    font-family: sans-serif;
    margin-bottom: 30px;
}
.blog_column {
    flex: 1;
    position: relative;
    min-height: 400px;
}
.latest_blog {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: inherit;
    height: 100%;
    display: flex;
    align-items: flex-end;
    color: white;
    border-radius: 30px;
}
.latest_blog .text p,
.latest_blog .text .catLabel {
    background-color: #fff;
    padding: 10px 20px;
    text-transform: capitalize;
    width: fit-content;
    border-radius: 0 10px 0 0;
}
.catLabel {
    color: rgb(43, 43, 43);
}
.text p {
    color: rgb(43, 43, 43);
    font-family: sans-serif;
    font-size: 18px;
}
.blog_title {
    font-size: 20px !important;
    font-weight: bold;
    max-width: 80%;
    white-space: word-wrap;
    color: #141414;
}
.nested-columns {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 100%;
}
.nested-columns .row1 {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 10px;
}
.nested-columns .row1 > div,
.nested-columns .row2 > div {
    border: 1px solid #ddd;
    font-size: 16px;
    padding: 15px;
    border-radius: 30px;
}
.nested-columns .row1 > div {
    min-height: 300px;
}
.nested-columns .row2 > div {
    min-height: 250px;
}
.nested-columns .row2 {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 10px;
}
.latest_blog {
    background: url("../first_blog1.webp");
    background-size: cover;
    background-position: center center;
}
.thirdCat {
    background: url("../fifthblog4.webp");
    background-size: cover;
    background-position: center center;
}
.secondCat {
    background: url("../thirdblog3.webp");
    background-size: cover;
    background-position: center center;
}
.firstCat {
    background: url("../fourthblog5.webp");
    background-size: cover;
    background-position: center center;
}
.topic {
    padding: 15px 0;
    border-bottom: 3px solid #3a3a3a;
}
.topic.blog_title {
    font-size: 14px !important;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    min-width: 100%;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: auto;
}
.catBlgo_title {
    padding-right: 50px;
}
.topic.blog_title.secondTitle {
    border: none;
}
.thirdCat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.allCats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: flex-end;
    padding: 20px 0;
    background: url("../firstblog3.webp");
    background-size: cover;
    background-position: center center;
}
.allCats div {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-height: fit-content;
}
.blog_cat_link {
    text-transform: capitalize;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    background-color: rgb(0, 53, 114);
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
}
.nested-columns .row1 .firstCat {
    position: relative;
}
.nested-columns .row1 .firstCat .blog_link {
    display: block;
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #c1ff72;
    border: 12px solid white;
    padding: 6px 15px;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    color: black;
    font-size: 30px;
    line-height: 40px;
}
@media screen and (max-width: 768px) {
    .column_wrapper {
        flex-direction: column;
    }
    .blog_column {
        flex: none;
        width: 100%;
        min-height: 400px;
    }
    .nested-columns {
        height: auto;
    }
}
@media screen and (max-width: 550px) {
    .nested-columns .row1,
    .nested-columns .row2 {
        grid-template-columns: 100%;
    }
}
