@font-face {
    font-family: "Charter";
    src: url("/assets/frontend/fonts/charter/otf/Charter Regular.otf")
        format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Charter";
    src: url("/assets/frontend/fonts/charter/otf/Charter Bold.otf")
        format("opentype");
    font-weight: 700;
    font-style: normal;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ul li {
    padding: 0;
    list-style: none;
    margin: 0;
}

a {
    text-decoration: none;
    transition: all 0.8s ease-in-out;
    cursor: pointer;
}

body {
    font-family: "Charter", serif !important;
}

.blog-details-left ul {
    padding-left: 20px;
}

.blog-details-left ul li {
    list-style: disc !important;
}

.blog-details-main {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.blog-details-left {
    width: 848px;
}

.blog-type-with-date {
    font:
        400 20px/26px "Charter",
        serif;
    color: #000000;
    text-align: right;
}

.blog-type-with-date span {
    padding-right: 5px;
    border-right: 1px solid #858585;
    margin-right: 5px;
}

.blog-details {
    margin-top: 20px;
}

.blog-details .blog-main-image {
    width: 100%;
}

.blog-details-main p {
    font:
        400 16px/24px "Charter",
        serif !important;
    color: #000000;
    padding: 16px 0 0;
}
.category-list-main {
    box-shadow: 0 0 4px 0 #00000040;
    background: #ffffff;
    margin: 11px 0 24px;
    border-radius: 10px;
}

.blog-details-right {
    flex: 1;
    min-width: 0;
}

.category-name {
    display: block;
    padding: 20px 16px 17px;
    border-bottom: 0.5px solid #00000020;
    color: #5f0052 !important;
    font:
        500 16px/22px "Charter",
        serif;
}

.editor-card {
    background: #000000;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-radius: 10px;
}

.editor-card .small-heading {
    color: #ffffff;
    padding-bottom: 6px;
}

.editor-card .details-blog-content {
    padding: 0;
    color: #ffffff;
}

.editor-picture {
    width: 100%;
    max-width: 138px;
    height: 100%;
    max-height: 135px;
    border-radius: 10px;
}

.blog-details-main h1 {
    font:
        700 28px/34px "Charter",
        serif;
    color: #000000 !important;
}
.blog-details-main h2 {
    padding: 16px 0 0 0;
    font:
        700 24px/30px "Charter",
        serif !important;
    color: #000000 !important;
    text-align: left;
}

.blog-details-main h3,
.blog-details-main h4 {
    font:
        700 20px/26px "Charter",
        serif;
    color: #000000 !important;
    padding: 16px 0 0;
}

.blog-details-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 40px;
    min-width: 600px;
}

.blog-details-main table th {
    background: #d9d9d9;
    padding: 20px 16px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #000;
    font:
        600 16px/22px "Charter",
        serif;
}

.blog-details-main table td {
    padding: 16px;
    border: 1px solid #000;
    vertical-align: top;
    font:
        400 16px/22px "Charter",
        serif;
}

.blog-details-main table td:first-child,
.blog-details-main table th:first-child {
    width: 25%;
}

.blog-details-main table td:nth-child(2),
.blog-details-main table td:nth-child(3),
.blog-details-main table th:nth-child(2),
.blog-details-main table th:nth-child(3) {
    width: 37.5%;
}

.blog-details-main table td,
.blog-details-main table th {
    width: 25%;
}
.blog-details-main table p {
    padding: 0 !important;
}
/* Section and Steps css */
.how-to-steps-card {
}

.how-to-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 0;
}

.how-to-step-number {
    font:
        700 20px / 26px "Charter",
        serif;
}

.how-to-step-title {
    padding: 0 !important;
}

/* Section and Steps css end*/

