/*!
Theme Name: DMAT
Theme URI: https://dmatagency.com
Author: Web Store Team
Author URI: https://webstore.com.vn
Description: Vietnam-based senior team delivering data-driven marketing and technology solutions that convert.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ws
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
    font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    font-weight: inherit;
}

.ws-image {
    overflow: hidden;
}
.ws-image.ratio-1x1 img {
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.ws-editor .elementor-widget-container h1,
.ws-editor .elementor-widget-container h2,
.ws-editor .elementor-widget-container h3,
.ws-editor .elementor-widget-container h4,
.ws-editor .elementor-widget-container h5,
.ws-editor .elementor-widget-container h6 {
    font-weight: 700;
    margin: 0 0 15px;
}

.ws-editor .elementor-widget-container h1 {
    font-size: 28px;
}

.ws-editor .elementor-widget-container h2 {
    font-size: 24px;
}

.ws-editor .elementor-widget-container h3 {
    font-size: 20px;
}

.ws-editor .elementor-widget-container h4 {
    font-size: 16px;
}

.ws-editor .elementor-widget-container h5 {
    font-size: 14px;
}

.ws-editor .elementor-widget-container h6 {
    font-size: 12px;
}

.ws-editor .elementor-widget-container ul {
    padding: 0;
    margin: 15px 0 15px 18px;
}

.ws-editor .elementor-widget-container ul li {
    margin-bottom: 8px;
    position: relative;
}

.ws-editor .elementor-widget-container p:first-of-type,
.ws-editor .elementor-widget-container h2:first-of-type,
.ws-editor .elementor-widget-container ul:first-of-type {
    margin-top: 0;
    margin-bottom: 15px;
}

.ws-editor .elementor-widget-container p:last-child,
.ws-editor .elementor-widget-container ul:last-child,
.ws-editor .elementor-widget-container ul li:last-child {
    margin-bottom: 0;
}

.ws-editor.is-link .elementor-widget-container ul,
.ws-editor.is-link .elementor-widget-container ul li:before {
    list-style: none;
}
.ws-editor.is-link .elementor-widget-container ul li:before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 8px;
    position: relative;
    background: #6254e7;
    display: inline-block;
    vertical-align: middle;
}

.ws-post__image,
.ws-post__image img {
    overflow: hidden;
    border-radius: 5px;
}

.ws-post__image img {
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 380/240;
}

.ws-post__excerpt,
.ws-post__heading a {
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    word-break: break-word;
    -webkit-box-orient: vertical;
}

.ws-post__heading a {
    min-height: 56px;
}

.ws-post .ws-post__heading .elementor-heading-title a {
    font-weight: 800;
    transition: all .3s ease;
}

.ws-post ul > li.elementor-icon-list-item > span.elementor-icon-list-text > span:hover > a,
.ws-post .ws-post__heading .elementor-heading-title:hover a {
    color: var(--e-global-color-primary);
}

.ws-button.white .elementor-button {
    background: white !important;
    color: var(--e-global-color-primary);
}

.ws-button.blue .elementor-button {
    background: linear-gradient(96deg, #9289f1 0%, #6254e7 100%);
}

.ws-button.green .elementor-button {
    background: linear-gradient(84deg, #88fdb9 0%, #34c478 100%);
}

.elementor-field-group .elementor-field-textual:focus {
    box-shadow: none;
}

.ws-team a {
    display: flex;
    vertical-align: middle;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.ws-breadcrumbs nav > span > span {
    display: inline-flex;
    align-items: center;
}
.ws-breadcrumbs nav > span > span:not(:last-child):after {
    content: "";
    width: 6px;
    height: 10px;
    margin: 0 4px 0 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23999999' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        no-repeat center center / 6px 10px;
}
.ws-breadcrumbs nav > span > span > a {
    font-size: 15px;
}

.ws-image .elementor-widget-container {
    overflow: hidden;
}

.elementor-widget-template .elementor-section.elementor-inner-section {
    margin: 0;
}

#faqs .elementor-accordion {
    gap: 10px;
    display: flex;
    flex-direction: column;
}
#faqs .elementor-accordion .elementor-accordion-item {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(129, 118, 237, 0.3);
}
#faqs .elementor-accordion .elementor-tab-title {
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
}
#faqs .elementor-accordion .elementor-tab-title .elementor-accordion-icon {
    font-size: 0.625rem;
} 
#faqs .elementor-accordion .elementor-tab-title .elementor-accordion-icon-closed,
#faqs .elementor-accordion .elementor-tab-title .elementor-accordion-icon-opened {
    align-items: center;
    justify-content: flex-end;
}

.ws-numbers .elementor-widget-container {
    position: relative;
}
.ws-numbers .elementor-widget-container::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: black;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%);
}
.ws-numbers .elementor-column:nth-child(1) .elementor-widget-container::after {
    background: var(--e-global-color-a9ccd66);
}
.ws-numbers .elementor-column:nth-child(2) .elementor-widget-container::after {
    background: var(--e-global-color-fb7ef61);
}
.ws-numbers .elementor-column:nth-child(3) .elementor-widget-container::after {
    background: var(--e-global-color-848c412);
}
.ws-numbers .elementor-column:nth-child(4) .elementor-widget-container::after {
    background: var(--e-global-color-e1e932e);
}
.ws-numbers .elementor-column:nth-child(5) .elementor-widget-container::after {
    background: var(--e-global-color-text);
}

.cpel-switcher__list {
    display: none;
}
.elementor-widget-polylang-language-switcher .elementor-widget-container,
.cpel-switcher__lang > a {
    align-items: center;
    display: flex !important;
}
.cpel-switcher__flag img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
}

.elementor-nav-menu > li > a {
    color: var(--e-global-color-secondary);
}
.elementor-nav-menu > li.menu-item-has-children > a {
    min-width: 121px;
}
.elementor-nav-menu > li.menu-item-has-children > a:after {
    font-size: 14px;
    font-weight: 900;
    content: "\f0d7";
    margin-left: 8px;
    line-height: 20px;
    font-family: "Font Awesome 5 Free";
}
.elementor-nav-menu > li.menu-item-has-children > a > span.sub-arrow {
    display: none;
}
.elementor-nav-menu > li > a:hover,
.elementor-nav-menu > .current-menu-item > a,
.elementor-nav-menu > .current-menu-parent > a {
    color: var(--e-global-color-primary);
}
.elementor-nav-menu > .current-menu-parent .current-menu-item > a {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-f6bc227) ! important;
}

.ws-h100 {
    height: 100%;
}

@media screen and (max-width: 767px)
{
    .ws-single-author .elementor-column {
        width: 100% !important;
    }
    .ws-single-author .elementor-column:last-child > div {
        padding-bottom: 0 !important;
    }
    .ws-single-author .elementor-column .elementor-widget-image {
        max-width: 80px;
    }

    .ws-image-box-list.elementor-widget-image-box .elementor-image-box-wrapper {
        gap: 15px;
        display: flex;
        align-items: flex-start;
    }
}