*,
::before,
::after {
    box-sizing: border-box;
}

:root {
  
    /* --primary: #f26e24; */
    /* --primary: #1E90FF; */
    /* --primary: #318CE7; */
    --primary: #db471e;
    --secondary: #d68223;

    --hover-button-1: #e09020;
    --hover-button-2: #fb942d;

    --white-color: #fff;
    --text-black: #505667;
    --footer-bg: #302f2f;

    --title-color: #3b404e;

    --p-color: #505667;

    /* --header-bg: #279eff; */
    --header-bg: #318CE7;
}

body {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 400;
    line-height: 26px;
    background: #f8f8f8 !important;

    counter-reset: headerCounter;

    text-rendering: optimizeLegibility;
}

.btn {
    background: var(--primary);
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 87%);
    border: 1px var(--secondary) solid;
    border-radius: 5px;
    box-shadow: 0px 10px 20px rgba(87, 134, 255, 0.2);
    color: var(--white-color);
    transition: all 200ms ease;

    display: inline-block;
    margin-top: 30px;
    padding: 16px 36px;
    font-size: 18px;
}

.btn:hover {
    background: var(--primary);
    background: linear-gradient(90deg, var(--hover-button-1) 0%, var(--hover-button-2) 87%);
}

a {
    text-decoration: none;
    color: var(--primary);
}

