/* Content pages: blog, posts, contact (loaded on non-shop pages, after mlc.css). Every selector is scoped to blog, post or contact classes so the homepage is untouched. */

/* Blog header ------------------------------------------------------------- */
.mlc-blog-head { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 24px; padding: 0; background: none; border-radius: 0; }
.mlc-blog-head .mlc-h1 { font-size: 42px; line-height: 1.1; text-transform: none; }
.mlc-blog-head p { margin: 0; max-width: 640px; color: var(--mlc-muted-2); }
.mlc-blog-chips { margin-top: 8px; }
.mlc-blog-chips .mlc-chip { min-height: 44px; font-size: 14px; }
.mlc-chip--active, .mlc-chip--active:hover { background: var(--mlc-navy); color: #fff; font-weight: 700; padding: 10px 18px; }
.mlc-chip--outline { background: #fff; border: 2px solid var(--mlc-line-strong); font-weight: 600; padding: 8px 16px; }
.mlc-chip--outline:hover { border-color: var(--mlc-navy); text-decoration: none; }

/* Blog layout: content column + sidebar ----------------------------------- */
.mlc-blog-wrap { padding-bottom: 56px; }
.mlc-blog-wrap--aside { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.mlc-blog-main { min-width: 0; width: 100%; }
.mlc-blog-wrap--aside .mlc-blog-main { flex: 999 1 640px; width: auto; }
.mlc-blog-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 850px) {
	/* Sticky column: follows the header (--mlc-sticky-top), scrolls inside when taller than the viewport. The 4px padding keeps focus rings from being clipped. */
	.mlc-blog-aside { position: sticky; top: var(--mlc-side-top, var(--mlc-sticky-top, 24px)); align-self: flex-start; box-sizing: border-box; transition: top .2s ease; } /* tall aside: scrolls with the page, sticks by its bottom (mlc.js initStickySides) */
}
.mlc-blog-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-bottom: 32px; }
.mlc-blog-empty { width: 100%; box-sizing: border-box; border: 2px dashed var(--mlc-line-strong); border-radius: var(--mlc-r-md); padding: 48px 24px; text-align: center; color: var(--mlc-muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mlc-blog-empty p { margin: 0; }
.mlc-blog-main .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mlc-blog-main .page-numbers li { margin: 0; }
.mlc-blog-main .page-number, .mlc-blog-main .page-numbers a, .mlc-blog-main .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; box-sizing: border-box; border-radius: 999px; border: 2px solid var(--mlc-line-strong); color: var(--mlc-navy); font-weight: 600; background: #fff; }
.mlc-blog-main .page-number.current, .mlc-blog-main .current { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; font-weight: 700; }

/* Post card (blog variant) ------------------------------------------------- */
.mlc-post-card--blog .mlc-post-card__media { aspect-ratio: 16 / 10; position: relative; }
.mlc-post-card__media--tone-0 { background: var(--mlc-bg-blue); }
.mlc-post-card__media--tone-1 { background: var(--mlc-bg-yellow); }
.mlc-post-card__media--tone-2 { background: var(--mlc-bg-mint); }
.mlc-post-card__media--tone-3 { background: var(--mlc-bg-peach); }
.mlc-post-card--blog .mlc-post-card__body { flex: 1 1 auto; }
.mlc-post-card__foot { margin-top: auto; font-size: 13px; color: var(--mlc-muted); }

/* Sidebar blocks ----------------------------------------------------------- */
.mlc-aside-search { display: flex; margin: 0; }
.mlc-aside-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; margin: 0; padding: 0 16px; border: 2px solid var(--mlc-line-strong); border-right: 0; border-radius: var(--mlc-r-sm) 0 0 var(--mlc-r-sm); box-shadow: none; font: inherit; background: #fff; }
.mlc-aside-search button { flex: 0 0 52px; width: 52px; height: 48px; min-height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0 var(--mlc-r-sm) var(--mlc-r-sm) 0; background: var(--mlc-navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mlc-aside-search button:hover { background: var(--mlc-navy-dark); }
.mlc-aside-card { border-radius: var(--mlc-r-md); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mlc-aside-card p { margin: 0; font-size: 14px; color: var(--mlc-muted-2); }
.mlc-aside-card .mlc-btn { align-self: flex-start; }
.mlc-aside-card__title { margin: 0; font-family: var(--mlc-font-head); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--mlc-navy); }
.mlc-aside-card--line { border: 1px solid var(--mlc-line); padding: 20px; gap: 14px; }
.mlc-aside-card--yellow { background: var(--mlc-bg-yellow); }
.mlc-aside-card--navy { background: var(--mlc-navy); }
.mlc-aside-card--navy .mlc-aside-card__title { color: #fff; }
.mlc-aside-card--navy p { color: #DCE3F5; }
.mlc-aside-link { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; box-sizing: border-box; background: #fff; border-radius: var(--mlc-r-sm); font-weight: 600; color: var(--mlc-ink); text-decoration: none; }
.mlc-aside-link:hover { color: var(--mlc-navy); text-decoration: underline; }
.mlc-product-mini { display: flex; gap: 12px; align-items: center; min-height: 44px; color: var(--mlc-ink); text-decoration: none; }
.mlc-product-mini__img { --mlc-mini: 64px; flex: 0 0 var(--mlc-mini); width: var(--mlc-mini); height: var(--mlc-mini); border-radius: var(--mlc-r-sm); overflow: hidden; background: var(--mlc-bg-grey); }
.mlc-product-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mlc-product-mini__text { display: flex; flex-direction: column; min-width: 0; }
.mlc-product-mini__name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.mlc-product-mini__price { font-weight: 700; color: var(--mlc-navy); }
.mlc-product-mini:hover .mlc-product-mini__name { color: var(--mlc-navy); text-decoration: underline; }

/* Single post -------------------------------------------------------------- */
.mlc-post-wrap { padding-bottom: 56px; }
.mlc-post-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.mlc-post { flex: 999 1 620px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.mlc-post__cat { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--mlc-bg-blue); color: var(--mlc-navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.mlc-post__title { margin: 0; font-family: var(--mlc-font-head); font-weight: 800; font-size: 44px; line-height: 1.1; color: var(--mlc-navy); text-transform: none; }
.mlc-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--mlc-muted); }
.mlc-post__author { display: flex; align-items: center; gap: 8px; }
.mlc-post__avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--mlc-yellow); color: var(--mlc-navy); font-weight: 800; }
.mlc-post__avatar--lg { flex: 0 0 auto; width: 64px; height: 64px; font-size: 24px; }
.mlc-post__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--mlc-r-lg); display: block; }
.mlc-toc { background: var(--mlc-bg-grey); border-radius: var(--mlc-r-md); padding: 20px 22px; }
/* Head: title + "Thu gọn / Mở rộng" (quiet text button, shown by mlc-content.js) */
.mlc-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.mlc-toc.is-collapsed .mlc-toc__head { margin: 0; }
.mlc-toc__title { margin: 0; font-family: var(--mlc-font); font-size: 16px; font-weight: 700; color: var(--mlc-navy); }
.mlc-toc__toggle { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; min-height: 0; margin: 0 -8px 0 0; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: var(--mlc-navy); font-family: var(--mlc-font); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mlc-toc__toggle[hidden] { display: none; }
.mlc-toc__toggle:hover { background: rgba(20, 42, 108, .08); }
.mlc-toc__toggle:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
.mlc-toc__toggle .mlc-icon { transform: rotate(-90deg); transition: transform .15s; }
.mlc-toc__toggle[aria-expanded="false"] .mlc-icon { transform: rotate(90deg); }
.mlc-toc__list[hidden] { display: none; }
.mlc-toc ol { margin: 0; padding-left: 20px; }
.mlc-toc li { margin: 0; }
.mlc-toc a { display: inline-flex; align-items: center; min-height: 44px; }
.mlc-toc a.is-current { font-weight: 700; color: var(--mlc-navy); }
/* Post sidebar list (desktop): sticks for the rest of the article (top set by mlc.js like the other side columns),
   the section being read on a blue ground with a navy bar. */
.mlc-toc--side { padding: 16px 16px 12px; }
.mlc-toc--side ol { padding: 0; list-style: none; counter-reset: mlc-toc; }
.mlc-toc--side li { counter-increment: mlc-toc; }
.mlc-toc--side a { display: flex; gap: 8px; align-items: flex-start; min-height: 0; padding: 8px 10px; border-left: 3px solid transparent; border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--mlc-muted-2); text-decoration: none; }
.mlc-toc--side ol:not(.mlc-toc__list--plain) a::before { content: counter(mlc-toc) "."; flex: none; min-width: 18px; color: var(--mlc-muted); }
.mlc-toc--side a:hover { background: #fff; color: var(--mlc-navy); }
.mlc-toc--side a.is-current { background: var(--mlc-bg-blue); border-left-color: var(--mlc-navy); color: var(--mlc-navy); }
.mlc-aside-ages { gap: 6px; }
.mlc-aside-ages .mlc-chip { min-height: 36px; padding: 0 12px; font-size: 13px; }
.mlc-aside-card--blue { background: var(--mlc-bg-blue); }
@media (min-width: 850px) {
	.mlc-blog-aside--post { position: static; align-self: stretch; } /* the list inside sticks, not the whole column */
	.mlc-toc--side { position: sticky; top: var(--mlc-side-top, var(--mlc-sticky-top, 24px)); transition: top .2s ease; }
	.mlc-post-layout .mlc-toc--inline, .mlc-post-products--inline { display: none; } /* shown in the sidebar instead */
}
@media (max-width: 849px) {
	.mlc-toc--side, .mlc-aside-desktop { display: none; }
	.mlc-post__content h2, .mlc-post__content h3 { scroll-margin-top: 128px; } /* compact header + "Đang đọc" bar */
}
/* Phones: "Đang đọc" bar (built by mlc-content.js) under the header once the article's list has scrolled away. */
.mlc-toc-bar { position: fixed; left: 0; right: 0; top: var(--mlc-header-h, 0px); z-index: 880; /* under the visible header (mlc.js publishes its height), slides with it */ background: #fff; box-shadow: 0 4px 16px rgba(20, 42, 108, .10); transition: top .2s ease; }
.mlc-toc-bar[hidden] { display: none; }
.mlc-toc-bar__btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; min-height: 0; margin: 0; padding: 0 14px; border: 0; border-bottom: 1px solid var(--mlc-line); border-radius: 0; background: #fff; box-shadow: none; color: var(--mlc-navy); font-family: var(--mlc-font); text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mlc-toc-bar__btn:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: -3px; }
.mlc-toc-bar__btn > .mlc-icon:last-child { flex: none; transition: transform .15s; }
.mlc-toc-bar.is-open .mlc-toc-bar__btn > .mlc-icon:last-child { transform: rotate(180deg); }
.mlc-toc-bar__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mlc-toc-bar__meta { font-size: 11px; font-weight: 400; line-height: 1.3; color: var(--mlc-muted); }
.mlc-toc-bar__label { font-size: 14px; font-weight: 700; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlc-toc-bar__track { height: 3px; background: var(--mlc-line); }
.mlc-toc-bar__track i { display: block; width: 0; height: 3px; background: var(--mlc-yellow); }
.mlc-toc-bar__list { max-height: 60vh; margin: 0; padding: 6px 10px 12px; overflow: auto; list-style: none; } /* a dropdown layer, not a column */
.mlc-toc-bar__list[hidden] { display: none; }
.mlc-toc-bar__list li { margin: 0; }
.mlc-toc-bar__list a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--mlc-muted-2); text-decoration: none; }
.mlc-toc-bar__list a.is-current { background: var(--mlc-bg-blue); color: var(--mlc-navy); font-weight: 700; }
@media (min-width: 850px) { .mlc-toc-bar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mlc-toc-bar, .mlc-toc--side, .mlc-toc__toggle .mlc-icon { transition: none; } }
.mlc-post__content { font-size: 17px; line-height: 1.75; max-width: none; margin: 0; text-align: left; }
.mlc-post__content > * { margin-top: 0; margin-bottom: 20px; }
.mlc-post__content h2 { margin: 32px 0 14px; font-family: var(--mlc-font-head); font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--mlc-navy); text-transform: none; scroll-margin-top: 90px; }
.mlc-post__content h3 { margin: 24px 0 10px; font-size: 22px; }
.mlc-post__content img { border-radius: var(--mlc-r-md); height: auto; }
.mlc-post-products { border: 2px solid var(--mlc-yellow); border-radius: var(--mlc-r-md); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mlc-post-products__title { font-weight: 700; color: var(--mlc-navy); }
.mlc-post-products__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* Share row: label + round outline icon buttons (no per-network brand colours) */
.mlc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border-top: 1px solid var(--mlc-line); padding-top: 20px; }
.mlc-share__label { margin-right: 2px; font-size: 15px; font-weight: 700; color: var(--mlc-navy); }
.mlc-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0; border: 1px solid var(--mlc-line); border-radius: 50%;
	background: #fff; color: var(--mlc-navy); box-shadow: 0 1px 3px rgba(20, 42, 108, .12); line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.mlc-icon-btn[hidden] { display: none; }
.mlc-icon-btn:hover { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; }
.mlc-icon-btn:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
.mlc-icon-btn .mlc-icon { display: block; }
.mlc-share__status { min-height: 20px; font-size: 13px; font-weight: 600; color: var(--mlc-green); }
@media (pointer: coarse) { .mlc-icon-btn { width: 44px; height: 44px; min-height: 44px; } }
.mlc-post__author-box { display: flex; gap: 16px; align-items: center; background: var(--mlc-bg-grey); border-radius: var(--mlc-r-md); padding: 20px; }
.mlc-post__author-box strong { color: var(--mlc-navy); }
.mlc-post__author-box p { margin: 0; font-size: 14px; color: var(--mlc-muted-2); }
.mlc-related-posts { margin-top: 56px; padding: 0; border-top: 0; }

/* Comments: count heading, comment cards, reply form card */
.mlc-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--mlc-bg-blue); color: var(--mlc-navy); font-family: var(--mlc-font-head); font-size: 20px; font-weight: 800; line-height: 1; }
.mlc-avatar--tone-1 { background: var(--mlc-bg-yellow); }
.mlc-avatar--tone-2 { background: var(--mlc-bg-mint); }
.mlc-avatar--tone-3 { background: var(--mlc-bg-peach); }
.mlc-comments { max-width: 780px; margin-top: 56px; display: flex; flex-direction: column; gap: 24px; }
.mlc-comments__title { margin: 0; font-family: var(--mlc-font-head); font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--mlc-navy); text-transform: none; letter-spacing: 0; }
.mlc-comments__closed { margin: 0; color: var(--mlc-muted); }
.mlc-comment-list, .mlc-comment-list .children { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.mlc-comment-list .children { margin: 12px 0 0 28px; }
.mlc-comment-list li { margin: 0; padding: 0; }
.mlc-comment { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.mlc-comment__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mlc-comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.mlc-comment__author { font-size: 16px; font-weight: 700; color: var(--mlc-navy); }
.mlc-comment__date { font-size: 13px; color: var(--mlc-muted); text-decoration: none; }
.mlc-comment__date:hover { color: var(--mlc-navy); text-decoration: underline; }
.mlc-comment__pending { margin: 0; font-size: 13px; font-weight: 600; color: var(--mlc-muted-2); }
.mlc-comment__text { font-size: 15px; line-height: 1.6; color: var(--mlc-ink); overflow-wrap: anywhere; }
.mlc-comment__text p { margin: 0 0 8px; }
.mlc-comment__text > :last-child { margin-bottom: 0; }
.mlc-comment__reply a { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0 -8px; font-size: 14px; font-weight: 700; color: var(--mlc-navy); text-decoration: none; }
.mlc-comment__reply a:hover { text-decoration: underline; }
.mlc-comment-nav { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; }
.mlc-comments #respond { padding: 24px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; }
.mlc-comments .comment-reply-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--mlc-navy); text-transform: none; letter-spacing: 0; }
.mlc-comments .comment-reply-title small { font-family: var(--mlc-font); font-size: 14px; font-weight: 700; }
.mlc-comments .mlc-cf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.mlc-comments .mlc-cf > * { grid-column: 1 / -1; width: auto; margin: 0; padding: 0; min-width: 0; }
.mlc-comments .mlc-cf > .comment-form-author { grid-column: 1; }
.mlc-comments .mlc-cf > .comment-form-email { grid-column: 2; }
.mlc-comments .mlc-cf .comment-notes, .mlc-comments .mlc-cf .logged-in-as { font-size: 14px; color: var(--mlc-muted); }
.mlc-comments .mlc-cf .comment-notes .required { color: #B42318; }
.mlc-comments .mlc-cf label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--mlc-ink); text-transform: none; letter-spacing: 0; }
.mlc-comments .mlc-cf .required { color: #B42318; text-decoration: none; }
.mlc-comments .mlc-cf input[type="text"], .mlc-comments .mlc-cf input[type="email"], .mlc-comments .mlc-cf textarea {
	display: block; width: 100%; box-sizing: border-box; margin: 0; min-height: 48px; padding: 0 16px; border: 2px solid var(--mlc-line-strong); border-radius: var(--mlc-r-sm); background: #fff; box-shadow: none;
	font: inherit; font-size: 15px; line-height: 1.55; color: var(--mlc-ink); transition: border-color .15s, box-shadow .15s;
}
.mlc-comments .mlc-cf input[type="text"], .mlc-comments .mlc-cf input[type="email"] { height: 48px; }
.mlc-comments .mlc-cf textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
.mlc-comments .mlc-cf input:focus, .mlc-comments .mlc-cf textarea:focus { outline: 0; border-color: var(--mlc-navy); box-shadow: 0 0 0 3px rgba(20, 42, 108, .15); }
.mlc-comments .mlc-cf .mlc-invalid input, .mlc-comments .mlc-cf .mlc-invalid textarea { border-color: #B42318; background: #FFF8F7; }
.mlc-comments .mlc-cf .mlc-invalid input:focus, .mlc-comments .mlc-cf .mlc-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.mlc-cf-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #B42318; }
.mlc-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.mlc-comments .comment-form-cookies-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mlc-navy); }
.mlc-comments .comment-form-cookies-consent label { margin: 0; font-size: 14px; font-weight: 400; color: var(--mlc-muted-2); }
.mlc-comments .mlc-cf input.mlc-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 48px; margin: 0; padding: 0 28px; border: 2px solid var(--mlc-navy); border-radius: 999px; background: var(--mlc-navy); color: #fff; box-shadow: none; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: 0; cursor: pointer; transition: background-color .15s; }
.mlc-comments .mlc-cf input.mlc-btn:hover { background: var(--mlc-navy-dark); border-color: var(--mlc-navy-dark); color: #fff; }
.mlc-comments .mlc-cf input.mlc-btn:disabled, .mlc-comments .mlc-cf input.mlc-btn[aria-busy="true"] { opacity: .5; cursor: not-allowed; }

/* Back-to-top: 44px round icon button. Its position is set by the contact plugin, which measures the fixed bars. */
@media (prefers-reduced-motion: reduce) { .mlc-icon-btn, #top-link.back-to-top { transition: none; } }
.mlc-related-posts .mlc-h2 { margin-bottom: 20px; }
.mlc-related-posts .mlc-posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* Contact ------------------------------------------------------------------ */
.mlc-contact__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.mlc-contact__head .mlc-h1 { font-size: 42px; }
.mlc-contact__head p { margin: 0; max-width: 640px; color: var(--mlc-muted-2); }
.mlc-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mlc-contact-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 0; border-radius: var(--mlc-r-md); text-decoration: none; color: var(--mlc-navy); }
.mlc-contact-card:hover { color: var(--mlc-navy); text-decoration: none; box-shadow: 0 6px 18px rgba(20, 42, 108, .14); }
.mlc-contact-card .mlc-icon { flex: 0 0 auto; }
.mlc-contact-card__label { font-size: 14px; color: var(--mlc-muted-2); margin: 0; }
.mlc-contact-card__value { font-weight: 700; font-size: 22px; line-height: 1.25; word-break: break-word; }
.mlc-contact-card--hotline { background: var(--mlc-navy); color: #fff; }
.mlc-contact-card--hotline:hover { color: #fff; }
.mlc-contact-card--hotline .mlc-icon { color: var(--mlc-yellow); }
.mlc-contact-card--hotline .mlc-contact-card__label { color: #DCE3F5; }
.mlc-contact-card--hotline:focus-visible { outline-color: var(--mlc-yellow); }
.mlc-contact-card--zalo { background: var(--mlc-bg-blue); }
.mlc-contact-card--email { background: var(--mlc-bg-yellow); }
.mlc-contact-card--fanpage { background: var(--mlc-bg-mint); }

.mlc-contact-main { padding-bottom: 56px; }
.mlc-contact-split { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; align-items: stretch; }
.mlc-contact-form { flex: 1 1 420px; min-width: 0; box-sizing: border-box; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mlc-contact-form h2, .mlc-store-card__title { margin: 0; font-family: var(--mlc-font-head); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--mlc-navy); text-transform: none; }
.mlc-contact-form__sub { margin: 0; color: var(--mlc-muted); font-size: 14px; }
.mlc-contact-form .wpcf7 { margin: 0; }
.mlc-contact-form .wpcf7-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.mlc-contact-form .wpcf7-form p { margin: 0; }
.mlc-contact-form .wpcf7-form br { display: none; }
.mlc-contact-form .wpcf7-form > p, .mlc-contact-form .mlc-form-row > p { display: contents; }
.mlc-contact-form label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 600; font-size: 15px; }
.mlc-contact-form .mlc-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mlc-contact-form .wpcf7-form-control-wrap { display: block; }
.mlc-contact-form input[type="text"], .mlc-contact-form input[type="tel"], .mlc-contact-form input[type="email"], .mlc-contact-form select, .mlc-contact-form textarea { width: 100%; box-sizing: border-box; margin: 0; background: #fff; font-weight: 400; }
.mlc-contact-form select { padding: 0 12px; }
.mlc-contact-form textarea { padding: 12px 14px; resize: vertical; }
.mlc-contact-form input[type="submit"] { align-self: flex-start; margin: 0; cursor: pointer; }
.mlc-contact-form input[type="submit"]:hover { background: var(--mlc-navy-dark); }
.mlc-contact-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; font-weight: 600; color: #B42318; }
.mlc-contact-form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: var(--mlc-r-sm); font-size: 14px; }
.mlc-contact-form .wpcf7-spinner { margin: 0 0 0 10px; }

.mlc-store-card { flex: 1 1 420px; min-width: 0; background: var(--mlc-bg-grey); border-radius: var(--mlc-r-lg); overflow: hidden; display: flex; flex-direction: column; }
.mlc-store-card__img { width: 100%; height: 220px; object-fit: cover; display: block; }
.mlc-store-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.mlc-store-card__text { margin: 0; color: var(--mlc-muted-2); }
.mlc-store-card .mlc-facts { margin: 0; }
.mlc-store-card__map { position: relative; flex: 1 1 200px; min-height: 220px; border-radius: var(--mlc-r-md); overflow: hidden; border: 1px solid var(--mlc-line); background: #fff; }
.mlc-store-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.mlc-store-card__cta { align-self: flex-start; }

.mlc-contact-faq { margin-top: 48px; max-width: 860px; display: flex; flex-direction: column; gap: 10px; }
.mlc-contact-faq .mlc-h2 { margin: 0 0 6px; }
.mlc-contact-faq details { border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); padding: 4px 20px; margin: 0; }
.mlc-contact-faq summary { display: flex; align-items: center; min-height: 52px; font-weight: 700; color: var(--mlc-navy); cursor: pointer; }
.mlc-contact-faq details p { margin: 0 0 14px; color: var(--mlc-muted-2); }
.wpcf7-form input[type="text"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="email"], .wpcf7-form select, .wpcf7-form textarea {
	min-height: 48px; border: 2px solid var(--mlc-line-strong); border-radius: var(--mlc-r-sm); box-shadow: none; font-size: 15px;
}
.wpcf7-form textarea { min-height: 140px; }
.wpcf7-form input[type="submit"] { min-height: 52px; padding: 0 32px; border-radius: 999px; background: var(--mlc-navy); color: #fff; font-weight: 700; text-transform: none; }
.accordion-title { font-weight: 700; color: var(--mlc-navy); }

@media (max-width: 849px) {
	.mlc-blog-head .mlc-h1, .mlc-contact__head .mlc-h1 { font-size: 32px; }
	.mlc-post__title { font-size: 30px; }
	.mlc-post__content h2 { font-size: 26px; }
	.mlc-post-layout { gap: 28px; }
	.mlc-comments { margin-top: 40px; }
	.mlc-comments #respond { padding: 18px 16px; }
	.mlc-comments .mlc-cf > .comment-form-author, .mlc-comments .mlc-cf > .comment-form-email { grid-column: 1 / -1; }
	.mlc-comments .mlc-cf input.mlc-btn { width: 100%; }
	.mlc-comment { padding: 16px; gap: 12px; }
	.mlc-comment-list .children { margin-left: 12px; }
	.mlc-contact-form { padding: 20px; border-radius: var(--mlc-r-md); }
	.mlc-contact-form h2, .mlc-store-card__title { font-size: 24px; }
	.mlc-store-card { border-radius: var(--mlc-r-md); }
	.mlc-contact-card__value { font-size: 20px; }
	.mlc-contact-form input[type="text"], .mlc-contact-form input[type="tel"], .mlc-contact-form input[type="email"], .mlc-contact-form select, .mlc-contact-form textarea { font-size: 16px; }
	.mlc-contact-form input[type="submit"] { align-self: stretch; }
	.mlc-contact-faq { margin-top: 32px; }
}
.mlc-toc ol.mlc-toc__list--plain { list-style: none; padding-left: 0; }

/* Info / policy pages (template page-mlc-info.php): the single-post reading column, centred, no sidebar --------- */
.mlc-info-wrap { padding-bottom: 56px; }
.mlc-info { margin: 0 auto; max-width: 820px; }
.mlc-info .mlc-post__title { font-size: 38px; }
.mlc-info .mlc-post__meta { margin: 0; }
.mlc-info .mlc-post__content h3 { margin: 24px 0 8px; font-family: var(--mlc-font-head); font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--mlc-navy); text-transform: none; }
.mlc-info .mlc-post__content h3 + p { margin-top: 0; }
.mlc-info .mlc-post__content code { padding: 1px 6px; border-radius: 6px; background: var(--mlc-bg-blue); color: var(--mlc-navy); font-size: .9em; }
/* Phone screenshots in the how-to pages: one phone-width picture on a tinted band, caption under it. */
.mlc-info .mlc-info-figure { margin: 20px 0 28px; padding: 20px 16px 16px; border-radius: var(--mlc-r-md); background: var(--mlc-bg-grey); text-align: center; }
.mlc-info .mlc-info-figure img { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-sm); background: #fff; }
.mlc-info .mlc-info-figure--wide { padding: 16px; }
.mlc-info .mlc-info-figure--wide img { max-width: 100%; }
.mlc-info .mlc-info-figure figcaption { max-width: 480px; margin: 12px auto 0; font-size: 14px; line-height: 1.5; color: var(--mlc-muted); }
/* Shared contact card at the end of every info page. */
.mlc-info-contact { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--mlc-r-md); background: var(--mlc-bg-grey); }
.mlc-info-contact__title { margin: 0; font-family: var(--mlc-font-head); font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--mlc-navy); }
.mlc-info-contact__name { margin: 0; }
.mlc-info-contact .mlc-facts { margin: 0; }
@media (max-width: 849px) {
	.mlc-info .mlc-post__title { font-size: 30px; }
	.mlc-info-contact { padding: 20px 16px; }
}
