/* Định dạng nội dung bài viết / mô tả sản phẩm — dùng chung cho trang & trình soạn thảo. Truong Thanh Design */
.hp-note{--n:#007c3d;--nb:#eef7f1;position:relative;margin:1.25em 0;padding:14px 16px 14px 48px;border:1px solid color-mix(in srgb,var(--n) 30%,transparent);border-left:4px solid var(--n);border-radius:8px;background:var(--nb);line-height:1.65}
.hp-note:before{content:"i";position:absolute;left:14px;top:14px;width:22px;height:22px;border-radius:50%;background:var(--n);color:#fff;font:700 14px/22px Georgia,serif;text-align:center}
.hp-note--warning{--n:#e1791e;--nb:#fff5ec}
.hp-note--warning:before{content:"!";font-family:inherit}
.hp-note--danger{--n:#d0312d;--nb:#fdeeee}
.hp-note--danger:before{content:"!";font-family:inherit}
.hp-note--success{--n:#1e7fd0;--nb:#edf5fc}
.hp-note--success:before{content:"✓";font-family:inherit}
.hp-note>*:first-child,.hp-note__body>*:first-child{margin-top:0}
.hp-note>*:last-child,.hp-note__body>*:last-child{margin-bottom:0}
.hp-note p{margin:0 0 .6em}
.hp-note__title{font-weight:700;color:var(--n);margin:0 0 .35em!important}

/* Căn lề văn bản */
.has-text-align-center{text-align:center}
.has-text-align-right{text-align:right}
.has-text-align-justify{text-align:justify}
.has-text-align-left{text-align:left}

/* Ảnh & chú thích dưới ảnh */
img.aligncenter,figure.aligncenter,.wp-caption.aligncenter{display:block;margin-left:auto;margin-right:auto}
img.alignleft,figure.alignleft,.wp-caption.alignleft{float:left;margin:.3em 1.2em 1em 0;max-width:50%}
img.alignright,figure.alignright,.wp-caption.alignright{float:right;margin:.3em 0 1em 1.2em;max-width:50%}
figure.wp-block-image,.wp-caption{margin:1.25em 0;max-width:100%}
figure.wp-block-image.aligncenter,.wp-caption.aligncenter{text-align:center}
figure.wp-block-image img,.wp-caption img{display:inline-block;height:auto;max-width:100%}
figure figcaption,.wp-caption-text,.wp-element-caption{margin:.5em auto 0;color:#5f6b66;font-size:.875em;font-style:italic;line-height:1.5;text-align:center;max-width:90%}

/* Bảng thông số */
table.hp-specs,table.hp-table,.wp-block-table table{width:100%;border-collapse:collapse;margin:1em 0;font-size:.95em}
table.hp-specs th,table.hp-specs td,table.hp-table td,table.hp-table th,.wp-block-table td,.wp-block-table th{border:1px solid #e3e8e5;padding:8px 12px;text-align:left;vertical-align:top}
table.hp-specs th{width:36%;background:#f4f8f6;font-weight:600}
table.hp-specs tr:nth-child(even) td,table.hp-table tr:nth-child(even) td{background:#fafcfb}
table.hp-table tr td:first-child{font-weight:600;background:#f4f8f6}

@media (max-width:600px){
	img.alignleft,img.alignright,figure.alignleft,figure.alignright,.wp-caption.alignleft,.wp-caption.alignright{float:none;margin:1em auto;max-width:100%;display:block}
	table.hp-table,.wp-block-table table{display:block;overflow-x:auto;white-space:nowrap}
	table.hp-specs th{width:42%}
}
