@charset "UTF-8";
.highlight .err {
  color: #e3d2d2;
  background-color: #a61717;
}
.highlight .c {
  color: #9c9996;
}
.highlight .cm {
  color: #9c9996;
}
.highlight .cp {
  color: #9c9996;
}
.highlight .c1 {
  color: #9c9996;
}
.highlight .cs {
  color: #9c9996;
  font-style: italic;
}
.highlight .gd {
  color: #e25050;
}
.highlight .gd .x {
  color: #e25050;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gh {
  color: #999999;
}
.highlight .gi {
  color: #3f993f;
}
.highlight .gi .x {
  color: #3f993f;
}
.highlight .go {
  color: #888888;
}
.highlight .gp {
  color: #555555;
}
.highlight .gr {
  color: #aa0000;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gt {
  color: #aa0000;
}
.highlight .gu {
  color: #aaaaaa;
}
.highlight .k {
  color: #cf222e;
}
.highlight .kc {
  color: #cf222e;
}
.highlight .kd {
  color: #cf222e;
}
.highlight .kp {
  color: #cf222e;
}
.highlight .kr {
  color: #cf222e;
}
.highlight .kt {
  color: #445588;
}
.highlight .n {
  color: #111111;
}
.highlight .na {
  color: #097e39;
}
.highlight .nb {
  color: #cf222e;
}
.highlight .bp {
  color: #999999;
}
.highlight .nc {
  color: #097e39;
}
.highlight .ne {
  color: #990000;
}
.highlight .nf {
  color: #2c7d74;
}
.highlight .ni {
  color: #097e39;
}
.highlight .nn {
  color: #097e39;
}
.highlight .no {
  color: #a61154;
}
.highlight .nt {
  color: #b81e63;
}
.highlight .nv {
  color: #752a75;
}
.highlight .vc {
  color: #752a75;
}
.highlight .vg {
  color: #752a75;
}
.highlight .vi {
  color: #752a75;
}
.highlight .o {
  color: #0842a0;
}
.highlight .ow {
  color: #0842a0;
}
.highlight .m {
  color: #005a99;
}
.highlight .mf {
  color: #005a99;
}
.highlight .mh {
  color: #005a99;
}
.highlight .mi {
  color: #005a99;
}
.highlight .il {
  color: #005a99;
}
.highlight .mo {
  color: #005a99;
}
.highlight .s {
  color: #914d08;
}
.highlight .s1 {
  color: #914d08;
}
.highlight .s2 {
  color: #914d08;
}
.highlight .sb {
  color: #914d08;
}
.highlight .sc {
  color: #914d08;
}
.highlight .sd {
  color: #914d08;
}
.highlight .se {
  color: #914d08;
}
.highlight .sh {
  color: #914d08;
}
.highlight .si {
  color: #914d08;
}
.highlight .sr {
  color: #009926;
}
.highlight .ss {
  color: #0842a0;
}
.highlight .sx {
  color: #914d08;
}
.highlight .w {
  color: #bbbbbb;
}
.highlight .lineno, .highlight .gl {
  color: #9c9996;
}
.highlight .hll {
  background-color: #ffffcc;
}

html {
  font-size: 16px;
}

/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif;
  color: rgb(65.25, 65.25, 65.25);
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-wrap: break-word;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
div.highlight,
figure.highlight {
  margin-bottom: 15px;
}

hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  color: #111111;
  font-weight: 500;
}

/**
 * Links
 */
a {
  color: #1e69d8;
  text-decoration: none;
}
a:visited {
  color: rgb(20.6707317073, 72.3475609756, 148.8292682927);
}
a:hover {
  color: rgb(65.25, 65.25, 65.25);
  text-decoration: underline #818181;
  text-underline-offset: 3px;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #818181;
  border-left: 4px solid #e7e7e7;
  padding-left: 15px;
  font-size: 1.05rem;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}
blockquote i, blockquote em {
  font-style: normal;
}

/**
 * Code formatting
 */
pre,
code {
  font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
  background-color: #f6f8fa;
}
@media screen and (max-width: 600px) {
  pre,
  code {
    font-family: monospace;
  }
}

pre {
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.4;
  color: #111111;
  overflow-x: auto;
}
pre > code {
  display: inline-block;
  width: 100%;
}

