/* ==========================================================================
   Wriai SMB – phần giao diện không khai báo được trong theme.json
   Màu/font/khoảng cách lấy từ biến preset nên đổi style variation là đổi theo.
   ========================================================================== */

:root {
	--wsmb-radius: var(--wp--custom--radius, 8px);
	--wsmb-radius-lg: calc(var(--wsmb-radius) * 1.6);
	--wsmb-shadow: var(--wp--custom--shadow, 0 10px 30px rgba(0,0,0,.07));
	--wsmb-primary: var(--wp--preset--color--primary);
	--wsmb-dark: var(--wp--preset--color--dark);
	--wsmb-accent: var(--wp--preset--color--accent);
	--wsmb-line: var(--wp--preset--color--line);
	--wsmb-muted: var(--wp--preset--color--muted);
}

body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Tiện ích ---------- */
.wsmb-eyebrow {
	color: var(--wsmb-primary);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 0.25rem !important;
}
.wsmb-lead { font-size: 1.125rem; color: var(--wsmb-muted); }
.wsmb-muted { color: var(--wsmb-muted); }
.wsmb-sec-head { max-width: 640px; margin-bottom: var(--wp--preset--spacing--50) !important; }
.wsmb-sec-head.has-text-align-center,
.wsmb-sec-head.is-center { margin-left: auto !important; margin-right: auto !important; text-align: center; }

/* Ảnh bo góc */
.wsmb-ph img,
.is-style-wsmb-rounded img,
.wp-block-post-featured-image img { border-radius: var(--wsmb-radius-lg); }
.wsmb-ph img { width: 100%; object-fit: cover; display: block; }
.wsmb-ph.is-4x3 img { aspect-ratio: 4/3; }
.wsmb-ph.is-5x4 img { aspect-ratio: 5/4; }
.wsmb-ph.is-16x10 img { aspect-ratio: 16/10; }
.wsmb-ph.is-portrait img { aspect-ratio: 10/11; }
.wsmb-ph { margin: 0; }

