/*
Theme Name: BL Magazine
Theme URI: https://businesslitigant.com
Author: Business Litigant
Description: Recap-style magazine homepage. Does not delete content.
Version: 1.1.3
Text Domain: bl-magazine
*/

@font-face {
  font-family: Outfit;
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: block;
}
:root {
  --ink: #111;
  --muted: #5c5c5c;
  --line: #ececec;
  --blue: #2563eb;
  --blue-soft: #e8f0fe;
  --paper: #f7f8fa;
  --card: #fff;
  --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: Outfit, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.bar { position: sticky; top: 12px; z-index: 20; padding: 0 28px; }
.mast {
  display: flex; align-items: center; height: 58px;
  background: var(--card); border-radius: 999px;
  padding: 0 22px; box-shadow: 0 8px 30px rgba(17,17,17,.06);
  border: 1px solid #eee;
}
.toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; background: #fff; }
.mark { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; margin-right: 8px; }
.logo { font-weight: 700; font-size: 16px; letter-spacing: -.02em; display: flex; align-items: center; }
.nav { margin: 0 auto; display: flex; gap: 28px; font-size: 14px; color: #333; }
.utils { display: flex; align-items: center; gap: 12px; color: #444; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }

.hero { text-align: center; padding: 40px 0 36px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 42px; font-weight: 750; letter-spacing: -.04em; line-height: 1.15; }
.hero h1 em { font-style: normal; box-shadow: inset 0 -.18em 0 #93c5fd; }
.lede { margin: 14px auto 0; max-width: 34rem; color: var(--muted); font-size: 16px; line-height: 1.5; }
.by { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #111; color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.by strong { display: block; font-size: 13px; }
.by span { color: var(--muted); font-size: 12px; }

.feature {
  display: grid; grid-template-columns: 1.15fr .95fr; gap: 0;
  background: var(--card); border-radius: 20px; overflow: hidden;
  margin-bottom: 40px; box-shadow: 0 10px 40px rgba(17,17,17,.06);
}
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-copy { padding: 32px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.cat { color: var(--blue); font-size: 12px; font-weight: 650; margin-bottom: 10px; }
.feature h2 { font-size: 28px; font-weight: 730; letter-spacing: -.03em; line-height: 1.2; }
.dek { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.meta { margin-top: 22px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.dots { display: flex; gap: 6px; justify-content: center; margin: 12px 0 36px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d4; display: block; }
.dots i.on { background: var(--blue); }

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-bottom: 64px; align-items: start; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; }
.card { background: var(--card); border-radius: 18px; padding: 12px 12px 16px; box-shadow: 0 8px 28px rgba(17,17,17,.05); }
.card img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.card .cat { margin-top: 10px; padding: 0 4px; }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin-top: 6px; padding: 0 4px; }
.card .dek { font-size: 13.5px; margin-top: 8px; padding: 0 4px; }
.card .meta { margin-top: 14px; padding: 0 4px; }

.side { background: var(--card); border-radius: 18px; padding: 18px 16px 20px; box-shadow: 0 8px 28px rgba(17,17,17,.05); }
.side h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.spot { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spot:first-of-type { border-top: 1px solid var(--line); }
.spot h5 { font-size: 14px; font-weight: 650; line-height: 1.3; }
.spot .cat { margin: 0 0 4px; }
.spot img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.spot .when { font-size: 12px; color: var(--muted); margin-top: 6px; }

.ql { margin-top: 28px; }
.ql ol { margin: 0; padding: 0; list-style: none; }
.ql li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.num { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 12px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

.feature a, .card a, .spot a { color: inherit; }
.feature h2 a:hover, .card h3 a:hover, .spot h5 a:hover { color: var(--blue); }
.single { max-width: 720px; margin: 0 auto; padding: 40px 28px 80px; }
.single img.hero { width: 100%; border-radius: 16px; margin: 20px 0 24px; }
.single .cat { margin-bottom: 10px; }
.single h1 { font-size: 36px; letter-spacing: -.03em; line-height: 1.15; font-weight: 750; }
.single .meta { margin: 16px 0 28px; }
.entry { font-size: 17px; line-height: 1.65; color: #222; }
.entry p { margin: 0 0 1em; }
.entry h2 { font-size: 22px; margin: 1.4em 0 .5em; }
.entry ul { margin: 0 0 1em 1.2em; }
.entry blockquote { margin: 1.2em 0; padding-left: 1em; border-left: 3px solid var(--blue); color: var(--muted); }

.subscribe {
  margin: 8px auto 48px; background: var(--card); border-radius: 20px;
  padding: 36px 40px; box-shadow: 0 8px 28px rgba(17,17,17,.05);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center;
}
.subscribe h2 { font-size: 28px; letter-spacing: -.03em; font-weight: 750; }
.subscribe p { color: var(--muted); margin-top: 8px; }
.sub-form { display: flex; gap: 8px; }
.sub-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit;
}
.sub-form button {
  background: var(--blue); color: #fff; border: 0; border-radius: 12px;
  padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer;
}
.page-hero { text-align: center; padding: 36px 0 28px; }
.page-hero h1 { font-size: 36px; letter-spacing: -.03em; font-weight: 750; }
.page-hero p { color: var(--muted); max-width: 36rem; margin: 12px auto 0; line-height: 1.5; }
.entry-page { max-width: 720px; margin: 0 auto 64px; font-size: 17px; line-height: 1.65; }
.entry-page p { margin: 0 0 1em; }
.nav { flex-wrap: wrap; }
@media (max-width: 900px) {
  .layout, .feature, .subscribe { grid-template-columns: 1fr; }
  .nav { display: none; }
}
