/*
Theme Name: Thin Lizzy Band Guide Tier1
Theme URI: https://thinlizzyband.com
Author: Linkgujodae
Author URI: https://example.com
Description: Minimal white and blue resource ledger theme for thinlizzyband.com with category archive publishing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: thinlizzyband-com
*/

:root {
  --tl-bg: #f7fbff;
  --tl-ink: #09245a;
  --tl-muted: #64748b;
  --tl-line: rgba(9, 36, 90, 0.16);
  --tl-panel: #ffffff;
  --tl-accent: #2563eb;
  --tl-accent-2: #7dd3fc;
}

* {
  box-sizing: border-box;
}

body.tl-theme-body {
  margin: 0;
  min-height: 100vh;
  background: var(--tl-bg);
  color: var(--tl-ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.tl-theme-body a {
  color: inherit;
  text-decoration: none;
}

body.tl-theme-body img {
  max-width: 100%;
  height: auto;
}

.tl-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
}

.tl-rail {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  border-right: 1px solid var(--tl-ink);
  background: var(--tl-ink);
  color: var(--tl-bg);
}

.tl-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.tl-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.tl-vertical {
  display: grid;
  place-items: center;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.tl-rail-foot {
  display: grid;
  place-items: center;
  min-height: 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--tl-accent-2);
  font-size: 11px;
  font-weight: 900;
}

.tl-main {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100vh;
}

.tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--tl-line);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tl-top span:last-child {
  color: var(--tl-muted);
}

.tl-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--tl-ink);
  background: var(--tl-panel);
}

.tl-nav a {
  display: grid;
  align-content: center;
  min-height: 58px;
  padding: 10px 14px;
  border-right: 1px solid var(--tl-line);
  color: var(--tl-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tl-nav a:last-child {
  border-right: 0;
}

.tl-nav a span {
  display: block;
  margin-bottom: 4px;
  color: var(--tl-accent);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.tl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 48px) 34px;
}

.tl-kicker {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--tl-ink);
  color: var(--tl-accent);
  background: var(--tl-panel);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tl-title {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.9;
  font-weight: 700;
}

.tl-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--tl-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.tl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tl-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--tl-ink);
  background: var(--tl-ink);
  color: var(--tl-bg);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tl-action.secondary {
  background: transparent;
  color: var(--tl-ink);
}

.tl-note {
  border-left: 3px solid var(--tl-accent);
  padding: 0 0 0 18px;
}

.tl-note h2 {
  margin: 0;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.tl-note p {
  margin: 12px 0 0;
  color: var(--tl-muted);
  font-size: 15px;
  line-height: 1.62;
}

.tl-index {
  padding: 0 clamp(18px, 4vw, 48px) clamp(38px, 6vw, 76px);
}

.tl-index-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--tl-ink);
}

.tl-index-head h2 {
  margin: 0;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
}

.tl-index-head p {
  margin: 0;
  color: var(--tl-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tl-list {
  border-top: 1px solid var(--tl-ink);
}

.tl-row {
  display: grid;
  grid-template-columns: 112px minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--tl-line);
  overflow-wrap: anywhere;
}

.tl-row code {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--tl-ink);
  background: var(--tl-panel);
  color: var(--tl-accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tl-row h3 {
  margin: 0;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.tl-row p {
  margin: 0;
  color: var(--tl-muted);
  font-size: 15px;
  line-height: 1.56;
}

.tl-post-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tl-post-links a {
  color: var(--tl-accent);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tl-content-wrap {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 48px);
}

.tl-content-card,
.tl-empty {
  max-width: 960px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--tl-ink);
  background: var(--tl-panel);
  overflow-wrap: anywhere;
}

.tl-content-card h1 {
  margin: 18px 0 0;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
}

.tl-entry {
  margin-top: 22px;
  color: var(--tl-ink);
  font-size: 17px;
  line-height: 1.78;
}

.tl-entry p,
.tl-entry ul,
.tl-entry ol {
  max-width: 760px;
}

.tl-entry h2,
.tl-empty h2 {
  margin-top: 34px;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.tl-entry a,
.tl-single-meta a {
  color: var(--tl-accent);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tl-archive-description {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--tl-muted);
  font-size: 17px;
  line-height: 1.65;
}

.tl-archive-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.tl-archive-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--tl-line);
  background: var(--tl-panel);
  overflow-wrap: anywhere;
}

.tl-archive-list time,
.tl-single-meta {
  color: var(--tl-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tl-archive-list h2 {
  margin: 0;
  color: var(--tl-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.tl-archive-list p,
.tl-empty p {
  max-width: 740px;
  margin: 0;
  color: var(--tl-muted);
  font-size: 15px;
  line-height: 1.65;
}

.tl-pagination {
  max-width: 960px;
  padding: 16px;
  border: 1px solid var(--tl-line);
  background: var(--tl-panel);
  color: var(--tl-accent);
  font-size: 14px;
  font-weight: 900;
}

.tl-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}

.tl-featured-image {
  margin-top: 22px;
  border: 1px solid var(--tl-line);
  overflow: hidden;
}

.tl-featured-image img {
  display: block;
  width: 100%;
}

.tl-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--tl-ink);
  color: var(--tl-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

  .tl-rail {
    grid-template-columns: 76px 1fr 76px;
    grid-template-rows: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--tl-ink);
  }

  .tl-mark,
  .tl-rail-foot {
    width: 76px;
    height: 76px;
    min-height: 76px;
  }

  .tl-vertical {
    justify-content: start;
    padding: 0 16px;
    writing-mode: horizontal-tb;
  }

  .tl-hero,
  .tl-index-head {
    grid-template-columns: 1fr;
  }

  .tl-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tl-nav a:nth-child(3n) {
    border-right: 0;
  }

  .tl-nav a:nth-child(4),
  .tl-nav a:nth-child(5),
  .tl-nav a:nth-child(6) {
    border-top: 1px solid var(--tl-line);
  }
}

@media (max-width: 680px) {
  .tl-top,
  .tl-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tl-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tl-nav {
    grid-template-columns: 1fr 1fr;
  }

  .tl-nav a:nth-child(3n) {
    border-right: 1px solid var(--tl-line);
  }

  .tl-nav a:nth-child(2n) {
    border-right: 0;
  }

  .tl-nav a:nth-child(3),
  .tl-nav a:nth-child(4),
  .tl-nav a:nth-child(5),
  .tl-nav a:nth-child(6) {
    border-top: 1px solid var(--tl-line);
  }

  .tl-title {
    font-size: clamp(44px, 16vw, 76px);
  }
}
