.ai-tools-free .hero-title {
    max-width: 14ch;
    overflow-wrap: break-word;
}
.ai-tools-free .card-content > div:first-child {
    min-width: 0;
}
.ai-free-description {
    max-width: 850px;
    margin-inline: auto;
}
.ai-tools-free .faq_question {
    gap: 16px;
}
.ai-tools-free .faq_question p {
    flex: 1;
    min-width: 0;
}
.ai-tools-free .faq_question span {
    flex-shrink: 0;
}
.ai-tools-free .ai-free-faq-heading {
    margin: 0;
}
@media (max-width: 768px) {
    .ai-tools-free .hero .info {
        align-items: flex-start;
        text-align: start;
        box-sizing: border-box;
        padding-inline: 18px;
    }
    .ai-tools-free .hero-title {
        max-width: 100%;
    }
}

.ai-tools-free .ai-background-preview {
    position: relative;
    isolation: isolate;
    height: 240px;
    overflow: hidden;
}
.ai-tools-free .ai-background-preview > span {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ai-tools-free .ai-background-preview > span:first-child {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}
.ai-tools-free .ai-background-preview::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset-block: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: #fff;
    pointer-events: none;
}
.ai-tools-free .ai-background-preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ai-tools-free .ai-background-result {
    background-color: #f1f3f6;
    background-image: conic-gradient(#e0e4ea 25%, transparent 0 50%, #e0e4ea 0 75%, transparent 0);
    background-size: 16px 16px;
}

.ai-tools-free .ai-enhance-preview {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f5e8e0;
}
.ai-tools-free .ai-enhance-preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ai-tools-free .ai-enhance-caption {
    position: absolute;
    inset-inline-end: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    border-radius: 20px;
    padding: 4px 9px;
    color: #fff;
    background: rgba(35, 29, 39, .78);
    font-size: 10px;
    line-height: 1.4;
    pointer-events: none;
}

.ai-tools-free .ai-skin-preview {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 424 / 300;
    overflow: hidden;
    background: #eee9e5;
}
.ai-tools-free .ai-skin-preview img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transform: none;
    transition: none;
}
.ai-tools-free .ai-skin-preview .ai-skin-input {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}
.ai-tools-free .ai-skin-preview::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset-block: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: #fff;
    pointer-events: none;
}
.ai-tools-free .ai-skin-input-note,
.ai-tools-free .ai-skin-result-note {
    position: absolute;
    z-index: 3;
    top: 10px;
    max-width: calc(50% - 20px);
    padding: 4px 7px;
    border-radius: 6px;
    color: #fff;
    background: rgba(35, 29, 39, .78);
    font-size: 9px;
    line-height: 1.4;
    pointer-events: none;
}
.ai-tools-free .ai-skin-input-note { left: 10px; }
.ai-tools-free .ai-skin-result-note { right: 10px; }
