/* Base dung chung cac trang mddev-site - bien mau, reset, container, nut, section-head */

/*#region vars*/
:root{
    --mddev-orange:#FF6B16;
    --mddev-orange-dark:#EC5A06;
    --mddev-orange-soft:#FFF7F1;
    --mddev-orange-line:#FFD9C2;
    --mddev-blue:#2568FD;
    --mddev-blue-dark:#1550D8;
    --mddev-blue-soft:#F2F6FF;
    --mddev-green:#1FB800;
    --mddev-text:#1E1E1E;
    --mddev-text-soft:#555555;
    --mddev-muted:#8A8A8A;
    --mddev-line:#E8E8E8;
    --mddev-box:#F7F7F7;
    --mddev-shadow:0 6px 26px rgba(0,0,0,.07);
    --mddev-radius:16px;
}
/*#endregion*/

/*#region base*/
/* Reset boc trong :where() de specificity = 0 -> moi class .mddev-* deu de dang ghi de */
body.mddev-site{ color:var(--mddev-text); background:#fff; -webkit-font-smoothing:antialiased; }
:where(body.mddev-site) img{ max-width:100%; height:auto; display:block; }
:where(body.mddev-site) a{ text-decoration:none; color:inherit; }
:where(body.mddev-site) p{ margin:0; }
:where(body.mddev-site) h1,
:where(body.mddev-site) h2,
:where(body.mddev-site) h3,
:where(body.mddev-site) h4,
:where(body.mddev-site) h5,
:where(body.mddev-site) h6{ margin:0; line-height:1.25; color:var(--mddev-text); font-family:inherit; }
body.mddev-site :focus-visible{ outline:2px solid var(--mddev-orange); outline-offset:3px; }
body.mddev-site .site-main{ overflow-x:clip; }
/*#endregion*/

/*#region container*/
.mddev-site .mddev-container{
    width:100%;
    padding-inline:15px;
    margin-inline:auto;
}
@media (min-width:576px){ .mddev-site .mddev-container{ max-width:540px; } }
@media (min-width:768px){ .mddev-site .mddev-container{ max-width:720px; } }
@media (min-width:992px){ .mddev-site .mddev-container{ max-width:960px; } }
@media (min-width:1200px){ .mddev-site .mddev-container{ max-width:1140px; } }
@media (min-width:1400px){ .mddev-site .mddev-container{ max-width:1400px; } }
/*#endregion*/

/*#region button-link*/
.mddev-site .mddev-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--mddev-orange); color:#fff; padding:11px 22px; border-radius:8px; font-weight:700; font-size:14px; line-height:1.2; white-space:nowrap; cursor:pointer; border:none; transition:background .15s ease; }
.mddev-site .mddev-btn:hover{ background:var(--mddev-orange-dark); color:#fff; }
.mddev-site .mddev-btn-lg{ padding:15px 30px; font-size:17px; border-radius:30px; text-transform:uppercase; letter-spacing:.4px; }
.mddev-site .mddev-btn-blue{ background:var(--mddev-blue); }
.mddev-site .mddev-btn-blue:hover{ background:var(--mddev-blue-dark); }
.mddev-site .mddev-btn-ghost{ background:var(--mddev-orange-soft); color:var(--mddev-orange); }
.mddev-site .mddev-btn-ghost:hover{ background:#FFE9DA; color:var(--mddev-orange-dark); }
.mddev-site .mddev-btn-ghost-blue{ background:var(--mddev-blue-soft); color:var(--mddev-blue); }
.mddev-site .mddev-btn-ghost-blue:hover{ background:#E4EDFF; color:var(--mddev-blue-dark); }
.mddev-site .mddev-btn-outline{ background:#fff; color:var(--mddev-orange); border:1px solid var(--mddev-orange); padding:9px 26px; border-radius:8px; }
.mddev-site .mddev-btn-outline:hover{ background:var(--mddev-orange-soft); color:var(--mddev-orange-dark); }
/*#endregion*/

/*#region section-head*/
.mddev-site .mddev-section-head{ text-align:center; margin-bottom:26px; }
.mddev-site .mddev-section-title{ font-size:28px; font-weight:800; color:var(--mddev-orange); line-height:1.3; }
.mddev-site .mddev-section-sub{ margin-top:8px; font-size:15px; color:var(--mddev-text-soft); line-height:1.6; }
@media (max-width:979px){
    .mddev-site .mddev-section-title{ font-size:20px; }
    .mddev-site .mddev-section-sub{ font-size:14px; }
}
/*#endregion*/

/*#region panel*/
.mddev-site .mddev-panel{ background:#fff; border-radius:24px; box-shadow:var(--mddev-shadow); padding:34px 30px 30px; }
@media (max-width:979px){ .mddev-site .mddev-panel{ border-radius:16px; padding:24px 14px 20px; } }
/*#endregion*/

/*#region motion*/
@media (prefers-reduced-motion:reduce){
    body.mddev-site *, body.mddev-site *::before, body.mddev-site *::after{ transition:none !important; animation:none !important; }
}
/*#endregion*/
