/* ===== Zen Business Mag ===== */
:root {
  --teal: #0e8074;
  --teal-dark: #0a615a;
  --teal-deep: #084b45;
  --sage: #5b9d8f;
  --gold: #c99a3f;
  --ink: #182826;
  --ink-2: #2c3f3c;
  --ink-soft: #566461;
  --ink-faint: #8a9693;
  --sand: #f5f1e8;
  --sand2: #ece5d6;
  --mist: #eef3f1;
  --paper: #ffffff;
  --bg: #ffffff;
  --bg-dark: #132623;
  --card: #ffffff;
  --border: #e6e2d8;
  --line: #dcd6c9;
  --shadow: 0 10px 30px rgba(24, 40, 38, 0.08);
  --shadow-lg: 0 20px 48px rgba(24, 40, 38, 0.14);
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1200px;
  --sans: "Inter", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --serif: "Georgia", "Times New Roman", "PT Serif", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 26px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
section { scroll-margin-top: 100px; }

/* Utility */
.eyebrow { font-family: var(--sans); font-size: 0.74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 700; display: inline-block; }
.eyebrow.gold { color: var(--gold); }

/* Topbar */
.topbar { background: var(--bg-dark); color: #c5d3cf; font-size: 0.82rem; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar .t-date { color: #91a49f; }
.topbar a { color: #c5d3cf; }
.topbar a:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--ink); display: flex; align-items: center; gap: 11px; letter-spacing: -0.02em; }
.brand .logo { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-family: var(--serif); }
.brand .b-text b { color: var(--teal); }
.brand .b-text small { display: block; font-family: var(--sans); font-size: 0.54rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-top: -2px; }
.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a { color: var(--ink); font-family: var(--sans); font-size: 0.9rem; padding: 9px 14px; font-weight: 600; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .18s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal); }
.nav-links .search-btn { background: var(--mist); color: var(--ink); border-radius: 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-left: 8px; font-size: 1rem; border: 0; cursor: pointer; }
.nav-links .search-btn::after { display: none; }
.nav-links .search-btn:hover { background: var(--sand2); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.7rem; cursor: pointer; }

/* Buttons */
.btn { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; letter-spacing: .01em; padding: 13px 28px; border-radius: 40px; border: 2px solid transparent; cursor: pointer; display: inline-block; transition: all .16s; text-align: center; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line-light:hover { background: #fff; color: var(--teal-dark); }
.btn-sm { font-size: 0.8rem; padding: 9px 20px; }
.btn-lg { font-size: 1rem; padding: 15px 36px; }

/* Category label */
.cat-label { font-family: var(--sans); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--teal); padding: 4px 12px; border-radius: 4px; display: inline-block; }
.cat-label.business { background: var(--teal); }
.cat-label.profile { background: var(--gold); }
.cat-label.news { background: var(--sage); }

/* Hero (home) */
.hero { background: var(--sand); border-bottom: 1px solid var(--border); padding: 54px 0; }
.hero-feat { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: stretch; }
.feat-main { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feat-main .f-img { aspect-ratio: 16/8; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); display: flex; align-items: center; justify-content: center; font-size: 4.5rem; color: rgba(255,255,255,.85); }
.feat-main .f-body { padding: 30px 32px 34px; }
.feat-main h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 12px 0; line-height: 1.15; }
.feat-main h2 a { color: var(--ink); }
.feat-main h2 a:hover { color: var(--teal); }
.feat-main .excerpt { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 14px; }
.feat-side { display: flex; flex-direction: column; gap: 18px; }
.feat-mini { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.feat-mini h3 { font-size: 1.16rem; margin: 8px 0 6px; line-height: 1.25; }
.feat-mini h3 a { color: var(--ink); }
.feat-mini h3 a:hover { color: var(--teal); }
.post-meta { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); }
.post-meta .fill { background: var(--sand2); border-bottom: 1px dashed var(--gold); border-radius: 3px; padding: 0 5px; }

/* Section head */
.sec-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sec-bar h2 { font-size: 1.7rem; }
.sec-bar h2 .accent { color: var(--teal); }
.sec-bar a { font-family: var(--sans); font-size: 0.85rem; font-weight: 700; }