div.highlight, figure.highlight {
  border: 1px solid #e7e7e7;
  border-radius: 3px;
}
div.highlight pre, figure.highlight pre {
  margin: 0;
}
div.highlight table, div.highlight tbody, div.highlight th, div.highlight tr, div.highlight td, figure.highlight table, figure.highlight tbody, figure.highlight th, figure.highlight tr, figure.highlight td {
  margin: 0;
  padding: 0;
  border: 0;
}
div.highlight .lineno, div.highlight .gl, figure.highlight .lineno, figure.highlight .gl {
  text-align: right;
}

figure.highlight table {
  margin: -8px -12px -14px;
}
figure.highlight td.gutter {
  border-right: 1px solid #e7e7e7;
}
figure.highlight td.code {
  width: 100%;
}

code.highlighter-rouge {
  padding: 1px 5px;
  font-size: 14px;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}
@media screen and (max-width: 600px) {
  .wrapper {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/**
 * Clearfix
 */
.wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.orange {
  color: #f66a0a;
}

.grey {
  color: #828282;
}

.svg-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  fill: currentColor;
  vertical-align: text-bottom;
  overflow: visible;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(62.9, 62.9, 62.9);
  border-collapse: collapse;
  border: 1px solid #e7e7e7;
}
table tr:nth-child(even) {
  background-color: rgb(246.3, 246.3, 246.3);
}
table th, table td {
  padding: 10px 15px;
}
table th {
  background-color: rgb(238.65, 238.65, 238.65);
  border: 1px solid rgb(223.35, 223.35, 223.35);
}
table td {
  border: 1px solid #e7e7e7;
}
@media screen and (max-width: 800px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
}

/**
 * Site header
 */
.site-header {
  position: relative;
  width: 100%;
  min-height: 55.95px;
  line-height: 54px;
  background-color: #fdfdfd;
  border-top: 5px solid rgb(65.25, 65.25, 65.25);
  border-bottom: 1px solid #e7e7e7;
}

.site-title {
  font-size: 1.625rem;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
@media screen and (max-width: 600px) {
  .site-title {
    padding-right: 45px;
  }
}
.site-title, .site-title:visited {
  color: rgb(65.25, 65.25, 65.25);
}

.site-nav {
  float: right;
  border: none;
  background-color: inherit;
}
.site-nav label[for=nav-trigger], .site-nav #nav-trigger {
  display: none;
}
.site-nav .nav-item {
  color: rgb(65.25, 65.25, 65.25);
}
.site-nav .nav-item:not(:last-child) {
  margin-right: 15px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 18px;
    background-color: #fdfdfd;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 18px;
    text-align: center;
  }
  .site-nav .menu-icon::before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
  }
  .site-nav .menu-icon > svg path {
    fill: rgb(65.25, 65.25, 65.25);
  }
  .site-nav #nav-trigger ~ label[for=nav-trigger] .menu-icon::before {
    content: "\f0c9";
    font-size: 1.25em;
  }
  .site-nav #nav-trigger ~ .nav-items {
    clear: both;
    display: none;
  }
  .site-nav #nav-trigger:checked ~ label[for=nav-trigger] .menu-icon::before {
    content: "\f00d";
    font-size: 1.5em;
  }
  .site-nav #nav-trigger:checked ~ .nav-items {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav #nav-trigger:checked ~ .nav-items .nav-item {
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .nav-item {
    display: block;
    margin-right: 15px;
    padding: 5px 0;
    color: rgb(65.25, 65.25, 65.25);
    line-height: 1.5;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e7e7e7;
  padding: 30px 0;
}

.footer-heading {
  font-size: 1.125rem;
  margin-bottom: 15px;
}

