/* Sao Mai Premium Blog | all front-end rules are contained within .smpb */
.smpb{--smpb-accent:#00783e;--smpb-related-title:#13202e;--smpb-deep:#063d2a;--smpb-text:#13202e;--smpb-muted:#687382;--smpb-line:#e6eaec;--smpb-surface:#f5f8f7;color:var(--smpb-text);font-size:15px;line-height:1.65;background:#fff;padding:0 0 78px;font-family:inherit}
.smpb *, .smpb *::before,.smpb *::after{box-sizing:border-box}
.smpb a{text-decoration:none;color:inherit;transition:color .18s ease,background .18s ease,box-shadow .18s ease}
.smpb a:hover{color:var(--smpb-accent)}
.smpb h1,.smpb h2,.smpb h3,.smpb h4,.smpb p{font-family:inherit;letter-spacing:normal}
.smpb h1,.smpb h2,.smpb h3{color:var(--smpb-text);text-transform:none}
.smpb-container{width:min(1240px,calc(100% - 48px));margin:0 auto}
.smpb-breadcrumb{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:20px 0 32px;color:#7b8791;font-size:12px;line-height:1.5}
.smpb-breadcrumb span[aria-hidden]{color:#abb5bb}
.smpb-breadcrumb span[aria-current]{color:#405061}
.smpb-eyebrow{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.09em;color:var(--smpb-accent);margin-bottom:10px}
.smpb-line{width:40px;height:3px;background:var(--smpb-accent);border-radius:3px}
.smpb-archive-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:28px}
.smpb-archive-heading h1{font-size:clamp(29px,3.6vw,49px);font-weight:800;line-height:1.16;margin:0 0 9px}
.smpb-archive-heading p{margin:0;color:var(--smpb-muted);font-size:15px;max-width:740px}
.smpb-featured{display:grid;grid-template-columns:1.08fr 1fr;min-height:320px;overflow:hidden;border-radius:12px;background:linear-gradient(115deg,#f8fbfa,#eff7f3);margin-bottom:24px}
.smpb-featured-media{display:block;position:relative;min-height:320px;overflow:hidden;background:#e7ece9}
.smpb-featured-media .smpb-image{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .35s ease}
.smpb-featured:hover .smpb-image{transform:scale(1.035)}
.smpb-image-fallback{width:100%;height:100%;min-height:170px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#e8f5ed,#dae9e4);color:var(--smpb-accent);letter-spacing:.15em;font-size:20px;font-weight:800;flex-direction:column}
.smpb-image-fallback span{display:block;max-width:90%;font-size:clamp(12px,1.4vw,19px);line-height:1.35;letter-spacing:.08em;text-align:center;overflow-wrap:anywhere}
.smpb-featured-content{padding:clamp(25px,3.5vw,48px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.smpb-featured-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--smpb-muted);margin-bottom:15px}
.smpb-category{background:var(--smpb-accent);display:inline-flex;align-items:center;max-width:100%;padding:5px 10px;border-radius:5px;color:#fff!important;font-size:10px;font-weight:800;letter-spacing:.025em;line-height:1.3}
.smpb-category:hover{background:#005b31}
.smpb-featured h2{font-weight:800;font-size:clamp(23px,2.35vw,33px);line-height:1.3;margin:0 0 12px}
.smpb-featured p{color:#576575;line-height:1.7;font-size:14px;margin:0 0 24px;max-width:520px}
.smpb-primary-link{display:inline-flex;align-items:center;gap:17px;background:var(--smpb-accent);color:#fff!important;border-radius:7px;padding:11px 19px;font-size:14px;font-weight:700;box-shadow:0 5px 14px #00783e1c}
.smpb-primary-link:hover{background:var(--smpb-deep);color:#fff}
.smpb-primary-link span{font-size:20px;line-height:1}
.smpb-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:12px 0 19px}
.smpb-section-heading h2{font-weight:800;font-size:23px;line-height:1.3;margin:0}
.smpb-section-heading>span{color:var(--smpb-accent);font-size:11px;letter-spacing:.06em;font-weight:800}
.smpb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.smpb-card{position:relative;display:flex;flex-direction:column;background:#fff;min-width:0;overflow:hidden;border:1px solid #edf0f1;border-radius:10px;box-shadow:0 3px 17px rgba(10,32,32,.025);transition:transform .2s ease,box-shadow .2s ease}
.smpb-card:hover{transform:translateY(-4px);box-shadow:0 13px 26px rgba(10,32,32,.09)}
.smpb-card-media{height:auto;aspect-ratio:1.75;position:relative;display:block;overflow:hidden;background:#f1f4f3}
.smpb-card-media .smpb-image{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .3s ease}
.smpb-card-media .smpb-image-fallback{position:absolute;inset:0}
.smpb-card:hover .smpb-card-media .smpb-image{transform:scale(1.045)}
.smpb-card-body{position:relative;display:flex;flex-direction:column;flex:1;padding:18px 19px 20px}
.smpb-card-meta{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:10px}
.smpb-card-meta time{white-space:nowrap;font-size:11px;color:#88939d}
.smpb-card-title{font-size:19px;font-weight:800;line-height:1.43;margin:0 0 9px;letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.smpb-card-excerpt{color:#677585;font-size:13px;margin:0;padding-right:17px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.smpb-card-arrow{position:absolute;right:17px;bottom:15px;color:var(--smpb-accent)!important;font-size:23px;line-height:1}
.smpb-card--compact{display:flex;flex-direction:row;min-height:147px}
.smpb-card--compact .smpb-card-media{width:40%;min-height:145px;aspect-ratio:auto;flex-shrink:0}
.smpb-card--compact .smpb-card-body{padding:14px 15px;justify-content:center}
.smpb-card--compact .smpb-card-title{font-size:15px;line-height:1.45;-webkit-line-clamp:3}
.smpb-card--compact .smpb-card-excerpt{font-size:12px;-webkit-line-clamp:2}
.smpb-card--compact .smpb-card-meta{display:block;margin-bottom:5px}
.smpb-card--compact .smpb-card-meta time{display:block;margin-top:5px}
.smpb-card--compact .smpb-card-arrow{bottom:7px;right:10px;font-size:18px}
.smpb-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:34px 0 0}
.smpb-pagination .page-numbers{display:inline-flex;justify-content:center;align-items:center;min-width:38px;height:38px;background:#f4f6f8;border-radius:50%;font-size:13px;color:#53606d;padding:0 10px}
.smpb-pagination .page-numbers.current,.smpb-pagination .page-numbers:hover{background:var(--smpb-accent);color:#fff}
.smpb-empty{color:var(--smpb-muted);text-align:center;padding:28px}
/* Article */
.smpb-article-header{max-width:925px;margin:4px auto 35px;text-align:center}
.smpb-article-label{display:flex;justify-content:center;margin-bottom:17px}
.smpb-article-header h1{font-size:clamp(29px,4.2vw,49px);line-height:1.24;font-weight:800;margin:0 0 17px}
.smpb-article-lead{font-size:17px;line-height:1.75;color:#5d6c79;margin:0 0 18px}
.smpb-article-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;color:#7a8793;font-size:12px}
.smpb-article-meta span{display:inline-flex;gap:7px;align-items:center}
.smpb-article-meta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.smpb-article-cover{margin:0 auto 43px;max-width:1050px}
.smpb-article-cover .smpb-cover-img{width:100%;max-height:530px;object-fit:cover;height:auto;display:block;border-radius:11px}
.smpb-article-cover figcaption{text-align:center;font-size:12px;color:#84909a;margin-top:9px}
.smpb-article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(210px,260px);justify-content:space-between;gap:55px;max-width:1080px;margin:0 auto}
.smpb-article-layout.smpb-no-toc{grid-template-columns:minmax(0,860px);justify-content:center}
.smpb-article{min-width:0}
.smpb-post-content{font-size:16px;line-height:1.9;color:#2e3e4c;overflow-wrap:anywhere}
.smpb-post-content>p:first-child{margin-top:0}
.smpb-post-content h2{font-size:clamp(23px,2.2vw,28px);font-weight:800;line-height:1.35;margin:34px 0 15px;scroll-margin-top:105px}
.smpb-post-content h3{font-size:21px;font-weight:750;line-height:1.4;margin:27px 0 12px;scroll-margin-top:105px}
.smpb-post-content h4{font-size:18px;font-weight:750;margin:22px 0 10px}
.smpb-post-content p{margin:0 0 18px}
.smpb-post-content a{color:var(--smpb-accent);text-decoration:underline;text-underline-offset:3px}
.smpb-post-content ul,.smpb-post-content ol{margin:0 0 18px;padding-left:25px}
.smpb-post-content li{margin-bottom:7px}
.smpb-post-content img{max-width:100%;height:auto;border-radius:6px}
.smpb-post-content figure{max-width:100%}
.smpb-post-content figcaption{color:#87939e;text-align:center;font-size:12px}
.smpb-post-content blockquote{border-left:4px solid var(--smpb-accent);background:#f1f7f3;padding:18px 23px;border-radius:0 8px 8px 0;margin:24px 0;font-size:16px}
.smpb-post-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;margin:19px 0 26px}
.smpb-post-content th,.smpb-post-content td{padding:10px 12px;border:1px solid #e6ebec;text-align:left}
.smpb-post-content th{background:#f1f7f3}
.smpb-post-content iframe{max-width:100%}
.smpb-toc-wrap{min-width:0}
.smpb-toc{position:sticky;top:105px;padding:22px 20px;border:1px solid #e6ece9;border-radius:10px;background:#f8faf9}
.smpb-toc-title{font-size:12px;font-weight:800;color:var(--smpb-deep);letter-spacing:.08em;border-bottom:1px solid #e0e6e2;padding-bottom:14px;margin-bottom:12px}
.smpb-toc nav a{display:block;color:#60706d;font-size:13px;line-height:1.5;padding:8px 0;border-bottom:1px solid #edf1ef}
.smpb-toc nav a.is-h3{padding-left:13px;font-size:12px}
.smpb-toc nav a:hover,.smpb-toc nav a.is-current{color:var(--smpb-accent)}
.smpb-back-top{display:inline-block;font-size:12px;color:var(--smpb-accent)!important;font-weight:700;margin-top:14px}
.smpb-toc-wrap.is-empty{display:none}
.smpb-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:32px;padding-top:20px;border-top:1px solid var(--smpb-line);font-size:13px}
.smpb-tags strong{margin-right:4px}
.smpb-tags a{background:#f4f6f7;border-radius:5px;padding:5px 10px;color:#5e6c78}
.smpb-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:25px;padding:22px 0;border-top:1px solid var(--smpb-line);border-bottom:1px solid var(--smpb-line)}
.smpb-share>span:first-child{font-size:13px;font-weight:800;margin-right:auto}
.smpb-share a,.smpb-share button{font-family:inherit;font-size:12px;font-weight:700;background:#eef4f1;color:var(--smpb-accent);border:0;box-shadow:none;border-radius:6px;min-height:36px;padding:8px 12px;cursor:pointer;margin:0;letter-spacing:0;text-transform:none}
.smpb-share a:hover,.smpb-share button:hover{background:var(--smpb-accent);color:#fff}
.smpb-copy-message{font-size:12px;color:var(--smpb-accent)}
.smpb-related{padding:35px 0 18px;border-top:1px solid var(--smpb-line)}
.smpb-related .smpb-section-heading{margin-bottom:21px}
.smpb-related .smpb-section-heading>div h2{font-size:27px}
.smpb-related .smpb-section-heading>a{font-size:12px;font-weight:700;color:var(--smpb-accent)}
.smpb-related .smpb-card--compact{display:flex;flex-direction:column}
.smpb-related .smpb-card .smpb-card-media{aspect-ratio:1.8;min-height:0;width:100%}
.smpb-comments{max-width:860px;margin:32px auto 0}
@media(min-width:1200px){.smpb-archive-heading{margin-top:5px}}
@media(max-width:1100px){.smpb-grid{gap:15px}.smpb-card--compact{flex-direction:column}.smpb-card--compact .smpb-card-media{width:100%;aspect-ratio:1.8;min-height:0}.smpb-card--compact .smpb-card-body{min-height:150px}.smpb-article-layout{gap:25px;grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:850px){.smpb-container{width:min(100% - 32px,700px)}.smpb-featured{grid-template-columns:1fr}.smpb-featured-media{min-height:300px;aspect-ratio:16/9}.smpb-featured-content{padding:28px}.smpb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smpb-article-layout{grid-template-columns:minmax(0,1fr)}.smpb-toc-wrap{order:-1}.smpb-toc{position:static}.smpb-article-cover{margin-bottom:26px}.smpb-article-header{margin-bottom:27px}}
@media(max-width:590px){.smpb{padding-bottom:45px}.smpb-container{width:calc(100% - 28px)}.smpb-breadcrumb{padding:16px 0 25px}.smpb-archive-heading{margin-bottom:22px}.smpb-archive-heading h1{font-size:29px}.smpb-archive-heading p{font-size:13px}.smpb-featured-media{min-height:210px}.smpb-featured-content{padding:21px}.smpb-featured h2{font-size:23px}.smpb-featured p{font-size:13px}.smpb-section-heading h2{font-size:20px}.smpb-section-heading>span{font-size:9px}.smpb-grid{grid-template-columns:1fr;gap:18px}.smpb-card--compact{flex-direction:row;min-height:143px}.smpb-card--compact .smpb-card-media{width:38%;aspect-ratio:auto;min-height:143px}.smpb-card--compact .smpb-card-title{font-size:15px}.smpb-card--compact .smpb-card-body{min-height:0;padding:14px}.smpb-card--compact .smpb-card-excerpt{display:none}.smpb-article-header h1{font-size:29px}.smpb-article-lead{font-size:14px}.smpb-article-meta{gap:11px}.smpb-post-content{font-size:15px}.smpb-post-content h2{font-size:23px}.smpb-post-content h3{font-size:19px}.smpb-share>span:first-child{width:100%}.smpb-article-cover .smpb-cover-img{border-radius:7px}}
@media(prefers-reduced-motion:reduce){.smpb *{scroll-behavior:auto!important;transition:none!important}}

/* Customizable related heading color; high specificity prevents Flatsome default heading color overriding it. */
.smpb.smpb-single .smpb-related #smpb-related-heading{color:var(--smpb-related-title)!important}
