/*
Theme Name: MONDIAL.vn
Author: MONDIAL
Author URI: https://mondial.vn
Description: Công ty Thiết kế thương hiệu Mondial.vn
Version: 100.1
*/
@import url("style_adder.css");
@font-face {
    font-family: 'mainr';
    src: url("fonts/mainr.ttf");
    font-display: swap;
}
@font-face {
    font-family: 'mainm';
    src: url("fonts/mainm.ttf");
    font-display: swap;
}
@font-face {
    font-family: 'mainb';
    src: url("fonts/mainb.ttf");
    font-display: swap;
}
@font-face {
    font-family: 'mainsb';
    src: url("fonts/mainsb.ttf");
    font-display: swap;
}

:root {
    --main: #1C327D;
	--sub: #FF832D;
}
::-webkit-scrollbar { width: 10px; background-color: #ddd; }
::-webkit-scrollbar-thumb {
    height: 20%;
    background: #aaa;
    border: 1px solid #ddd;
    transition: 0.3s;;
}
::-webkit-scrollbar-thumb:hover { background: var(--sub) }
::selection { background: #ddd; color: var(--main); }
::-moz-selection { background: #ddd; color: var(--main); }
::-webkit-selection { background: #ddd; color: var(--main); }

html {
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
html,body,button,p,text,textarea,select,input {
	outline: 0;
	font-family: 'mainr';
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6,
b, strong { font-family: 'mainsb'; }
h1, h2, h3, h4, h5, h6 {
    margin: 15px 0;
    font-weight: normal;
    line-height: 1.2;
    transition: 0.3s;
}
h5 { margin: 5px 0;}
*:focus { box-shadow: none !important; }
input::placeholder {
    opacity: 1 !important;
    transition: 0.3s;
}
input[type='text']:focus::placeholder,
input[type='email']:focus::placeholder { color: transparent !important; }
/*WRAPPER_CENTER*/

.wrapper-center {
    --side-margin: 5vw;
    --max-container-width: 1500px;
    width: calc(100% - (var(--side-margin) * 2));
    max-width: var(--max-container-width);
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1660px) { /* 1500px + 10vw ≈ 1660px */
    .wrapper-center {
        width: 90vw; /* 100vw - 10vw lề */
        max-width: 90vw;
    }
}

/*header*/
.main-header {
    width: 100%;
    z-index: 9999;
    position: relative;
    transition: all 0.3s ease;
}
.main-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    animation: headerslideDown 0.3s ease forwards;
}
.header-placeholder { display: none; }
.header-placeholder.is-active { display: block; }

@keyframes headerslideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.head-bar { padding: 10px 0; }
.custom-logo-link img { width: 150px; }
.custom-logo-link.width-rez img { width: 100px; }

/*head main menu*/
.mega-menu>li>.mega-menu-link { 
    padding: 0 !important;
    margin: 10px 30px !important;
    font-family: 'mainm' !important;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner, 
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before, 
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
    height: 2px;
}

@media (min-width: 1201px) {
    .mega-menu>li:last-child>.mega-menu-link{
        margin: 10px 0 10px 30px !important;
    }
    .mega-menu>li.mega-lang-item { display: none !important; }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item { position: relative;}
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item>ul {
        top: 40px;
        left: 5px !important;
    }
    .mega-current-category-ancestor>a,
    .mega-current-menu-item>a,
    .mega-current-post-ancestor>a {
        color: var(--sub) !important;
        border-bottom: 2px solid var(--sub) !important;
    }
    #mega-menu-primary { display: flex !important; }
}
@media (max-width: 1200px) {
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        font-size: 24px !important;
        font-family: 'mainb' !important;
    }    
    #mega-menu-wrap-primary .mega-menu-toggle ~ button.mega-close:before { background-color: var(--sub);}
}
@media (max-width: 600px) {
    .custom-logo-link img { width: 100px; }
    .custom-logo-link.width-rez img { width: 80px; }
}


/*footer*/
.footer-info * { margin-block-start: 0;}
.footer-info p { margin-bottom: 10px;}
.footer-info ul { padding-top: 5px; padding-bottom: 5px;}
.footer-info li { margin-bottom: 5px;}
@media ( max-width: 768px) { .copyright p { text-align: center;} }

.footer-info .wp-block-cover span { background: unset !important; }
.main-header,
.footer-info .wp-block-cover {
    background: linear-gradient(315deg, #004d7a 3%, #0073aa 38%, #00a8cc 68%, #004d7a 98%);
    background-size: 400% 400%;
    animation: ocean-gradient 6s ease infinite; 
    position: relative;
    overflow: hidden;
}
.main-header::before,
.footer-info .wp-block-cover::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 80%);
    animation: wave-pulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes ocean-gradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}
@keyframes wave-pulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.3); opacity: 0.5; }
}