/* Blocks */
section.block { padding: 64px 0; }
section.block.sand { background: var(--sand); }
section.block.mist { background: var(--mist); }
section.block.dark { background: var(--bg-dark); color: #dce6e3; }
.block.dark h1, .block.dark h2, .block.dark h3 { color: #fff; }

/* Post grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card .p-img { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; position: relative; }
.post-card .p-img.t1 { background: linear-gradient(135deg, #0e8074, #084b45); color: rgba(255,255,255,.85); }
.post-card .p-img.t2 { background: linear-gradient(135deg, #5b9d8f, #2f6b60); color: rgba(255,255,255,.85); }
.post-card .p-img.t3 { background: linear-gradient(135deg, #c99a3f, #94701f); color: rgba(255,255,255,.9); }
.post-card .p-img.t4 { background: linear-gradient(135deg, #3d6c66, #1f3d39); color: rgba(255,255,255,.85); }
.post-card .p-img .cat-on-img { position: absolute; top: 12px; left: 12px; }
.post-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.22rem; margin: 8px 0 8px; line-height: 1.25; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.post-card .p-foot { margin-top: 14px; }

/* Article */
.article-head { background: var(--sand); border-bottom: 1px solid var(--border); padding: 48px 0 40px; }
.article-head .breadcrumb { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 16px; }
.article-head .breadcrumb a { color: var(--ink-soft); }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 900px; margin: 14px 0 18px; line-height: 1.14; }
.article-head .a-meta { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.article-head .a-meta .fill { background: var(--sand2); border-bottom: 1px dashed var(--gold); border-radius: 3px; padding: 0 6px; }
.article-head .a-meta .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 0.9rem; margin-right: 8px; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; padding: 52px 0; }
.article-body { font-size: 1.09rem; line-height: 1.85; }
.article-body .lead-img { aspect-ratio: 16/8; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal), var(--teal-deep)); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,.85); margin-bottom: 30px; box-shadow: var(--shadow); }
.article-body p { color: #2b3a37; margin-bottom: 20px; }
.article-body h2 { font-size: 1.7rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.32rem; margin: 28px 0 10px; color: var(--teal-dark); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; color: #2b3a37; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote { border-left: 4px solid var(--teal); background: var(--mist); padding: 18px 26px; margin: 26px 0; font-family: var(--serif); font-size: 1.28rem; font-style: italic; color: var(--ink); line-height: 1.5; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-body .fill { background: var(--sand2); border-bottom: 1px dashed var(--gold); padding: 0 5px; border-radius: 2px; font-weight: 600; color: var(--ink); }
.article-body .keyfacts { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 28px 0; box-shadow: var(--shadow); }
.article-body .keyfacts h3 { margin-top: 0; color: var(--teal); font-size: 1.15rem; }
.article-body .keyfacts table { width: 100%; border-collapse: collapse; }
.article-body .keyfacts td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.98rem; vertical-align: top; }
.article-body .keyfacts td:first-child { font-family: var(--sans); font-weight: 700; color: var(--ink); width: 40%; font-size: 0.86rem; text-transform: uppercase; letter-spacing: .04em; padding-right: 14px; }
.article-body .keyfacts tr:last-child td { border-bottom: 0; }
.article-body .editor-note { background: #fbf6e9; border: 1px solid #ecdcaf; border-radius: var(--radius-sm); padding: 15px 20px; margin: 24px 0; font-family: var(--sans); font-size: 0.9rem; color: #6b5720; }
.share-row { display: flex; gap: 10px; margin: 30px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); align-items: center; }
.share-row span { font-family: var(--sans); font-weight: 700; font-size: 0.85rem; color: var(--ink-soft); margin-right: 6px; }
.share-row a { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--ink); }
.share-row a:hover { background: var(--teal); color: #fff; }

/* Sidebar */
.sidebar { position: sticky; top: 96px; }
.side-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow); }
.side-box h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--teal); }
.side-list { list-style: none; }
.side-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { color: var(--ink); font-weight: 600; font-size: 0.95rem; font-family: var(--serif); }
.side-list a:hover { color: var(--teal); }
.side-list .s-meta { font-family: var(--sans); font-size: 0.76rem; color: var(--ink-faint); margin-top: 3px; }
.side-cats { list-style: none; }
.side-cats li { margin-bottom: 4px; }
.side-cats a { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-soft); font-size: 0.92rem; }
.side-cats a:hover { background: var(--mist); color: var(--teal); }
.side-cats .count { color: var(--ink-faint); font-size: 0.82rem; }
.newsletter-box { background: var(--teal-deep); color: #fff; border: 0; }
.newsletter-box h4 { color: #fff; border-bottom-color: rgba(255,255,255,.25); }
.newsletter-box p { font-size: 0.9rem; color: #c5d3cf; margin-bottom: 14px; }
.newsletter-box input { width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 0; margin-bottom: 10px; font-family: var(--sans); font-size: 0.9rem; }

/* Related */
.related { border-top: 1px solid var(--border); padding-top: 40px; margin-top: 20px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; border: 1px solid var(--border); background: var(--card); color: var(--ink); }
.pagination a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.pagination .dots { border: 0; background: transparent; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(19,38,35,.9); z-index: 100; display: none; align-items: flex-start; justify-content: center; padding-top: 16vh; }
.search-overlay.show { display: flex; }
.search-overlay .s-inner { width: min(640px, 90vw); }
.search-overlay input { width: 100%; padding: 20px 24px; font-size: 1.3rem; border: 0; border-radius: var(--radius); font-family: var(--serif); outline: none; }
.search-overlay .s-hint { color: #a9bab5; font-family: var(--sans); font-size: 0.85rem; margin-top: 14px; text-align: center; }
.search-overlay .s-close { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

/* Page head (about/contact/privacy) */
.page-head { background: var(--sand); border-bottom: 1px solid var(--border); padding: 56px 0; }
.page-head .breadcrumb { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 14px; }
.page-head .breadcrumb a { color: var(--ink-soft); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head h1 .accent { color: var(--teal); }
.page-head .sub { margin-top: 14px; font-size: 1.14rem; color: var(--ink-soft); max-width: 640px; }

/* Prose */
.prose { font-size: 1.06rem; line-height: 1.85; }
.prose p { color: #2b3a37; margin-bottom: 18px; }
.prose h2 { font-size: 1.7rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.3rem; margin: 26px 0 10px; color: var(--teal-dark); }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; color: #2b3a37; }
.prose li { margin-bottom: 8px; }
.prose .fill { background: var(--sand2); border-bottom: 1px dashed var(--gold); padding: 0 4px; border-radius: 2px; font-weight: 600; }
.prose .note { background: var(--mist); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; font-size: 0.97rem; }

/* Contact */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-split .c-info { background: var(--bg-dark); color: #dce6e3; padding: 48px 44px; }
.contact-split .c-info h2 { color: #fff; font-size: 1.9rem; margin-bottom: 14px; }
.contact-split .c-info p { color: #a9bab5; margin-bottom: 24px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-row .ico { font-size: 1.1rem; width: 42px; height: 42px; flex-shrink: 0; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-row h4 { font-family: var(--sans); color: #fff; font-size: 0.9rem; margin-bottom: 2px; }
.contact-row p { color: #a9bab5; margin: 0; font-size: 0.94rem; }
.contact-row .fill { background: rgba(255,255,255,.1); border-bottom: 1px dashed var(--gold); border-radius: 3px; padding: 0 6px; }
.contact-split .c-form { background: var(--card); padding: 48px 44px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--paper); font-family: var(--sans); font-size: 1rem; color: var(--ink); outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--teal); }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 10px; }
.form-msg { padding: 13px 17px; border-radius: var(--radius-sm); margin-top: 14px; display: none; background: var(--mist); color: var(--teal-dark); border: 1px solid var(--teal); font-size: 0.94rem; }
.form-msg.ok { display: block; }

/* Footer */
.site-footer { background: var(--bg-dark); color: #93a5a1; padding: 58px 0 26px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid #26403b; }
.footer-brand .fb-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-brand .fb-name .logo { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: 0.88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #93a5a1; font-size: 0.92rem; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--sans); font-size: 0.83rem; color: #647873; }
.footer-bottom a { color: #93a5a1; }

/* Responsive */
@media (max-width: 940px) {
  .hero-feat { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .contact-split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); padding: 14px 26px; gap: 2px; display: none; align-items: stretch; }
  .nav-links.show { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-links .search-btn { width: 100%; border-radius: var(--radius-sm); margin-left: 0; margin-top: 8px; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-split .c-info, .contact-split .c-form { padding: 34px 26px; }
  .sec-bar h2 { font-size: 1.4rem; }
}
