/*
Theme Name:  Eurocook Blog
Theme URI:   https://blog.eurocook.com.vn
Author:      Eurocook Global
Version:     2.0.0
Description: Premium blog theme cho Eurocook — Thiết bị nhà bếp cao cấp Châu Âu
Text Domain: eurocook-blog
*/

/* ─── Design Tokens ─────────────────────────────────── */
:root {
  --bg:          #F7F4EF;
  --bg-card:     #FFFFFF;
  --header-bg:   #1C2B4A;
  --footer-bg:   #1C2B4A;
  --text:        #1C1C1C;
  --text-muted:  #7A7A7A;
  --text-light:  #ABA9A2;
  --accent:      #C9A84C;
  --accent-dark: #B8922A;
  --border:      rgba(0,0,0,0.08);
  --border-gold: rgba(184,146,42,0.25);
  --border:      #E8E4DC;
  --border-card: rgba(0,0,0,0.07);
  --bosch:    #DA291C;
  --siemens:  #00909A;
  --miele:    #8C0028;
  --vzug:     #2A3042;
  --gaggenau: #8B7458;
  --liebherr: #E05A00;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', Helvetica, sans-serif;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-hover: 0 2px 8px rgba(0,0,0,0.10), 0 8px 32px rgba(0,0,0,0.09);
  --transition: 0.22s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ─── Announcement Bar ───────────────────────────────── */
.announce-bar { background: #152038; color: rgba(255,255,255,0.75); text-align: center; font-size: 12px; letter-spacing: 0.08em; padding: 7px 20px; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.08); }
.announce-bar strong { font-weight: 600; color: var(--accent); margin-right: 6px; }
.announce-bar span { opacity: 0.85; }
/* ─── Header ─────────────────────────────────────────── */
.site-header { background: var(--header-bg); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; display: block; object-fit: contain; mix-blend-mode: screen; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.72); padding: 6px 14px; border-radius: var(--radius-sm); letter-spacing: 0.03em; transition: color var(--transition), background var(--transition); white-space: nowrap; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.main-nav a.active { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-search { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.6); padding: 8px; border-radius: var(--radius-sm); transition: color var(--transition); display: flex; align-items: center; justify-content: center; }
.btn-search:hover { color: #fff; }
.btn-cta { background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; padding: 8px 18px; border-radius: var(--radius-sm); letter-spacing: 0.05em; transition: background var(--transition); white-space: nowrap; }
.btn-cta:hover { background: var(--accent-dark); }

/* ─── Brand Strip ─────────────────────────────────────── */
.brand-strip { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 99; }
.brand-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 6px; height: 50px; overflow-x: auto; scrollbar-width: none; }
.brand-strip-inner::-webkit-scrollbar { display: none; }
.brand-strip-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); font-weight: 500; margin-right: 8px; white-space: nowrap; flex-shrink: 0; }
.brand-strip-divider { width: 1px; height: 20px; background: var(--border); margin-right: 8px; flex-shrink: 0; }
.brand-pill { display: flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em; cursor: pointer; flex-shrink: 0; border: 1.5px solid transparent; transition: all var(--transition); white-space: nowrap; }
.brand-pill .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.brand-pill.bosch    { color: var(--bosch);    border-color: rgba(218,41,28,0.2);  background: rgba(218,41,28,0.05); }
.brand-pill.siemens  { color: var(--siemens);  border-color: rgba(0,144,154,0.2);  background: rgba(0,144,154,0.05); }
.brand-pill.miele    { color: var(--miele);    border-color: rgba(140,0,40,0.2);   background: rgba(140,0,40,0.05); }
.brand-pill.vzug     { color: var(--vzug);     border-color: rgba(42,48,66,0.2);   background: rgba(42,48,66,0.05); }
.brand-pill.gaggenau { color: var(--gaggenau); border-color: rgba(139,116,88,0.25);background: rgba(139,116,88,0.06); }
.brand-pill.liebherr { color: var(--liebherr); border-color: rgba(224,90,0,0.2);   background: rgba(224,90,0,0.05); }
.brand-pill.bosch .dot    { background: var(--bosch); }
.brand-pill.siemens .dot  { background: var(--siemens); }
.brand-pill.miele .dot    { background: var(--miele); }
.brand-pill.vzug .dot     { background: var(--vzug); }
.brand-pill.gaggenau .dot { background: var(--gaggenau); }
.brand-pill.liebherr .dot { background: var(--liebherr); }
.brand-pill:hover, .brand-pill.active { color: #fff !important; border-color: transparent !important; }
.brand-pill.bosch:hover,    .brand-pill.bosch.active    { background: var(--bosch); }
.brand-pill.siemens:hover,  .brand-pill.siemens.active  { background: var(--siemens); }
.brand-pill.miele:hover,    .brand-pill.miele.active    { background: var(--miele); }
.brand-pill.vzug:hover,     .brand-pill.vzug.active     { background: var(--vzug); }
.brand-pill.gaggenau:hover, .brand-pill.gaggenau.active { background: var(--gaggenau); }
.brand-pill.liebherr:hover, .brand-pill.liebherr.active { background: var(--liebherr); }

/* ─── Page Wrapper ───────────────────────────────────── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ─── Hero Section ───────────────────────────────────── */
.hero-section { padding: 40px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.hero-main { grid-row: 1 / 3; position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.hero-main .card-img { position: absolute; inset: 0; background: linear-gradient(160deg, #1a0f08 0%, #0e1a1c 50%, #181028 100%); }
.hero-main .card-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(192,154,88,0.12) 0%, transparent 70%), linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%); }
.hero-main .card-img.has-thumb { background: none; }
.hero-main .card-img.has-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .card-img.has-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%); }
.hero-main .card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }
.hero-main .card-title-hero { font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; color: #fff; line-height: 1.3; margin: 10px 0 12px; }
.hero-main .card-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-main .card-meta span { font-size: 12px; color: rgba(255,255,255,0.55); }
.hero-main .card-meta span + span::before { content: '·'; margin-right: 10px; }

/* Hero side cards */
.hero-side { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.hero-side .card-img { position: absolute; inset: 0; }
.hero-side .card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-side .card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.80) 100%); }
.hero-side .card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; }
.hero-side .card-title-side { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: #fff; line-height: 1.35; margin: 8px 0 8px; }
.hero-side .card-meta { display: flex; gap: 8px; align-items: center; }
.hero-side .card-meta span { font-size: 11.5px; color: rgba(255,255,255,0.5); }
.hero-side .card-meta span + span::before { content: '·'; margin-right: 8px; }

/* Brand Tag */
.brand-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; color: #fff; }
.brand-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.7); }
.brand-tag.bosch    { background: var(--bosch); }
.brand-tag.siemens  { background: var(--siemens); }
.brand-tag.miele    { background: var(--miele); }
.brand-tag.vzug     { background: var(--vzug); }
.brand-tag.gaggenau { background: var(--gaggenau); }
.brand-tag.liebherr { background: var(--liebherr); }