.block-mobile-buttons {
    z-index: 999;
    position: fixed;
    right: 5px;
    bottom: 0px;
}
.pulse {
    cursor: pointer;
    margin: 25px 10px;
    padding: 8px;
    background-color: #3d58b3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.3s;;
}
.pulse:hover { background-color: var(--sub) }
.pulse::before,
.pulse::after {
    content: "";
    position: absolute;
    border: 1px solid #3d58b3;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    animation: pulse 1s ease-out infinite;
}
.pulse::after { animation-delay: 0.3s }
.pulse:hover::before, 
.pulse:hover::after { border: 1px solid var(--sub) }
.pulse img { width: 20px; height: 20px; }
@keyframes pulse {
    0% { transform: scale(0.5); opacity: 0 }
    50% { transform: scale(1); opacity: 1 }
    100% { transform: scale(1.3); opacity: 0 }
}

/*end footer*/

/*button*/
.mondial-button a {
    color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 60px;
}
.mondial-button a img {
    transition: 0.3s ease-out;
}
.mondial-button .text { 
    display: flex;
    align-items: center;
    height: 100%;
    background-color: var(--main);
    font-family: 'mainm'; 
    padding-left: 30px;
    border-radius: 5px;
    transition: 0.3s ease-out;
}
.mondial-button .arrow.left {
    width: 0;
    border-radius: 5px;
    background-color: var(--main);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-out;
}
.mondial-button .arrow.right img {
    width: 90px;
    padding-left: 40px;
    padding-right: 20px;
}
.mondial-button a:hover .arrow.right img {
    width: 0;
    padding-left: 30px;
    padding-right: 0px;
}
.mondial-button a:hover .arrow.left { margin-right: 6px; width: 60px; }
.mondial-button .arrow.left img { width: 0; }
.mondial-button a:hover .arrow.left img { width: 30px; }
.mondial-button a:hover .text,
.mondial-button a:hover .arrow.left { background-color: var(--sub); }

/*trang chu - home*/
.saigon-food-text {
    font-family: 'mainb';
    line-height: 1;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         2px  6px 2px #808080; 
}
.saigon-food-text-2 {
    font-family: 'mainb';
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         1px  4px 1px #808080;  
}
@media (max-width: 600px) {
    .saigon-food-text { font-size: 4em !important; }
}
.marquee-full-width {
    border-radius: 15px;
    background: var(--sub);
    padding: 20px 0;
}
.marquee-limit-size {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    animation: scroll-nonstop 15s linear infinite; 
}
.marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 100px;
    padding-right: 100px; 
}
.marquee-group img {
    height: 100px;
    width: 150px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}