.feed-subscribe .svg-icon {
  padding: 5px 5px 2px 0;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper,
.social-links {
  font-size: 0.9375rem;
  color: rgb(100.95, 100.95, 100.95);
}

.footer-col {
  margin-bottom: 15px;
}

.footer-col-1,
.footer-col-2 {
  width: calc(50% - 30px / 2);
}

.footer-col-3 {
  width: calc(100% - 30px / 2);
}

@media screen and (min-width: 800px) {
  .footer-col-1 {
    width: calc(35% - 30px / 2);
  }
  .footer-col-2 {
    width: calc(20% - 30px / 2);
  }
  .footer-col-3 {
    width: calc(45% - 30px / 2);
  }
}
@media screen and (min-width: 600px) {
  .footer-col-wrapper {
    display: flex;
  }
  .footer-col {
    width: calc(100% - 30px / 2);
    padding: 0 15px;
  }
  .footer-col:first-child {
    padding-right: 15px;
    padding-left: 0;
  }
  .footer-col:last-child {
    padding-right: 0;
    padding-left: 15px;
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1 0 auto;
}

.page-heading {
  font-size: 2rem;
}

.post-list-heading {
  font-size: 1.75rem;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: rgb(100.95, 100.95, 100.95);
}

.post-link {
  display: block;
  font-size: 1.5rem;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
  padding-bottom: 18px;
  text-align: center;
  border-bottom: 1px solid #e7e7e7;
}

.post-meta .bullet-divider {
  padding-inline: 15px;
}
.post-meta .meta-label {
  font-weight: 600;
}
.post-meta .force-inline {
  display: inline;
}
.post-meta .force-inline::before {
  content: "•";
  padding-inline: 5px;
}
.post-meta .post-authors {
  margin-top: 3px;
}

.post-title,
.post-content h1 {
  margin-bottom: 10px;
  font-size: 2.625rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.15;
}
@media screen and (min-width: 800px) {
  .post-title,
  .post-content h1 {
    font-size: 2.625rem;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  margin-top: 30px;
}
.post-content h2 {
  font-size: 1.75rem;
}
@media screen and (min-width: 800px) {
  .post-content h2 {
    font-size: 2rem;
  }
}
.post-content h3 {
  font-size: 1.375rem;
}
@media screen and (min-width: 800px) {
  .post-content h3 {
    font-size: 1.625rem;
  }
}
.post-content h4 {
  font-size: 1.25rem;
}
.post-content h5 {
  font-size: 1.125rem;
}
.post-content h6 {
  font-size: 1.0625rem;
}

.comments-disabled-message {
  text-align: center;
  font-weight: 300;
}

.social-media-list {
  display: table;
  margin: 0 auto;
}
.social-media-list li {
  float: left;
  min-width: 45px;
  min-height: 45px;
  text-align: center;
  margin: 5px 10px 5px 0;
}
.social-media-list li:last-of-type {
  margin-right: 0;
}
.social-media-list li a {
  display: block;
  padding: 10px 12px;
  border: 1px solid #e7e7e7;
}
.social-media-list li a:hover {
  border-color: rgb(218.25, 218.25, 218.25);
}

/**
 * Pagination navbar
 */
.pagination {
  display: table;
  margin: 0 auto;
  list-style-type: none;
}
.pagination li {
  float: left;
  margin: 0 3px;
  min-width: 45px;
  min-height: 45px;
  text-align: center;
}
.pagination li a {
  display: block;
  text-decoration: none;
  border: 1px solid #e7e7e7;
}
.pagination li a:hover {
  border-color: rgb(218.25, 218.25, 218.25);
}
.pagination li a, .pagination li div {
  min-width: 41px;
  padding: 10px 12px;
  text-align: center;
  box-sizing: border-box;
}
.pagination li div {
  border: 1px solid transparent;
}
.pagination li div.pager-edge {
  color: #e7e7e7;
  border: 1px dashed;
}
.pagination li div.current-page {
  font-weight: bold;
}

/**
 * Task-lists
 */
.task-list {
  margin-left: 0;
  padding-left: 18px;
}

.task-list-item {
  list-style-type: none;
}
.task-list-item-checkbox {
  position: relative;
  margin-right: 9px;
  margin-left: -15px;
  appearance: none;
  border: 8px solid #e7e7e7;
  vertical-align: text-top;
  z-index: -1;
}
.task-list-item-checkbox::after {
  position: absolute;
  top: -8px;
  left: -3px;
  width: 4px;
  height: 10px;
  content: "";
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.task-list-item-checkbox:checked::after {
  border-color: rgb(65.25, 65.25, 65.25);
}

/**
 * Grid helpers
 */
@media screen and (min-width: 800px) {
  .one-half {
    width: calc(50% - 30px / 2);
  }
}
/**
 * Design Philosophy: Warm yet professional, minimal yet inviting
 * Clean typography, subtle colors, content-first
 */
:root {
  /* Warm Professional Colors */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  /* Accent - Professional Blue */
  --accent-color: #3182ce;
  --accent-hover: #2c5282;
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-subtle: #f7fafc;
  --border-color: #e2e8f0;
  /* Typography */
  --font-size-base: 1.0625rem;
  --font-size-medium: 0.95rem;
  --font-size-small: 0.875rem;
  --font-size-xs: 0.8rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --letter-spacing-wide: 0.08em;
  --line-height-tight: 1;
  --line-height-base: 1.25;
  --line-height-relaxed: 1.5;
  /* Layout */
  --max-width: 800px;
  --spacing: 1rem;
  --spacing-half: 0.5rem;
  --border-radius: 8px;
  /* Shadows */
  --shadow-card-hover: 0 2px 8px rgba(49, 130, 206, 0.1);
  /* Transforms */
  --transform-card-hover: translateY(-1px);
}

/* Dark mode variables - applied when user manually selects dark OR browser indicates dark preference */
:root[data-theme=dark] {
  /* Dark Mode Colors - High Contrast */
  --text-primary: #f7fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e0;
  /* Accent - brighter for dark backgrounds */
  --accent-color: #4299e1;
  --accent-hover: #63b3ed;
  /* Dark Backgrounds */
  --bg-primary: #1a202c;
  --bg-subtle: #2d3748;
  --border-color: #4a5568;
  --border-color-subtle: #374151;
  /* Dark Shadows */
  --shadow-card-hover: 0 2px 8px rgba(66, 153, 225, 0.2);
}

/* Dark mode specific overrides */
:root[data-theme=dark] body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

:root[data-theme=dark] .site-header {
  background: rgba(26, 32, 44, 0.98);
  backdrop-filter: blur(10px);
}

:root[data-theme=dark] .site-footer {
  background: var(--bg-subtle);
}

:root[data-theme=dark] .article-card {
  background: var(--bg-subtle);
  border-color: var(--border-color);
}

:root[data-theme=dark] .article-card:hover {
  background: var(--border-color-subtle);
  box-shadow: var(--shadow-card-hover);
}

:root[data-theme=dark] .related-post-card {
  background: var(--bg-subtle);
  border-color: var(--border-color);
}

:root[data-theme=dark] .topic-card {
  background: var(--bg-subtle);
  border-color: var(--border-color);
}

:root[data-theme=dark] .topic-card:hover {
  background: var(--border-color-subtle);
  box-shadow: var(--shadow-card-hover);
}

:root[data-theme=dark] .post-content code {
  background: var(--bg-subtle);
  border-color: var(--border-color);
}

:root[data-theme=dark] .post-content blockquote {
  background: var(--bg-subtle);
  border-left-color: var(--accent-color);
}

/* ========== Base Styles ========== */
body {
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 1.0625rem;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing) * 2);
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-top: calc(var(--spacing) * 2.5);
  margin-bottom: calc(var(--spacing) * 0.75);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

/* First heading on page - less top margin */
.page-content > .wrapper > h1:first-child,
.page-content > .wrapper > h2:first-child {
  margin-top: 0;
}

p {
  margin-bottom: calc(var(--spacing) * 1.5);
  line-height: 1.75;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ========== Header ========== */
.site-header {
  border-bottom: 1px solid var(--border-color);
  padding: calc(var(--spacing) * 1.25) 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-title:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Navigation */
.site-nav .trigger {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 1.25);
}

.site-nav .page-link {
  color: var(--text-muted);
  font-weight: var(--font-weight-normal);
  font-size: 0.9375rem;
  padding: 0.375rem 0.5rem;
  transition: color 0.2s ease;
}

.site-nav .page-link:hover {
  color: var(--accent-color);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem 0.5rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  line-height: 1;
}

.theme-toggle:hover {
  color: var(--accent-color);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.theme-toggle .icon-moon {
  fill: currentColor;
  stroke: none;
}

/* Hide both icons by default to prevent FOUC */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

/* JavaScript will show the correct icon */
.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

/* Mobile Navigation */
.nav-trigger {
  display: none;
}

.menu-icon {
  display: none;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
    cursor: pointer;
  }
  .menu-icon svg {
    fill: var(--text-primary);
  }
  .nav-trigger:checked ~ .trigger {
    display: block;
  }
  .site-nav .trigger {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing);
    margin-top: calc(var(--spacing) / 2);
    flex-direction: column;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .site-nav .page-link {
    display: block;
    padding: 0.75rem 1rem;
  }
  .theme-toggle {
    padding: 0.75rem 1rem;
    justify-content: flex-start;
  }
}
/* ========== Main Content ========== */
.page-content {
  padding: calc(var(--spacing) * 3) 0;
  min-height: calc(100vh - 400px);
}

.page-content .wrapper {
  text-align: justify;
  hyphens: none;
  overflow-wrap: break-word;
}

/* Reset justify for headings, UI elements, and short-text content */
.page-content .wrapper h1,
.page-content .wrapper h2,
.page-content .wrapper h3,
.page-content .wrapper h4,
.page-content .wrapper h5,
.page-content .wrapper h6,
.post-meta,
.article-meta,
.article-description,
.card-desc,
.card-title,
.related-post-meta,
.related-post-desc,
.breadcrumb,
.breadcrumb-item,
.post-tags,
.footer-col p,
.footer-bio,
.share-label,
.topic-card p,
.topic-card h3,
.articles-header,
.articles-container,
pre,
code,
table,
.site-nav,
.site-footer {
  text-align: left;
  hyphens: none;
}

/* ========== Posts ========== */
.post {
  margin-bottom: calc(var(--spacing) * 3);
}

.post-header {
  margin-bottom: calc(var(--spacing) * 3);
  padding-bottom: calc(var(--spacing) * 2);
  border-bottom: 1px solid var(--border-color);
}

.post-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: var(--spacing);
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: calc(var(--spacing) * 1.5);
}

.post-tags-section {
  /* No top padding or border when inside discovery section */
}

.post-tags-section h4 {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--spacing);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-half);
}

.tag {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: calc(var(--spacing) * 0.375) calc(var(--spacing) * 0.875);
  border-radius: var(--border-radius);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
  transform: var(--transform-card-hover);
}

/* Pure CSS Tag Expansion (no JavaScript needed) */
.tag-expandable {
  position: relative;
}

/* Hide the checkbox */
.tag-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hide extra tags by default */
.tag-hidden {
  display: none;
}

/* Show hidden tags when checkbox is checked */
.tag-toggle:checked ~ .tag-hidden {
  display: inline-block;
}

/* Expand label styling - distinct from tags */
.tag-expand-label {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: calc(var(--spacing) * 0.375) calc(var(--spacing) * 0.875);
  border-radius: var(--border-radius);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  border: 2px solid var(--accent-color);
  cursor: pointer;
  transition: all 0.2s ease;
  font-style: normal;
  user-select: none;
}

.tag-expand-label:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
  border-color: var(--accent-color);
  transform: var(--transform-card-hover);
}

