*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
line-height: 1.6;
text-rendering: optimizeSpeed;
}
img {
max-width: 100%;
display: block;
}
.container {
width: 100%;
max-width: 1320px;
margin: auto;
padding-left: 16px;
padding-right: 16px;
} @media (max-width: 992px) {
.container {
padding-left: 14px;
padding-right: 14px;
}
} @media (max-width: 576px) {
.container {
padding-left: 12px;
padding-right: 12px;
}
}
.grid-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.text-center { text-align: center; }
.hide-mobile { display: none; }
:root {
--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
--color-1: #FC9596;
--color-2: #B297CC;
--color-3: #b1d28b;    
--text-body: #444444;
--text-heading: #222222;
--text-muted: #666666;
--text-light: #888888;
--text-link: #c0586b;
--text-link-hover: #9f3d4c;
--border-soft: #eee;
--bg-soft: #fafafa;
}
body {
font-size: 16px !important;
line-height: 160%;
font-family: var(--font-body);
background: #fff;
color: var(--text-body);
}
body.category, body.single-post, body.page{
background: #fff9f5
}
a {
color: var(--text-link);
}
a:hover {
color: var(--text-link-hover);
}
h1, h2, h3, h4 {
color: var(--text-heading);
margin-top: 0;
}
b, strong{
font-weight: 500
}
header.site-header {
position: sticky;
top: 0;
z-index: 9999;
background: #fff;
}
.site-main{
background-color: #fff9f5
}
.d-flex{
display: flex
}
.align-items-center {
align-items: center
}
.justify-content-end {
justify-content: flex-end
}
img, svg {
vertical-align: middle;
}
.btn-primary {
background: var(--color-1);
color: #fff;
}
.btn-primary:hover {
background: #EC407A;
}
a:hover {
--bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}
a {
text-decoration: none;
}
section {
margin-bottom: 60px;
}
img {
max-width: 100%;
height: auto;
} .hero-bbx {
padding: 80px 0;
background: linear-gradient(180deg, #fff7fb, #ffffff);
}
.hero-grid {
display: flex;  
gap: 30px;
align-items: center;
}
.hero-text {
flex: 1.3;
}
.hero-image {
flex: 0.7;
} .hero-badge {
display: inline-block;
background: #ffe3ef;
color: #fc7ea1;
font-size: 13px;
font-weight: 600;
padding: 6px 14px;
border-radius: 999px;
margin-bottom: 14px;
} .hero-text h1 {
font-size: 46px;
line-height: 1.2;
font-weight: 700;
color: #4e342e;
margin-bottom: 16px;
}
.hero-text .highlight {
color: #fc8fb1;
position: relative;
}
.hero-text .highlight::after {
content: "";
position: absolute;
left: 0;
bottom: 4px;
width: 100%;
height: 10px;
background: #ffd5e6;
z-index: -1;
border-radius: 6px;
} .hero-text p {
font-size: 16px;
color: #6b7280;
max-width: 520px;
margin-bottom: 26px;
} .hero-buttons {
display: flex;
gap: 14px;
}
.btn-primary {
background: linear-gradient(135deg, #fc8fb1, #ffb7cc);
color: white;
padding: 12px 22px;
border-radius: 999px;
font-weight: 600;
text-decoration: none;
transition: 0.2s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
}
.btn-outline {
border: 1.5px solid #ffd1e2;
color: #fc8fb1;
padding: 12px 22px;
border-radius: 999px;
text-decoration: none;
font-weight: 600;
background: white;
} .hero-image {
position: relative;
}
.hero-image img {
width: 100%;
height: auto;
display: block;
border:4px solid #fff;
border-radius: 20px;
transform: rotate(3deg) translateY(4px); transition: transform 0.45s ease, box-shadow 0.45s ease;
box-shadow: 0 10px 28px rgba(255, 120, 160, 0.18); }
.hero-image img:hover {
transform: rotate(0deg) translateY(0) scale(1.02);
box-shadow: 0 14px 36px rgba(255, 120, 160, 0.22);
}
@media (max-width: 992px) {
.hero-grid {
display: block    
}
.hero-text h1 {
font-size: 34px;
}
.hero-image img {
transform: rotate(-2deg);
}
}
@media (max-width: 600px) {
.hero-bbx {
padding: 30px 0;
}
.hero-text{
margin-bottom: 20px;    
}
.hero-text h1 {
font-size: 28px;
}
.hero-text p {
font-size: 15px;
}
.hero-buttons {
display: none
}
.hero-image img {
border-radius: 16px;
}
} .menu > li {
position: relative;
} .menu .sub-menu {
position: absolute;
top: 100%;
left: 0;
min-width: 230px;
background: #fff;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0,0,0,.1);
padding: 8px 0;
list-style: none;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all .25s ease;
z-index: 999;
} .menu li:hover > .sub-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
} .menu .sub-menu li a {
display: block;
padding: 8px 14px;
color: #444444;
font-size: 14px;
text-decoration: none;
border-bottom: 1px dashed #e5e5e5
} .menu .sub-menu li a:hover {
background: #f5f7fa;
color: var(--color-1)
} .section-title {
text-align: center;
font-size: 26px;
margin-bottom: 24px;
}
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 26px;
} .category-card {
position: relative;
border-radius: 28px;
padding: 42px 28px;
text-align: center;
overflow: hidden;
text-decoration: none;
color: inherit;
transition: 0.35s ease;
box-shadow: 0 12px 30px rgba(0,0,0,0.05);
} .cat-me-bau { background: #ffecd2; }
.cat-sinh-con { background: #e8d5f2; }
.cat-sau-sinh { background: #d4f0e8; } .bg-circle {
position: absolute;
top: -50px;
right: -50px;
width: 150px;
height: 150px;
background: rgba(255,255,255,0.45);
border-radius: 50%;
transition: 0.45s ease;
}
.category-card:hover .bg-circle {
transform: scale(1.7);
} .cat-icon {
width: 68px;
height: 68px;
margin: 0 auto 18px;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 18px rgba(0,0,0,0.06);
color: #7a4a9e;
transition: 0.3s ease;
}
.category-card:hover .cat-icon {
transform: scale(1.08);
} .category-card .title {
font-size: 20px;
font-weight: 700;
color: #6a4c78;
margin-bottom: 6px;
} .category-card .desc {
font-size: 14px;
color: #8b7a92;
margin-bottom: 18px;
} .category-card .btn {
display: inline-block;
background: #ffffff80;
padding: 8px 18px;
border-radius: 999px;
font-size: 14px;
font-weight: 600;
color: #5d4037;
transition: 0.2s ease;
}
.category-card:hover .btn {
background: #fff;
transform: translateY(-2px);
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
box-shadow: var(0, 0 0 #0000),var(0, 0 0 #0000),var(--tw-shadow)
}
.post-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 24px;
}
.post-card.baby-style {
background: #fffafc;
border-radius: 18px;
overflow: hidden;  
transition: 0.3s ease;
border: 0;
}
.post-card:hover {
transform: translateY(-6px);
} .post-thumb {
position: relative;
display: block;
}
.post-thumb img {
width: 100%;
height: 230px;
object-fit: cover;
} .post-badge {
position: absolute;
top: 12px;
left: 12px;
background: white;
color: #FC9596;
font-size: 12px;
padding: 6px 12px;
border-radius: 999px;
font-weight: 600;
} .post-body {
padding: 18px 20px 20px;
}
.post-excerpt {
font-size: 14px;
color: #8a7a90;
margin: 10px 0 12px;
}
.post-content table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 14px;
}
.post-content .wp-block-table td, .post-content .wp-block-table th {
padding: 10px 12px;
border: 1px solid #eee;
}
.wp-block-table thead{
border-bottom: 0
}
.post-content th {
background: #f9f5f3;
font-weight: 600;
}
.read-more {
color: #FC9596;
font-weight: 600;
text-decoration: none;
font-size: 14px;
} .post-content {
flex: 1;
}
.post-title a {
color: var(--color-text);
text-decoration: none;
}
.post-title a:hover {
color: var(--color-1);
}
.post-excerpt {
font-size: 14px;
line-height: 1.6;
color: #666;
margin-bottom: 14px;
} .post-cat {
font-size: 14px;
color: #999;
display: inline-flex;
align-items: center;
}
.post-cat::before {
content: "🏷";
margin-right: 4px;
} .read-more {  
color: var(--color-1);
font-size: 14px;  
text-decoration: none;
font-weight: 600;
transition: background .2s ease;
}
.read-more:hover {
color: var(--color-2)
} .post-cat {
position: absolute;
left: 10px;
bottom: 10px;
background: #1976d2;
color: #fff;
font-size: 12px;
padding: 4px 8px;
border-radius: 4px;
} .post-title {
font-size: 16px;
line-height: 1.4;
margin-bottom: 6px;
}
.post-date svg{  
width: .90rem;
height: .90rem;
border-color: #e5e7eb;
margin-top: -2px
}
.post-excerpt {
font-size: 14px;
color: #555;
margin-top: 8px;
}
.pagination {
margin-top: 30px;
text-align: center;
}
.pagination a,
.pagination span {
display: inline-block;
padding: 8px 16px;
margin: 0 4px;  
border-radius: 6px;
background: #fff;
color: var(--color-text);
font-weight: 500;
text-decoration: none;
}
.pagination .current, .pagination a:hover {
background: var(--color-1);
color: #fff;
}
@media (max-width: 1200px) {
.post-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 900px) {
.post-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.post-grid {
grid-template-columns: 1fr;
}
} .coppyright{
width:300px;
}
.home-intro {
padding-left: 30px;
margin-left: 30px;
border-left: 1px solid #e5e5e5;
}
.home-intro h2 {
font-size: 21px;
font-weight: 500;
line-height: 1.3;
color: #444;
text-transform: uppercase;
margin-bottom: 10px;  
}
.home-intro p {
font-size: 14px;
line-height: 1.8;
color: #444;
margin-bottom: 16px;    
margin-bottom: 0
} .home-intro strong {
color: var(--color-1);
} @media (max-width: 768px) {
.home-intro {
padding: 28px 20px;
margin: 32px 12px;
}
.home-intro h2 {
font-size: 22px;
}
.home-intro p {
font-size: 15px;
}
} .latest-posts{
padding: 40px 0;
background-color: #fff;
border-top-left-radius: 3rem;
border-top-right-radius: 3rem;
margin-bottom: 0;
}
.latest-posts h2 {
text-align: center;  
font-weight: 500;
font-size: 32px;
text-transform: capitalize;  
margin-bottom: 18px
}
.latest-posts .post-content h3{
margin-top: 0
}
.latest-posts .border-title{
text-align: center;
margin-bottom: 30px
}
.latest-posts .border-title:after {
content: "";
background-image: url(//baubixinh.vn/wp-content/themes/baubixinh/assets/icon/heading_img.png);
display: inline-block;
background-position: center;
background-repeat: no-repeat;
width: 75px;
height: 34px;    
}
.post-card {
background: #fff;
border: 1px #e7e6e6 solid
}
.post-card h3 {
font-size: 18px;
} .cta {
background: #FCE4EC;
padding: 60px 20px;
text-align: center;
margin: 0
} .header-desktop {
position: sticky;
top: 0;
left:0;
transition: all 0.3s ease;
background: #fff;
z-index: 999;
border-top: 2px solid var(--color-1);
box-shadow: 0 2px 10px rgba(0,0,0,.05)
}
.header-desktop:before {
content: "";
background: #f59998;
height: 46px;
width: 50%;
position: absolute;
top: 0;
right: 0;
z-index: -1;
}
.header-desktop .logo {
width: 250px
}
.header-desktop .logo img {
width: 100%;
height: auto;
transition: all 0.15s ease;
-o-object-fit: contain;
object-fit: contain;    
margin-top: 10px
}
.header-desktop .header-top .--button a:hover::before {
width: 100%;
}
.header-desktop .header {
display: flex; 
}
.header-desktop .header-right {
width: calc(100% - 175px);
}
.header-desktop .header-top {
padding: 6px 0 6px 100px;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
font-size: 14px
}
.header-desktop .header-top .--bg {
position: absolute;
top: 0;
left: 0;
width: calc(100% + (100% + 175px) / 18);
height: 100%;
z-index: -1;
}
.header-desktop .header-top .--bg img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: bottom left;
object-position: bottom left;
}
.header-desktop .header-top .--left {
gap: 20px;
display: flex;
}
.header-desktop .header-top .--left a {
color: #fff;
position: relative;
gap: 12px;
transition: all 0.15s ease;
}
.header-desktop .header-top .--left a .--txt {
position: relative;
}
.header-desktop .header-top .--left a::after {
content: "";
position: absolute;
top: 50%;
left: calc(100% + 10px);
border-left: 1px solid rgba(255, 255, 255, 0.2);
height: 20px;
transform: translate(0, -50%);
}
.header-desktop .header-top .--left a .--txt::after {
content: "";
position: absolute;
top: calc(100% + 2px);
width: 0;
border-bottom: 1px solid #fff;
transition: all 0.3s ease;
left: 0;
}
.header-desktop .header-top .--right {
gap: 24px;
display: flex;
align-items: center;
}
.header-desktop .header-top .--live {
border-radius: 20px;
justify-content: center;
align-items: center;
position: relative;
display: flex;
overflow: hidden;
animation: animation 3s infinite;
color: #fff;
gap: 6px;
padding: 0px 12px;
border: 1px solid #fff;    
font-weight: 500;
height: 26px;
}
.header-desktop .header-top .--live .--icon {
position: relative;
z-index: 1;
}
.header-desktop .header-top .--live span {
font-size: 13px;
}
.header-search {
display: flex;
align-items: center;
background: #fff;
border-radius: 999px;
padding: 2px;  
transition: .25s ease  
}
.header-search:hover {
box-shadow: 0 4px 14px rgba(236, 122, 167, 0.18);
}
.header-search input {
border: none;
outline: none;
padding: 0 10px;
font-size: 14px;
width: 100%;
color: #444;
line-height: 24px;
background: transparent;
}
.header-search input::placeholder {
color: #c98da7;
}
.header-search button {
background: linear-gradient(135deg, #ff8fb3, var(--color-1));
border: none;
border-radius: 999px;
padding: 6px 10px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: .2s ease;
}
.header-search button:hover {
transform: scale(1.05);
} .header-desktop .header-bot .main-nav .menu{
display: flex;
list-style: none;
margin-bottom: 0;
margin-top: 0
}
.header-desktop .header-bot .main-nav .menu .menu-item{
font-size: 16px;  
align-items: center;
position: relative;
}
.header-desktop .header-bot .main-nav .menu .menu-item a {
padding: 15px;  
color: #333;
display: flex;
font-weight: 600;
transition: all 0.15s ease;
}
.header-desktop .header-bot .main-nav .menu .menu-item:hover > a{
background-color: #f5f5f5;
color: var(--color-1)
}
.header-desktop .header-bot .main-nav .menu .menu-item .sub-menu a {
padding: 10px 15px
} .header-mobile {
position: sticky;
top: 0;
z-index: 9999;
background: #fff;
border-bottom: 1px solid #fde4dc;
display: flex;
align-items: center;
padding: 10px 14px;
gap: 12px;
} .menu-toggle {
width: 38px;
height: 38px;
border-radius: 10px;
border: none;
background: #fff3ef;
display: flex;
flex-direction: column;
justify-content: center;
gap: 5px;
padding: 8px;
cursor: pointer;
}
.menu-toggle span {
height: 2px;
width: 100%;
background: #e76f51;
border-radius: 2px;
display: block;
}
.mobile-logo {
position: absolute;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
} .mobile-logo img {
height: 38px;
object-fit: contain;
} .mobile-search-container{
padding: 5px 20px 10px;
border-bottom: 1px solid #fde4dc;
}
.mobile-search {
display: flex;
align-items: center;
background: #fff;
border: 1px solid #fde4dc;
border-radius: 20px;
overflow: hidden;
height: 38px;
}
.mobile-search input {
flex: 1;
border: none;
padding: 0 12px;
font-size: 14px;
outline: none;
background-color: #fff
}
.mobile-search button {
background: #f48fb1;
border: none;
width: 42px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.header-mobile {
display: flex;
align-items: center;
padding: 10px 12px;
gap: 10px;
} .mobile-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,.35);
opacity: 0;
pointer-events: none;
transition: opacity .3s ease;
z-index: 9998;
}
.mobile-overlay.active {
opacity: 1;
pointer-events: auto;
} .mobile-nav {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 82%;
max-width: 320px;
background: #fff;
transform: translateX(-100%);
transition: transform .35s ease;
z-index: 9999;
display: flex;
flex-direction: column;  
} .mobile-nav.active {
transform: translateX(0);
} .mobile-nav-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px  
} .close-menu {
border: none;
background: #fff3ef;
color: #e76f51;
width: 36px;
height: 36px;
border-radius: 50%;
font-size: 22px;
cursor: pointer;
} .mobile-menu {
list-style: none;
margin: 0;
padding: 6px 0;
overflow-y: auto;
flex: 1;
}
.mobile-menu li {
border-bottom: 1px solid #fdf1ed;
} .mobile-menu > li > a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 18px;
font-size: 15px;
font-weight: 600;
color: #5a3e36;
text-decoration: none;
} .mobile-menu a:hover {
color: #e76f51;
} .mobile-menu .sub-menu {
display: none;
background: #fff9f7;
}
.mobile-menu li.open > .sub-menu {
display: block;
}
.mobile-menu .sub-menu a {
padding: 12px 22px;
font-size: 14px;
color: #6d4c41;
} .mobile-menu li.menu-item-has-children > a::after {
content: "▾";
font-size: 14px;
opacity: .6;
transition: transform .2s ease;
}
.mobile-menu li.open > a::after {
transform: rotate(180deg);
} .mobile-extra {
display: grid;
gap: 12px;
padding: 16px;
border-top: 1px solid #f2f2f2;
margin-top: auto;
} .mobile-extra a {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
border-radius: 16px;
font-weight: 600;
font-size: 15px;
text-decoration: none;
color: #fff;
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
transition: all 0.2s ease;
} .mobile-extra svg {
width: 20px;
height: 20px;
fill: currentColor;
flex-shrink: 0;
} .mobile-extra .btn-call {
background: linear-gradient(135deg, #ff8fa3, #fbc2eb);
box-shadow: 0 6px 16px rgba(255, 143, 163, 0.35);
} .mobile-extra .btn-mail {
background: linear-gradient(135deg, #9bbcff, #c2e9fb);
box-shadow: 0 6px 16px rgba(155, 188, 255, 0.35);
} .mobile-extra a:active {
transform: scale(0.96);
box-shadow: 0 3px 10px rgba(0,0,0,0.15);
} .footer {
background: linear-gradient(180deg, #ffecd2, #ffffff);    
color: #5d4037;
border-top-left-radius: 3rem;
border-top-right-radius: 3rem;
}
.footer-main {
padding: 36px 0 20px;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
@media (max-width: 992px) {
.footer-main {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 576px) {
.footer-main {
grid-template-columns: 1fr;
gap: 18px;
}
} .footer-logo img {
max-width: 160px;
height: auto;
margin-bottom: 10px;
} .footer-desc {  
line-height: 1.6;
color: #5d4037;
margin-top: 6px;
} .footer-col {
margin-bottom: 18px;
} .footer-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 12px;
color: #5d4037;
} .footer-menu {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 8px;
}
.footer-menu li a {
text-decoration: none;
color: #5d4037;
transition: .2s ease;
display: inline-block;
}
.footer-menu li a:hover {
color: #e24c8a;
transform: translateX(3px);
} .footer-social {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 10px;
}
.footer-social a {
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 600;
color: var(--color-1);
text-decoration: none;
}
.footer-social a:hover {
color: #e24c8a;
} .footer-bottom {  
border-top: 1px solid rgba(0,0,0,.05);
padding: 14px 0;
font-size: 14px;  
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} .single-layout {
display: grid;
grid-template-columns: 1fr;
gap: 24px;
}
@media (min-width: 992px) {
.single-layout {
grid-template-columns: 3fr 1.2fr;
}
}
.single-container{
margin-bottom: 40px
}
.single-post-main {    
padding: 30px 40px;
border-radius: 30px;  
background-color: #fff
} .post-title {
font-size: 28px;
font-weight: 700;
margin-bottom: 12px;
} .post-meta {
display: flex;
flex-wrap: wrap;
gap: 14px;
align-items: center;
font-size: 13px;
color: #777 
}
#post-content .post-meta {
margin-bottom: 15px;
}
.meta-author {
display: flex;
align-items: center;
gap: 6px;
font-weight: 600;
}
.meta-author img {
width: 28px;
height: 28px;
border-radius: 50%;
}
.meta-author a {
color: #d6336c;
text-decoration: none;
}
.meta-date,
.meta-cat a {
color: #888;
text-decoration: none;
}
.meta-cat a:hover,
.meta-author a:hover {
text-decoration: underline;
}
.post-meta .meta-cat a {
color: #444;
font-weight: 500;
background-color: #e5e5e5;
padding:4px 12px;
border-radius: 12px;
text-decoration: none  
}
.post-meta .meta-cat a:hover{
color: #fff;
background-color: var(--color-1)
} .post-image img {
display: block;
width: 100%;
height: auto;
border-radius: 16px;
margin-bottom: 24px;
} .post-content {
font-size: 16px;
line-height: 1.8;
color: var(--color-text);
}
.post-content h2 {
font-size: 24px;
line-height: 1.4;
margin: 25px 0 15px;
font-weight: 700;
}
.post-content h3 {
font-size: 18px;
line-height: 1.5;
margin: 20px 0 12px;
font-weight: 600;
}
.post-content h4 {
font-size: 16px;
line-height: 1.6;
margin: 10px 0 8px;
font-weight: 600;
}
@media (max-width: 768px) {
.post-content h2 {
font-size: 20px;
}
.post-content h3 {
font-size: 17px;
}
.post-content h4 {
font-size: 15px;
}
}
.post-content img {
max-width: 100%;
height: auto;
border-radius: 12px;  
} .post-share-icons {
display: flex;
align-items: center;
gap: 12px;
margin: 40px 0 24px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.post-share-icons .share-text {
font-size: 15px;
font-weight: 600;
color: #666;
margin-right: 6px;
} .share-icon {
width: 42px;
height: 42px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
border: none;
cursor: pointer;
text-decoration: none;
transition: transform .2s ease, box-shadow .2s ease;
} .share-icon svg {
width: 20px;
height: 20px;  
} .share-icon:hover {
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0,0,0,.12);
color: #fff
} .share-icon {
background: var(--color-1);
color: #fff;
}
.share-icon.facebook{
background: #1877f2
}
.share-icon.zalo{
background: #1da1f2
}
.share-icon.copy{
background: #d1d5db
} @media (max-width: 600px) {
.share-icon {
width: 38px;
height: 38px;
}
} .sidebar-hot {
background: #fff;
border-radius: 30px;
padding: 30px;  
margin-bottom: 30px
}
.sidebar-hot-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px
} .hot-featured{
padding: 10px;
background: #f5f5f5;
border-radius: 8px;
}
.hot-featured-thumb img {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
object-fit: cover;
background-color: #f0f0f0;
border-radius: 8px;
}
.hot-featured-title {
font-size: 16px;
font-weight: 600;
margin-top: 8px;
line-height: 1.4;
}
.hot-featured-title a {
color: var(--color-text);
text-decoration: none;
} .hot-list {
list-style: none;
padding: 0;
margin: 10px 0 0;
}
.hot-item {
display: grid;
grid-template-columns: 32px 1fr;
gap: 8px;
align-items: center;
padding: 10px 0;
border-top: 1px solid #eee;
}
.hot-item:first-child{
border-top: 0;
padding-top: 0
} .hot-index {
font-weight: 600;
font-size: 24px;
text-align: center;
border-radius: 50%;
width:30px;
height: 30px;
line-height: 30px;
color: #fff;
background-color: var(--color-1);
} .hot-thumb img {
width: 64px;
height: 48px;
object-fit: cover;
border-radius: 6px;
} .hot-title {
font-size: 15px;
line-height: 1.35;
color: #222;
font-weight: 500;
margin-bottom: 0;
margin-top: 0
}
.hot-title a {
color: var(--color-text);
text-decoration: none;
}
.hot-title a:hover {
color: var(--color-1);
} @media (max-width: 992px) {
.sidebar-hot {
margin-top: 24px;
}
#header .header{
display: block
}
header .header-right{
display: none
}
.stage-list a{
display:inline-block;
text-align: center;
}
footer .d-flex{
display: block !important
}
footer .home-intro{
border: 0;
background: #fff;
margin: 0;
margin-top: 10px;
}
} .btn-secondary {
display: inline-block;
padding: 12px 24px;
background: var(--color-1);
color: #fff;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
} @media (max-width: 768px) {
.post-title {
font-size: 24px;
}
} .category-header {
margin: 10px 0 24px;
}
.category-header h1 {
font-size: 24px;
font-weight: 600;
background: url(//baubixinh.vn/wp-content/themes/baubixinh/assets/icon/heading_img.png) no-repeat center left;
line-height: 36px;
padding-left: 85px;
text-transform: capitalize
}
.category-desc {
color: #555;
background-color: #fff;
padding: 20px;
border:1px dashed var(--color-1);
border-radius: 10px
}
.category-desc h2{
font-size: 21px;
font-weight: 700;
padding-bottom: 12px
} .category-layout, .search-layout {
display: grid;  
grid-template-columns: 1fr 300px;
gap: 32px;
padding-bottom: 40px
} .sidebar-category {
position: sticky;
top: 90px;
height: fit-content;
}
.sidebar-box {
background-color: #eaeffa;
border-radius: 14px;
padding: 18px;
margin-bottom: 24px;
}
.sidebar-title, .search-title {
font-size: 18px;
color: var(--color-2);
font-weight: 500;
margin-bottom: 14px;
} @media (max-width: 992px) {
.category-layout {
grid-template-columns: 1fr;
} 
} .cat-post-list, .search-post-list {
display: flex;
flex-direction: column;
gap: 22px;
}
.cat-post-item, .search-post-item {
display: grid;
grid-template-columns: 140px 1fr;
gap: 16px;
background-color: #fff;
padding: 15px;
border-radius: 10px
}
.cat-post-item img, .search-post-item img {
width: 140px;
height: 95px;
object-fit: cover;
border-radius: 10px;
}
.cat-post-item h3, .search-post-item h3 {
font-size: 18px;
margin: 0 0 6px;
font-weight: 700
}
.cat-post-item time, .search-post-item time {
font-size: 12px;
color: #777;
border-radius: 10px;
padding: 3px 8px;
background-color: #edf0f3
}
.cat-post-item p, .search-post-item p {
font-size: 14px;
color: #444;
} @media (max-width: 768px) {
.featured-post {
grid-template-columns: 1fr;
}
.post-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.post-grid {
grid-template-columns: 1fr;
}
} .pagination {
margin: 40px 0;
text-align: center;
} .bg-breadcrumb{
padding: 20px 0;
}
.breadcrumb {
display: flex;
flex-wrap: wrap;
align-items: center;
font-size: 14px;
line-height: 20px;
color: #777;    
gap: 6px;
margin-bottom: 0
} .breadcrumb a {
color: #666;
text-decoration: none;  
transition: 0.2s ease;
}
.breadcrumb a:hover {
color: var(--color-1);
}
.breadcrumb .home svg{
width: 1rem;
height: 1rem
} .breadcrumb .sep {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 24px;
line-height: 1;
color: #5d4037b3;
margin: 0 6px;
transform: translateY(-3px);
} .breadcrumb .current {
color: var(--color-1)  
} @media (max-width: 600px) {
.breadcrumb {
font-size: 13px;
}
} .wp-element-caption{
text-align: center;
} .page-404 {
font-family: inherit;
background: #fff;
padding: 20px 0;
margin-top: 20px
} .page-404 h1 {
font-size: 2rem;
font-weight: 700;
color: #4e342e
} .page-404 p {
font-size: 1rem;
line-height: 1.7;
color: #6f6f6f;
} .page-404 .btn-primary , .search-submit{
background-color: #e88fa3;
border-color: #e88fa3;
border-radius: 30px;
padding: 10px 28px;
font-weight: 600;
color: #fff;
border: 0
}
.page-404 .btn-primary:hover, .search-submit:hover{
background-color: #dc748b;
border-color: #dc748b;
} .page-404 .btn-outline-primary {
color: #e88fa3;
border-color: #e88fa3;
border-radius: 30px;
padding: 10px 28px;
font-weight: 600;
}
.page-404 .btn-outline-primary:hover {
background-color: #e88fa3;
color: #fff;
} .page-404 input[type="search"] {
border-radius: 30px;
padding: 10px 20px;
border: 1px solid #ddd;
}
.page-404 input[type="search"]:focus {
outline: none;
border-color: #e88fa3;
box-shadow: 0 0 0 0.15rem rgba(232, 143, 163, 0.25);
} .wpcf7 {
max-width: 600px;
margin: 0 auto;
}
.wpcf7-form p {
margin-bottom: 1rem;
} .wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
width: 100%;
padding: 0.6rem 0.75rem;
font-size: 15px;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.375rem;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
} .wpcf7 input:focus,
.wpcf7 textarea:focus {
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
} .wpcf7 textarea {
min-height: 120px;
resize: vertical;
} .wpcf7 input[type="submit"] {
display: inline-block;
font-weight: 600;
color: #fff;
text-align: center;
background-color: #0d6efd;
border: 1px solid #0d6efd;
padding: 0.6rem 1.2rem;
font-size: 15px;
border-radius: 0.375rem;
cursor: pointer;
transition: all .15s ease-in-out;
}
.wpcf7 input[type="submit"]:hover {
background-color: #0b5ed7;
border-color: #0a58ca;
} .wpcf7-not-valid-tip {
color: #dc3545;
font-size: 13px;
margin-top: 4px;
} .wpcf7-response-output {
margin-top: 1rem;
padding: 0.75rem 1rem;
border-radius: 0.375rem;
font-size: 14px;
}
.wpcf7-mail-sent-ok {
background: #d1e7dd;
border: 1px solid #badbcc;
color: #0f5132;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
background: #f8d7da;
border: 1px solid #f5c2c7;
color: #842029;
}
.wp-block-quote{
background-color: #ffb5ba33;
padding:10px 12px;
border-left: 2px solid rgb(255 154 162);
border-radius: 1rem;
}
.wp-block-quote p{
margin-bottom: 0;
} .rank-math-list {
margin: 20px 0;  
overflow: hidden;    
}
.rank-math-list-item {
background-color: #fff9f5;
margin-bottom: 10px;
border-radius: 10px;
overflow: hidden
}
.rank-math-question {
padding: 8px 12px;    
margin: 0 !important;
position:relative;
cursor: pointer;
background: rgb(255,154,162,.2);
transition: background 0.2s ease;
}
.rank-math-answer {
padding: 8px 12px 4px;
color: #444;    
}
.rank-math-answer p{
margin-bottom: 0;
} .rank-math-question::after {
content: "?";
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
width: 26px;
height: 26px;
display: flex;  
justify-content: center;
border-radius: 50%;
background: #fff;
color: #e85c8b;
font-size: 14px;
font-weight: 600;
transition: all 0.2s ease;
line-height: 28px
}
.sidebar-tools {
margin-top: 24px;
padding: 20px;
border-radius: 30px;
background: linear-gradient(135deg, #fff6fb, #f7faff);  
}
.sidebar-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 12px;
}
.tool-list {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 10px;
}
.tool-list li a {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 12px;
background: white;
font-weight: 600;
transition: .2s ease;  
color: #444
}
.tool-list li a:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0,0,0,.06);
color: var(--color-1)
}
.tool-icon svg {
width: 20px;
height: 20px;
stroke: var(--color-1);
fill: none;
stroke-width: 2;
}
.related-posts {
margin-top: 10px;
padding-top: 18px;
border-top: 1px solid rgba(0,0,0,.06);
}
.related-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 14px;
color: #222;
}
.related-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 24px;
}
.related-item {
display: flex;
gap: 12px;
padding: 12px;
border-radius: 14px;
background: #fff;
border: 1px solid rgba(0,0,0,.04);
transition: all .2s ease;
}
.related-item:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.related-thumb {
flex-shrink: 0;
width: 96px;
height: 76px;
border-radius: 10px;
overflow: hidden;
background: #f7f7f7;
}
.related-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.related-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 6px;
}
.related-title-post {
font-size: 16px;
font-weight: 600;
line-height: 1.4;
margin: 0;
}
.related-title-post a {
color: var(--color-text);
text-decoration: none;
}
.related-title-post a:hover {
color: var(--color-1)
}
.related-excerpt {
font-size: 13px;
line-height: 1.5;
color: #666;
} @media (max-width: 520px) {
.related-item {
gap: 10px;
padding: 10px;
}
.related-thumb {
width: 88px;
height: 68px;
}
.post-meta{
display: block
}
.post-meta > span{
display: inline-block
}
.post-meta .meta-date{
margin-right: 4px
}
.single-post-main, .sidebar-hot{
padding: 15px;
border-radius: 15px;
}
.footer-main{
padding: 24px 0 20px
}
}
#right.sticky{
position: sticky;
top: 120px
}
.sidebar-category .sidebar-box {
background: #fff;
border: 1px solid rgba(0,0,0,.05);
border-radius: 16px;
padding: 16px;
}
.sidebar-title {
font-size: 16px;
font-weight: 700;
color: #444;
margin-bottom: 12px;
}
.sidebar-categories {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 8px;
}
.sidebar-categories li a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 12px;
border-radius: 12px;
font-weight: 600;  
color: #444444;
background: #fafafa;
transition: .2s ease;
text-decoration: none;
}
.sidebar-categories li a:hover {
background: #fff0f6;
transform: translateX(3px);
}
.sidebar-categories li.active a {
background: linear-gradient(135deg, #ffe6f2, #fff);
color: #e24c8a;
font-weight: 700;
}
.cat-count {
font-size: 15px;
background: #fff;
padding: 2px 8px;
border-radius: 999px;
color: #999;
border: 1px solid rgba(0,0,0,.06);
}
.footer-social {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin: 12px 0 0;
padding: 0;
list-style: none;
}
.footer-social a{
transition-property: all;
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
transition-duration: .15s;
background-color: #fff;
border-radius: 50%;
width: 2.5rem;
height: 2.5rem;
color: #5d4037;
text-align: center;
justify-content: center
}
.footer-social a:hover{
background-color: var(--color-1);
color: #fff
} @media (max-width: 991px) {
.header-desktop {
display: none !important;
}
} @media (min-width: 992px) {
.header-mobile,
.mobile-nav,
.mobile-overlay {
display: none !important;
}
}
.mega-mobile > li {
border-bottom: 1px solid #f1f1f1;
}
.mega-mobile > li > a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 16px;  
color: #444444;
}
.mega-mobile li.menu-item-has-children > a::after {
content: "▾";
font-size: 14px;
transition: .3s;
}
.mega-mobile li.open > a::after {
transform: rotate(180deg);
}
.mega-mobile ul.sub-menu {
max-height: 0;
overflow: hidden;
background: #fafafa;
transition: max-height .35s ease;
}
.mega-mobile li.open > ul.sub-menu {
max-height: 800px;
}
.mega-mobile ul.sub-menu li a {
padding: 12px 4px;
display: block;
font-size: 15px  
}
.mega-mobile ul.sub-menu li a:hover {  
color: #e44b7f;
} @media (max-width: 768px) {
.cat-post-item, .search-post-item{
display: block;
}
.cat-post-item img, .search-post-item img{
width: 100%;
height: auto
}
.cat-post-item h3, .search-post-item h3{
margin-top: 12px
}
.footer-col{
margin-bottom: 0
}
.related-posts{
margin-bottom: 20px
}
.rank-math-question{
padding-right: 40px
}  
#right.sticky{
position: static;
margin-top: 20px
}
.pagination{
margin: 10px 0;
}
.sidebar-box{
margin-bottom: 0
}
.cat-post-list, .search-post-list, .sidebar-tools{
margin-bottom: 20px
}  
.bbx-form input[type="date"] {
width: 100%;
max-width: 100%;
box-sizing: border-box;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid #ddd;
appearance: none;
-webkit-appearance: none;
height: 49px;
font-size: 15px;
background-color: #fff;
}
.bbx-tool{
max-width: 100%
}
}
#toc-box {
background: #fff;
border-radius: 18px;
padding: 16px 18px;
box-shadow: 0 10px 28px rgba(0,0,0,.06);
font-size: 14px;
border: 1px solid #f6e6e2;
}
.sidebar #toc-box {
position: sticky;
top: 90px;
} @media (max-width: 1024px) {
.sidebar #toc-box {
display: none;
}
} .toc-title {
font-weight: 700;
font-size: 15px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
color: #5a3e36;
} #toc-toggle {
background: #fff5f2;
border: none;
border-radius: 8px;
padding: 2px 8px;
cursor: pointer;
font-weight: bold;
color: #e76f51;
} .toc-progress-bar {
height: 6px;
background: #fde8e2;
border-radius: 6px;
overflow: hidden;
margin-bottom: 12px;
}
#toc-progress-fill {
height: 100%;
width: 0%;
display: block;
background: linear-gradient(90deg, #f4a261, #e76f51);
transition: width .2s ease;
} #toc-list a {
display: block;
padding: 6px 0;
font-size: 15px;
line-height: 1.5;
color: #555
}
#toc-list a.toc-h3 {
padding-left: 16px;
font-size: 14px;
opacity: 0.9;
}
#toc-list a.active {
color: var(--color-1);
font-weight: 500;
} .toc-percent {
margin-top: 10px;
font-size: 12px;
color: #777;
} .sidebar {
position: sticky;
top: 90px;
} #toc-list.hidden {
display: none;
}
#toc-toggle {
width: 28px;
height: 28px;
border-radius: 50%;
border: none;
background: #fff3ef;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all .25s ease;
box-shadow: 0 2px 6px rgba(231,111,81,.15);
} #toc-toggle:hover {
background: #fde4dc;
transform: scale(1.05);
}
#toc-list {
transition: max-height .3s ease, opacity .2s ease;
overflow: hidden;
}
#toc-list.hidden {
max-height: 0;
opacity: 0;
pointer-events: none;
}
#toc-box {
border: 1px solid #fde4dc;
background: linear-gradient(180deg, #fff 0%, #fff9f7 100%);
margin-bottom: 30px
}
.toc-title span {
color: #333333;
} @media (max-width: 1024px) { #toc-box {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 68vh;
background: linear-gradient(180deg, #fff 0%, #fff9f7 100%);
border-radius: 20px 20px 0 0;
box-shadow: 0 -10px 30px rgba(0,0,0,.12);
transform: translateY(100%);
transition: transform .35s ease;
z-index: 99999;
display: flex;
flex-direction: column;
padding: 14px 16px;
} #toc-box.active {
transform: translateY(0);
margin-bottom: 0;
} .toc-title {
font-size: 15px;
font-weight: 700;
padding-bottom: 8px;
border-bottom: 1px solid #fde4dc;
display: flex;
justify-content: space-between;
align-items: center;
} #toc-toggle {
cursor: pointer;
pointer-events: auto;
background: none;
border: none;
font-size: 18px;
font-weight: 700;
z-index: 2;
} .toc-progress-bar {
margin: 10px 0 12px;
} #toc-list {
flex: 1;
overflow-y: auto;
padding-right: 6px;
} #toc-list a {
display: block;
padding: 9px 0 9px 18px;
font-size: 14px;
line-height: 1.5;
} .toc-h3 {
padding-left: 14px;
opacity: .85;
} .toc-percent {
text-align: center;
font-size: 12px;
padding-top: 8px;
border-top: 1px solid #fde4dc;
} #toc-mobile-btn {
position: fixed;
bottom: 16px;
right: 16px;
background: #fff3ef;
color: #e76f51;
border: none;
padding: 10px 14px;
border-radius: 999px;
font-size: 14px;
font-weight: 600;
box-shadow: 0 4px 14px rgba(231,111,81,.25);
z-index: 9999;
}
}
#toc-mobile-btn{
display: none
} @media (max-width: 768px) {
#toc-mobile-btn{
display: block
}
#toc-box {
height: 70vh;
padding: 12px 14px;    
margin-bottom: 0
}
#toc-list a {
font-size: 14px;
padding: 7px 0 7px 14px;
}
.category-layout, .search-layout{
grid-template-columns: 1fr;
}
.latest-posts{
margin-top: 30px
}
}