p {
    /* color: var(--p-color); */
    color: rgba(0, 0, 0, .8);
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.bold {
    font-weight: 600;
}

strong {
    font-weight: bold;
}

i {
    font-style: italic;
}

figure.media {
    display: block;
}

.primary-color {
    color: var(--primary);
}

ul li {
    color: rgba(0, 0, 0, .8);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.fullwidth {
    width: 100%;
}

.border-one {
    border-radius: 1rem;
}

.border-two {
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    z-index: 1;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

span {
    color: #000;
}

/***************** HEADER *****************/

header {
    /* background: var(--white-color); */
    /* background: var(--primary); */
    background: rgba(219, 71, 30, 0.9);
    transition: all 200ms ease;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
}

body.fixed header {
    /* background: rgba(255, 255, 255, 0.9); */
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 4;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrap-logo {
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.wrap-logo img {
    width: 50px;
    margin-top: 8px;
}

.wrap-logo .logo-text {
    display: inline-block;
    padding-top: 28px;
    padding-bottom: 28px;
    font-size: 26px;
    letter-spacing: -1px;
    color: #333;
    text-transform: capitalize;
}

.wrap-logo .logo-text span{
    color: #767676 !important;
}

.wrap-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wrap-menu__app img {
    width: 144px;
}

header ul {
    flex-grow: 1;
    list-style-type: none;
    padding-bottom: 2px;
    /* padding: 0px 20px 2px; */
}

header a {
    /* color: #7a7a7a; */
    color: var(--white-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

header a:hover {
    /* color: var(--primary); */
    /* color: #000; */
}

header .menu li {
    font-size: 16px;
    padding: 15px 5px;
    white-space: nowrap;
}

header .logo img {
    width: 54px;
}



header .logo a,
header .toggle a {
    font-size: 20px;
}

header .logo a {
    display: inline-block;
    padding-top: 28px;
    padding-bottom: 28px;
    font-size: 42px;
    /* color: var(--primary); */
    color: var(--white-color);
    text-transform: capitalize;
}

header .logo a span{
    color: #2f2c2c !important;
}


header .button.secondary {
    border-bottom: 1px #444 solid;
}

.menu a.active {
    /* color: var(--primary); */
    color: #000;
}


/* Mobile menu */
header .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header .toggle {
    order: 1;
}

header .item.show-mobile {
    order: 2;
}

header .item {
    width: 100%;
    text-align: center;
    order: 3;
    display: none;
}

header .item.active {
    display: block;
}

header img.google-play-badge {
    width: 128px;
}

/* Tablet menu */
@media all and (min-width: 370px) {
    header .logo img {
        width: 40px;
    }

    header .show-mobile a {
        font-size: 14px;
    }

    header img.google-play-badge {
        width: 100px;
    }

    header .menu {
        justify-content: center;
    }

    header .logo {
        flex: 1;
    }

    header .toggle {
        flex: 1;
        text-align: right;
    }

    header .item.show-mobile {
        width: auto;
        order: 1;
        display: block;
    }

    header .toggle {
        order: 2;
    }

    header .button.secondary {
        border: 0;
    }

    header .button a {
        padding: 7.5px 15px;
        background: var(--primary);
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 87%);
        border: 1px var(--secondary) solid;
        border-radius: 5px;
        box-shadow: 0px 10px 20px rgba(87, 134, 255, 0.2);
        color: var(--white-color);
    }

    header .button.secondary a {
        background: transparent;
        color: var(--text-black);
    }

    header .button a:hover {
        text-decoration: none;
        background: var(--primary);
        background: linear-gradient(90deg, var(--hover-button-1) 0%, var(--hover-button-2) 87%);
    }


    header .button.secondary a:hover {
        color: var(--text-black);
    }
}

@media all and (min-width: 410px) {
    header .logo img {
        width: 54px;
    }

    header .show-mobile a {
        font-size: 15px;
    }

    header img.google-play-badge {
        width: 110px;
    }

    header .menu {
        justify-content: center;
    }

    header .logo {
        flex: 1;
    }

    header .toggle {
        flex: 1;
        text-align: right;
    }

    header .item.show-mobile {
        width: auto;
        order: 1;
        display: block;
    }

    header .toggle {
        order: 2;
    }

    header .button.secondary {
        border: 0;
    }

    header .button a {
        padding: 7.5px 15px;
        background: var(--primary);
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 87%);
        border: 1px var(--secondary) solid;
        border-radius: 5px;
        box-shadow: 0px 10px 20px rgba(87, 134, 255, 0.2);
        color: var(--white-color);
    }

    header .button.secondary a {
        background: transparent;
        color: var(--text-black);
    }

    header .button a:hover {
        text-decoration: none;
        background: var(--primary);
        background: linear-gradient(90deg, var(--hover-button-1) 0%, var(--hover-button-2) 87%);
    }


    header .button.secondary a:hover {
        color: var(--text-black);
    }
}

@media all and (min-width: 460px) {
    header .menu {
        justify-content: center;
    }

    header .logo {
        flex: 1;
    }

    header .toggle {
        flex: 1;
        text-align: right;
    }

    header .item.show-mobile {
        width: auto;
        order: 1;
        display: block;
    }

    header .toggle {
        order: 2;
    }

    header .button.secondary {
        border: 0;
    }

    header .button a {
        padding: 7.5px 15px;
        background: var(--primary);
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 87%);
        border: 1px var(--secondary) solid;
        border-radius: 5px;
        box-shadow: 0px 10px 20px rgba(87, 134, 255, 0.2);
        color: var(--white-color);
    }

    header .button.secondary a {
        background: transparent;
        color: var(--text-black);
    }

    header .button a:hover {
        text-decoration: none;
        background: var(--primary);
        background: linear-gradient(90deg, var(--hover-button-1) 0%, var(--hover-button-2) 87%);
    }


    header .button.secondary a:hover {
        color: var(--text-black);
    }
}

/* Desktop menu */
@media all and (min-width: 1200px) {
    header .item {
        display: block;
        width: auto;
    }

    header .toggle {
        display: none;
    }

    header .logo {
        order: 0;
    }

    header .item {
        order: 1;
    }

    header .show-mobile {
        order: 2;
    }

    header .menu li {
        padding: 8px 10px;
    }

    header .menu li.button {
        padding-right: 0;
    }
}

.google-play-btn {
    width: 160px;
    margin-top: 16px;
}

.category-tabs {
    background-color: var(--white-color);
    padding: 26px 10px;
}

.category-tabs ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}


.category-tabs ul li {
    padding-left: 10px;
}

.category-tabs ul li a {
    color: rgb(33, 37, 41);
    font-weight: 500;
    font-size: 19px;
    text-transform: capitalize;
}

/* wrapper content */
.container.container-single {
    margin: 0 auto;
    position: relative;
    /* max-width: 880px; */
}

.wrap-content {
    /* display: flex; */
    padding-left: 20px;
    padding-right: 20px;
    margin: 20px 0;
}

.wrap-content h1.title {
    font-size: 50px;
    padding: 15px 0;
}

.wrap-desc,
.wrap-img,
.youtube,
.tiktok,
.facebook,
.instagram,
.pinterest {
    padding: 15px 0;
}

.wrap-desc p {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 30px;
}

.wrap-desc p:last-child {
    margin-bottom: 0;
}

.wrap-main-content {
    margin-bottom: 20px;
    padding: 20px 0;
    line-height: 24px;
}

.wrap-main-content h1 {
    margin-bottom: 20px;
    /* font-size: 24px;
    font-weight: 600; */
}

.wrap-main-content img {
    max-width: 100%;
    object-fit: cover;
}

.row-heading-title {
    padding-top: 20px;
    /* padding-bottom: 35px; */
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    /* margin-bottom: 35px; */
    margin-bottom: 10px;
}

.row-heading-title h1 {
    color: #444;
    font-size: 40px !important;
    line-height: 55px;
    font-family: 'Open Sans';
    font-weight: 600;
    text-transform: capitalize;
}

h2.intro {
    color: #707070;
    font: 400 30px "Lora, Georgia, serif";
    line-height: 34px;
    font-style: italic;
    margin: 0 0 30px 0 !important;
    padding: 0 0 0 0 !important;
    text-align: left;
    font-weight: normal !important;
    letter-spacing: -.02em !important;
}

.paragraph-bold {
    font-size: 32px !important;
    margin-top: 32px;
    margin-bottom: 30px !important;
    line-height: 35px !important;
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
    color: #363636 !important;
    letter-spacing: -.02em !important;
}

.container-single .wrap-main-content p {
    padding-bottom: 4px;
    font-family: 'Lora', Georgia, serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 18px !important;
    line-height: 1.5;
    letter-spacing: -.003em;
    color: #333;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
    font-kerning: auto !important;
}

.container-single .wrap-main-content p.space-small {
    padding-bottom: 0;
}

.divider {
    height: 1px;
    margin: 35px auto 35px auto;
    background-color: rgba(0, 0, 0, .12);
}

ul.list-item {
    margin-top: 30px;
    margin-left: 30px;
    margin-bottom: 30px;
}

ul.list-item li {
    margin-top: 12px;
    font-size: 16px;
}

ol.list-item {
    margin-top: 30px;
    margin-left: 30px;
    margin-bottom: 30px;
}

ol.list-item li {
    margin-top: 12px;
    font-size: 16px;
    color: #000;
}

.block-special {
    position: relative;
    font-weight: 800;
    color: #fff;
    padding: 25px 20px;
    width: 100%;
    max-width: 100%;
    z-index: 1;
    margin: 25px 0 50px 0;
    align-self: center;
    border: 2px solid;
    background-color: #F5F5F5;
}

.block-special h3 {
    position: relative;
    font-size: 20px !important;
    color: #595959;
    font-weight: 600;
    line-height: 1.45;
}

.card-single {
    display: flex;
}

.table-data .dark-row {
    background-color: #5f5f5f !important;
}

.table-data .dark-row td {
    padding: 10px !important;
    color: #fff !important;
    text-shadow: 1px 1px 1px #171819 !important;
}

.card-body-single {
    flex: 1 1 auto;
}

.wrap-img img {
    width: 100%;
}


.youtube.fullwidth {
    max-width: 800px;
    margin: auto auto;
}

.youtube iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.twitter.fullwidth {
    max-width: 400px;
    text-align: center;
}

.tiktok.fullwidth {
    max-width: 400px;
    text-align: center;
}

.facebook.fullwidth {
    max-width: 700px;
    text-align: center;
}

.instagram.fullwidth {
    max-width: 540px;
    text-align: center;
}

.pinterest.fullwidth {
    max-width: 540px;
    text-align: center;
}

.tiktok .tiktok-embed {
    margin: 0;
}

/* Did you read these section */
.read-these {
    background-color: #fff;
    margin-bottom: 50px;
    padding: 20px 0;
}

.read-these .title-read-these h2 {
    color: #191919;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
}

.list-read-these {
    padding-left: 16px !important;
    padding-right: 16px;
}

.list-read-these li {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 16px;
    padding-top: 16px;
}

.list-read-these li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-read-these img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.list-read-these .img-read-these {
    width: 180px;
    max-width: 100%;
    height: auto;
}


.link-read-these {
    font-size: 22px;
    font-weight: 500;
    color: #191919;
    line-height: 28px;
    width: 100%;
}

.link-read-these:hover {
    color: var(--primary);
}

/* Other Posts */
.read-these.the-other-posts {
    margin-top: 20px;
}

.link-read-these.link-other-posts {
    color: var(--text-black);
    font-size: 18px;
    font-weight: normal;
}

.link-read-these.link-other-posts:hover {
    color: var(--primary);
}

.read-these .title-read-these .heading-other-posts {
    font-size: 26px;
    font-weight: 500;
}

/* Random Posts In Sidebar */
.random-posts {
    margin-top: 20px;
    padding: 10px 16px;
    background-color: #fff;
}

.heading-random {
    padding: 16px 0;
    font-size: 26px;
    font-weight: 500;
    text-transform: uppercase;
}

.random-posts ol {
    list-style-type: none;
    padding-left: 0 !important;
}

.random-posts ol li {
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.random-posts ol li:last-child {
    border-bottom: none;
}

.random-posts .list-item--numbered {
    display: flex;
    flex-direction: row;
    align-items: center;
    counter-increment: headerCounter;
}

.list-item--numbered:before {
    display: block;
    content: counter(headerCounter) ".";
    flex-shrink: 0;
    margin-right: 10px;
    min-width: 15px;
    font-size: 22px;
    font-weight: 600;
    color: #da2027;
}

.list-item-title {
    color: var(--text-black);
    font-size: 20px;
    line-height: 24px;
}

.numbered-list-item__container--inner h3.list-item-title {
    margin-bottom: 0;
}



/* FOOTER */
footer {
    margin-top: 35px;
    padding-top: 36px;
    padding-bottom: 30px;
    background: var(--footer-bg);
    color: #cfcccc;    
    text-align: center;
}



footer .footer__logo {
    /* width: 54px; */
    color: #cfcccc;
    font-size: 24px;
}

footer .small-text-footer {
    color: #cfcccc;
    margin-top: 10px;
}

footer h3 {
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 16px;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    text-decoration: none;
     color: #cfcccc;
    font-size: 13px;
    width: 100px;
    font-weight: 500;
    margin-bottom: 6px;
}

footer .contact-us-footer {
    color: #cfcccc;  
}

footer .contact-us-footer span {
    color: #cfcccc !important;  
    user-select: none;
}

footer .fa-envelope {
    color: #cfcccc;   
}

.footer-copyright {
    height: auto;
    padding: 20px 0;
    /* line-height: 38px; */
    font-size: 13px;
    color: #9b9b9b;
    letter-spacing: 0;
    text-align: center;
    /* background: #2c3137; */
    background: #212121;
}


/* Homepage */
.wrap-home.homepage .container {
    max-width: 100%;
}

.wrap-home {
    margin-top: 50px;
    padding-left: 24px;
}

.wrap-home img {
    width: 100%;
    /* height: 280px; */
    object-fit: cover;
}

.wrap-home .myrow {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 30px;
    padding: 40px;
}

.card {
    border: 0 !important;
    background-color: #fff;
}

.wrap-home .card {
    background: none;
    /* margin-bottom: 26px; */
}

.bg-over {
    background: var(--white-color);
    width: 100%;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .14);
    border-radius: 5px;
}

.card-body {
    padding: 20px;
    /* min-height: 180px; */
}

.wrap-home h4 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
    /* color: rgb(33, 37, 41); */
    margin-bottom: 10px;
}

.wrap-home h4 a {
    /* color: rgb(33, 37, 41); */
    color: #000;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    font-family: 'Open Sans';
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}

.wrap-home p {
    /* color: rgb(33, 37, 41); */
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

/* Words clouds */
ul.cloud {
    margin-top: 80px;
    margin-bottom: 70px;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 24px;
}

ul.cloud.cloud-single {
    padding: 0 50px;
}

ul.cloud a {
    color: var(--color);
    display: block;
    /* font-size: 1.5rem; */
    padding: 2px 3px;
    text-decoration: none;
    position: relative;

    /* --size: attr(data-weight number, 2); 
    font-size: calc(var(--size) * 1rem); */
    opacity: calc((15 - (9 - var(--size))) / 15);
}

ul.cloud a[data-weight="1"] {
    --size: 1;
}

ul.cloud a[data-weight="2"] {
    --size: 2;
}

ul.cloud a[data-weight="3"] {
    --size: 3;
}

ul.cloud a[data-weight="4"] {
    --size: 4;
}

ul.cloud a[data-weight="5"] {
    --size: 5;
}

ul.cloud a[data-weight="6"] {
    --size: 6;
}

ul.cloud a[data-weight="7"] {
    --size: 7;
}

ul.cloud a[data-weight="8"] {
    --size: 8;
}

ul.cloud a[data-weight="9"] {
    --size: 9;
}

ul.cloud a {
    --size: 4;
    font-size: calc(var(--size) * 1.8px + 10px);
    /* ... */
}

ul.cloud[data-show-value] a::after {
    content: " (" attr(data-weight) ")";
    font-size: 10px;
}

ul.cloud li:nth-child(2n) a {
    --color: rgb(185, 83, 24);
}

ul.cloud li:nth-child(2n+1) a {
    --color: #181;
}

ul.cloud li:nth-child(3n+1) a {
    --color: rgb(45, 45, 110);
}

ul.cloud li:nth-child(4n+1) a {
    --color: #c38;
}

ul.cloud li:nth-child(5n+1) a {
    --color: rgb(250, 191, 12);
}

ul.cloud li:nth-child(6n+1) a {
    --color: rgb(12, 131, 250);
}

ul.cloud a:focus {
    outline: 1px dashed;
}

ul.cloud a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: var(--color);
    transform: translate(-50%, 0);
    opacity: 0.15;
    transition: width 0.25s;
}

ul.cloud a:focus::before,
ul.cloud a:hover::before {
    width: 100%;
}

/****** PAGINATION *******/
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    list-style: none;
    text-align: center;
}

.pagination li {
    display: inline;
    margin: 0px 5px;
}

.pagination li a {
    /* display: block;
    float: left;
    padding: 10px 14px;
    border: 1px solid #279eff;
    margin: 0px 5px;
    color: #000;    */

    display: block;
    font-size: 14px;
    text-decoration: none;
    transition: background 500ms;
    display: inline-block;
    text-transform: uppercase;
    padding: 0 16px;
    margin: 0 12px 6px;
    height: 46px;
    min-width: 46px;
    border-radius: 46px;
    border: 2px solid var(--primary);
    line-height: 42px;
    color: #000;
    font-weight: 700;
    letter-spacing: 0.03em;
    background-color: #fff;
}

.pagination li a:hover {
    text-decoration: none;
    background-color: var(--primary);
    color: #fff;
}

.pagination li.current {
    display: block;
    font-size: 14px;
    text-decoration: none;
    transition: background 250ms;
    display: inline-block;
    text-transform: uppercase;
    padding: 0 16px;
    margin: 0 12px 6px;
    height: 46px;
    min-width: 46px;
    border-radius: 46px;
    border: 2px solid var(--primary);
    background-color: var(--primary);
    line-height: 42px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pagination li.hide {
    display: none;
}


/******************  CUSTOM EFFECT BY FILE bootstrap.min.css *****************/
.container .menu,
.category-tabs ul {
    margin-bottom: 0;
}

a:hover {
    /* color: unset; */
    text-decoration: none;
}

.img-feature {
    margin-bottom: 40px;
}

.img-feature img {
    width: 100%;
}


/* Masonry Layout */
.grid {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;   
}

.grid.loaded {
    opacity: 1;
}

.grid .grid-item {
    width: calc(20% - 24px);
    margin-bottom: 24px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Fix lỗi Masonry không nhận diện đúng chiều cao */
.grid .grid-item img {
    width: 100%;
    height: auto !important;
    display: block;
    min-height: 200px; /* Đảm bảo không bị mất nội dung */
}

/* Responsive */
@media (max-width: 1500px) {
    .grid .grid-item {
        width: calc(25% - 24px);
    }
}

@media (max-width: 1200px) {
    .grid .grid-item {
        width: calc(33.3333% - 24px);
    }
}

@media (max-width: 768px) {
    .grid .grid-item {
        width: calc(50% - 24px);
    }
}

@media (max-width: 480px) {
    .grid .grid-item {
        width: calc(100% - 24px);
    }
}


/* Fix lỗi chồng chéo */
.grid .grid-item .card-body {
    padding: 15px;
    min-height: 100px; /* Đảm bảo không bị mất nội dung */
}

.grid .category-list {
    margin-top: -12px;
    margin-bottom: 5px;
}

.grid .category-list a {
    color: var(--primary);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: capitalize;
}

.grid .grid-item__title {
    font-size: 28px;
    font-weight: bold;
    margin: 0px 0px 10px 0px;
}

.grid .grid-item__author {
    font-size: 14px;
    font-weight: 300;
}

.grid .grid-item__link {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.grid .grid-item__body {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 30px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.grid .grid-item__tag {
    background-color: rgba(255, 255, 255, .8);
    color: #333;
    border-radius: 5px;
    padding: 5px 15px;
    margin-bottom: 5px;
}

.mt-auto {
    margin-top: auto;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
}

/* Menu */
@media screen and (max-width: 1200px) {
    header .menu li.hide-mobile {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--header-bg);
    z-index: 200;
    transition: right 0.3s ease;
    padding-top: 60px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    display: block;
    padding: 10px 20px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Disable clicks on background elements when menu is active */
.overlay.active~* {
    pointer-events: none;
}

/* Mobile Menu Toggle and Close Icons */
.toggle,
.close-menu {
    font-size: 24px;
    cursor: pointer;
}

.logo a {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}

a.close-menu {
    position: absolute;
    top: 22px;
    right: 22px;
}

/*********** PRIVACY PAGE *************/
.wrap-single-page p  {
    margin-bottom: 14px;
    font-family: 'Lora', Georgia, serif;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-kerning: auto;
}

.wrap-single-page .font-bold {
    margin-top: 30px;
    margin-bottom: 10px;
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #363636;
    line-height: 35px;
}

.wrap-single-page .font-bold.p-underline {
    text-decoration: underline;
}

.wrap-single-page .font-bold.font-em {
    font-style: italic;
}

.wrap-single-page .p-bold {
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #363636;
}

.wrap-single-page .p-em {
    font-style: italic;
}

.wrap-single-page .p-underline {
    text-decoration: underline;
}

.wrap-single-page ul.list-item li {
    margin-top: 12px;
    font-size: 18px;
    color: #333;
}

.wrap-single-page ol.list-item li {
    font-size: 18px;
    color: #333;
    line-height: 30px;
}

.wrap-single-page p a {
    color: var(--primary);
}

.wrap-single-page .small-gap {
    margin-bottom: 10px;
}

/******/
.wrap-social {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 20px;
    margin-left: -20px;
    padding-top: 12px;
}

/* ---------------------------------------------------
                   STYLE 30 PAGES
    ----------------------------------------------------- */
    #content ol {
        padding-left: 40px;    
    }
    
    #content ol li {
        margin-bottom: 10px;
    }

    #content ul {
        padding-left: 40px;    
    }

    #content ul li {
        margin-bottom: 10px;
    }

    ol.ol-questions,
    ol.ol-questions li {
        list-style-type: decimal;
    }

    ol.ol-questions li {
        display: flex;
        column-gap: 50px;
        margin-bottom: 20px;
    }
    
    .mb-wrap {
        margin-bottom: 60px;
    }
    
    #content ol.ol-questions, #content ul.ol-questions {
        padding-left: 0px;
    }
    
    .ol-questions.mb-wrap li span.blue {
        display: inline-block;
        /* width: 26%; */
        min-width: 360px;
    }
    
    .images-ad {
            margin: 12px 0;
        }
        
    .store_buttons {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 1.87rem;
        margin-bottom: 1.25rem;
        margin-top: 40px;
    }
    
    .store_buttons a img {
        width: auto;
        height: 2.5em;
    }
    
    @media screen and (max-width: 990px) {
        .images-ad {
            text-align: center;
        }
        
        .images-ad img {
            width: 460px;
        }
    }
    
    @media screen and (max-width: 900px) {
        .ol-questions.mb-wrap li {
            flex-direction: column;
        }

        .ol-questions.mb-wrap li span.blue {
            display: inline-block;
            width: 32%;
        }
    }
    
    @media screen and (max-width: 620px) {
        .ol-questions.mb-wrap li {
            flex-direction: column;
        }

        .ol-questions.mb-wrap li span.blue {
            display: block;
            width: auto;
            min-width: auto;
        }
    }
    
    @media screen and (max-width: 420px) {
        .ol-questions.mb-wrap li span.blue {
            display: block;
            width: auto;
        }
    }
    
    .row.row-letter {
        margin-left: 0px;
    }
    
    .page-letters {
        margin-bottom: 80px;
    }
    
    /* 30 pages of books */
    .ol-questions.mb-wrap.german-books li span.blue {
        /* display: inline-block;
        width: 44%; */
        display: block;
    }
    
    .ol-questions.mb-wrap.german-books li span.blue.special-paragraph {
        display: block;
        width: auto;
    }
    
    @media screen and (max-width: 900px) {
        .ol-questions.mb-wrap.german-books li span.blue {
            display: block;
            width: auto;
        }
    }
    
    @media screen and (max-width: 820px) {
        .ol-questions.mb-wrap.german-books li span.blue {
            display: block;
            width: auto;
        }
    }
    
    @media screen and (max-width: 420px) {
        .ol-questions.mb-wrap.german-books li span.blue {
            display: block;
            width: auto;
        }
    }
    
    .ol-questions.mb-wrap.german-books.dialogue {
        padding-left: 16px;
        margin-bottom: 80px;
    }
    
    .ol-questions.mb-wrap.german-books.dialogue li span.blue {
        display: block;
        width: auto;
    }
    

    /* pages */
/*  style for pages */

#content {
    font-size: 16px;
    color: #000;
}