/* Show "more" by default, hide "less" */
.tag-expand-less {
  display: none;
}

/* When expanded: hide "more", show "less" */
.tag-toggle:checked ~ .tag-expand-label .tag-expand-more {
  display: none;
}

.tag-toggle:checked ~ .tag-expand-label .tag-expand-less {
  display: inline;
}

.post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  text-align: justify;
  hyphens: none;
  overflow-wrap: break-word;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: calc(var(--spacing) * 3);
  margin-bottom: var(--spacing);
  text-align: left;
  hyphens: none;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: calc(var(--spacing) * 2) 0;
}

.post-content blockquote {
  border-left: 3px solid var(--accent-color);
  padding-left: calc(var(--spacing) * 1.5);
  margin-left: 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: var(--spacing) calc(var(--spacing) * 1.5);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin: calc(var(--spacing) * 2) 0;
}

.post-content code {
  background: var(--bg-subtle);
  padding: calc(var(--spacing) * 0.25) calc(var(--spacing) * 0.5);
  border-radius: var(--border-radius);
  font-size: 0.9em;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.post-content pre {
  background: var(--bg-subtle);
  color: var(--text-primary);
  padding: calc(var(--spacing) * 1.5);
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: calc(var(--spacing) * 2) 0;
  border: 1px solid var(--border-color);
}

/* Dark mode for code blocks */
:root[data-theme=dark] .post-content pre {
  background: #1a202c;
  color: #e2e8f0;
  border-color: var(--border-color);
}

/* KaTeX formulas - block display */
.post-content .katex-display {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: calc(var(--spacing) * 1.5);
  margin: calc(var(--spacing) * 2) auto;
  overflow-x: auto;
  width: fit-content;
  max-width: 100%;
}

/* Hide empty paragraphs between formulas */
.post-content p:empty {
  display: none;
}

/* Consecutive formulas (even with empty p in between) merge into one box */
.post-content .katex-display + p:empty + .katex-display,
.post-content .katex-display + .katex-display {
  margin-top: 0;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding-top: calc(var(--spacing) * 0.75);
}

/* First formula in a consecutive group */
.post-content .katex-display:has(+ p:empty + .katex-display),
.post-content .katex-display:has(+ .katex-display) {
  margin-bottom: 0;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: calc(var(--spacing) * 0.75);
}

/* Dark mode for formula blocks */
:root[data-theme=dark] .post-content .katex-display {
  background: var(--bg-subtle);
  border-color: var(--border-color);
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
  border: none;
}

.post-content ul,
.post-content ol {
  margin-bottom: calc(var(--spacing) * 1.5);
  padding-left: calc(var(--spacing) * 2);
}

.post-content li {
  margin-bottom: calc(var(--spacing) * 0.5);
}

/* Horizontal rules - subtle like section dividers */
.post-content hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: calc(var(--spacing) * 2) 0;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: calc(var(--spacing) * 2) 0;
  font-size: var(--font-size-small);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-content th,
.post-content td {
  padding: calc(var(--spacing) * 0.75) var(--spacing);
  text-align: left;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.post-content th:last-child,
.post-content td:last-child {
  border-right: none;
}

.post-content tbody tr:last-child td {
  border-bottom: none;
}

.post-content thead tr {
  background: var(--bg-subtle);
  font-weight: var(--font-weight-semibold);
}

.post-content th {
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
}

.post-content tbody tr:nth-child(odd) {
  background: var(--bg-primary);
}

.post-content tbody tr:nth-child(even) {
  background: var(--bg-subtle);
}

.post-content tbody tr:hover {
  background: var(--border-color);
}

/* Dark mode table overrides */
:root[data-theme=dark] .post-content table {
  border-color: var(--border-color-subtle);
}

:root[data-theme=dark] .post-content thead tr {
  background: #0f172a;
}

:root[data-theme=dark] .post-content thead th {
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  background: #0f172a;
  border-color: var(--border-color-subtle);
}

:root[data-theme=dark] .post-content th {
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  border-color: var(--border-color-subtle);
}

:root[data-theme=dark] .post-content td {
  color: var(--text-primary);
  border-color: var(--border-color-subtle);
}

:root[data-theme=dark] .post-content tbody tr:nth-child(odd) {
  background: var(--bg-primary);
}

:root[data-theme=dark] .post-content tbody tr:nth-child(even) {
  background: var(--bg-subtle);
}

:root[data-theme=dark] .post-content tbody tr:hover {
  background: var(--border-color-subtle);
}

/* Post Footer - Overall Structure */
.post-footer {
  margin-top: calc(var(--spacing) * 1.5);
}

.post-footer > * {
  margin-bottom: calc(var(--spacing) * 3);
}

.post-footer > *:last-child {
  margin-bottom: 0;
}

/* Post Author Section - grouped cohort CTA and author bio */
.post-author-section {
  padding-top: calc(var(--spacing) * 1.5);
}

.post-author-section > * {
  margin-bottom: calc(var(--spacing) * 1.5);
}

.post-author-section > *:last-child {
  margin-bottom: 0;
}

/* Post Cohort CTA */
.post-cohort-cta {
  /* No extra styling when inside author section */
}

.mentorship-cta {
  /* Clean text block */
}

.mentorship-cta p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
}

.mentorship-cta em {
  font-style: italic;
}

.mentorship-cta a {
  color: var(--accent-color);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
}

/* Post Author Bio */
.post-author-bio {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: calc(var(--spacing) * 1.5);
  border-radius: var(--border-radius);
}

/* Post Discovery Section - grouped content exploration */
.post-discovery {
  padding-top: calc(var(--spacing) * 1.5);
  border-top: 1px solid var(--border-color);
}

.discovery-heading {
  font-size: var(--font-size-base);
  margin-bottom: calc(var(--spacing) * 1.5);
  color: var(--text-secondary);
  font-weight: var(--font-weight-semibold);
}

.post-discovery > * {
  margin-bottom: calc(var(--spacing) * 1.5);
}

.post-discovery > *:last-child {
  margin-bottom: 0;
}

.post-author-bio h3 {
  margin-top: 0;
  margin-bottom: var(--spacing);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
}

.post-author-bio p {
  margin-bottom: calc(var(--spacing) * 0.75);
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: var(--font-size-small);
}

.post-author-bio a {
  color: var(--accent-color);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
}

/* Post Share */
.post-share {
  padding-top: calc(var(--spacing) * 1.5);
  padding-bottom: calc(var(--spacing) * 1.5);
  border-bottom: 1px solid var(--border-color);
}

.share-label {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: calc(var(--spacing) * 0.75);
  font-weight: var(--font-weight-semibold);
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid;
}

.share-btn svg {
  flex-shrink: 0;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.share-btn.linkedin:hover {
  background: #005885;
  border-color: #005885;
  transform: var(--transform-card-hover);
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.share-btn.twitter:hover {
  background: #0d8bd6;
  border-color: #0d8bd6;
  transform: var(--transform-card-hover);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  padding: calc(var(--spacing) * 4) 0 calc(var(--spacing) * 2);
  margin-top: calc(var(--spacing) * 6);
}

.footer-col-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 2);
}

@media (max-width: 900px) {
  .footer-col-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .footer-col-wrapper {
    grid-template-columns: 1fr;
  }
}
.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: calc(var(--spacing) * 0.75);
  color: var(--text-primary);
}

