:root {
    /* Colors */
    --color-primary: #78B4AB;
    --color-secondary: #6E7D89;
    --color-background: linear-gradient(70deg, #E5F3FF, #fff);
    --input-background: rgba(170, 188, 190, 0.1);
    --color-surface: #FFFFFF;
    --color-text-primary: #78B4AB;
    --color-text-secondary: #6E7D89;
    --color-text-third: #99BBD7;
    --color-border: #78B4AB;

    /* Font families */
    --font-family-sans: 'Montserrat', sans-serif;
    --font-family-heading: 'SVN-A Love Of Thunder', serif;

    /* Border radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
    --radius-x-large: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

body {
    font-family: var(--font-family-sans) !important;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    overflow-x: hidden;
}

a {
    transition: all 0.4s;
}


/* general */
.fs-32 *,
.fs-32 {
    font-size: 32px;
    line-height: 40px;
}

.fs-24 *,
.fs-24 {
    font-size: 24px;
    line-height: 29px;
}

.font-primary,
.font-primary * {
    font-family: var(--font-family-heading);
}

/* header */

.header-search-form .searchform .search-field {
    border: 1px solid var(--color-border);
    height: 48px;
    padding: 0 12px;
    color: var(--color-text-secondary) !important;
    font-size: 16px;
    line-height: 20px;
    border-radius: var(--radius-x-large);
    min-width: 240px;
    font-family: var(--font-family-sans) !important;
}

.header-search-form .searchform .search-field::placeholder {
    color: var(--color-text-third) !important;
    font-size: 16px;
    line-height: 20px;
}

.header-search-form .searchform .cs-btn-search {
    position: absolute;
    margin: 0 !important;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
}

/* banner section */

.banner-section h2 {
    margin-bottom: 0;
    font-family: var(--font-family-heading);
}

/* form baby search */
.family-section {
    margin-top: 60px;
}

.family-section::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: url('../images/bg-shap-family.svg') no-repeat;
    background-size: auto;
    background-position: left bottom;
    width: 100%;
    height: 100%;
}

.family-section.result::before {
    background-image: url('../images/bg-shape-result.svg');
    background-size: cover;
}

/* post */
.list-post-section h2 {
    font-weight: 700;
}

.list-post-section .wrap-post {
    margin-top: 12px;
}


.list-post-section .wrap-post .post-item {
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: 12px;
}

.list-post-section .post-item .col-inner {
    padding: 16px;
    box-shadow: 4px 4px 4px 0 rgba(195, 215, 244, 0.25);
    background: var(--color-background);
    border-radius: var(--radius-x-large);
    height: 100%;
}

.list-post-section .post-item .box-text {
    padding-bottom: 0;
}

.list-post-section .box-text .blog-post-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}

.list-post-section .box-text .post-title {
    padding: 0;
    margin: 0;
}

