@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');
:root{--blue:#2d50b7;--blue-dark:#243c82;--sky:#eaf8fd;--brown:#704d42;--gold:#c69a52;--ink:#30343b;--muted:#72777d;--line:#dce5e9;--soft:#f6fafc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:15px/1.75 "Be Vietnam Pro",Arial,sans-serif}a{color:var(--blue);text-decoration:none}a:hover{color:var(--brown)}.container{width:min(1180px,92%);margin:auto}
.top{background:var(--brown);color:#fff;font-size:12px}.top .container{display:flex;justify-content:space-between;padding:7px 0}
.header{background:linear-gradient(180deg,#fff,#f4fbfe);border-bottom:1px solid #d9e9f0}.head{display:flex;align-items:center;justify-content:space-between;padding:8px 0}.brand{display:flex;gap:13px;align-items:center;color:var(--ink)}.brand img{width:68px;height:68px;object-fit:contain}.brand-text{display:flex;flex-direction:column;justify-content:center}.brand-kicker{display:block;color:#263d8c;font:600 12px/1.1 "Arial",sans-serif;letter-spacing:.35px;text-transform:uppercase;margin-bottom:3px}.brand h1{font:600 28px/1.05 "Playfair Display",serif;margin:0;color:#263d8c}.motto{color:var(--brown);font:italic 15px "Playfair Display",serif}
.nav{background:#fff;border-bottom:3px solid var(--blue);box-shadow:0 2px 10px #163d7110}.nav .container{display:flex}.nav a{color:#39424a;padding:12px 16px;font-size:12px;font-weight:700}.nav a:hover,.nav a.active{color:#fff;background:var(--blue)}
.hero{min-height:470px;background:radial-gradient(circle at 74% 30%,#fff 0,#e1f6fc 25%,#abdff0 53%,#6b9abd 100%);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;inset:auto 0 0;height:100px;background:linear-gradient(transparent,#315f55);opacity:.14}.hero-inner{min-height:470px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:20px;position:relative;z-index:1}.hero-copy{padding:35px 0}.eyebrow{font-size:10px;letter-spacing:2px;color:#2845a0;font-weight:700}.hero h2{font:600 47px/1.12 "Playfair Display",serif;color:#293a83;margin:12px 0}.hero p{font-size:16px;max-width:610px;color:#454d56}.hero-logo{display:flex;justify-content:center;align-items:center}.hero-logo img{width:min(355px,75vw);filter:drop-shadow(0 17px 24px #17396b2b)}.btn{display:inline-block;background:var(--blue);color:#fff;padding:10px 19px;border-radius:3px;font-size:12px;font-weight:700}.btn:hover{background:var(--brown);color:#fff}
.actions{background:#fff;padding:26px 0 30px}.action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.action-card{border:1px solid var(--line);padding:17px 18px;background:#fff;display:flex;gap:12px;align-items:flex-start;transition:.2s}.action-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px #173d6b12;border-color:#b9cde0}.action-card-button{font:inherit;text-align:left;cursor:pointer;color:inherit;width:100%;appearance:none;-webkit-appearance:none;border-radius:0}.action-icon{font-size:23px;line-height:1}.action-card strong{display:block;font:600 18px/1.2 "Playfair Display",serif;color:var(--brown);margin-bottom:4px}.action-card span{font-size:12px;color:#666}
.intro{padding:45px 0 48px}.intro-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:30px}.section-title{font:600 30px "Playfair Display",serif;color:#29448f;margin:0 0 11px}.intro-card{background:var(--sky);padding:25px;border:1px solid #cfe8f1;border-top:4px solid var(--blue)}
.news{background:var(--soft);padding:46px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:19px}.section-head h2{margin:0}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{background:#fff;border:1px solid var(--line);box-shadow:0 5px 15px #1c41600a}.post-image{height:160px;background:linear-gradient(135deg,#7bc7e4,#335ab5);display:grid;place-items:center;color:#fff;overflow:hidden}.post-image img{width:100%;height:100%;object-fit:cover}.post-body{padding:18px}.post-body h3{font:600 19px/1.35 "Playfair Display",serif;margin:0 0 7px}.meta{font-size:10px;color:#8b9298;margin-bottom:7px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:46px 0}.box{border:1px solid var(--line);padding:25px;background:#fff}.mass-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line)}.mass-row:last-child{border:0}.highlight{background:linear-gradient(135deg,#effaff,#fff)}
.footer{background:var(--blue-dark);color:#dce7ff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px;padding:36px 0}.footer-brand{display:flex;gap:12px;align-items:flex-start}.footer-brand img{width:66px;height:66px;object-fit:contain}.footer h3{color:#fff;font:500 19px "Playfair Display",serif;margin:2px 0 10px}.footer a{display:block;color:#dce7ff;margin:3px 0}.copy{text-align:center;border-top:1px solid #ffffff22;padding:13px;font-size:11px;color:#b9c9ef}
.page{padding:42px 0}.page-grid{display:grid;grid-template-columns:1fr 300px;gap:35px}.article-featured{margin:0 0 22px;border:1px solid var(--line);background:#f3f7f9;overflow:hidden}.article-featured img{display:block;width:100%;max-height:520px;object-fit:cover}.article h1{font:600 40px/1.2 "Playfair Display",serif;color:#29448f}.article-content{font-size:16px}.sidebar .box{margin-bottom:20px}.sidebar h3{font:500 20px "Playfair Display",serif;color:var(--brown);margin-top:0}
form label{display:block;font-size:12px;font-weight:600;margin:12px 0 5px}input,textarea,select{width:100%;padding:11px;border:1px solid #d2dde2;background:#fff;font:inherit}textarea{min-height:150px}.success{padding:12px;background:#edf8ef;border:1px solid #c8e4cd;color:#4c6b46}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-card{border:1px solid var(--line);background:#fff;overflow:hidden}.gallery-card .gallery-img{aspect-ratio:4/3;background:#e9f5f9}.gallery-card img{width:100%;height:100%;object-fit:cover}.gallery-caption{padding:14px}.admin-logo{width:62px!important;height:62px!important;object-fit:contain}
@media(max-width:900px){.action-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:2fr 1fr}}
@media(max-width:820px){.top .container,.head{display:block}.motto{margin-top:9px}.nav .container{overflow:auto}.nav a{white-space:nowrap;padding:11px 13px}.hero{min-height:auto}.hero-inner{min-height:auto;grid-template-columns:1fr;padding:22px 0 34px}.hero h2{font-size:37px}.hero-logo{order:-1}.hero-logo img{width:220px}.intro-grid,.split,.page-grid{grid-template-columns:1fr}.action-grid,.news-grid,.gallery-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.brand img{width:58px;height:58px}.brand h1{font-size:22px}}
@media(max-width:520px){.footer-grid{grid-template-columns:1fr}.action-grid{grid-template-columns:1fr}.hero-copy{padding-top:5px}}

.article-content p{margin:0 0 18px}.article-content h2{font:600 30px/1.3 "Playfair Display",serif;color:#29448f;margin:30px 0 12px}.article-content h3{font:600 23px/1.35 "Playfair Display",serif;color:#704d42;margin:24px 0 10px}.article-content blockquote{border-left:4px solid var(--blue);background:#f1f8fb;padding:10px 18px;margin:20px 0;color:#5c6670}.article-content ul,.article-content ol{padding-left:28px}.article-content a{text-decoration:underline}.article-content img{display:block;max-width:100%;height:auto;margin:22px auto}.article-content table{width:100%;border-collapse:collapse;margin:20px 0}.article-content th,.article-content td{border:1px solid var(--line);padding:8px}.article-content th{background:#f4f8fa}

.video-embed{position:relative;width:100%;aspect-ratio:16/9;margin:26px 0;background:#111;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.08)}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:700px){.video-embed{margin:20px 0}}

.post-album{margin:34px 0}.post-album-head h3{font:600 28px/1.3 "Playfair Display",serif;color:#29448f;margin:0 0 5px}.post-album-head p{color:var(--muted);margin:0 0 15px}.post-album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.album-item{border:0;padding:0;background:#edf3f5;cursor:pointer;overflow:hidden;aspect-ratio:4/3}.album-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.album-item:hover img{transform:scale(1.035)}.album-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(8,15,25,.93);display:flex;align-items:center;justify-content:center;padding:35px 70px}.album-lightbox[hidden]{display:none}.album-view{max-width:min(1100px,90vw);max-height:90vh;text-align:center;color:#fff}.album-view img{display:block;max-width:100%;max-height:78vh;margin:auto;object-fit:contain}.album-caption{margin-top:10px;font-size:13px}.album-counter{font-size:11px;opacity:.75;margin-top:4px}.album-close,.album-prev,.album-next{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;border-radius:50%;width:44px;height:44px;font-size:30px;line-height:1}.album-close{right:22px;top:20px}.album-prev{left:20px;top:50%;margin-top:-22px}.album-next{right:20px;top:50%;margin-top:-22px}.album-open{overflow:hidden}.album-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.album-card{display:block;border:1px solid var(--line);background:#fff;box-shadow:0 5px 18px #1b3d5b0a}.album-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.album-card div{padding:14px 16px}.album-card h3{font:600 20px "Playfair Display",serif;color:#29448f;margin:0 0 3px}.album-card span{font-size:12px;color:var(--muted)}.social-links{display:flex;flex-direction:column;gap:7px}.social-link{color:#fff;display:flex;align-items:center;gap:9px;font-size:13px}.social-link span{display:inline-flex;width:24px;height:24px;border:1px solid rgba(255,255,255,.5);border-radius:50%;align-items:center;justify-content:center;font-size:11px}.social-link:hover{color:#fff;opacity:.8}
@media(max-width:800px){.post-album-grid,.album-list{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.album-lightbox{padding:30px 15px}.album-prev{left:8px}.album-next{right:8px}}
@media(max-width:500px){.post-album-grid,.album-list{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}}

.category-help{margin-top:12px;padding:11px 13px;background:#f3f8fa;border-left:3px solid #2d50b7;font-size:12px;line-height:1.8;color:#5d6871}.category-help span{color:#2d50b7;font-weight:700}.category-tree-name{display:flex;align-items:center;gap:4px}.tree-root{color:#2d50b7;font-size:9px}.tree-branch{color:#9aa5ad}.category-breadcrumb{font-size:12px;color:#7b858c;margin-bottom:7px}

.home-news{overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.news-controls{display:flex;align-items:center;gap:7px}.news-controls>a{margin-left:10px;white-space:nowrap}.news-arrow{width:36px;height:36px;border:1px solid var(--line);background:#fff;color:#29448f;cursor:pointer;font-size:18px;line-height:1}.news-arrow:hover:not(:disabled){background:#29448f;color:#fff}.news-arrow:disabled{opacity:.35;cursor:not-allowed}.news-carousel{overflow:hidden;margin:0 -1px}.news-track{display:flex;transition:transform .35s ease}.news-slide{flex:0 0 33.333333%;width:33.333333%;margin:0;padding:0 9px 18px;box-sizing:border-box}.news-slide .post-card,.news-slide{min-width:0}.news-slide .post-image{height:160px}.news-slide .post-image img{width:100%;height:100%;object-fit:cover}.news-slide .post-body{min-height:0}.news-slide h3{margin-top:8px}.news-slide p{margin-bottom:0}@media(max-width:1050px){.news-slide{flex-basis:50%;width:50%}}@media(max-width:700px){.section-heading{align-items:flex-start;flex-wrap:wrap}.news-slide{flex-basis:100%;width:100%;padding-left:0;padding-right:0}.news-slide .post-image{height:190px}.news-slide .post-body{min-height:0}.news-controls{width:100%}.news-controls>a{margin-left:auto}}

/* V3.3.3: restore normal homepage typography */
.home-news .section-title{font-size:30px;line-height:1.25}
.home-news .post-body{font-size:15px;line-height:1.65;padding:18px}
.home-news .post-body h3{font-size:19px;line-height:1.35;margin:0 0 9px}
.home-news .post-body p{font-size:15px;line-height:1.65;margin:0}
.home-news .meta{font-size:10px;line-height:1.4}
.home-news .news-controls>a{font-size:14px}
.home-news .news-arrow{font-size:16px}
.footer{font-size:14px;line-height:1.6}
.footer h3{font-size:19px}
.footer a,.footer p{font-size:14px;line-height:1.6}
.footer-brand h3{font-size:19px}
.footer-brand p{font-size:14px}

/* V3.4: dynamic category menu */
.nav-inner{display:flex;align-items:stretch;flex-wrap:wrap}
.nav-dropdown{position:relative;display:flex;align-items:stretch}
.nav-dropdown>.nav-parent{display:flex;align-items:center;gap:5px}
.nav-dropdown>.nav-parent span{font-size:11px}
.nav-submenu{position:absolute;z-index:3000;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px rgba(20,50,80,.14);display:none;padding:5px 0}
.nav-submenu a{display:block;padding:9px 14px;white-space:nowrap;color:#1e356d}
.nav-submenu a:hover{background:#f1f7fa}
.nav-dropdown:hover .nav-submenu,.nav-dropdown:focus-within .nav-submenu{display:block}
.nav-toggle{display:none;margin:auto 0 auto auto;border:1px solid var(--line);background:#fff;color:#29448f;padding:8px 11px}
.contact-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}
.contact-info,.contact-form{padding:28px}
.contact-info h3{font-size:17px;margin:22px 0 7px;color:#29448f}
.contact-info p{line-height:1.7}
.contact-form-fields label{display:block;font-size:14px;font-weight:600;margin:14px 0 7px}
.contact-form-fields input,.contact-form-fields textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);background:#fff;padding:13px 14px;font:inherit;color:inherit}
.contact-form-fields textarea{resize:vertical;min-height:190px}
.contact-success{background:#eef8f0;border-left:3px solid #5d9a68}
.contact-error{background:#fff3f3;border-left:3px solid #c76b6b}
.contact-error ul{margin:0;padding-left:20px}
.contact-email-note{font-size:13px;color:var(--muted)}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}.nav-inner{align-items:center}.nav-inner>a,.nav-dropdown{display:none}.nav-toggle{display:block}.nav-inner.menu-open>a,.nav-inner.menu-open .nav-dropdown{display:flex}}

/* V3.4.1 menu corrections */
.nav-inner>.nav-dropdown>.nav-parent.active,
.nav-inner>a.active{background:#2d50b7;color:#fff}
.nav-inner>.nav-dropdown>.nav-parent{height:100%;box-sizing:border-box}
.nav-dropdown:hover>.nav-parent{background:#f1f7fa}
.nav-dropdown>.nav-parent.active:hover{background:#24449b;color:#fff}
@media(max-width:900px){
  .nav-inner.menu-open .nav-dropdown{display:block;width:100%}
  .nav-inner.menu-open .nav-dropdown>.nav-parent{display:flex;justify-content:space-between;width:100%;padding:10px 12px}
  .nav-inner.menu-open .nav-dropdown .nav-submenu{position:static;display:block;box-shadow:none;border:0;padding:0 0 4px 14px;min-width:0}
  .nav-inner.menu-open .nav-dropdown .nav-submenu a{white-space:normal}
}

/* V3.4.2: separate homepage content by category */
.home-liturgy-news{border-top:1px solid #dbe7ed}
.home-liturgy-news .section-heading{padding-top:8px}
.home-liturgy-news + .split{margin-top:0}

/* V3.4.4: map / directions below footer */
.direction-map{background:#fff;padding:38px 0 46px;border-top:1px solid #dbe5ea}
.direction-map-head{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:18px}
.direction-map-head .section-title{margin:0}
.direction-map-head p{margin:4px 0 0;color:var(--muted);font-size:13px}
.direction-map-frame{width:100%;height:380px;border:1px solid var(--line);overflow:hidden;background:#eef4f6;box-shadow:0 5px 18px rgba(20,55,80,.08)}
.direction-map-frame iframe{width:100%;height:100%;border:0;display:block}
@media(max-width:700px){.direction-map{padding:28px 0 34px}.direction-map-head{display:block}.direction-map-head .btn{margin-top:12px}.direction-map-frame{height:300px}}

/* V3.4.5: compact map inside footer, aligned horizontally with Contact */
.footer-grid{grid-template-columns:1.7fr 1fr 1fr 1fr 1.65fr;gap:28px;align-items:start}
.footer-map h3{margin-bottom:10px}
.footer-map-frame{height:145px;border:1px solid rgba(255,255,255,.25);overflow:hidden;background:#eef4f6}
.footer-map-frame iframe{width:100%;height:100%;border:0;display:block}
.footer-map-link{display:inline-block!important;margin-top:7px!important;font-size:12px;color:#dce7ff!important}
.direction-map{display:none!important}
@media(max-width:1100px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}.footer-map{grid-column:4}.footer-map-frame{height:135px}}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr 1fr}.footer-map{grid-column:auto}.footer-map-frame{height:150px}}
@media(max-width:500px){.footer-grid{grid-template-columns:1fr}.footer-map{grid-column:auto}}

/* V3.4.6: menu hover uses the same blue as Trang chủ */
.nav-inner>a:hover,
.nav-dropdown>.nav-parent:hover,
.nav-dropdown>.nav-parent:focus,
.nav-dropdown:hover>.nav-parent{
    background:#2d50b7;
    color:#fff;
}
.nav-inner>a.active:hover,
.nav-dropdown>.nav-parent.active:hover{
    background:#2d50b7;
    color:#fff;
}
.nav-submenu a:hover,
.nav-submenu a:focus{
    background:#2d50b7;
    color:#fff;
}
.nav-submenu a{transition:background .15s ease,color .15s ease}

/* V3.4.7: configurable 3–5 image hero slider */
.hero-slider{position:relative;overflow:hidden;width:100%;height:auto;aspect-ratio:1920 / 450;min-height:0}
.hero-slider .hero-slides,.hero-slider .hero-slide,.hero-slider .hero-shade{position:absolute;inset:0}
.hero-slider .hero-slide{opacity:0;transition:opacity .8s ease;z-index:0}
.hero-slider .hero-slide.is-active{opacity:1}
.hero-slider .hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-slider .hero-shade{z-index:1;background:linear-gradient(90deg,rgba(226,242,248,.96) 0%,rgba(226,242,248,.88) 38%,rgba(226,242,248,.28) 70%,rgba(226,242,248,.08) 100%)}
.hero-slider .hero-inner{position:relative;z-index:2;height:100%;display:flex;align-items:center}
.hero-slider .hero-copy{max-width:660px}
.hero-slider .hero-slider-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(35,70,150,.35);background:rgba(255,255,255,.78);color:#2d50b7;font-size:28px;line-height:1;cursor:pointer}
.hero-slider .hero-prev{left:18px}.hero-slider .hero-next{right:18px}
.hero-slider .hero-slider-arrow:hover{background:#2d50b7;color:#fff}
.hero-dots{position:absolute;z-index:3;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:8px}
.hero-dots button{width:10px;height:10px;border-radius:50%;border:1px solid #2d50b7;background:rgba(255,255,255,.7);padding:0;cursor:pointer}
.hero-dots button.active{background:#2d50b7}
.hero-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:14px 0 28px}
.hero-setting-card{border:1px solid var(--line);padding:16px;background:#fff}
.hero-setting-card h3{margin:0 0 10px;font-size:17px;color:#29448f}
.hero-setting-card label{display:block;font-size:13px;font-weight:600;margin:10px 0 6px}
.hero-setting-card input[type=file]{display:block;width:100%;margin:8px 0}
.hero-setting-card input[type=url]{width:100%;box-sizing:border-box;border:1px solid var(--line);padding:10px}
.hero-setting-preview{width:100%;height:130px;object-fit:cover;border:1px solid var(--line);display:block}
.hero-setting-empty{height:130px;display:flex;align-items:center;justify-content:center;background:#f3f7f9;color:#789;font-size:13px}
@media(max-width:900px){
 .hero-slider,.hero-slider .hero-inner{min-height:0}
 .hero-slider .hero-copy{max-width:560px}
 .hero-slider .hero-shade{background:linear-gradient(90deg,rgba(226,242,248,.95),rgba(226,242,248,.7))}
 .hero-slider .hero-slider-arrow{width:36px;height:36px;font-size:24px}
 .hero-settings-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .hero-slider,.hero-slider .hero-inner{min-height:0}
 .hero-slider .hero-copy{padding:55px 24px 55px 0}
 .hero-slider .hero-copy h2{font-size:34px}
 .hero-slider .hero-prev{left:8px}.hero-slider .hero-next{right:8px}
}

/* V3.4.7.1: hero slider standard size = 1920 x 450 */
.hero-slider .hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}
@media(max-width:600px){
    .hero-slider{aspect-ratio:16 / 8.5}
}

/* V3.5.10: nhận diện header/footer + thư viện video */
.brand-text{min-width:0}
.brand-kicker{font-weight:600;letter-spacing:.5px}
.brand h1{font-weight:800!important;text-transform:uppercase;letter-spacing:.2px;font-size:31px;line-height:1.02}
.footer-brand-kicker{display:block;color:#dce7ff;font:600 12px/1.15 Arial,sans-serif;letter-spacing:.4px;text-transform:uppercase;margin:2px 0 3px}
.footer-brand h3{text-transform:uppercase;font-weight:800!important;font-size:22px!important;margin:0 0 4px!important}
.library-head{display:flex;justify-content:space-between;align-items:end;gap:20px}
.library-head .section-title{margin-bottom:6px}
.library-head>a{white-space:nowrap}
.video-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}
.video-card{border:1px solid var(--line);background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(27,61,91,.04)}
.video-card-media{display:block;position:relative;aspect-ratio:16/9;background:#edf3f5;overflow:hidden}
.video-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.video-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:44px;color:#2d50b7;background:#eef4f7}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:#2d50b7;color:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;padding-left:3px;box-shadow:0 4px 15px rgba(0,0,0,.18)}
.video-card-body{padding:14px 16px 18px}.video-card-body small{font-size:11px;color:var(--muted)}.video-card-body h2{font:600 20px/1.3 "Playfair Display",serif;color:#29448f;margin:6px 0 8px}.video-card-body h2 a{color:inherit}.video-card-body p{margin:0;font-size:14px;line-height:1.6}
.video-player{position:relative;width:100%;max-width:1000px;aspect-ratio:16/9;background:#111;margin:22px auto;overflow:hidden}.video-player iframe,.video-player video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}.video-description{max-width:900px;margin:22px auto;font-size:15px;line-height:1.75}.video-error{padding:18px;background:#fff3f3;border:1px solid #eccaca;color:#9b3d3d}
.album-video-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:34px 0}.album-video-list .post-album-head{grid-column:1/-1}.album-video-card{min-width:0}
.video-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.video-admin-card{overflow:hidden}.video-admin-card>img,.video-admin-placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;background:#eef4f7}.video-admin-placeholder{display:flex;align-items:center;justify-content:center;font-size:42px}.video-admin-card h3{margin:12px 0 5px;color:#29448f}.video-admin-card p{font-size:13px;line-height:1.5}.video-admin-actions{font-size:13px}.video-admin-actions form{margin:0}.video-thumb-preview{display:block;width:260px;max-width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--line);margin:8px 0}
@media(max-width:900px){.video-list{grid-template-columns:repeat(2,minmax(0,1fr))}.video-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.album-video-list{grid-template-columns:1fr}.brand h1{font-size:27px}}
@media(max-width:650px){.library-head{display:block}.library-head>a{display:inline-block;margin-top:8px}.video-list,.video-admin-grid{grid-template-columns:1fr}.brand img{width:52px;height:52px}.brand-kicker{font-size:9px;letter-spacing:.25px}.brand h1{font-size:21px;line-height:1.05}.motto{font-size:12px}.head{gap:10px}.footer-brand h3{font-size:20px!important}}

/* V3.5.11: footer brand compact - keep site name on one line on desktop */
.footer-brand h3{font-size:20px!important;line-height:1.05!important;white-space:nowrap!important}
@media(max-width:650px){.footer-brand h3{font-size:20px!important;white-space:nowrap!important}}

/* V3.5.14: sticky navigation - menu remains visible while scrolling */
.nav{
    position:sticky;
    top:0;
    z-index:5000;
}
.nav{transition:box-shadow .2s ease}
.nav:hover{box-shadow:0 4px 16px rgba(22,61,113,.14)}
@media(max-width:900px){
    .nav{position:sticky;top:0}
}

/* V3.5.14: floating registration form */
.floating-register-btn{position:fixed;right:20px;bottom:22px;z-index:3200;border:1px solid rgba(255,255,255,.8);border-radius:28px;background:#293f7f;color:#fff;padding:12px 18px;box-shadow:0 4px 14px rgba(0,0,0,.25);font:600 14px/1.2 Arial,sans-serif;display:flex;align-items:center;gap:8px;cursor:pointer;transition:transform .15s ease,background .15s ease}
.floating-register-btn:hover{background:#24449b;transform:translateY(-1px)}
.floating-register-icon{width:20px;height:20px;border:1px solid rgba(255,255,255,.8);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.registration-modal[hidden]{display:none!important}
.registration-modal{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.registration-backdrop{position:absolute;inset:0;background:rgba(10,20,35,.55);backdrop-filter:blur(2px)}
.registration-dialog{position:relative;z-index:1;width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid var(--line);box-shadow:0 18px 50px rgba(10,30,60,.28);padding:28px}
.registration-dialog h2{margin:0 40px 7px 0;color:#29448f;font-family:Georgia,serif;font-size:28px;line-height:1.2}
.registration-dialog>p{margin:0 0 18px;color:var(--muted);line-height:1.6}
.registration-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#6b7480;font-size:28px;line-height:1;cursor:pointer}
.registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.registration-form label{display:block;font-size:14px;font-weight:600;margin:0 0 7px}
.registration-form input,.registration-form select,.registration-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);background:#fff;padding:12px 13px;font:inherit;color:inherit;border-radius:0}
.registration-form textarea{resize:vertical;min-height:120px}
.registration-form>label{margin-top:15px}
.registration-actions{display:flex;gap:10px;align-items:center;margin-top:17px}
.registration-cancel{border:1px solid var(--line);background:#fff;color:#29448f;padding:10px 16px;cursor:pointer}
.registration-notice{padding:11px 13px;margin:10px 0 14px;border-left:3px solid #999;background:#f5f7f9}
.registration-notice.success{border-left-color:#4e8b5b;background:#eef8f0}
.registration-notice.error{border-left-color:#c75b5b;background:#fff3f3}
body.registration-modal-open{overflow:hidden}
@media(max-width:650px){.floating-register-btn{right:12px;bottom:14px;padding:10px 14px;font-size:13px}.registration-modal{padding:10px}.registration-dialog{max-height:calc(100vh - 20px);padding:22px 18px}.registration-grid{grid-template-columns:1fr}.registration-dialog h2{font-size:24px}}

/* V3.5.19: tìm kiếm toàn website + mạng xã hội trên header */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.top-right{display:flex;align-items:center;gap:18px}.top-socials{display:flex;align-items:center;gap:7px}.top-social-label{opacity:.9;font-size:11px}.top-socials a{display:inline-flex!important;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid rgba(255,255,255,.55);border-radius:50%;color:#fff!important;font-size:11px!important;line-height:1!important;margin:0!important;padding:0!important}.top-socials a:hover{background:#fff;color:var(--blue-dark)!important}
.nav-search{display:flex;align-items:center;margin-left:auto;padding:0 7px 0 5px}.nav-search input{width:145px;height:32px;border:1px solid #d5dfe5;padding:6px 9px;font:12px/1.2 "Be Vietnam Pro",Arial,sans-serif;color:var(--ink);background:#fff}.nav-search input:focus{outline:2px solid #dce7ff;border-color:#5575c5}.nav-search button{height:32px;width:34px;border:1px solid #2d50b7;border-left:0;background:#2d50b7;color:#fff;cursor:pointer;font-size:18px;line-height:1}.nav-search button:hover{background:#24449b}
.search-page{padding:30px 0 55px}.search-form-large{display:flex;max-width:720px;margin:0 0 25px}.search-form-large input{flex:1;border:1px solid #ccd9df;padding:12px 14px;font:15px/1.4 "Be Vietnam Pro",Arial,sans-serif}.search-form-large button{border:0;background:var(--blue);color:#fff;padding:0 22px;font-weight:700;cursor:pointer}.search-summary{color:#6b7780;margin-bottom:18px}.search-results{display:grid;gap:12px}.search-result{border:1px solid #d9e4e9;background:#fff;padding:17px 20px}.search-result h2{font:600 21px/1.25 "Playfair Display",serif;margin:0 0 5px}.search-result h2 a{color:var(--blue)}.search-result .result-meta{font-size:12px;color:#78848b;margin-bottom:7px}.search-result p{margin:0;color:#37434b}.search-empty{padding:25px;border:1px dashed #ccd9df;background:#fafcfd;color:#59656d}
@media(max-width:900px){.top-right{gap:10px}.top-social-label{display:none}.nav-search{display:none}.nav-inner.menu-open .nav-search{display:flex;width:100%;padding:7px 12px;border-top:1px solid #e2eaee}.nav-inner.menu-open .nav-search input{flex:1;width:auto}.nav-inner.menu-open .nav-toggle{margin-left:auto}.nav-inner{position:relative}}
@media(max-width:600px){.top .container{display:flex;justify-content:space-between;align-items:center}.top-right>span{display:none}.top-socials{display:flex}.top{font-size:11px}.search-form-large{width:100%}}

/* V3.5.30: newsletter popup tối giản + thống kê truy cập footer */
.newsletter-modal[hidden]{display:none!important}
.newsletter-modal{position:fixed;left:18px;bottom:18px;z-index:7000;width:min(350px,calc(100vw - 36px));box-sizing:border-box}
.newsletter-dialog{position:relative;z-index:1;width:100%;box-sizing:border-box;background:#fff;border:1px solid var(--line);box-shadow:0 7px 24px rgba(10,30,60,.22);padding:14px 14px 13px;text-align:left;border-radius:4px}
.newsletter-dialog h2{margin:0 28px 10px 0;color:#29448f;font-family:"Playfair Display",serif;font-size:19px;font-weight:600;line-height:1.25;white-space:nowrap}
.newsletter-close{position:absolute;right:4px;top:2px;border:0;background:transparent;color:#69737b;font-size:23px;line-height:1;cursor:pointer;padding:3px 7px}
.newsletter-input-row{display:flex;gap:7px}.newsletter-input-row input{flex:1;min-width:0;border:1px solid var(--line);padding:8px 9px;font:13px/1.3 "Be Vietnam Pro",Arial,sans-serif;box-sizing:border-box}.newsletter-input-row .btn{white-space:nowrap;padding:0 12px;font-size:12px}
.newsletter-message{min-height:0;margin-top:6px;font-size:11px;line-height:1.35}.newsletter-message.success{color:#39754a}.newsletter-message.error{color:#a64646}
.footer-stats{min-width:0}.visit-stats-list{display:grid;gap:3px}.visit-stats-list>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.visit-stats-list strong{font-weight:700;color:#fff}.visit-chart{height:38px;display:flex;align-items:flex-end;gap:4px;margin-top:10px;padding:0 2px;border-bottom:1px solid rgba(255,255,255,.28)}.visit-chart span{flex:1;min-width:4px;background:rgba(255,255,255,.7);border-radius:2px 2px 0 0;display:block}.visit-chart-label{font-size:10px;opacity:.75;margin-top:4px}
@media(max-width:900px){.newsletter-modal{left:12px;bottom:12px}.newsletter-dialog h2{font-size:18px}}
@media(max-width:520px){.newsletter-modal{left:10px;right:10px;bottom:10px;width:auto}.newsletter-dialog{padding:12px}.newsletter-dialog h2{font-size:17px;white-space:normal;margin-bottom:8px}.newsletter-input-row .btn{padding:0 10px}}


/* V3.5.32: Tiêu điểm - một dòng, chỉ chạy trong khung website */
.spotlight{display:block!important;background:#fff!important;border-bottom:1px solid #dbe4e9;box-shadow:0 1px 4px rgba(20,50,80,.05);overflow:hidden;height:42px!important}
.spotlight-inner{display:flex!important;align-items:stretch!important;height:42px!important;min-height:42px!important;overflow:hidden!important;width:min(1180px,92%)!important;margin:0 auto!important}
.spotlight-label{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:7px;background:#c63d50!important;color:#fff!important;padding:0 20px!important;font-size:13px!important;font-weight:800!important;text-transform:uppercase;position:relative;z-index:2;box-shadow:8px 0 14px rgba(25,55,90,.08);white-space:nowrap!important;height:42px!important;box-sizing:border-box!important}

.spotlight-label:after{content:"";position:absolute;right:-13px;top:0;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:13px solid #c63d50}
.spotlight-window{flex:1;min-width:0;overflow:hidden;position:relative;display:flex;align-items:center;background:#fff}
.spotlight-track{display:flex;align-items:center;flex:0 0 auto;width:max-content;white-space:nowrap;will-change:transform}
.spotlight-item{display:inline-flex;flex:0 0 auto;align-items:center;white-space:nowrap;color:#58636c;font:italic 13px/1.3 "Be Vietnam Pro",Arial,sans-serif;text-decoration:none;margin:0 30px 0 22px;position:relative}
.spotlight-item:before{content:"★";color:#2d3d50;font-style:normal;margin-right:9px;font-size:11px}
.spotlight-item:hover,.spotlight-item:focus{color:#c63d50;text-decoration:none}
.spotlight-item:focus-visible{outline:2px solid #2d50b7;outline-offset:4px}
@media(max-width:700px){.spotlight-inner{min-height:38px}.spotlight-label{padding:0 13px;font-size:11px}.spotlight-label:after{right:-10px;border-top-width:19px;border-bottom-width:19px;border-left-width:10px}.spotlight-item{font-size:12px;margin-right:24px;margin-left:18px}}

/* V3.5.36: spotlight cache-safe one-line layout */
.spotlight-window{height:42px!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;display:flex!important;align-items:center!important}
.spotlight-track{display:flex!important;align-items:center!important;flex:0 0 auto!important;width:max-content!important;white-space:nowrap!important}
.spotlight-item{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important;line-height:42px!important;height:42px!important;align-items:center!important}
@media(max-width:700px){.spotlight{height:38px!important}.spotlight-inner{height:38px!important;min-height:38px!important}.spotlight-label{height:38px!important}.spotlight-window{height:38px!important}.spotlight-item{height:38px!important;line-height:38px!important}}


/* V3.5.39: Tiêu điểm - đúng vùng menu/tìm kiếm + vòng lặp CSS liền mạch */
.spotlight{display:block!important;background:#fff!important;border-bottom:1px solid #dbe4e9;box-shadow:0 1px 4px rgba(20,50,80,.05);overflow:hidden!important;height:42px!important;min-height:42px!important}
.spotlight-inner{display:flex!important;align-items:stretch!important;height:42px!important;min-height:42px!important;width:1180px!important;max-width:92%!important;margin-left:auto!important;margin-right:auto!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
.spotlight-label{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:7px;background:#c63d50!important;color:#fff!important;padding:0 20px!important;font-size:13px!important;font-weight:800!important;text-transform:uppercase;position:relative;z-index:3;white-space:nowrap!important;height:42px!important;box-sizing:border-box!important}
.spotlight-label:after{content:"";position:absolute;right:-13px;top:0;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:13px solid #c63d50}
.spotlight-window{position:relative!important;flex:1 1 auto!important;min-width:0!important;width:0!important;height:42px!important;overflow:hidden!important;background:#fff!important;white-space:nowrap!important;box-sizing:border-box!important}
.spotlight-track{position:absolute!important;left:0;top:0;height:42px!important;display:flex!important;align-items:center!important;width:max-content!important;max-width:none!important;flex-wrap:nowrap!important;white-space:nowrap!important;will-change:transform;animation:spotlight-marquee 75s linear infinite!important}
.spotlight-set{display:flex!important;align-items:center!important;flex:0 0 auto!important;width:max-content!important;max-width:none!important;height:42px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.spotlight-item{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;width:max-content!important;max-width:none!important;height:42px!important;white-space:nowrap!important;word-break:keep-all!important;overflow:visible!important;color:#58636c;font:italic 13px/42px "Be Vietnam Pro",Arial,sans-serif;text-decoration:none;margin:0 30px 0 22px;position:relative}
.spotlight-item:before{content:"★";color:#2d3d50;font-style:normal;margin-right:9px;font-size:11px}
.spotlight-item:hover,.spotlight-item:focus{color:#c63d50;text-decoration:none}
.spotlight-window:hover .spotlight-track,.spotlight-window:focus-within .spotlight-track{animation-play-state:paused!important}
@keyframes spotlight-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media(max-width:700px){
  .spotlight{height:38px!important;min-height:38px!important}
  .spotlight-inner{height:38px!important;min-height:38px!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
  .spotlight-label{height:38px!important;min-height:38px!important;padding:0 13px!important;font-size:11px!important;line-height:38px!important}
  .spotlight-label:after{right:-10px;top:0;border-top-width:19px;border-bottom-width:19px;border-left-width:10px}
  .spotlight-window{height:38px!important;min-width:0!important;width:0!important;flex:1 1 auto!important}
  .spotlight-track{height:38px!important;animation-duration:58s!important}
  .spotlight-set{height:38px!important}
  .spotlight-item{height:38px!important;line-height:38px!important;font-size:12px!important;margin-left:18px!important;margin-right:24px!important}
}
/* V3.5.40: đồng đều chiều cao card theo bài cao nhất */

.home-news .news-track,
.home-liturgy-news .news-track,
.home-reflection-news .news-track {
    align-items: stretch;
}

.home-news .news-slide,
.home-liturgy-news .news-slide,
.home-reflection-news .news-slide {
    align-self: stretch;
    height: auto;
    display: flex;
    flex-direction: column;
}

.home-news .news-slide .post-body,
.home-liturgy-news .news-slide .post-body,
.home-reflection-news .news-slide .post-body {
    flex: 1 1 auto;
    min-height: 0;
}
/* ============================================================
   B6: BREADCRUMB + BÀI VIẾT LIÊN QUAN
   ============================================================ */

.post-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:0;
    margin:0 0 12px;
    font-size:12px;
    line-height:1.6;
    color:#7b858c;
}

.post-breadcrumb a{
    color:#52647a;
    text-decoration:none;
}

.post-breadcrumb a:hover{
    color:#2d50b7;
    text-decoration:underline;
}

.post-breadcrumb-separator{
    margin:0 7px;
    color:#a0a9af;
    user-select:none;
}


/* ============================================================
   TÓM TẮT BÀI VIẾT
   ============================================================ */

.post-excerpt{
    margin:0 0 22px;
    color:#59636b;
    line-height:1.75;
}


/* ============================================================
   LIÊN KẾT VỀ CHUYÊN MỤC
   ============================================================ */

.post-category-link{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    margin:30px 0 8px;
    padding:13px 15px;
    border-left:3px solid #2d50b7;
    background:#f3f8fa;
    color:#69747c;
    font-size:13px;
    line-height:1.6;
}

.post-category-link span{
    color:#69747c;
}

.post-category-link a{
    color:#2d50b7;
    font-weight:700;
}

.post-category-link a:hover{
    color:#704d42;
    text-decoration:underline;
}


/* ============================================================
   BÀI VIẾT LIÊN QUAN
   ============================================================ */

.related-posts{
    margin:38px 0 8px;
    padding-top:28px;
    border-top:1px solid var(--line);
}

.related-posts-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:17px;
}

.related-posts-heading h2{
    margin:0;
    color:#29448f;
    font:600 27px/1.3 "Playfair Display",serif;
}

.related-posts-more{
    flex:0 0 auto;
    font-size:12px;
    font-weight:700;
    color:#2d50b7;
}

.related-posts-more:hover{
    color:#704d42;
}


.related-posts-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}


.related-post-card{
    min-width:0;
    border:1px solid var(--line);
    background:#fff;
    overflow:hidden;
    box-shadow:0 4px 14px rgba(27,61,91,.045);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.related-post-card:hover{
    transform:translateY(-2px);
    border-color:#bfd0dc;
    box-shadow:0 9px 22px rgba(27,61,91,.10);
}


/* ============================================================
   ẢNH BÀI LIÊN QUAN
   ============================================================ */

.related-post-image{
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    overflow:hidden;
    background:#edf4f6;
}

.related-post-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}

.related-post-card:hover .related-post-image img{
    transform:scale(1.035);
}


.related-post-image-empty{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(
        135deg,
        #eef7fa,
        #dcecf2
    );
    color:#2d50b7;
    font-size:30px;
}

.related-post-image-empty:hover{
    color:#704d42;
}


/* ============================================================
   NỘI DUNG CARD
   ============================================================ */

.related-post-body{
    padding:13px 15px 16px;
}

.related-post-meta{
    margin-bottom:5px;
    color:#8a949b;
    font-size:10px;
    line-height:1.4;
}

.related-post-body h3{
    margin:0 0 7px;
    font:600 18px/1.35 "Playfair Display",serif;
}

.related-post-body h3 a{
    color:#29448f;
    text-decoration:none;
}

.related-post-body h3 a:hover{
    color:#704d42;
}

.related-post-body p{
    margin:0;
    color:#667179;
    font-size:13px;
    line-height:1.6;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width:700px){

    .post-breadcrumb{
        font-size:11px;
        margin-bottom:10px;
    }

    .post-breadcrumb-separator{
        margin:0 5px;
    }

    .related-posts{
        margin-top:32px;
        padding-top:24px;
    }

    .related-posts-heading{
        align-items:flex-start;
    }

    .related-posts-heading h2{
        font-size:24px;
    }

    .related-posts-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .related-post-body h3{
        font-size:18px;
    }

}


@media(max-width:500px){

    .post-breadcrumb{
        line-height:1.8;
    }

    .post-category-link{
        margin-top:25px;
        padding:11px 12px;
    }

    .related-posts-heading{
        display:block;
    }

    .related-posts-more{
        display:inline-block;
        margin-top:6px;
    }

    .related-post-image{
        aspect-ratio:16 / 9;
    }

}
/* B6.1: Bài viết liên quan - các card đồng đều chiều cao */

.related-posts-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
}

.related-post-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.related-post-body{
    flex:1 1 auto;
}


/* B6.2: Trang bài viết - tránh sidebar bị chật */

@media(max-width:1000px){
    .page-grid{
        grid-template-columns:1fr;
    }

    .sidebar{
        width:100%;
    }
}
/* =========================================================
   HƯỚNG DẪN ĐƯỜNG ĐI - BẢN ĐƠN GIẢN
   ========================================================= */

.route-guide {
    max-width: 1024px;
    margin: 0 auto;

    color: #263746;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.route-guide *,
.route-guide *::before,
.route-guide *::after {
    box-sizing: border-box;
}


/* BẢN ĐỒ + ĐIỂM ĐẾN */

.rg-intro {
    display: grid;
    grid-template-columns: 1.7fr .85fr;
    gap: 14px;
    align-items: stretch;
}

.rg-map {
    min-height: 350px;

    overflow: hidden;

    background: #eef7ed;
    border: 1px solid #d2e1d0;
    border-radius: 9px;
}

.rg-map svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
}


/* ĐIỂM ĐẾN */

.rg-destination {
    padding: 16px;

    background: #fff;

    border: 1px solid #d8e2ea;
    border-radius: 9px;

    box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.rg-destination-icon {
    width: 24px;
    height: 24px;

    margin-bottom: 4px;

    color: #d42d69;
    font-size: 25px;
    line-height: 20px;
}

.rg-destination h2 {
    margin: 0 0 7px;

    color: #1b5795;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.2;
}

.rg-destination h3 {
    margin: 0 0 10px;

    color: #6d4025;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.35;
}

.rg-destination p {
    margin: 7px 0;

    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.rg-destination strong {
    color: #315a80;
}


/* GOOGLE MAPS */

.rg-map-button {
    display: block;

    margin-top: 12px;
    padding: 10px 9px;

    color: #fff !important;
    background: #1679c9;

    border-radius: 7px;

    text-align: center;
    text-decoration: none !important;

    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.rg-map-button:hover {
    background: #0c67ae;
}


/* QUOTE */

.rg-quote {
    margin-top: 10px;
    padding: 12px 9px;

    background: #f1f8fc;

    border-radius: 9px;

    color: #315c82;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    line-height: 1.5;
    font-style: italic;

    text-align: center;
}


/* =========================================================
   TIÊU ĐỀ
   ========================================================= */

.rg-heading {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 16px 0 10px;

    text-align: center;
}

.rg-heading h2 {
    margin: 0;

    color: #15599a;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.25;
}

.rg-heading p {
    margin: 2px 0 0;

    color: #6c8192;

    font-size: 11px;
    line-height: 1.4;
}

.rg-heading-icon,
.rg-road-icon {
    color: #0879b8;
    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   NÚT ĐIỂM XUẤT PHÁT
   ========================================================= */

.rg-origin-buttons {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 8px;

    margin: 0 0 22px;
}

.rg-origin-buttons a {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    min-height: 37px;

    padding: 5px 6px;

    background: #fff;

    border: 1px solid currentColor;
    border-radius: 6px;

    text-decoration: none;

    font-size: 11px;
    line-height: 1.15;
    font-weight: 700;

    transition: .15s ease;
}

.rg-origin-buttons a:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 9px rgba(0,0,0,.08);
}

.route-icon {
    font-size: 17px;
    line-height: 1;
}

.rg-origin-buttons .brown {
    color: #75401f;
}

.rg-origin-buttons .green {
    color: #23804a;
}

.rg-origin-buttons .blue {
    color: #0877d1;
}

.rg-origin-buttons .red {
    color: #d72d36;
}

.rg-origin-buttons .purple {
    color: #763bb8;
}

.rg-origin-buttons .coffee {
    color: #704324;
}

.rg-origin-buttons .gold {
    color: #bd8b16;
}


/* =========================================================
   CÁC TUYẾN
   ========================================================= */

.rg-details {
    margin-top: 4px;
}

.rg-heading-center {
    margin-bottom: 12px;
}

.rg-route-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}

.rg-route-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 10px;

    background: #fff;

    border: 1px solid #d9e4ec;
    border-radius: 7px;

    box-shadow: 0 2px 8px rgba(20,70,100,.05);
}

.rg-route-card.rg-wide {
    grid-column: span 1;
}

.rg-route-card h3 {
    margin: 0 0 7px;

    color: #145a91;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.2;
}

.rg-route-card ul {
    flex: 1;

    margin: 0 0 7px;
    padding-left: 15px;

    font-size: 10px;
    line-height: 1.45;
}

.rg-route-card li {
    margin: 2px 0;
}

.rg-route-info {
    padding-top: 6px;

    border-top: 1px dashed #d6e1e8;

    color: #65798a;

    font-size: 9px;
    line-height: 1.45;
}

.rg-route-info span {
    display: block;
}

.rg-route-card > a {
    margin-top: 5px;

    color: #0875bb;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.rg-route-card > a:hover {
    text-decoration: underline;
}


/* =========================================================
   LƯU Ý
   ========================================================= */

.rg-notice {
    display: grid;

    grid-template-columns: 34px 1fr;

    gap: 8px;

    margin-top: 14px;
    padding: 13px;

    background: #edf7fd;

    border: 1px solid #cde4f2;
    border-radius: 8px;
}

.rg-notice-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    background: #1682c9;

    font-weight: 700;
}

.rg-notice h2 {
    margin: 0 0 5px;

    color: #15599a;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}

.rg-notice ul {
    margin: 0;
    padding-left: 17px;

    font-size: 10px;
    line-height: 1.5;
}

.rg-notice li {
    margin: 2px 0;
}


/* CÂU KẾT */

.rg-final-quote {
    margin: 6px 0 0;
    padding: 11px;

    background: #f3f9fc;
    border-radius: 7px;

    color: #315c82;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    line-height: 1.45;
    font-style: italic;

    text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .rg-intro {
        grid-template-columns: 1.5fr 1fr;
    }

    .rg-origin-buttons {
        grid-template-columns: repeat(4, 1fr);
    }

    .rg-route-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .rg-intro {
        grid-template-columns: 1fr;
    }

    .rg-map,
    .rg-map svg {
        min-height: 300px;
    }

    .rg-origin-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .rg-route-grid {
        grid-template-columns: 1fr;
    }

    .rg-route-card.rg-wide {
        grid-column: auto;
    }

    .rg-heading {
        justify-content: flex-start;
        text-align: left;
    }

    .rg-heading h2 {
        font-size: 18px;
    }
}