.footer-col p,
.footer-col li {
  color: var(--text-secondary);
  font-size: var(--font-size-medium);
  line-height: var(--line-height-base);
}

.credentials {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bio {
  margin-top: calc(var(--spacing) * 0.75);
  line-height: var(--line-height-relaxed);
}

.expertise-list,
.social-media-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-list li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.expertise-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.social-media-list li {
  margin-bottom: 0;
  display: flex;
  align-items: baseline;
  gap: var(--spacing-half);
  line-height: var(--line-height-tight);
}

.social-media-list li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.social-media-list a {
  color: var(--text-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  text-decoration: none;
  transition: color 0.2s ease;
  /* Remove any inherited button styles */
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.social-media-list a:hover {
  color: var(--accent-color);
  background: transparent !important;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: calc(var(--spacing) * 1.5);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

.footer-quote {
  margin: calc(var(--spacing) * 2.5) auto calc(var(--spacing) * 2) auto;
  padding: 0 0 calc(var(--spacing) * 2) 0;
  border: none;
  border-bottom: 1px solid var(--border-color);
  font-style: italic;
  max-width: 90%;
  text-align: center;
}

.footer-quote p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: calc(var(--spacing) * 0.75);
  font-weight: 400;
}

.footer-quote cite {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
}

.license-notice {
  margin-top: calc(var(--spacing) * 0.5);
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* ========== Contact Page ========== */
.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: calc(var(--spacing) * 2) 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 2px solid;
  background: white;
}

.contact-btn svg {
  flex-shrink: 0;
}

.contact-btn.email {
  color: var(--text-primary);
  border-color: var(--border-dark);
}

.contact-btn.email:hover {
  background: var(--bg-subtle);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.contact-btn.linkedin {
  color: #0077b5;
  border-color: #0077b5;
}

.contact-btn.linkedin:hover {
  background: #0077b5;
  color: white;
  transform: translateY(-2px);
}

.contact-btn.portfolio {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.contact-btn.portfolio:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

/* ========== Articles Container & Grid ========== */
.articles-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.articles-header {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.articles-grid {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 1.5);
  margin-bottom: calc(var(--spacing) * 2);
}

/* ========== Unified Article Card (Horizontal Split) ========== */
.article-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: calc(var(--spacing) * 1.5);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: calc(var(--spacing) * 1.5);
  background: var(--bg-primary);
  transition: all 0.2s ease;
}

.article-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-card-hover);
  transform: var(--transform-card-hover);
}

.article-card .card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-card .card-read-more,
.article-card .tag {
  position: relative;
  z-index: 1;
}

/* --- Left Column --- */
.card-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.card-title a {
  color: var(--accent-color);
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
}

.card-desc {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.875rem;
  font-weight: 400;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-tags .tag {
  padding: 0.35rem 0.7rem;
  font-size: var(--font-size-xs);
}

/* --- Right Column --- */
.card-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
  min-width: 140px;
}

.card-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.card-author,
.card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 400;
}

.card-read-more {
  font-size: 0.85rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.card-read-more:hover {
  text-decoration: underline;
}

.no-results {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-radius: 8px;
}

/* ========== Pagination ========== */
.pagination-section {
  text-align: center;
  margin-top: 2rem;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-btn {
  padding: 0.5rem 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9rem;
  color: var(--accent-color);
}

.page-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.page-number {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  min-width: 2.5rem;
  text-align: center;
}

.page-number.current {
  background: var(--accent-color);
  color: white;
  border-radius: 4px;
}

.page-ellipsis {
  color: var(--text-muted);
  padding: 0 0.25rem;
}

/* ========== Homepage ========== */
.home-intro {
  margin-bottom: calc(var(--spacing) * 3);
  padding-bottom: calc(var(--spacing) * 2);
  border-bottom: 1px solid var(--border-color);
  text-align: justify;
  hyphens: none;
  overflow-wrap: break-word;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing);
  margin: calc(var(--spacing) * 1.5) 0 calc(var(--spacing) * 2);
}

.topic-card {
  display: block;
  padding: calc(var(--spacing) * 1.25);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--bg-primary);
}

.topic-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-card-hover);
  transform: var(--transform-card-hover);
  text-decoration: none;
}