.list-post-section .box-text .post-title a {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.02px;
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-post-section .box-text .post-meta {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.02px;
    font-weight: 500;
}

.list-post-section .box-image {
    margin-bottom: 16px;
}

.list-post-section .box-image .image-cover {
    padding-top: 0 !important;
    aspect-ratio: 378 / 232;
    width: 100%;
}

.list-post-section .box-image .image-cover a {
    height: 100%;
}

.list-post-section .box-image img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Chiêm tinh */
.chiemtinh-section h2 {
    margin-top: 24px;
    margin-bottom: 24px;
}

.chiemtinh-section .row-content {
    padding-bottom: 40px;
}

.chiemtinh-section .row-content .col-content {
    width: calc(100% / 5);
    max-width: calc(100% / 5);
    padding-bottom: 0;
}

.chiemtinh-section .row-content .col-content:nth-child(even) {
    transform: translateY(40px);
}

.chiemtinh-section .row-content .col-inner {
    padding: 40px 16px 16px;
    background: linear-gradient(180deg, rgba(234, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chiemtinh-section .row-content .col-inner .img {
    margin-bottom: 24px;
    width: auto !important;
    height: 146px;
}

.chiemtinh-section .row-content .col-inner .img .img-inner {
    width: 100%;
    height: 100%;
}

.chiemtinh-section .row-content .col-inner .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chiemtinh-section .row-content .col-inner h3 {
    font-size: 24px;
    line-height: 29px;
    font-family: var(--font-family-sans);
    margin-bottom: 9px;
    font-weight: 700;
}

.chiemtinh-section .row-content .col-inner p {
    margin-bottom: 16px;
}

.chiemtinh-section .row-content .col-inner .button {
    margin-bottom: 0;
    margin-top: auto;
}

/* Grid Post */

.grid-post-section .row-content {
    background: var(--color-background);
    border-radius: var(--radius-x-large);
    padding-top: 16px;
    padding-bottom: 16px;
}

.grid-post-section .col {
    padding-bottom: 0;
}

.grid-post-section .col.col-heading {
    padding-bottom: 16px;
}

.grid-post-section .main-post .post-item {
    padding-bottom: 0;
}

.grid-post-section .main-post .col-inner {
    height: 100%;
}

.grid-post-section .main-post .blog-post-inner {
    display: flex;
    flex-direction: column;
}

.grid-post-section .main-post .box-image .image-cover {
    padding-top: 0 !important;
    aspect-ratio: 596 / 324;
    width: 100%;
    height: auto;
    border-radius: var(--radius-large);
    overflow: hidden;
}

.grid-post-section .box-image .image-cover a {
    width: 100%;
    height: 100%;
}

.grid-post-section img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-post-section .main-post .post-meta {
    order: 1;
    opacity: 1;
    font-size: 16px;
    line-height: 20px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.grid-post-section .main-post .post-title {
    order: 2;
    margin: 0;
}

.grid-post-section .post-title a {
    margin: 0;
    font-size: 20px;
    line-height: 29px;
    font-weight: 700;
    letter-spacing: 0.02px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.grid-post-section .mini-post .post-title a {
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
}

.grid-post-section .main-post .button {
    order: 3;
    border-radius: var(--radius-x-large);
    border-color: var(--color-primary);
    height: 46px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-primary);
}

.grid-post-section .main-post .button:hover {
    color: var(--color-surface);
}

.grid-post-section .mini-post .post-item {
    margin-bottom: 16px;
}

.grid-post-section .mini-post .box-image .image-cover {
    padding-top: 0 !important;
    aspect-ratio: 112 / 72;
    width: 100%;
    height: auto;
    border-radius: var(--radius-medium);
    overflow: hidden;
}

.grid-post-section .mini-post .blog-post-inner {
    display: flex;
    flex-direction: column-reverse;
}

.grid-post-section .mini-post .post-meta {
    opacity: 1;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0;
}

/* footer */

footer .row-footer {
    padding-top: 40px;
}

footer .row-footer p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    font-family: var(--font-family-sans);
}

footer .row-footer .ft-title h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    font-family: var(--font-family-sans);
    margin-top: 40px;
    margin-bottom: 24px;
}

footer .row-footer .col-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

footer .row-footer .col-contact p img {
    margin-bottom: 0;
}

footer .row-footer .ux-menu-link__link {
    padding: 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    min-height: unset !important;
    margin-bottom: 10px;
}

footer .row-copyright .col {
    padding-bottom: 0;
    border-top: 1px solid var(--color-secondary);
}

footer .row-copyright .col p {
    margin-top: 16px;
    margin-left: 42px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.absolute-footer {
    display: none !important;
}

/* breadcrumb */
.row-breadcrumb a {
    font-size: 16px;
    line-height: 20px;
    color: var(--color-text-primary);
    font-weight: 400;
    font-family: var(--font-family-heading);
}

.row-breadcrumb p {
    display: flex;
    justify-content: center;
    font-size: 26px;
    line-height: 32px;
    gap: 16px;
    height: 52px;
    margin-bottom: 0;
    align-items: center;
}

.row-breadcrumb p span {
    font-size: 32px;
    line-height: 42px;
    color: var(--color-text-primary);
    font-family: var(--font-family-heading);
    font-weight: 400;
    transform: translateY(-5px);
}