*{box-sizing:border-box} :root{--green:#172c25;--green2:#29483b;--gold:#c6a66a;--cream:#f7f4ed;--ink:#26352e;--muted:#718078}body{margin:0;background:#fff;color:var(--ink);font-family:"Be Vietnam Pro",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}header{height:82px;padding:0 5vw;display:flex;align-items:center;gap:28px;background:#fff;position:sticky;top:0;z-index:10;box-shadow:0 4px 24px #14271c0c}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--green);min-width:220px}.cross{font-size:34px;color:var(--gold)}.brand b{display:block;letter-spacing:1.2px;font-size:13px}.brand small{display:block;color:#89938d;font-size:10px;margin-top:4px}nav{display:flex;align-items:center;gap:19px;flex:1}nav a,footer a{font-size:11px;color:#526159;text-decoration:none;cursor:pointer}nav a:hover,nav a.active{color:#a17c3f}.admin,.menu{border:0;background:var(--green);color:white;border-radius:4px;padding:12px 17px;font-size:11px}.menu{display:none}.hero{min-height:570px;background:linear-gradient(90deg,#0d211be8,#0d211b65),url("https://images.unsplash.com/photo-1438032005730-c779502df39b?auto=format&fit=crop&w=2000&q=85") center/cover;display:flex;align-items:center;position:relative;color:#fff;padding:70px 10vw}.hero-content{max-width:650px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:#d4b879;font-weight:700}.eyebrow:before{content:"";display:inline-block;width:24px;height:1px;background:currentColor;vertical-align:middle;margin-right:10px}h1,h2{font-family:"Playfair Display",serif;font-weight:600}h1{font-size:clamp(48px,7vw,82px);line-height:1.06;margin:22px 0}h1 em,h2 em{color:var(--gold);font-style:normal}.hero p{line-height:1.9;color:#e1e6e2;font-size:14px}.actions{display:flex;gap:12px;margin-top:28px}.gold,.glass,.outline{border:0;padding:14px 20px;border-radius:3px;font-size:11px;font-weight:700}.gold{background:var(--gold);color:#1e2c25}.glass{background:#ffffff1c;color:white;border:1px solid #ffffff70}.hero-verse{position:absolute;bottom:32px;right:8vw;color:#eee;font-family:Georgia;font-style:italic;font-size:15px}.hero-verse small{display:block;text-align:right;color:var(--gold);margin-top:8px}.wrap{max-width:1160px;margin:auto;padding-left:28px;padding-right:28px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:100px;padding-bottom:100px;align-items:center}.dark{color:#9b7b45}h2{font-size:42px;line-height:1.2;margin:18px 0}.intro p,.section-head p{color:#6d7b73;font-size:13px;line-height:2;max-width:510px}.link{border:0;background:none;color:#94733f;padding:0;font-size:12px;font-weight:700}.intro-art{height:330px;background:linear-gradient(145deg,#d7c7a3,#7c8d78 55%,#263e32);display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;gap:20px;box-shadow:20px 20px 0 #f1eee6}.intro-art span{font-size:100px}.intro-art b{font-size:10px;letter-spacing:3px}.discover{padding-top:70px;padding-bottom:100px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-head h2{margin-bottom:0}.section-head p{margin:0}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.tiles button{text-align:left;border:1px solid #e9e9e3;background:#fff;padding:28px 24px;min-height:230px;color:var(--ink);transition:.2s}.tiles button:hover{transform:translateY(-5px);box-shadow:0 15px 35px #182d2012;border-color:#d4c49e}.tiles i{display:block;color:#ae8b50;font-style:normal;font-size:30px;margin-bottom:20px}.tiles small{display:block;color:#a28b63;letter-spacing:1px;font-size:9px}.tiles b{display:block;font-family:Georgia;font-size:22px;margin:10px 0}.tiles p{color:#7b877f;font-size:11px;line-height:1.8}.verse{background:var(--green);color:white;text-align:center;padding:65px 20px}.verse span{color:var(--gold);font-size:32px}.verse blockquote{font:italic 24px/1.6 Georgia;margin:18px}.verse small{color:var(--gold);letter-spacing:2px;font-size:9px}.latest{padding-top:90px;padding-bottom:100px}.cards,.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid #ecece7;padding:25px}.card small,.article small{color:#a3844d;font-size:10px;letter-spacing:1px}.card h3{font:22px Georgia}.card p{font-size:12px;line-height:1.8;color:#758078}.card button{border:0;background:none;color:#987744;padding:0;font-weight:700;font-size:11px}.banner{background:var(--green);color:white;padding:65px 8vw}.banner h1{font-size:54px;margin:12px 0}.banner p{color:#d3ddd6;font-size:13px}.page-content{padding-top:45px;padding-bottom:90px;min-height:300px}.search{width:100%;max-width:420px;padding:13px;border:1px solid #e2e5df;margin-bottom:25px}.empty{padding:35px;background:var(--cream);color:#65736a;font-size:13px}.book-groups{display:grid;grid-template-columns:1fr 1fr;gap:25px}.book-group{border:1px solid #e8e8e1;padding:25px}.book-group h3{font:24px Georgia}.book-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.book-list button,.chapter-list button{border:1px solid #e8e8e1;background:white;padding:10px;text-align:left;font-size:12px}.book-list button:hover,.chapter-list button:hover{border-color:var(--gold);background:#faf8f1}.chapter-list{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin:20px 0}.day-card{padding:22px;border:1px solid #e9e9e3;margin-bottom:14px}.day-card h3{font:22px Georgia;margin:0 0 10px}.tag{display:inline-block;background:#f3efe4;color:#8d6c35;padding:5px 9px;font-size:10px;margin-right:6px}.calendar-controls{display:flex;gap:12px;align-items:center;margin-bottom:20px}.calendar-controls button{padding:10px 14px;border:1px solid #ddd;background:white}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid #eee;border-left:1px solid #eee}.month-grid div{min-height:75px;padding:8px;border-right:1px solid #eee;border-bottom:1px solid #eee;font-size:11px}.month-grid .weekday{min-height:auto;background:#f6f4ee;font-weight:700}.today{background:#f6f0df}.day-note{display:block;color:#8e6c35;font-size:9px;margin-top:5px}.massbox{background:#f7f4ed;padding:25px;max-width:700px}.massbox h3{font:24px Georgia}.massbox p{font-size:13px;line-height:1.9}.article{max-width:800px;font-size:14px;line-height:2;white-space:pre-wrap}.back{border:0;background:none;color:#94733f;padding:0 0 20px}.foot{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding-top:50px;padding-bottom:45px}.foot b{font-size:10px;letter-spacing:1px}.foot a{display:block;margin-top:12px}.foot p{font-size:11px;color:#748078}.copyright{text-align:center;padding:18px;background:#f7f4ed;font-size:10px;color:#7b867f}.overlay{position:fixed;inset:0;background:#0c1b16b8;z-index:20;display:grid;place-items:center;padding:18px}.overlay[hidden]{display:none}.modal{background:white;width:min(720px,100%);max-height:90vh;overflow:auto;padding:38px;position:relative}.close{position:absolute;right:18px;top:12px;border:0;background:none;font-size:28px}.modal h2{font-size:32px}.muted,.warning{font-size:12px;line-height:1.8;color:#758078}.warning{background:#fff5e5;padding:12px}.modal form label,.modal label{display:block;font-size:11px;font-weight:700;margin:14px 0}.modal input,.modal textarea,.modal select{display:block;width:100%;padding:12px;border:1px solid #ddd;margin-top:7px;font-size:12px}.full{width:100%}.error{color:#b33;font-size:12px}.tabs{display:flex;gap:8px;margin:20px 0}.tabs button,.outline{border:1px solid #ddd;background:white;padding:10px 14px;font-size:11px}.admin-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eee;padding:12px 0;font-size:12px}.admin-row small{display:block;color:#7b867f;margin-top:5px}.admin-row button{border:0;background:none;color:#987744}.logout{border:0;background:none;color:#8a6a3a;margin-top:25px}.notice{padding:14px;background:#f7f4ed;font-size:12px}.menu{display:none}
@media(max-width:1050px){header{gap:12px;padding:0 20px}nav{gap:10px}nav a{font-size:10px}.brand{min-width:190px}.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){header{height:70px}.menu{display:block;margin-left:auto}nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:18px 24px;flex-direction:column;align-items:flex-start;box-shadow:0 12px 20px #0001}nav.open{display:flex}.admin{padding:10px}.hero{min-height:520px;padding:55px 28px}.hero-verse{left:28px;right:auto;font-size:12px}.intro{grid-template-columns:1fr;gap:35px;padding-top:65px;padding-bottom:65px}.intro-art{height:240px}.section-head{display:block}.section-head p{margin-top:15px}.tiles,.cards,.grid,.book-groups{grid-template-columns:1fr}.chapter-list{grid-template-columns:repeat(5,1fr)}.banner{padding:45px 28px}.banner h1{font-size:42px}.foot{grid-template-columns:1fr 1fr}.modal{padding:28px 20px}.month-grid div{min-height:55px;padding:4px;font-size:9px}.day-note{font-size:8px}}
.reader-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.reader-tools .search{margin:0}.scripture-text{max-width:820px;margin:24px auto;font:18px/2 Georgia,serif;color:#29382f}.scripture-text p{margin:0 0 13px}.scripture-text sup{color:#9b7b45;font:700 11px Arial;margin-right:7px}.reader-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.chapter-list button.chosen{background:#f4eddd;border-color:#b79559;color:#6f5427;font-weight:700}.bible-reader{margin-top:28px}.bible-reader .chapter-list{grid-template-columns:repeat(10,minmax(0,1fr))}.reader-nav button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:650px){.bible-reader .chapter-list{grid-template-columns:repeat(6,minmax(0,1fr))}.scripture-text{font-size:17px}}

.hero{background-size:cover;background-position:center;transition:background-image .2s ease}
.notice-feature{display:flex;gap:24px;align-items:center;padding-top:30px;padding-bottom:30px;background:#fff;border:1px solid #e8e2d6;border-radius:18px;margin-top:28px;margin-bottom:10px;overflow:hidden}
.notice-feature img{width:min(42%,360px);max-height:260px;object-fit:contain;border-radius:10px;background:#f5f2eb}
.notice-feature h2{font-family:'Playfair Display',serif;font-size:1.6rem;margin:8px 0;color:#18372b}.notice-feature p{color:#59665f;white-space:pre-wrap}
.media-preview{margin:10px 0 18px;min-height:40px;color:#778078;font-size:13px}.media-preview img{max-width:100%;max-height:220px;object-fit:contain;border:1px solid #ddd;border-radius:10px;background:#f7f5f0;padding:4px}
@media(max-width:600px){.notice-feature{display:block}.notice-feature img{width:100%;max-height:220px;margin-bottom:16px}}
.home-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:22px;margin-top:28px;margin-bottom:10px;align-items:stretch}.home-columns .notice-feature{margin:0;height:100%}.side-notices{border:1px solid #e8e2d6;border-radius:16px;padding:24px;background:#fbfaf6}.side-notices h3{font:22px Georgia;color:#18372b;margin:12px 0}.side-notice{padding:13px 0;border-top:1px solid #e8e2d6}.side-notice b{font-size:13px;color:#26352e}.side-notice p{font-size:12px;line-height:1.7;color:#68756d;margin:6px 0 0;white-space:pre-wrap}.build-section{margin-top:38px;margin-bottom:38px;padding-top:34px;padding-bottom:34px;background:#f7f4ed;border:1px solid #e8e2d6;border-radius:18px;display:flex;gap:30px;align-items:center}.build-section[hidden]{display:none}.build-copy{flex:1}.build-copy h2{font-size:32px;color:#18372b}.build-copy p{font-size:13px;line-height:1.9;color:#59665f;white-space:pre-wrap}.build-copy small{display:block;margin-top:8px;color:#7b867f;line-height:1.7}.build-section img{width:38%;max-height:240px;object-fit:cover;border-radius:12px}@media(max-width:700px){.home-columns{grid-template-columns:1fr}.build-section{display:block}.build-section img{width:100%;margin-top:18px}}

/* Mau phung vu cho lich Cong giao; Chu nhat duoc nhan dien rieng bang vang dong */
.lit-green{color:#287548!important}.lit-red{color:#b52b32!important}.lit-purple{color:#7650a1!important}.lit-white{color:#96743a!important}
.sunday-title{color:#a87922!important;font-weight:800!important}
.sunday-cell{background:#fffaf0}
.sunday-event{background:#fffaf0;border-left:4px solid #c49a45;padding:12px 14px;margin:10px 0}
.calendar-event{line-height:1.8;border-bottom:1px solid #eee;padding:8px 4px}
.calendar-event .liturgical-label{font-weight:600;color:inherit}
.month-grid .day-note{line-height:1.45;overflow-wrap:anywhere}

/* Kho ảnh sinh hoạt giáo xứ */
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.album-card{display:block;text-align:left;padding:0;border:1px solid #e8e2d6;border-radius:14px;overflow:hidden;background:#fff;color:#26352e;cursor:pointer}.album-card img{width:100%;height:210px;object-fit:cover;display:block}.album-placeholder{height:210px;display:grid;place-items:center;background:#f7f4ed;color:#a87922;font-size:42px}.album-card-copy{display:grid;gap:7px;padding:16px}.album-card-copy b{font:700 17px Georgia,serif;color:#18372b}.album-card-copy small{color:#9a783f;font-size:11px}.album-card-copy span{font-size:12px;line-height:1.6;color:#69756e}.gallery-admin-preview{font-size:12px;color:#8a6a3a;margin:8px 0}.gallery-album-head{margin-bottom:20px}.gallery-album-head h2{font:30px Georgia;color:#18372b;margin-bottom:6px}.gallery-album-head small{color:#9a783f}.gallery-album-head p{white-space:pre-wrap;color:#647169;line-height:1.8}.gallery-photo{border:0;padding:0;background:none;cursor:zoom-in;overflow:hidden;border-radius:10px}.gallery-photo img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .25s}.gallery-photo:hover img{transform:scale(1.04)}.gallery-lightbox{position:fixed;inset:0;background:#07130fee;z-index:50;display:flex;align-items:center;justify-content:center;gap:18px;padding:60px 5vw}.gallery-lightbox[hidden]{display:none}.gallery-lightbox img{max-width:min(80vw,1100px);max-height:80vh;object-fit:contain}.gallery-lightbox button{background:#ffffff22;color:#fff;border:1px solid #ffffff55;border-radius:50%;width:42px;height:42px;font-size:26px;cursor:pointer}.gallery-lightbox-close{position:absolute;right:24px;top:20px}.gallery-lightbox-nav{flex:none}.gallery-lightbox span{position:absolute;bottom:22px;color:white;font-size:13px}.tabs{flex-wrap:wrap}.gallery-admin-preview span{display:inline-block;margin:3px 5px 3px 0;padding:5px 8px;background:#f7f4ed;border-radius:5px}@media(max-width:760px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.album-card img,.album-placeholder{height:150px}.gallery-photo img{height:150px}.gallery-lightbox{gap:7px;padding:55px 8px}.gallery-lightbox img{max-width:72vw;max-height:75vh}.gallery-lightbox button{width:34px;height:34px;font-size:20px}}@media(max-width:480px){.gallery-grid{grid-template-columns:1fr}.album-card img,.album-placeholder{height:210px}}

/* Ảnh đại diện bài viết */
.post-card-image{display:block;width:calc(100% + 50px);height:190px;object-fit:cover;margin:-25px -25px 20px;border-bottom:1px solid #ecece7}.article-image{display:block;width:100%;max-height:460px;object-fit:cover;margin:0 0 28px;border-radius:3px}.article-body{white-space:pre-wrap;line-height:2}.media-preview img{display:block;max-width:100%;max-height:220px;object-fit:contain;margin:10px 0;border:1px solid #eee;padding:4px;background:#fff}
/* Nhiều thông báo chính: thẻ 2 cột trên desktop, 1 cột trên điện thoại */
.main-announcements{margin:0;padding:24px;background:#fff;border:1px solid #e8e2d6;border-radius:18px}
.announcement-heading{margin-bottom:16px}.announcement-heading h2{font:700 25px 'Playfair Display',serif;color:#18372b;margin:7px 0 0}
.announcement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.announcement-card{min-width:0;overflow:hidden;border:1px solid #ece6db;border-radius:13px;background:#fff;display:flex;flex-direction:column}
.announcement-card>img{width:100%;height:175px;object-fit:cover;background:#f5f2eb}
.announcement-card-copy{padding:14px 15px 16px}.announcement-card h3{font:700 17px 'Playfair Display',serif;color:#18372b;margin:0 0 8px}.announcement-card p{font-size:13px;line-height:1.8;color:#59665f;white-space:pre-wrap;margin:0}
@media(max-width:700px){.main-announcements{padding:16px}.announcement-grid{grid-template-columns:1fr}.announcement-card>img{height:190px}}