.topic-card h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--accent-color);
  margin: 0 0 calc(var(--spacing-half) * 0.75) 0;
}

.topic-card p {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  margin: 0;
  line-height: var(--line-height-base);
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}
/* ========== Post Topic Series Cards ========== */
.post-topic-series {
  /* No top padding or border when inside discovery section */
}

.post-topic-series-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--spacing);
  text-align: left;
  hyphens: none;
}

.post-topic-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing);
}

/* ========== Related Posts ========== */
.related-posts {
  /* No top padding or border when inside discovery section */
}

.related-posts h4 {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--spacing);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing);
}

.related-post-card {
  display: block;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: calc(var(--spacing) * 1.25);
  transition: all 0.2s;
  text-decoration: none;
}

.related-post-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-card-hover);
  transform: var(--transform-card-hover);
  text-decoration: none;
}

.related-post-card h5 {
  margin: 0 0 var(--spacing-half) 0;
  font-size: var(--font-size-medium);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-semibold);
  color: var(--accent-color);
}

.related-post-meta {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--spacing-half);
}

.related-post-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Tags Page ========== */
.tags-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.tags-intro {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  margin-bottom: calc(var(--spacing) * 2);
  line-height: 1.6;
}

.all-tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 0.75);
  margin-top: calc(var(--spacing) * 2);
}