/* Decorative bg gradients for hero fallback */
.thumb-bosch    { background: linear-gradient(135deg, #1a0a08 0%, #2d1410 40%, #0e1010 100%); }
.thumb-siemens  { background: linear-gradient(135deg, #081a1c 0%, #0a2426 40%, #0e1818 100%); }
.thumb-miele    { background: linear-gradient(135deg, #150610 0%, #1a0816 40%, #0e0e14 100%); }
.thumb-vzug     { background: linear-gradient(135deg, #0a0e1a 0%, #121828 40%, #0e1010 100%); }
.thumb-gaggenau { background: linear-gradient(135deg, #14100a 0%, #1e1610 40%, #100e0a 100%); }
.thumb-liebherr { background: linear-gradient(135deg, #1a0e06 0%, #2a1608 40%, #0e0c0a 100%); }

/* ─── Section Header ─────────────────────────────────── */
.section-header { display: flex; align-items: baseline; justify-content: space-between; padding: 40px 0 20px; border-bottom: 1.5px solid var(--border); margin-bottom: 24px; }
.section-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--text); }
.section-title em { font-style: italic; color: var(--accent); }
.section-link { font-size: 13px; color: var(--text-muted); letter-spacing: 0.03em; transition: color var(--transition); }
.section-link:hover { color: var(--accent); }

/* ─── Article Grid ───────────────────────────────────── */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }

/* Article Card */
.article-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-card); box-shadow: var(--shadow-card); transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.article-thumb-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.article-thumb-bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.thumb-circle { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.06); position: relative; z-index: 1; }
.thumb-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
.thumb-accent.bosch    { background: var(--bosch); }
.thumb-accent.siemens  { background: var(--siemens); }
.thumb-accent.miele    { background: var(--miele); }
.thumb-accent.vzug     { background: var(--vzug); }
.thumb-accent.gaggenau { background: var(--gaggenau); }
.thumb-accent.liebherr { background: var(--liebherr); }
.article-body { padding: 18px 20px 20px; }
.article-brand-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; margin-bottom: 10px; color: #fff; }
.article-brand-tag.bosch    { background: var(--bosch); }
.article-brand-tag.siemens  { background: var(--siemens); }
.article-brand-tag.miele    { background: var(--miele); }
.article-brand-tag.vzug     { background: var(--vzug); }
.article-brand-tag.gaggenau { background: var(--gaggenau); }
.article-brand-tag.liebherr { background: var(--liebherr); }
.article-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; line-height: 1.4; color: var(--text); margin-bottom: 10px; }
.article-title a { color: inherit; }
.article-title a:hover { color: var(--accent); }
.article-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.article-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.article-date { font-size: 12px; color: var(--text-light); }
.read-more { font-size: 12.5px; color: var(--accent); font-weight: 500; transition: color var(--transition); }
.read-more:hover { color: var(--accent-dark); }

/* ─── Pagination ─────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0 48px; }
.pagination a, .pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 14px; border: 1px solid var(--border); background: var(--bg-card); transition: all var(--transition); }
.pagination a:hover { background: var(--header-bg); color: #fff; border-color: var(--header-bg); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── Single Post ────────────────────────────────────── */
.single-wrap { max-width: 760px; margin: 0 auto; padding: 0 32px 64px; }
.single-hero-img { width: 100%; aspect-ratio: 16/6; object-fit: cover; border-radius: var(--radius-lg); margin: 32px 0; }
.single-header { padding-top: 40px; }
.single-header h1 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1.3; margin: 14px 0 18px; }
.post-meta-bar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.post-meta-bar .date, .post-meta-bar .author { font-size: 13px; color: var(--text-muted); }
.entry-content { font-size: 16px; line-height: 1.85; }
.entry-content h2 { font-family: var(--font-display); font-size: 1.7rem; color: var(--header-bg); margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.entry-content h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 28px 0 12px; color: var(--text); }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: var(--radius); margin: 28px 0; }
.entry-content blockquote { border-left: 3px solid var(--accent); background: rgba(192,154,88,0.06); padding: 18px 24px; margin: 28px 0; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-tags a { padding: 5px 14px; border: 1px solid var(--border); border-radius: 100px; font-size: 12px; color: var(--text-muted); transition: all var(--transition); }
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.55); margin-top: 64px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding: 56px 0 40px; }
.footer-logo-img { height: 36px; width: auto; mix-blend-mode: screen; margin-bottom: 12px; }
.footer-logo-divider { width: 36px; height: 1px; background: rgba(201,168,76,0.35); margin: 14px 0 16px; }
.footer-about p { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.40); }
.footer-col h4 { font-size: 9px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 12px; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-icon { font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-text strong { display: block; color: rgba(255,255,255,0.6); font-weight: 500; font-size: 12px; margin-bottom: 2px; }
.footer-contact-text a { font-size: 13.5px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact-text a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── Logo Text Fallback ─────────────────────────────── */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
/* WordPress custom-logo-link wrapper */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.site-logo .custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 200px !important;
  display: block !important;
  mix-blend-mode: screen;
  object-fit: contain;
}
/* Footer logo */
.footer-logo-wrap { margin-bottom: 12px; }
.footer-logo-wrap .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.footer-logo-wrap .custom-logo {
  height: 36px !important;
  width: auto !important;
  max-width: 160px !important;
  display: block !important;
  mix-blend-mode: screen;
  object-fit: contain;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 320px; height: 460px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 300px 180px 180px; height: auto; }
  .hero-main { grid-row: auto; }
  .article-grid { grid-template-columns: 1fr; }
  .page-wrap { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; padding: 36px 0 28px; gap: 28px; }
  .single-header h1 { font-size: 1.8rem; }
  .single-wrap { padding: 0 20px 48px; }
}