#content h1.mb-4 {
    color: red;
    font-weight: 500;
    font-size: 34px;
}

#content h2.mb-4 {
    color: red;
    font-weight: 500;
}

#content p {
    color: #000;
    font-size: 16px;
}

#content ul {
    list-style: none;
}

#content ul li {
    font-size: 18px;
}

#content ul li img {
    margin-top: -6px;
    padding-right: 4px;
}

/* #content ul li::before {
    position: relative;
    background: url(../images/icon-list.png) no-repeat;
    display: block;
    padding-left: 20px; 
    padding-right: 20px;
  } */

span.der {
    background-color: #00ffff;
}

span.die {
    background-color: #ff0000;
}

span.das {
    background-color: #00ff00;
}

#content ul li b {
    font-weight: 500;
}

#content p.gender {
    margin-bottom: 0;
}

#content .wrap-note {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

#content .note {
    background-color: #4472c4;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

#content .row-door {
    display: flex;
    align-items: center;
}

#content .tips {
    background-image: linear-gradient(to bottom right, #977200, #c19100);
    display: inline-block;
    padding: 10px;
}

#content .three-pronoun {
    background-color: #ed7d31;
    display: inline-block;
    padding: 12px 10px;
    border-right: 10px solid #4472c4;
}

#content .three-pronoun p {
    color: #fff;
}

