/* ============================================
   Blog styles — SEO website content + dicloud theme overrides
   Covers: blog.html, blog-dicloud.html, blog-dihotel.html, blog/*.html
   ============================================ */

/* Dark navy body (override style.css body:#fff) */
body{background:#00112A!important;color:rgba(255,255,255,.88)}

/* Navbar always dark on blog pages */
.navbar{background:rgba(0,17,42,.95)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}

/* ── CSS Variables ── */
:root {
  --primary:      #C9A227;
  --primary-dark: #B8911E;
  --dark:         #001A3A;
  --dark2:        #00112A;
  --bg-muted:     rgba(255,255,255,.04);
  --border:       rgba(255,255,255,.1);
  --text-muted:   rgba(255,255,255,.55);
  --text-body:    rgba(255,255,255,.82);
  --green:        #10B981;
}

/* ── Buttons ── */
.btn{display:inline-block;padding:.8rem 1.8rem;border-radius:8px;font-weight:600;text-decoration:none;transition:all .2s;cursor:pointer;border:none;font-size:1rem;font-family:inherit}
.btn-primary{background:var(--primary);color:#00112A}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 14px rgba(201,162,39,.4)}
.btn-outline{border:2px solid var(--primary);color:var(--primary);background:transparent}
.btn-outline:hover{background:var(--primary);color:#00112A}
.btn-dark{background:var(--dark);color:#fff}
.btn-dark:hover{background:var(--dark2)}
.btn-sm{padding:.5rem 1.2rem;font-size:.875rem}
.btn-group{display:flex;gap:1rem;flex-wrap:wrap}

/* ── Hero ── */
.hero{background:#00112A;color:#fff!important;padding:5rem 0;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 80% at 20% 10%,rgba(0,113,194,.3) 0%,transparent 60%),radial-gradient(ellipse 55% 55% at 80% 90%,rgba(0,53,128,.4) 0%,transparent 55%),linear-gradient(160deg,#00112A 0%,#001B4E 40%,#002560 70%,#00112A 100%);pointer-events:none;z-index:0}
.hero .container{position:relative;z-index:1}
.hero-badge{display:inline-block;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.85);padding:.35rem 1.1rem;border-radius:var(--r-full,50px);font-size:.82rem;font-weight:600;margin-bottom:1.5rem;letter-spacing:.04em}
.hero h1{font-size:3.2rem;font-weight:900;line-height:1.12;margin-bottom:1.5rem;max-width:820px;margin-left:auto;margin-right:auto;color:#fff!important;letter-spacing:-.02em}
.hero h1 em{color:#C9A227;font-style:normal}
.hero p{font-size:1.1rem;color:rgba(255,255,255,.72)!important;max-width:650px;margin:0 auto 2.5rem;line-height:1.7}
.hero .btn-group{justify-content:center}
.hero-stats{display:flex;justify-content:center;gap:3rem;margin-top:3.5rem;flex-wrap:wrap}
.hero-stat{text-align:center}
.hero-stat strong{display:block;font-size:2rem;font-weight:800;color:#C9A227}
.hero-stat span{font-size:.85rem;color:rgba(255,255,255,.5)}

/* ── Sections ── */
.section{padding:4.5rem 0}
.section-alt{background:rgba(255,255,255,.03)}
.section-dark{background:var(--dark);color:#fff}
.section-header{text-align:center;margin-bottom:3rem}
.section-label{display:inline-block;color:var(--primary);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.75rem}
.section-title{font-size:2.1rem;font-weight:700;color:#fff;margin-bottom:.75rem}
.section-dark .section-title{color:#fff}
.section-subtitle{color:rgba(255,255,255,.6);font-size:1.05rem;max-width:600px;margin:0 auto}

/* ── Sections — match homepage style ── */

/* Plain section: white bg, dark text */
.section:not(.section-alt):not(.section-dark):not(.blog-hero):not(.blog-dark-section){background:#fff}
.section:not(.section-alt):not(.section-dark):not(.blog-dark-section) .section-label{color:#003580}
.section:not(.section-alt):not(.section-dark):not(.blog-dark-section) .section-title{color:#0A1628!important}
.section:not(.section-alt):not(.section-dark):not(.blog-dark-section) .section-subtitle{color:#4B6080!important}

/* section-alt: light gray bg like homepage */
.section-alt{background:#F5F8FC!important}
.section-alt .section-label{color:#003580}
.section-alt .section-title{color:#0A1628!important}
.section-alt .section-subtitle{color:#4B6080!important}
.section-alt .card{background:#fff;border:1px solid #D0E3F0;box-shadow:0 2px 12px rgba(0,53,128,.06)}
.section-alt .card:hover{border-color:#003580;box-shadow:0 8px 28px rgba(0,53,128,.12);transform:translateY(-3px)}
.section-alt .card-icon{background:rgba(0,53,128,.07)}
.section-alt .card h3{color:#0A1628}
.section-alt .card p{color:#4B6080}

/* section-dark: dùng bg-navy + mesh như homepage support section */
.blog-dark-section{position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
.blog-dark-section::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:48px 48px;pointer-events:none;z-index:0}
.blog-dark-section .container{position:relative;z-index:1}
.blog-dark-section .section-label{color:#C9A227}
.blog-dark-section .section-title{color:#fff!important}
.blog-dark-section p{color:rgba(255,255,255,.75)!important}
.blog-dark-section a[href]{color:#C9A227!important}

/* ── Section #tinh-nang — light bg như products trang chủ ── */
#tinh-nang .section-label{color:#003580}
#tinh-nang .section-title{color:#0A1628!important}
#tinh-nang .section-subtitle{color:#4B6080!important}
#tinh-nang .section-subtitle a{color:#003580}
#tinh-nang .card{background:#fff;border:1px solid #D0E3F0;box-shadow:0 2px 12px rgba(0,53,128,.06)}
#tinh-nang .card:hover{border-color:#003580;box-shadow:0 8px 28px rgba(0,53,128,.12);transform:translateY(-3px)}
#tinh-nang .card-icon{background:rgba(0,53,128,.07)}
#tinh-nang .card h3{color:#0A1628}
#tinh-nang .card p{color:#4B6080}

/* ── DiHotel Promo section ── */
.bds-wrap{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.bds-tag{display:inline-block;background:rgba(201,162,39,.18);border:1px solid rgba(201,162,39,.35);color:#C9A227;font-size:.78rem;font-weight:700;padding:.3rem 1rem;border-radius:50px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:1.25rem}
.bds-title{font-size:2.2rem;font-weight:800;color:#fff!important;line-height:1.2;margin-bottom:1.25rem;letter-spacing:-.02em}
.bds-link{color:#C9A227!important;text-decoration:none}
.bds-link:hover{text-decoration:underline}
.bds-desc{color:rgba(255,255,255,.72)!important;line-height:1.8;margin-bottom:2rem;font-size:1rem}
.bds-desc strong{color:#fff!important;font-weight:600}
.bds-btn{display:inline-flex;align-items:center;gap:.5rem;background:#C9A227;color:#001A3A;font-size:.95rem;font-weight:700;padding:.85rem 2rem;border-radius:50px;text-decoration:none;box-shadow:0 4px 18px rgba(201,162,39,.35);transition:all .2s}
.bds-btn:hover{background:#E8C240;transform:translateY(-2px);box-shadow:0 8px 28px rgba(201,162,39,.5)}
.bds-cards{display:flex;flex-direction:column;gap:1rem}
.bds-card{display:flex;align-items:flex-start;gap:1rem;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:1.25rem 1.5rem;transition:all .2s}
.bds-card:hover{background:rgba(255,255,255,.11);border-color:rgba(201,162,39,.3);transform:translateX(4px)}
.bds-card-icon{font-size:1.6rem;flex-shrink:0;width:44px;height:44px;background:rgba(201,162,39,.12);border-radius:10px;display:flex;align-items:center;justify-content:center}
.bds-card-title{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:.3rem}
.bds-card-desc{font-size:.875rem;color:rgba(255,255,255,.6);line-height:1.6}
@media(max-width:768px){
  .bds-wrap{grid-template-columns:1fr;gap:2.5rem}
  .bds-title{font-size:1.7rem}
}

/* ── Feature Cards ── */
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}
.card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:1.75rem;transition:all .2s}
.card:hover{box-shadow:0 8px 28px rgba(0,0,0,.3);transform:translateY(-3px);border-color:rgba(201,162,39,.4)}
.card-icon{width:52px;height:52px;background:rgba(201,162,39,.12);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin-bottom:1rem}
.card h3{font-size:1.05rem;font-weight:600;margin-bottom:.5rem;color:#fff}
.card p{color:rgba(255,255,255,.65);font-size:.9rem;line-height:1.6}

/* ── Blog Cards ── */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;padding:0 0 72px}
.blog-card{display:block;background:#fff;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:all .2s;box-shadow:0 4px 20px rgba(0,0,0,.25)}
.blog-card:hover{box-shadow:0 12px 36px rgba(0,0,0,.4);transform:translateY(-4px)}
.blog-card-cover{height:180px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.blog-card-cover.dc{background:linear-gradient(135deg,#001A3A 0%,#003580 100%)}
.blog-card-cover.dh{background:linear-gradient(135deg,#0F172A 0%,#1e3a6e 100%)}
.cover-icon-circle{width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:2.1rem}
.blog-card-body{padding:1.25rem}
.blog-tag{display:inline-block;background:#fef3c7;color:#92400e;font-size:.72rem;font-weight:700;padding:.2rem .7rem;border-radius:20px;margin-bottom:.75rem;text-transform:uppercase}
.blog-tag.dh{background:#dbeafe;color:#1e40af}
.blog-card h3{font-size:1rem;font-weight:600;margin-bottom:.5rem;line-height:1.45;color:#1e293b}
.blog-card p{color:#64748b;font-size:.865rem;line-height:1.55;margin-bottom:1rem}
.blog-card-meta{font-size:.78rem;color:#94a3b8;display:flex;align-items:center;gap:1rem;border-top:1px solid #e2e8f0;padding-top:.8rem}
.read-more{color:#C9A227;font-weight:600}

/* ── Blog listing hero ── */
.blog-hero{padding:110px 0 60px;text-align:center;background:#00112A;position:relative;overflow:hidden}
.blog-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 80% at 20% 10%,rgba(0,113,194,.3) 0%,transparent 60%),radial-gradient(ellipse 55% 55% at 80% 90%,rgba(0,53,128,.4) 0%,transparent 55%),linear-gradient(160deg,#00112A 0%,#001B4E 40%,#002560 70%,#00112A 100%);pointer-events:none;z-index:0}
.blog-hero .container{position:relative;z-index:1}
.blog-hero h1{font-size:2.4rem;font-weight:800;color:#fff!important;margin-bottom:.75rem;letter-spacing:-.02em}
.blog-hero p{color:rgba(255,255,255,.68);font-size:1rem;max-width:600px;margin:0 auto}
.blog-hero .hero-badge{display:inline-block;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.85);padding:.35rem 1.1rem;border-radius:50px;font-size:.82rem;font-weight:600;margin-bottom:1.25rem;letter-spacing:.04em}

/* ── SEO widget ── */
.seo-widget{background:rgba(0,0,0,.2);border-top:1px solid rgba(255,255,255,.07);padding:1.5rem 0}
.seo-widget .container{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:baseline}
.seo-widget-label{font-size:.72rem;font-weight:700;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.seo-widget a{font-size:.875rem;color:rgba(255,255,255,.55);text-decoration:underline;white-space:nowrap}
.seo-widget a:hover{color:#C9A227}
.seo-widget-sep{color:rgba(255,255,255,.2)}

/* ── Article hero ── */
.article-hero{padding:110px 0 2.5rem;color:#fff;background:#00112A;position:relative;overflow:hidden}
.article-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 80% at 20% 10%,rgba(0,113,194,.3) 0%,transparent 60%),radial-gradient(ellipse 55% 55% at 80% 90%,rgba(0,53,128,.4) 0%,transparent 55%),linear-gradient(160deg,#00112A 0%,#001B4E 40%,#002560 70%,#00112A 100%);pointer-events:none;z-index:0}
.article-hero .container{position:relative;z-index:1}
.breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.82rem;color:rgba(255,255,255,.45);margin-bottom:1.25rem;flex-wrap:wrap}
.breadcrumb a{color:rgba(255,255,255,.55);text-decoration:none}
.breadcrumb a:hover{color:#C9A227}
.breadcrumb-sep{color:rgba(255,255,255,.25)}
.article-tag{display:inline-block;border:1px solid rgba(201,162,39,.4);color:#C9A227;font-size:.78rem;font-weight:700;padding:.25rem .9rem;border-radius:20px;margin-bottom:1rem;text-transform:uppercase}
.article-hero h1{font-size:2.1rem;font-weight:800;line-height:1.3;max-width:800px;margin-bottom:1rem}
.article-meta{color:rgba(255,255,255,.55);font-size:.875rem;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}

/* ── Article content ── */
.article-wrap{max-width:100%;margin:2rem 0 4rem;padding:2.5rem 2.5rem 3rem;background:#fff;border-radius:16px;box-shadow:0 8px 40px rgba(0,0,0,.3)}
.article-wrap h2{font-size:1.55rem;font-weight:700;color:#1e293b;margin:2.5rem 0 1rem;padding-top:.5rem;border-top:2px solid #e2e8f0}
.article-wrap h3{font-size:1.2rem;font-weight:600;color:#1e293b;margin:1.75rem 0 .75rem}
.article-wrap p{color:#334155;line-height:1.85;margin-bottom:1.1rem}
.article-wrap ul,.article-wrap ol{margin:.75rem 0 1.25rem 1.5rem}
.article-wrap li{color:#334155;line-height:1.75;margin-bottom:.5rem}
.article-wrap a{color:#003580;text-decoration:underline}
.article-wrap a:hover{color:#C9A227}
.article-wrap table{width:100%;border-collapse:collapse;font-size:.9rem;margin:1.5rem 0}
.article-wrap thead tr{background:#1e293b}
.article-wrap thead th{color:#fff!important;padding:.75rem 1rem;text-align:left}
.article-wrap tbody td{color:#334155!important;padding:.7rem 1rem;border-bottom:1px solid #e2e8f0}
.article-wrap tbody tr:hover td{background:#f8fafc}
.article-wrap tbody td:first-child{font-weight:600;color:#1e293b!important}
.highlight-box{background:linear-gradient(135deg,#001A3A 0%,#003580 100%);border:1px solid rgba(201,162,39,.35);border-left:4px solid #C9A227;border-radius:0 12px 12px 0;padding:1.25rem 1.75rem;margin:1.75rem 0;position:relative;box-shadow:0 4px 20px rgba(0,53,128,.18)}
.highlight-box::before{content:'💡';position:absolute;top:1.1rem;right:1.25rem;font-size:1.2rem;opacity:.5}
.highlight-box p{color:rgba(255,255,255,.92)!important;margin:0;font-weight:500;line-height:1.75}
.highlight-box p strong{color:#C9A227;font-weight:700}
.info-box{background:#eff6ff;border-left:4px solid #3b82f6;padding:1rem 1.25rem;border-radius:0 10px 10px 0;margin:1.5rem 0}
.info-box p{color:#1e40af;margin:0}
.cta-box{background:linear-gradient(135deg,#001A3A,#003580);color:#fff;padding:2rem;border-radius:14px;text-align:center;margin:2.5rem 0}
.cta-box h3{color:#fff!important;font-size:1.3rem;margin-bottom:.5rem}
.cta-box p{color:rgba(255,255,255,.75)!important;margin-bottom:1.25rem}
.cta-box .btn-primary{display:inline-block;background:#C9A227;color:#001A3A!important;padding:.8rem 2rem;border-radius:50px;font-weight:700;text-decoration:none;font-size:.95rem}
.cta-box .btn-primary:hover{background:#E8C240;color:#001A3A!important}
.cta-box a:not(.btn-primary){color:#C9A227!important}

/* ── Responsive ── */
@media(max-width:768px){
  .hero h1{font-size:2.1rem}
  .section-title{font-size:1.7rem}
  .hero-stats{gap:2rem}
  .blog-hero{padding:90px 0 48px}
  .blog-hero h1{font-size:1.7rem}
  .article-hero{padding:90px 0 2rem}
  .article-hero h1{font-size:1.6rem}
  .article-wrap{padding:1.75rem 1.25rem 2.5rem;margin:1.5rem 0 3rem}
}
@media(max-width:640px){
  .hero{padding:90px 0 2.5rem}
  .hero h1{font-size:1.75rem}
  .blog-hero h1{font-size:1.6rem}
}
