/*
Theme Name: Lau Hai San Cau Dien
Description: Giao dien trang ban lau hai san khu Cau Dien.
Version: 1.2.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lau-hai-san
*/
:root{--do:#d23c37;--xanh:#4a72b8;--chu:#222;--mo:#555;--nen:#f6f5f3;--kem:#faf1e2;--nau:#7a2e18}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:60px}
body{font-family:"Segoe UI",Roboto,Arial,sans-serif;color:var(--chu);background:#fff;line-height:1.55}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.khung{max-width:1140px;margin:0 auto;padding:0 16px}
.thu{background:#fff3cd;text-align:center;font-size:13px;padding:6px 12px}
.cho{background:#fff3cd;border:1px dashed #c99a06;border-radius:4px;padding:0 6px;color:#7a5c00;font-weight:600;font-size:.9em}
.dau{display:flex;justify-content:space-between;align-items:center;padding-top:14px;padding-bottom:14px;gap:12px}
.logo{font-weight:800;font-size:24px;color:var(--do);text-transform:uppercase}
.goi-dau{border:2px solid var(--do);color:var(--do);border-radius:30px;padding:7px 18px;font-weight:700}
.menu{background:var(--xanh);color:#fff;position:sticky;top:0;z-index:5}
.menu .khung{display:flex;flex-wrap:wrap;align-items:center;font-weight:600;font-size:14px;text-transform:uppercase}
.menu a{padding:13px 12px}
.menu a:first-child,.menu a:hover{background:var(--do)}
.menu .gio{margin-left:auto;font-weight:400;padding:13px 0;text-transform:none}
.banner{background:var(--kem);margin-top:0}
.banner .tren{display:grid;grid-template-columns:260px 1fr 260px;align-items:center;gap:16px;padding:34px 0;text-align:center}
.tron{position:relative;height:250px}
.tron img{position:absolute;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 4px 14px #0003}
.tron img:nth-child(1){width:170px;height:170px;left:0;top:40px}
.tron img:nth-child(2){width:115px;height:115px;right:0;top:0}
.tron img:nth-child(3){width:115px;height:115px;right:8px;bottom:0}
h1{font-family:"Times New Roman",serif;font-size:clamp(30px,4.4vw,46px);line-height:1.2;color:#2c1a10}
.phu-de{font-family:"Times New Roman",serif;font-style:italic;font-weight:700;font-size:clamp(22px,3vw,32px);color:var(--do);margin-bottom:8px}
.nut-goi{display:inline-block;background:var(--nau);color:#fff;border-radius:40px;padding:10px 26px;font-weight:700;margin-top:14px}
.nut-goi b{display:block;font-size:22px}
.loi-ich{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e6d6bb;padding:14px 0;gap:10px;text-align:center;font-size:14px}
.loi-ich strong{display:block}
h2.muc{font-size:22px;text-transform:uppercase;border-bottom:2px solid #ddd;padding-bottom:8px;margin:30px 0 18px}
.nhan{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;margin-bottom:18px}
.nhan span:first-child{border:1px solid #ddd;padding:8px 16px;font-weight:700;text-transform:uppercase}
.nhan span:last-child{font-weight:600;color:var(--mo)}
.luoi{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:34px}
.the{display:flex;flex-direction:column;align-items:center;text-align:center}
.the img{aspect-ratio:1;width:100%;height:auto;object-fit:cover;border-radius:4px}
.the h3{font-size:17px;margin:12px 0 6px}
.the p{font-size:14px;color:var(--mo);margin-bottom:3px}
.the p b{color:var(--do)}
.nut{display:inline-block;background:var(--do);color:#fff;font-weight:700;padding:11px 28px;border-radius:5px;text-transform:uppercase;font-size:14px;margin-top:10px}
.dai{background:var(--nen);padding:6px 0 30px;margin-top:20px}
.bon{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;text-align:center}
.bon div{background:#fff;border-radius:8px;padding:20px 14px;font-size:14px}
.bon i{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 10px;border-radius:50%;background:var(--do);color:#fff;font-style:normal;font-weight:800;font-size:18px}
.bon h3{font-size:16px;margin-bottom:4px}
.thu-vien{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.thu-vien img{aspect-ratio:1;object-fit:cover;border-radius:4px;width:100%;height:100%}
.cho-khoi{border:2px dashed #c99a06;background:#fffaf0;border-radius:8px;padding:24px;text-align:center}
details{background:var(--nen);border-radius:8px;padding:14px 18px;margin-bottom:8px}
summary{font-weight:600;cursor:pointer}
.bai{padding-bottom:30px}
.bai h3{font-size:18px;margin-bottom:6px;color:var(--nau)}
.bai ul{padding-left:18px}
.ds-cam-nang{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px}
.ds-cam-nang div{border:1px solid #e5e5e5;border-radius:8px;padding:18px;font-size:15px}
footer{background:#222;color:#ddd;padding:30px 0 90px;font-size:14px}
.noi{position:fixed;left:14px;bottom:14px;display:flex;flex-direction:column;gap:10px;z-index:6}
.noi a{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:13px;box-shadow:0 3px 10px #0004}
@media(max-width:860px){.banner .tren{grid-template-columns:1fr}.tron{display:none}.luoi{grid-template-columns:repeat(2,1fr)}.bon,.thu-vien{grid-template-columns:repeat(2,1fr)}.ds-cam-nang{grid-template-columns:1fr}.menu .gio{margin-left:0;width:100%;padding:6px 12px}.menu{position:static}}
@media(max-width:600px){.noi{flex-direction:row;left:0;right:0;bottom:0;gap:0}.noi a{flex:1;width:auto;height:50px;border-radius:0;font-size:15px}.loi-ich{grid-template-columns:1fr}}
@media(max-width:520px){.luoi{grid-template-columns:1fr}.dau{flex-direction:column}}
.noi-dung{padding-top:30px}
.noi-dung img{max-width:100%;height:auto}
.custom-logo{max-height:70px;width:auto}
.ds-cam-nang img{aspect-ratio:16/9;object-fit:cover;width:100%;margin-bottom:10px}

/* dau trang va banner */
.dau{padding-top:12px;padding-bottom:12px}
.hieu{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;line-height:1.15;text-transform:uppercase;color:#2c1a10}
.hieu i{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--do);color:#fff;font-style:normal;font-size:28px}
.hieu small{display:block;font-size:11px;color:var(--do);letter-spacing:2px}
.tim{flex:1;max-width:620px;display:flex;border:1px solid #ddd;border-radius:30px;background:#f7f7f7;overflow:hidden}
.tim input{flex:1;border:0;background:none;padding:11px 18px;font:inherit;min-width:0}
.tim button{border:0;background:none;padding:0 18px;cursor:pointer;color:#555;font-size:20px}
.menu .phai{margin-left:auto;display:flex;gap:18px;align-items:center;text-transform:none}
.menu .phai a{padding:13px 0;background:none}
.banner{position:relative;overflow:hidden;background:var(--kem)}
.banner>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.banner .tren{position:relative;display:grid;grid-template-columns:300px 1fr 300px;align-items:center;gap:8px;padding:30px 14px;text-align:center}
.tron{height:340px}
.tron img:nth-child(1){width:190px;height:190px;left:0;top:76px;z-index:2}
.tron img:nth-child(2){width:140px;height:140px;right:20px;top:0}
.tron img:nth-child(3){width:150px;height:150px;right:6px;bottom:0;z-index:3}
.tron.p img:nth-child(1){left:auto;right:0}
.tron.p img:nth-child(2){right:auto;left:20px}
.tron.p img:nth-child(3){right:auto;left:6px}
.ten-nho{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--nau);font-weight:700;letter-spacing:4px;font-size:14px;text-transform:uppercase;margin-bottom:6px}
.ten-nho::before,.ten-nho::after{content:"";width:34px;height:2px;background:var(--nau)}
h1{font-family:"Segoe UI",Roboto,Arial,sans-serif;font-weight:900;font-size:clamp(38px,5vw,58px);line-height:1.12}
h1 span{display:block;font-family:"Times New Roman",serif;font-style:italic;color:var(--nau)}
.cham{font-weight:700;margin-top:8px}
.cham b{color:var(--do);padding:0 8px}
.nut-goi{display:inline-flex;align-items:center;gap:14px;text-align:left;padding:10px 34px 10px 14px;font-size:12px;letter-spacing:1px;text-transform:uppercase;box-shadow:0 4px 0 #e3a98f}
.nut-goi i{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--kem);color:var(--nau);font-style:normal;font-size:22px}
.nut-goi b{font-size:24px;letter-spacing:0}
.loi-ich{position:relative;background:#f3e7d2;text-align:left}
.loi-ich>div{display:flex;gap:12px;align-items:center;justify-content:center}
.loi-ich i{font-style:normal;font-size:26px;color:var(--nau)}
.loi-ich>div+div{border-left:1px solid #dcc9a8}
@media(max-width:1000px){.banner .tren{grid-template-columns:1fr}.tron{display:none}}
@media(max-width:860px){.menu .phai{margin-left:0;width:100%;padding:0 12px}}
@media(max-width:600px){.loi-ich>div{justify-content:flex-start;padding:0 14px}.loi-ich>div+div{border-left:0}.tim{width:100%;flex:none}}
@media(max-width:520px){.dau{flex-direction:column}}

.tron{height:380px}
.tron img:nth-child(1){width:180px;height:180px;top:90px}
.tron img:nth-child(2){width:130px;height:130px}
.tron img:nth-child(3){width:140px;height:140px;bottom:0}
.tron img:nth-child(4){width:100px;height:100px;right:0;top:132px;z-index:1}
.tron.p img:nth-child(4){right:auto;left:0}
.banner path.sao{fill:#b9482c}
@media(max-width:1000px){.tron{display:flex;justify-content:center;gap:8px;height:auto}.tron img,.tron img:nth-child(n){position:static;width:calc(25% - 6px);max-width:130px;height:auto;aspect-ratio:1;border-width:3px}.banner .tren{padding:16px 10px;gap:14px}.banner path.sao{display:none}}

/* bo tri banner theo anh mau */
@media(min-width:1001px){
.banner .tren{grid-template-columns:310px 1fr 310px;gap:0;padding:0 14px}
.tron{height:400px}
.tron img:nth-child(1){width:136px;height:136px;left:162px;top:30px;right:auto;bottom:auto}
.tron img:nth-child(2){width:196px;height:196px;left:25px;top:104px;right:auto;bottom:auto;z-index:2}
.tron img:nth-child(3){width:152px;height:152px;left:156px;top:230px;right:auto;bottom:auto;z-index:3}
.tron.p img:nth-child(1){left:23px;top:28px;width:146px;height:146px}
.tron.p img:nth-child(2){left:108px;top:106px;width:192px;height:192px}
.tron.p img:nth-child(3){left:18px;top:230px;width:152px;height:152px}
h1{font-size:60px}
h1 span{font-size:66px}
}
@media(max-width:1000px){.tron img,.tron img:nth-child(n){width:calc(33.3% - 6px)}}
h2.muc{color:#555;font-weight:800}
#thuc-don{font-size:30px}
.nhan span:first-child::before{content:"\2665  ";color:#e8766f}
