/*============================================================================================*/
/* Blog styles (listing grid + single post) */
/*============================================================================================*/

/* ---- Listing grid ---- */
.blog_card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}
.blog_card_img {
    position: relative;
    display: block;
    /* blog images are 4:3 artwork with text, so show them uncropped */
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.blog_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog_card:hover .blog_card_img img {
    transform: scale(1.06);
}
.blog_tag {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #a90058;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
}
.blog_card_body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 25px;
}
.blog_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}
.blog_meta i {
    margin-right: 4px;
}
.blog_card_title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog_card_title a {
    color: #222;
}
.blog_card_title a:hover {
    color: #a90058;
}
.blog_excerpt {
    /* keep the excerpt to a single line */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
    margin-bottom: 20px;
}
a.btn_1.blog_readmore {
    margin-top: auto;
    align-self: flex-start;
    color: #fff;
}
a.btn_1.blog_readmore i {
    margin-left: 4px;
}

/* ---- Single post ---- */
.blog_breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 30px;
}
.blog_breadcrumb a {
    color: #a90058;
}
.blog_breadcrumb i {
    font-size: 10px;
    margin: 0 6px;
}
.blog_single {
    font-size: 16px;
    line-height: 1.8;
}
.blog_featured {
    margin: 0 0 25px;
}
.blog_featured img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.blog_single > .blog_meta {
    margin-bottom: 25px;
}
.blog_single h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 45px 0 18px;
}
.blog_single p.lead {
    font-size: 18px;
}
.blog_single a:not(.btn_1):not(.collapsed):not([data-bs-toggle]) {
    color: #a90058;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog_single a:not(.btn_1):not([data-bs-toggle]):hover {
    color: #007d80;
}
.blog_single ul,
.blog_single ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.blog_single li {
    margin-bottom: 10px;
}
.blog_single ol.blog_checks {
    list-style: none;
    counter-reset: check;
    padding-left: 0;
}
.blog_single ol.blog_checks li {
    counter-increment: check;
    position: relative;
    padding: 18px 20px 18px 70px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 12px;
}
.blog_single ol.blog_checks li::before {
    content: counter(check);
    position: absolute;
    left: 20px;
    top: 18px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    background: #a90058;
    color: #fff;
    font-weight: 600;
}
.blog_single ul.blog_ticks {
    list-style: none;
    padding-left: 0;
}
.blog_single ul.blog_ticks li {
    position: relative;
    padding-left: 30px;
}
.blog_single ul.blog_ticks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #007d80;
    font-weight: 700;
}
.blog_table table {
    margin-bottom: 8px;
    font-size: 15px;
}
.blog_table thead th {
    background: #a90058;
    color: #fff;
    font-weight: 600;
    border: none;
}
.blog_table tbody th {
    font-weight: 600;
    white-space: nowrap;
}
.blog_table td,
.blog_table th {
    padding: 12px 15px;
}
.blog_table tbody tr:nth-child(even) {
    background: #f8f8f8;
}
.blog_note {
    font-size: 13px;
    color: #777;
}
.blog_single .accordion .card-body p {
    margin-bottom: 0;
}
.blog_cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    border-radius: 10px;
    background: #f6eef2;
    border-left: 4px solid #a90058;
}
.blog_cta h3 {
    font-size: 22px;
    margin-bottom: 5px;
}
.blog_cta p {
    margin: 0;
}
.blog_cta a.btn_1 {
    color: #fff;
}

@media (max-width: 767px) {
    .blog_single h2 {
        font-size: 22px;
    }
    .blog_single ol.blog_checks li {
        padding-left: 60px;
    }
    .blog_single ol.blog_checks li::before {
        left: 14px;
    }
    .blog_cta {
        padding: 22px;
    }
}