@keyframes scroll-nonstop {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-limit-size:hover .marquee-track {
    animation-play-state: paused;
}

/*trang chu - san pham*/
.home-product {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}
.home-product .wp-block-column {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 15px;
    overflow: hidden;
    padding: 40px 20px 10px 20px;
    background-color: #eee;
    transition: 0.3s ease-out;
}
.home-product .wp-block-column:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.home-product .wp-block-column::before {
    position: absolute;
    bottom: 0;
    left: 20px;
    font-size: 8em;
    line-height: 0.7;
    font-family: 'mainb';
    color: #fff;
    z-index: 1; 
    pointer-events: none; 
    transition: 0.3s ease-out;
}
.home-product .wp-block-column:hover::before { color: #f1f1f1; }
.home-product .wp-block-column:nth-child(1):before { content: "01"; }
.home-product .wp-block-column:nth-child(2):before { content: "02"; }
.home-product .wp-block-column:nth-child(3):before { content: "03"; } 
.home-product .wp-block-column:nth-child(4):before { content: "04"; }
.home-product .wp-block-column:nth-child(5):before { content: "05"; }
.home-product .wp-block-column p {
    font-size: 2.5em;
    line-height: 0.8;
    margin: 0;
    font-family: 'mainb';
    position: relative;
    z-index: 2;
    white-space: nowrap;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    color: var(--main);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
    mask-image: linear-gradient(to bottom, black, transparent);
    transition: 0.3s ease-out;
}
.home-product .wp-block-image { 
    margin: 0; 
    transition: 0.3s ease-out;
    position: relative;
    z-index: 3;
    top: -20px;
    left: 0;
}
.home-product .wp-block-column:hover {
    background-color: #fff;
    box-shadow: 0 4px 10px #00000080;
}
.home-product .wp-block-column:hover p { 
    color: var(--sub);
}
.home-product .wp-block-column:hover .wp-block-image { left: 10px; }

@media (max-width: 1200px) {
    .home-product { grid-template-columns: repeat(2, 1fr) !important; }
    .home-product .wp-block-column:nth-child(1) { grid-column: 1 / 3; }
}
@media (min-width: 769px) {
    .home-product .wp-block-column:nth-child(1):before { font-size: 20em;}
    .home-product .wp-block-column:nth-child(1) p { font-size: 12em;}
}
@media (max-width: 768px) {
    .home-product .wp-block-column p { font-size: 4em;}
    .home-product {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto;
    }
    .home-product .wp-block-column:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: auto;
    }
}
@media (max-width: 600px) {
    .home-product .wp-block-column p { font-size: 3em;}
}

/*trang chu - thanh tuu*/
.home-achieve>.wp-block-group__inner-container>.wp-block-columns>.wp-block-column p {
    line-height: 1.3 !important;
}
@media (min-width: 1025px) {
    .home-achieve { 
        position: relative; 
        min-height: 100vh;
    }
    .home-achieve::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('images/background.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.2; 
        z-index: -1; /* Đẩy ảnh ra phía sau nội dung */
    }
}
/*trang chu - tin tuc*/
.home-news { margin: 50px 0 80px 0; }
.home-news-list {
    display: grid;
    grid-template-columns: 60% 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    margin: 50px auto;
}

/* Cấu trúc chung cho các item */
.home-news-list .item {
    display: flex;
    overflow: hidden;
}

/* Xử lý riêng bài viết ĐẦU TIÊN (Tin lớn) */
.home-news-list .item:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    position: relative;
    display: block;
    border-radius: 20px;
}
.home-news-list .item:not(:first-child) {
    grid-column: 2 / 3;
    display: flex;
    gap: 25px;
    align-items: center;
}
.home-news-list .item .thumbnail { height: 100%; overflow: hidden; }
.home-news-list .item:not(:first-child) .thumbnail { flex: 0 0 40%; border-radius: 15px }
.home-news-list .item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-news-list .item:hover .thumbnail img { transform: scale(1.1); }
.home-news-list .item:first-child .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, #000000, transparent);
    z-index: 2;
}
.home-news-list .item:not(:first-child) .info { position: static; }
.home-news-list .item h4 {
    margin: 10px 0;
    color: #000;
    font-family: 'mainm';
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-news-list .item:first-child h4 { color: #fff; }
.home-news-list .date {
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.5px;
    background-color: var(--sub);
    display: inline-block;
    border-radius: 3px;
    padding: 3px 8px;
}
.home-news-list .item .read-more { 
    font-size: 14px;
    color: #808080;
    padding-top: 5px;
    margin-top: 8px;
    border-top: 1px solid #ccc;
    transition: 0.3s ease-out;
}
.home-news-list .item .read-more span { color: var(--sub)}
.home-news-list .item:first-child .read-more { 
    padding-top: 10px;
    color: #fff;
    transition: 0.3s ease-out;
}
.home-news-list .item:hover .read-more { color: var(--sub) }
/* Responsive */
@media (min-width: 1025px) {
    .home-news-list .item:first-child h4 { font-size: 2em; }
    .home-news-list .item:first-child .read-more { font-size: 18px };
}
@media (max-width: 1024px) {
    .home-news-list {
        display: flex;
        flex-direction: column;
    }
    .home-news-list .item:first-child { height: 500px; }
    .home-news-list .item:not(:first-child) .thumbnail {
        flex: 0 0 40%;
        height: 200px;
    }
}
@media (max-width: 600px) {
    .home-news-list .item:first-child { height: 320px; }
}


/*trang 404*/ 
.head-title-404 h2 { 
    color: var(--main);
    margin: 30px;
}
.mondial-404 .return-home { margin: 30px 0; }

/*navigation*/
.navigation {
	padding: 30px 10px 20px 10px;
	width: 100%;
	text-align: center;
}
.navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	padding: 0;
	margin: 0;
}
.navigation li {
    display: inline-block;
    margin: 5px 3px;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    font-size: 13px;
    display: inline-block;
    padding: 5px 13px;
    color: #fff;
    background-color: #000;
    cursor: pointer;
}
.navigation li.active a {
    background-color: var(--main);
}
/*end navigation*/


/*css nut - tieu de - menu */
.anisl { transform: translate3d(-100px, 0px, 0px); }
.anisr { transform: translate3d(100px, 0px, 0px); }
.anist { transform: translate3d(0px, -100px, 0px); }
.anisb { transform: translate3d(0px, 100px, 0px); }
.anis {
    position: relative;
    z-index: 10;
    opacity: 0;
    transition: all 800ms ease-out;
}
.anis.in-view {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
    z-index: 0;
}

/*breadcrumb*/
.breadcrumbs { 
    padding: 10px 0;
    background-color: var(--sub); 
}
.aioseo-breadcrumbs * {
    color: #fff;
    font-size: 14px; 
}
.aioseo-breadcrumb-separator { margin: 0 6px; }
/*end breadcrumb*/


/*main title*/
.entry-title { 
    text-transform: uppercase;
    font-size: 3em;
    position: relative;
    padding-bottom: 15px;
}
.entry-title::after {
    position: absolute;
    content: "";
    width: 80px;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: var(--sub);
}

/*trang tin tuc*/
.mondial-posts,
.mondial-post { 
    overflow: hidden; 
    padding-top: 50px;
    padding-bottom: 50px;
}
.mondial-title { font-size: 3em; text-transform: uppercase;}
.custom-title {
    margin: 0;
    font-size: 6em;
    text-transform: uppercase;
    font-family: 'mainb';
    color: #ffffff; 
    -webkit-text-stroke: 2px var(--main);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 0.8;
    text-shadow: 
        0px 1px 0 var(--main),
        1px 2px 0 var(--main),
        2px 3px 0 var(--main),
        3px 4px 0 var(--main);
    paint-order: stroke fill;
}

@media (max-width: 600px) { 
    .custom-title {
        font-size: 3em; line-height: 1; margin: 10px 0;
    }
}
.the-list-post { margin: 0 -10px}
.the-post-item {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
	height: calc(100% - 30px);
    margin: 15px 10px;
    overflow: hidden;
    background-color: #f1f1f1;
}
.the-post-item:hover { box-shadow: 0px 3px 10px -5px #000; }
.post-item-thumbnail {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 66.66%;
}
.post-item-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.the-post-item:hover .post-item-thumbnail img { transform: scale(1.1); }
.the-post-item .post-title {
    color: #000;
    font-size: 15px;
    position: relative;
    display: block;
    font-family: 'mainm';
    line-height: 1.4;
    margin: 16px 20px 6px 0;
    padding-left: 30px;
}
.the-post-item .post-title::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--sub);
    left: 0;
    top: 10px;
}
.the-post-item .post-time {
    font-size: 12px;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #808080;
}
.the-post-item:hover h2 { color: var(--main)}