.Recommended {
    padding: 40px 0 24px;
}
.recommended-cards-box {
    display: grid;
    align-items: flex-start;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.Recommended h2 {
    text-align: center;
    padding-bottom: 24px;
}

.recommended-blog-card a h3 {
    font:
        700 14px/20px "Charter",
        serif;
    color: #000;
    padding-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    max-height: 78px;
}

.blog-details-left .faq-answer p,
.blog-details-left .faq-question {
    font-family: "Charter", serif !important;
}

.category-box {
    padding: 0;
}
.blog-details-main.category-box li {
    list-style: none !important;
}
.more-post-card {
    background: #e8e8e8;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    color: inherit;
    text-decoration: none;
}
.more-post-card .blog-more-details {
    font:
        400 12px / 18px "Charter",
        serif !important;
    color: #5f0052 !important;
    padding: 0 0 8px !important;
}

.blog-more-details span {
    border-left: 1px solid #000000;
    padding-left: 5px;
    margin-left: 5px;
    color: #5b5b5b;
}

.more-post-card .blog-name {
    font:
        400 14px / 20px "Charter",
        serif !important;
    padding: 0 !important;
}

.more-posts h2 {
    padding-bottom: 11px;
}

.more-post-icon {
    min-width: 156px;
    height: 105px;
    max-width: 156px;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-details .blog-main-image {
    height: 429px !important;
    max-height: 429px !important;
}

.blog-main-image-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.15);
    z-index: 0;
}
.blog-main-image {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 193px !important;
    max-height: 193px !important;
    object-fit: contain !important;
    border-radius: 10px 10px 0 0;
    background: transparent;
    filter: drop-shadow(0px 0px 4px #00000040);
}
.more-post-icon-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.15);
    z-index: 0;
}
.more-post-icon {
    position: relative;
    z-index: 1;
    min-width: 156px;
    height: 105px;
    max-width: 156px;
    object-fit: contain !important;
    border-radius: 10px 10px 0 0;
    background: transparent;
    filter: drop-shadow(0px 0px 4px #00000040);
}

.blog-recommended-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.15);
    z-index: 0;
}

.blog-recommended {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 177px;
    max-width: 200px;
    object-fit: contain !important;
    border-radius: 10px 10px 0 0;
    background: transparent;
    filter: drop-shadow(0px 0px 4px #00000040);
}

.faq-main-box {
    padding: 40px 0;
}

.faq-main-box .small-heading {
    padding-bottom: 44px;
    text-align: left;
}

.faq-wrapper {
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #cdd6da40;
    padding: 20px 0;
}

.faq-item:last-child,
.options li:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    font:
        700 24px/30px "Charter",
        serif;
    color: #000;
    gap: 76px;
}

.faq-question .icon {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.3s,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question .icon img {
    width: 14px;
    height: 14px;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s;
}

.faq-answer {
    transition:
        grid-template-rows 0.45s,
        opacity 0.35s;
    max-width: 800px;
    display: none;
}

.faq-item.active .faq-answer {
    max-height: 100%;
    opacity: 1;
    display: block;
    padding-top: 10px;
}

.faq-answer p {
    font:
        400 18px/24px "Charter",
        serif !important;
    color: #5a5365;
}

.faq-item.active .icon {
    background: #5f0052;
}

.blog-details-box.mobile {
    display: none !important;
}

.ai-summary-card {
    border-radius: 12px;
    padding: 16px 18px;
    margin: 14px 0 20px;
    background: #fff;
    font-family: inherit;
    box-shadow: 0px 0px 4px 0px #00000040;
}

.ai-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-summary-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.ai-sparkle {
    min-width: 16px;
    height: 16px;
    display: block;
}

p.ai-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 !important;
}

.ai-state-idle .ai-summary-row {
    justify-content: space-between;
}

p.ai-summary-sub {
    font:
        400 16px/24px "Charter",
        serif !important;
    color: #000000;
    padding: 0;
}

.ai-generate-btn {
    border: 1px solid #5f0052;
    background: #fff;
    border-radius: 8px;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.15s;
    font:
        400 16px/24px "Charter",
        serif !important;
    color: #5f0052;
}

.ai-generate-btn:hover {
    background: #5f0052;
    color: #ffffff;
}

.ai-chevron {
    font-size: 12px;
    width: 11px;
    height: 6px;
}

.ai-generating-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7a1fa2;
}

.ai-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid #e3c6ee;
    border-top-color: #7a1fa2;
    border-radius: 50%;
    display: inline-block;
    animation: ai-spin 0.8s linear infinite;
}

@keyframes ai-spin {
    to {
        transform: rotate(360deg);
    }
}

.ai-skeleton-lines {
    margin: 12px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-skeleton {
    height: 9px;
    border-radius: 4px;
    background: #eee;
    animation: ai-pulse 1.2s ease-in-out infinite;
}

.ai-skeleton.short {
    width: 60%;
}

@keyframes ai-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.ai-summary-footnote {
    margin: 10px 0 0;
    font-size: 12px;
    color: #9a9a9a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-info {
    font-size: 12px;
    color: #9a9a9a;
    cursor: default;
}

.ai-read-time {
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 16px;
    color: #000000;
    border: 0.5px solid #000000;
}

.ai-summary-lead {
    margin: 0;
    padding: 8px 0 12px !important;
    font:
        400 16px/24px "Charter",
        serif !important;
}

.ai-summary-points {
    margin: 0 0 10px;
}

.ai-summary-points p {
    padding: 0 !important;
}

.ai-summary-points ul {
    margin: 0;
    padding-left: 18px;
}

.ai-summary-points li {
    font-size: 13.5px;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.45;
}

.ai-summary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.5px solid #00000020;
    padding: 9px 9px 0;
    font:
        400 16px/24px "Charter",
        serif !important;
    color: #000000;
}