#content p.img-arrow img {
    max-width: 100%;
}

#content .pronouns-list strong {
    font-weight: 600;
}

#content .border-blue {
    padding: 5px;
    border: 2px solid #00a0d7;
}

body #content ul li span.bg-dark-blue {
    background-color: #00ffff;
}

#content .bg-red {
    background-color: #ff0000;
}

#content .bg-green {
    background-color: #00ff00;
}

#content .bg-light-green {
    background-color: #b4d69e;
}

#content .bg-blue {
    background-color: #4472c4;
}

#content .bg-yellow {
    background-color: yellow;
}

#content .dark-green {
    color: #538135;
}

#content .blue {
    color: #0070c0;
}

#content .red {
    color: red;
}

#content ul.has-list {
    list-style-type: disc;
}

#content .responsive {
    margin-left: 0;
}

#content .responsive img {
    max-width: 100%;
}

#content .note-bg-article {
    padding: 10px 16px;
    display: inline-block;
}

#content .note-bg-article p {
    color: #fff;
}

#content .bg-box {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px;
}

#content ol.no-list {
    padding-left: 20px;
}

#content ul.border-list {
    padding-left: 0;
    display: inline-block;
}

#content ul.border-list li {
    border: 1px solid #ccc;
    padding: 0 10px;
}

#content ul.border-list li:first-child {
    border-bottom: none;
}

#content ul.border-list li:nth-child(2) {
    border-bottom: none;
}

#content .box-blue {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
}

#content .box-blue p {
    color: #fff;
}

#content .row-img-4 {
    display: flex;
    align-items: center;
}

#content .mt-50 {
    margin-top: 50px;
}

#content .mt-30 {
    margin-top: 30px;
}

#content ul.no-padding {
    padding-left: 0px;
}

#content ul.list-style-circle {
    list-style-type: circle;
}

p strong {
    font-weight: bold;
}

.button-register {
    text-align: center;
}

.button-register a.btn-success.btn-register {
    background-color: #30b336;
    border-color: #30b336;
}

.checkbox-margin {
    margin-top: 12px;
}

.checkbox-subscribe {
    margin-bottom: 20px;
}

.text-danger.small-text {
    font-size: 14px;
}

h4.semibold {
    font-size: 30px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}