/*trang tin tuc - chi tiet*/
.box-detail {
    margin: 30px auto;
    max-width: 900px;
}


/*block editor*/
.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }
.taj { text-align: justify; }
.tajlc { text-align: justify; text-align-last: center }
.ttu { text-transform: uppercase; }
.tdu { text-decoration: underline; }
.psr { position: relative; }
.psa { position: absolute; }
.lh1 { line-height: 1;}
.ls1 { letter-spacing: 1px;}
.clb { color: #000; }
.clw { color: #fff; }
.cls { color: var(--sub) }
.clm { color: var(--main); }
.cld { color: var(--main); }
.fs20 { font-size: 20px; }
.fs30 { font-size: 30px; }
.fs40 { font-size: 40px; }
.fs50 { font-size: 50px; }
.fs60 { font-size: 60px; }
.ffb { font-family: 'mainb';}
.ffm { font-family: 'mainm';}
.ffr { font-family: 'mainr';}

.gap0 { gap: 0 }
.gap1 { gap: 1em }
.gap2 { gap: 2em }
.gap3 { gap: 3em }
.gap4 { gap: 4em }
.gap5 { gap: 5em }

.bgw { background-color: #fff}
.bgm { background-color: var(--main)}
.bgs { background-color: var(--sub)}
.vh100 { height: 100vh }
.w100 { width: 100% }
.w90 { width: 90% }
.w80 { width: 80% }
.w70 { width: 70% }
.w60 { width: 60% }
.w50 { width: 50% }
.w40 { width: 40% }
.w30 { width: 30% }
.w20 { width: 20% }
.w10 { width: 10% }
.lsn { list-style: none;}
.mg0 { margin: 0 !important}
.mga { margin: 15px auto !important }
.pd0 { padding: 0 !important;}
.pd30 { padding: 30px;}
.jcc { justify-content: center;}
.b2s { border: 2px solid var(--sub)}
.br20 { border-radius: 20px; }
.br15 { border-radius: 15px; }
.br10 { border-radius: 10px; }


/*trinh soan thao*/
.the-content { padding-top: 50px; padding-bottom: 50px;}
/*ul ol li*/
.the-content ul li { position: relative; list-style: none; }
.the-content ul li::before {
    position: absolute;
    content: "";
    left: -20px;
    top: 1.2ex;
    width: 12px;
    height: 2px;
    background-color: var(--sub);
}
.the-content ol li::marker {
    color: var(--main);
    letter-spacing: 2px;
}
.the-content ul li>ul>li::before {
    width: 6px;
    height: 6px;
}

/*responsive*/
@media (min-width: 569px) {
	.dom { display: none !important; }
}
@media (max-width: 568px) {
    .dod { display: none; }
}
/*template*/