.ai-how-it-works:hover,
.ai-how-it-works {
    color: #5f0052 !important;
    font:
        400 16px/24px "Charter",
        serif !important;
}

.ai-info {
    font-size: 12px;
    color: #000000 !important;
    cursor: default;
}

.ai-meta-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-how-it-works {
    color: #7a1fa2;
    text-decoration: none;
    font-weight: 500;
}

.blog-details-left ul li {
    list-style: disc !important;
    font:
        400 16px/24px "Charter",
        serif !important;
    color: #000000;
}

@media (max-width: 575px) {
    .blog-details-box.mobile {
        display: block !important;
    }
    .blog-details-box.mobile .blog-details-right {
        display: block !important;
    }
    .blog-details-box .blog-details-right {
        display: none !important;
    }
    .blog-details-main {
        gap: 16px;
        flex-direction: column;
    }

    .blog-details-left,
    .blog-details-right,
    .blog-graph {
        width: 100%;
    }

    .editor-card {
        flex-wrap: wrap;
    }

    .details-blog-content {
        font:
            400 14px/20px "Charter",
            serif !important;
        padding: 16px 0 0;
    }

    .blog-small-heading {
        padding-top: 16px;
        font:
            700 16px/22px "Charter",
            serif;
    }

    .blog-details ol li::marker {
        font:
            700 16px/22px "Charter",
            serif;
    }

    .blog-details ol {
        padding: 0 0 0 13px;
    }

    .recommended-cards-box {
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }

    .recommended-blog-card {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .blog-recommended {
        width: 100%;
        height: 96px;
        max-width: 160px;
    }

    .blog-details-main h1 {
        font:
            700 20px/26px "Charter",
            serif;
        color: #000000 !important;
    }
    .blog-details .blog-main-image {
        width: 100%;
        min-height: 230px;
        max-height: 230px !important;
    }
    .blog-details-main h2 {
        padding: 16px 0 0 0;
        font:
            700 18px/24px "Charter",
            serif;
        color: #000000 !important;
        text-align: left;
    }
    .blog-details-main table {
        margin: 8px 0 20px;
        min-width: 100%;
    }
    .blog-details-main h3,
    .blog-details-main h4 {
        font:
            700 16px/22px "Charter",
            serif;
        padding: 10px 0 0;
    }
    .blog-details-main p {
        font:
            400 14px/22px "Charter",
            serif !important;
        padding: 10px 0 0;
    }
    .blog-details-left ul {
        padding-left: 13px;
    }

    .recommended-blog-card h3 {
        font:
            700 14px/20px "Charter",
            serif;
        padding-top: 0;
    }
    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        cursor: pointer;
        font:
            700 16px/22px "Charter",
            serif;
        color: #000;
        gap: 76px;
    }

    .faq-question .icon {
        min-width: 30px;
        height: 30px;
    }
    .faq-answer p {
        font:
            400 14px/20px "Charter",
            serif !important;
        color: #5a5365;
    }

    .recommended-blog-card {
        flex-direction: column;
    }

    .auth-outer-box {
        border: none;
        background: #ffffff;
        max-width: 100%;
        margin: 0;
        padding: 16px !important;
    }

    .checkbox-text {
        font:
            400 12px/18px "Charter",
            serif !important;
    }

    .ai-summary-points p {
        font:
            400 14px/20px "Charter",
            serif !important;
    }

    p.ai-summary-title {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 !important;
        font-weight: 700;
        color: #5f0052;
    }

    p.ai-summary-sub {
        font:
            400 12px/18px "Charter",
            serif !important;
        padding: 0;
    }

    .ai-summary-card {
        padding: 10px;
        margin: 10px 0;
    }

    .ai-summary-row {
        gap: 10px;
    }

    .ai-summary-left {
        gap: 10px;
        max-width: 50%;
    }

    .ai-generate-btn {
        padding: 7px;
        gap: 4px;
        font:
            400 13px/19px "Charter",
            serif !important;
    }
}
