/* 🌿 Read More Shortcode */
.read-more-box {
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
}

/* 📜 Collapsed content */
.read-more-content {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

/* 🌫️ Fading gradient overlay */
.read-more-content[data-collapsed="true"]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.85)
    );
}

/* 🔘 Toggle button */
.read-more-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px auto 0;
    padding: 10px 16px;
    background: var(--Blue900);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    color: #ffff;
    font-size: 15px;
    letter-spacing: 0.4px;
    border: none;
}

.read-more-toggle .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* 🔽 Expanded state */
.read-more-box.open .read-more-content {
    max-height: none;
}

.read-more-box.open .read-more-toggle .icon {
    transform: rotate(180deg);
}

.read-more-toggle .label-hide {
    display: none;
}

.read-more-box.open .read-more-toggle .label-show {
    display: none;
}
.read-more-box.open .read-more-toggle .label-hide {
    display: inline;
}

/* 📱 Responsive */
@media (max-width: 640px) {
    .read-more-content {
        max-height: 100px;
    }
}

/* 🌿 Faq Shortcode */

.faq-container {
    max-width: 100%;
    margin: auto;
    font-family: Arial, sans-serif;
    color: #202124;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.faq-header h2 {
    margin: 0;
}

.faq-header a {
    color: #1a73e8;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.faq-item {
    border-top: 1px solid #e0e0e0;
    padding: 16px 0;
}

.faq-question {
    color: #1a73e8;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-answer {
    display: none;
    margin-top: 12px;
    line-height: 1.6;
}

.faq-icon {
    width: 24px;   /* to hơn */
    height: 24px;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-toggle-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    cursor: pointer;
}

.faq-toggle-icon {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.toggle-double-icon svg {
    display: block;
}

.sc-contact_form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sc-contact_form h3 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .faq-toggle-all {
        display: none;
    }
}

@media (max-width: 500px) {
    .sc-contact_form {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        transition: none !important;
    }
}