.tag-large {
  padding: calc(var(--spacing) * 0.5) var(--spacing);
  font-size: var(--font-size-base);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.tag-large:hover {
  transform: var(--transform-card-hover);
}

.tag-count {
  color: var(--text-muted);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  opacity: 0.8;
}

.tag-large:hover .tag-count {
  opacity: 1;
}

/* ========== Breadcrumb Navigation ========== */
.breadcrumb {
  margin-bottom: calc(var(--spacing) * 1.5);
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
  font-weight: 400;
}

.breadcrumb-item a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========== Redirect Page ========== */
.redirect-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: var(--bg-subtle);
}

.redirect-message {
  text-align: center;
  padding: 2rem;
}

.redirect-message h1 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.redirect-message a {
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
}

.redirect-message a:hover {
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  /* Enhanced mobile readability */
  body {
    font-size: 1.125rem;
    line-height: 1.8;
  }
  .wrapper {
    padding: 0 calc(var(--spacing) * 1.25);
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.625rem;
  }
  h3 {
    font-size: 1.375rem;
  }
  .post-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  .page-content {
    padding: calc(var(--spacing) * 2) 0;
  }
  .site-header {
    padding: calc(var(--spacing) * 1.25) 0;
  }
  /* Improve tap targets - minimum 44x44px */
  .site-nav .page-link,
  .expertise-list li,
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
  }
  .social-media-list a {
    min-height: auto;
    padding: 0;
  }
  .site-nav .page-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .contact-buttons {
    flex-direction: column;
  }
  .contact-btn {
    justify-content: center;
    width: 100%;
  }
  .share-buttons {
    flex-direction: column;
  }
  .share-btn {
    justify-content: center;
    width: 100%;
  }
  .footer-quote {
    max-width: 100%;
    padding: calc(var(--spacing) * 1.25) 0;
  }
  .footer-quote p {
    font-size: 0.875rem;
  }
  .footer-quote cite {
    font-size: 0.8125rem;
  }
  /* Articles page mobile */
  .article-card {
    flex-direction: column;
    gap: calc(var(--spacing) * 1.25);
    padding: calc(var(--spacing) * 1.25);
  }
  .card-aside {
    flex-direction: row;
    align-items: flex-end;
  }
  .card-meta-right {
    align-items: flex-start;
  }
  .pagination-controls {
    gap: 0.25rem;
  }
  .page-btn,
  .page-number {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  /* Related posts mobile */
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  /* Breadcrumb mobile optimization */
  .breadcrumb {
    font-size: 0.8125rem;
  }
}
/* ========== Print ========== */
@media print {
  .site-header,
  .site-nav,
  .site-footer,
  .post-share,
  .post-tags,
  .footer-quote,
  .breadcrumb {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}

/*# sourceMappingURL=style.css.map */