/* ---------- Icon (mask SVG, đổi bằng class is-ic-*) ---------- */
.wsmb-ic {
	width: 52px; height: 52px; min-height: 0 !important;
	border-radius: var(--wsmb-radius);
	background: var(--wsmb-accent);
	position: relative; flex: none;
	margin-bottom: 1rem;
	padding: 0 !important;
}
.wsmb-ic::after {
	content: ""; position: absolute; inset: 0; margin: auto;
	width: 50%; height: 50%;
	background: var(--wsmb-primary);
	-webkit-mask: var(--ic) center / contain no-repeat;
	mask: var(--ic) center / contain no-repeat;
}
.wsmb-ic.is-round { border-radius: 50%; width: 42px; height: 42px; }
.wsmb-ic.is-solid { background: var(--wsmb-primary); }
.wsmb-ic.is-solid::after { background: #fff; }

.wsmb-ic, .is-ic-tool { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z'/></svg>"); }
.is-ic-shield { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/><path d='M9 12l2 2 4-4'/></svg>"); }
.is-ic-clock { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>"); }
.is-ic-home { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>"); }
.is-ic-bolt { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2L4 14h7l-1 8 9-12h-7z'/></svg>"); }
.is-ic-box { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 8l-9-5-9 5v8l9 5 9-5z'/><path d='M3 8l9 5 9-5M12 13v8'/></svg>"); }
.is-ic-gear { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/></svg>"); }
.is-ic-users { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.5'/><path d='M2 20c0-3.5 3-6 7-6s7 2.5 7 6M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2.4.6 4 2.8 4 6'/></svg>"); }
.is-ic-money { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='12' rx='2'/><circle cx='12' cy='12' r='2.5'/></svg>"); }
.is-ic-pin { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/><circle cx='12' cy='10' r='2.5'/></svg>"); }
.is-ic-phone { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/></svg>"); }
.is-ic-check { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>"); }
.is-ic-star { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/></svg>"); }
.is-ic-heart { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/></svg>"); }
.is-ic-book { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h6a2 2 0 0 1 2 2v14a2 2 0 0 0-2-2H4zM20 4h-6a2 2 0 0 0-2 2v14a2 2 0 0 1 2-2h6z'/></svg>"); }
.is-ic-car { --ic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 16l1.5-5h11L19 16M3 16h18v3H3zM7 19v2M17 19v2'/></svg>"); }

/* ---------- Topbar + header ---------- */
.wsmb-topbar { font-size: 0.8125rem; }
.wsmb-topbar p { opacity: .82; margin: 0; }
@media (max-width: 640px) { .wsmb-topbar p:first-child { display: none; } }
/* Menu di động: căn trái, chữ lớn, vùng bấm rộng */
.wsmb-header .wp-block-navigation__responsive-container.is-menu-open { padding: 20px 20px 90px; }
.wsmb-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 48px; }
.wsmb-header .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.wsmb-header .is-menu-open .wp-block-navigation-item { border-bottom: 1px solid var(--wsmb-line); align-items: stretch !important; }
.wsmb-header .is-menu-open .wp-block-navigation-item__content { display: block; padding: 14px 0 !important; font-size: 1.125rem; font-weight: 600; text-align: left; }
.wsmb-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid var(--wsmb-line);
}
.admin-bar .wsmb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wsmb-header { top: 0; } }
.wsmb-header .wp-block-site-logo img { border-radius: var(--wsmb-radius); }
.wsmb-hd-phone { line-height: 1.2; font-size: 0.75rem; color: var(--wsmb-muted); margin: 0; }
.wsmb-hd-phone a { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--wsmb-primary); text-decoration: none; }
.wsmb-header .wp-block-navigation a { text-decoration: none; }
.wsmb-header .wp-block-navigation a:hover { color: var(--wsmb-primary); }
@media (max-width: 980px) {
	.wsmb-hd-cta { display: none !important; }
}

/* ---------- Hero ---------- */
.wsmb-hero h1 em { font-style: normal; color: var(--wsmb-primary); }
.wsmb-hero .wp-block-columns { gap: var(--wp--preset--spacing--60); }
.wsmb-hero-media { position: relative; }
.wsmb-float-card {
	position: absolute; left: -28px; bottom: 36px;
	background: var(--wp--preset--color--base);
	border-radius: var(--wsmb-radius);
	padding: 14px 18px !important;
	box-shadow: 0 12px 32px rgba(0,0,0,.14);
	max-width: 270px; gap: 12px !important;
}
.wsmb-float-card .wsmb-ic { margin: 0; }
.wsmb-float-card p { margin: 0; line-height: 1.35; }
.wsmb-float-card p + p { font-size: 0.75rem; color: var(--wsmb-muted); }
.wsmb-trust { gap: 28px !important; }
.wsmb-trust > .wp-block-group p { margin: 0; line-height: 1.3; }
.wsmb-trust strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.75rem; color: var(--wsmb-dark); display: block; }
.wsmb-trust p:last-child { font-size: 0.8125rem; color: var(--wsmb-muted); }
@media (max-width: 781px) {
	.wsmb-hero .wsmb-ph.is-portrait img { aspect-ratio: 16/9; }
	.wsmb-float-card { left: 12px; bottom: 12px; }
}

/* ---------- Dải báo giá nhanh ---------- */
.wsmb-quick { position: relative; z-index: 2; margin-top: -36px !important; }
.wsmb-quick > .wp-block-group,
.wsmb-quick-box {
	border-radius: calc(var(--wsmb-radius) * 1.4);
	box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.wsmb-quick h3 small, .wsmb-quick-sub { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 0.8125rem; opacity: .7; }

/* ---------- Thẻ (dịch vụ, đánh giá…) ---------- */
.wsmb-card,
.is-style-wsmb-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wsmb-line);
	border-radius: var(--wsmb-radius);
	padding: 28px !important;
	transition: border-color .2s, box-shadow .2s, transform .2s;
	height: 100%;
}
.wsmb-card:hover,
.is-style-wsmb-card:hover { border-color: var(--wsmb-primary); box-shadow: var(--wsmb-shadow); transform: translateY(-2px); }
.wsmb-card h3 { margin-top: 0; margin-bottom: .5rem; }
.wsmb-card > p { color: var(--wsmb-muted); font-size: 0.9375rem; }
.wsmb-card-meta {
	margin-top: auto !important; padding-top: 16px; border-top: 1px dashed var(--wsmb-line);
	font-size: 0.875rem;
}
.wsmb-card-meta p { margin: 0; }
.wsmb-card-meta strong { color: var(--wsmb-primary); }
.wsmb-card-meta a { font-weight: 600; color: inherit; text-decoration: none; }
.wsmb-card-meta a:hover { color: var(--wsmb-primary); }
.wsmb-card { display: flex; flex-direction: column; }

/* ---------- Vì sao chọn ---------- */
.wsmb-why-item { gap: 14px !important; align-items: flex-start; }
.wsmb-why-item .wsmb-ic { margin: 0; }
.wsmb-why-item h4 { margin: 0 0 2px; }
.wsmb-why-item p { font-size: 0.875rem; color: var(--wsmb-muted); margin: 0; }
.wsmb-why-item > .wp-block-group { gap: 0 !important; }

/* ---------- Lưới dự án / bài viết (Query Loop) ---------- */
.wsmb-posts .wp-block-post { display: flex; flex-direction: column; gap: 6px; }
.wsmb-posts .wp-block-post-featured-image { margin-bottom: 8px; overflow: hidden; border-radius: var(--wsmb-radius-lg); }
.wsmb-posts .wp-block-post-featured-image img { transition: transform .4s; }
.wsmb-posts .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.wsmb-posts .wp-block-post-title { margin: 0; }
.wsmb-posts .wp-block-post-title a { text-decoration: none; }
.wsmb-posts .wp-block-post-title a:hover { color: var(--wsmb-primary); }
.wsmb-posts .wp-block-post-terms a,
.wsmb-tag {
	display: inline-block; font-size: 0.75rem; font-weight: 600;
	background: var(--wsmb-accent); color: var(--wsmb-primary);
	padding: 3px 10px; border-radius: 99px; text-decoration: none;
}
.wsmb-posts .wp-block-post-terms { font-size: 0; }
.wsmb-posts .wp-block-post-terms a { font-size: 0.75rem; margin-right: 4px; }
.wsmb-posts .wp-block-post-terms__separator { display: none; }
.wsmb-meta-loc { font-size: 0.8125rem; color: var(--wsmb-muted); margin-top: 0 !important; margin-bottom: 0 !important; }
.wsmb-meta-loc:not(:empty)::before { content: "\1F4CD\FE0E  "; filter: grayscale(1); opacity: .7; }
.wsmb-posts .wp-block-post-date { font-size: 0.8125rem; color: var(--wsmb-muted); }
.wsmb-posts .wp-block-post-excerpt { font-size: 0.875rem; color: var(--wsmb-muted); }
.wsmb-posts .wp-block-post-excerpt p { margin: 0; }

/* ---------- Quy trình ---------- */
.wsmb-steps { counter-reset: wsmb-step; }
.wsmb-step { position: relative; padding-top: 58px !important; counter-increment: wsmb-step; }
.wsmb-step::before {
	content: "0" counter(wsmb-step);
	position: absolute; top: 0; left: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--wsmb-primary);
}
.wsmb-step::after { content: ""; position: absolute; top: 20px; left: 72px; right: -10px; height: 1px; background: currentColor; opacity: .18; }
.wsmb-step:last-child::after { display: none; }
.wsmb-step h3 { margin: 0 0 6px; }
.wsmb-step p { font-size: 0.875rem; opacity: .7; margin: 0; }
@media (max-width: 781px) { .wsmb-step::after { display: none; } }

/* ---------- Đánh giá ---------- */
.wsmb-stars, .wsmb-card > p.wsmb-stars { color: #f5a524; letter-spacing: 2px; margin: 0 !important; }
.wsmb-who { gap: 12px !important; }
.wsmb-who p { margin: 0; line-height: 1.3; }
.wsmb-who p + p { font-size: 0.8125rem; color: var(--wsmb-muted); }
.wsmb-avatar {
	width: 42px; height: 42px; min-height: 0 !important; border-radius: 50%; flex: none;
	background: var(--wsmb-accent); color: var(--wsmb-primary);
	display: grid !important; place-items: center; font-weight: 700; margin: 0 !important;
}

/* ---------- Khu vực (pill links) ---------- */
.wsmb-pills { gap: 8px !important; }
.wsmb-pills .wp-block-button__link {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--ink) !important;
	border: 1px solid var(--wsmb-line);
	border-radius: 99px !important;
	padding: 8px 14px 8px 30px !important;
	font-size: 0.875rem; font-weight: 500;
	position: relative;
}
.wsmb-pills .wp-block-button__link::before {
	content: ""; position: absolute; left: 12px; top: 50%; width: 13px; height: 13px; transform: translateY(-50%);
	background: var(--wsmb-primary);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'><path d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/><circle cx='12' cy='10' r='2.5'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'><path d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/><circle cx='12' cy='10' r='2.5'/></svg>") center / contain no-repeat;
}
.wsmb-pills .wp-block-button__link:hover { border-color: var(--wsmb-primary); color: var(--wsmb-primary) !important; }

/* ---------- FAQ ---------- */
.wsmb-faq .wp-block-details { border-bottom: 1px solid var(--wsmb-line); padding: 18px 0; margin: 0 !important; }
.wsmb-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wsmb-faq summary::-webkit-details-marker { display: none; }
.wsmb-faq summary::after { content: "+"; font-size: 1.375rem; line-height: 1; color: var(--wsmb-primary); }
.wsmb-faq details[open] summary::after { content: "–"; }
.wsmb-faq details p { color: var(--wsmb-muted); margin-top: 10px; font-size: 0.9375rem; }

.wsmb-quote-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wsmb-line);
	border-radius: calc(var(--wsmb-radius) * 1.4);
	padding: 30px !important;
	box-shadow: var(--wsmb-shadow);
	position: sticky; top: 110px;
}
.wsmb-quote-card h3 { margin: 0 0 4px; font-size: 1.375rem; }
@media (max-width: 781px) { .wsmb-quote-card { position: static; } }

/* ---------- Footer ---------- */
.wsmb-footer { font-size: 0.875rem; }
.wsmb-footer p, .wsmb-footer li { color: rgba(255,255,255,.72); }
.wsmb-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.wsmb-footer a:hover { color: #fff; }
.wsmb-footer h4, .wsmb-footer .wp-block-site-title, .wsmb-footer .wp-block-site-title a { color: #fff; }
.wsmb-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.wsmb-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 0.8125rem; }
.wsmb-footer-bottom p { margin: 0; }

/* ---------- Bài viết / trang đơn ---------- */
.wsmb-single-head .wp-block-post-terms a { text-decoration: none; }
.wsmb-entry-cta { border-radius: calc(var(--wsmb-radius) * 1.4); }
.wsmb-footer-bottom .wsmb-credit a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.wp-block-post-content > * + h2 { margin-top: 2.2em; }
.wp-block-post-content > * + h3 { margin-top: 1.6em; }
.wp-block-post-content table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.wp-block-post-content th, .wp-block-post-content td { border: 1px solid var(--wsmb-line); padding: 10px 14px; text-align: left; }
.wp-block-post-content thead th { background: var(--wp--preset--color--surface); font-weight: 700; }
.wp-block-post-content .wp-block-table figcaption,
.wp-block-post-content .wp-block-image figcaption { font-size: 0.8125rem; color: var(--wsmb-muted); text-align: center; margin-top: 8px; }
.wp-block-post-content .wp-block-image img { border-radius: var(--wsmb-radius); }
.wp-block-post-content li + li { margin-top: 6px; }
.wp-block-post-content .wp-block-quote { border-left: 4px solid var(--wsmb-primary); padding: 4px 0 4px 20px; margin-left: 0; font-style: italic; }
.wp-block-post-content .wp-block-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.875rem; color: var(--wsmb-muted); }
.wsmb-note { border-radius: var(--wsmb-radius); border-left: 4px solid var(--wsmb-primary); }
.wsmb-note p { margin: 0; }
.wp-block-post-content .wp-block-details { border: 1px solid var(--wsmb-line); border-radius: var(--wsmb-radius); padding: 14px 18px; }
.wp-block-post-content .wp-block-details + .wp-block-details { margin-top: 10px; }
.wp-block-post-content .wp-block-details summary { font-weight: 700; cursor: pointer; }
.wp-block-post-content .wp-block-details p { margin: 10px 0 0; color: var(--wsmb-muted); }

/* Chia sẻ cuối bài */
.wsmb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: var(--wp--preset--spacing--50); padding: 18px 0; border-top: 1px solid var(--wsmb-line); border-bottom: 1px solid var(--wsmb-line); }
.wsmb-share-label { font-weight: 700; font-size: 0.9375rem; }
.wsmb-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.wsmb-share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--wsmb-line); background: #fff; color: var(--wsmb-dark); font: inherit; font-size: 0.875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.wsmb-share-btn:hover { color: #fff; border-color: transparent; }
.wsmb-share-btn.is-zalo { color: #0068ff; }
.wsmb-share-btn.is-zalo:hover { background: #0068ff; }
.wsmb-share-btn.is-facebook { color: #1877f2; }
.wsmb-share-btn.is-facebook:hover { background: #1877f2; }
.wsmb-share-btn.is-x:hover, .wsmb-share-btn.is-copy:hover { background: #111; }
.wsmb-share-msg { font-size: 0.8125rem; color: var(--wsmb-primary); }
.wsmb-share-msg:empty { display: none; }

/* Nút viền trên nền tối */
.has-dark-background-color .is-style-outline .wp-block-button__link,
.has-primary-background-color .is-style-outline .wp-block-button__link { color: #fff; border-color: currentColor; }
.has-primary-background-color .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--wsmb-dark); }

/* Mobile chung */
@media (max-width: 781px) {
	.wsmb-footer .wp-block-columns { row-gap: 30px; }
	.wsmb-footer h4 { margin: 0 0 12px; }
}
@media (max-width: 640px) {
	.wsmb-card, .is-style-wsmb-card { padding: 22px !important; }
	.wsmb-quote-card { padding: 22px !important; }

	/* Dự án: 2 cột cho trang ngắn lại */
	.wsmb-projects .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 14px !important; }
	.wsmb-projects .wp-block-post-title { font-size: 0.9375rem !important; line-height: 1.35; }
	.wsmb-projects .wp-block-post-featured-image { margin-bottom: 2px; }
	.wsmb-projects .wsmb-meta-loc { font-size: 0.75rem; }

	/* Bài viết: dạng danh sách, ảnh nhỏ bên trái */
	.wsmb-latest .wp-block-post-template { gap: 18px !important; }
	.wsmb-latest .wp-block-post { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; }
	.wsmb-latest .wp-block-post-featured-image { grid-row: 1 / span 3; margin: 0; }
	.wsmb-latest .wp-block-post-featured-image img { aspect-ratio: 1 !important; height: auto; }
	.wsmb-latest .wp-block-post-title { font-size: 1rem !important; line-height: 1.35; }
	.wsmb-latest .wp-block-post-excerpt { display: none; }
}

/* Giá dịch vụ (bind từ meta wriai_price_from) */
.wsmb-price:not(:empty) { color: var(--wsmb-primary); font-weight: 700; }
.wsmb-price:not(:empty)::before { content: "Giá: "; color: var(--wp--preset--color--ink); font-weight: 500; }
.wsmb-price-sm { color: var(--wsmb-primary); font-weight: 700; font-size: 0.875rem; }
.wsmb-card-meta .wp-block-read-more { font-weight: 600; color: inherit; text-decoration: none; font-size: 0.875rem; }
.wsmb-card .wp-block-post-featured-image { margin: -28px -28px 18px; border-radius: var(--wsmb-radius) var(--wsmb-radius) 0 0; overflow: hidden; }
.wsmb-card .wp-block-post-featured-image img { border-radius: 0; }
.wsmb-card .wp-block-post-title { font-size: var(--wp--preset--font-size--large); margin: 0 0 .5rem; }
.wsmb-card .wp-block-post-excerpt { color: var(--wsmb-muted); font-size: 0.9375rem; flex: 1; }
