/* experience items */
.exp-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.exp-item:last-child { border-bottom: none; }

.exp-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--card-bg-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.exp-content { flex: 1; min-width: 0; }

.exp-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 2px;
}

.exp-company { font-size: 13px; font-weight: 700; color: var(--text-primary); }

.exp-date {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--card-bg-2);
  color: var(--text-muted);
  white-space: nowrap;
}

#tab-work .exp-date,
#tab-education .exp-date {
  font-weight: 700;
  color: #1f883d;
  border-color: rgba(31, 136, 61, 0.35);
  background: rgba(31, 136, 61, 0.12);
}

.exp-role { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.exp-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; }

/* news timeline */
.news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.news-item:last-child { border-bottom: none; }

.news-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  flex-shrink: 0;
}

.news-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.news-line { width: 1px; flex: 1; background: var(--border-light); margin-top: 6px; }
.news-item:last-child .news-line { display: none; }

.news-date { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.news-text { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; }

/* Overview page polish */
.overview-page .panel-header {
  padding: 7px 10px;
}

body:not(.dark) .overview-page .panel-header {
  background: #e9edf2;
  border-bottom-color: #d2d9e1;
}

.overview-page .panel-header h2,
.overview-page .panel-header h3 {
  font-size: 12px;
}

.overview-page .exp-header {
  padding-top: 6px;
  padding-bottom: 6px;
}

.overview-page .exp-header .tab-buttons {
  padding: 1px;
  gap: 1px;
}

body:not(.dark) .overview-page .exp-header .tab-buttons {
  background: #e4e9ef;
  border-color: #d2d9e1;
}

body:not(.dark) .projects-page .panel-header {
  background: #e3e8ee;
  border-bottom-color: #c8d1db;
}

body:not(.dark) .projects-page .proj-bar {
  background: #e3e8ee;
  border-bottom-color: #c8d1db;
}

body:not(.dark) .blog-page .blog-music-head {
  background: #e3e8ee;
  border-bottom-color: #c8d1db;
}

.overview-page .exp-header .tab-btn {
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.1;
}

@media (min-width: 1001px) {
  .overview-page .panels-container {
    height: calc(100vh - 270px);
    min-height: 480px;
    max-height: 660px;
  }

  .overview-page .panel-col,
  .overview-page .panel,
  .overview-page .panel-body {
    min-height: 0;
  }

  .overview-page .panel-exp .panel-body,
  .overview-page .panel-news .panel-body,
  .overview-page .panel-skills .panel-body {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .overview-page .panel-exp .panel-body::-webkit-scrollbar,
  .overview-page .panel-news .panel-body::-webkit-scrollbar,
  .overview-page .panel-skills .panel-body::-webkit-scrollbar {
    display: none;
  }
}

.gh-profile-clean {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gh-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.gh-username {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.gh-bio {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.gh-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gh-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 2px;
  border-radius: 6px;
}

.gh-link i {
  width: 16px;
  text-align: center;
  color: var(--text-muted);
}

.gh-link:hover {
  background: var(--card-bg-2);
  color: var(--text-primary);
  text-decoration: none;
}

.gh-now-clean {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gh-now-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.gh-now-item {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.panel-ghcal {
  width: 100%;
  max-width: none;
  align-self: stretch;
  flex: 1;
}

.panel-exp {
  flex: 2;
}

.ghcal-body {
  padding: 8px 10px;
}

.ghcal-card {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 6px 8px 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ghcal-img {
  width: auto;
  max-width: 100%;
  margin: 0;
  display: block;
  border-radius: 6px;
}

.ghcal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.ghcal-legend .sq {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid var(--border-light);
  display: inline-block;
}

.ghcal-legend .s0 { background: #ebedf0; }
.ghcal-legend .s1 { background: #9be9a8; }
.ghcal-legend .s2 { background: #40c463; }
.ghcal-legend .s3 { background: #30a14e; }
.ghcal-legend .s4 { background: #216e39; }

body.dark .ghcal-legend .s0 { background: #161b22; border-color: #30363d; }
body.dark .ghcal-legend .s1 { background: #0e4429; border-color: #0e4429; }
body.dark .ghcal-legend .s2 { background: #006d32; border-color: #006d32; }
body.dark .ghcal-legend .s3 { background: #26a641; border-color: #26a641; }
body.dark .ghcal-legend .s4 { background: #39d353; border-color: #39d353; }

@media (max-width: 820px) {
  .ghcal-img {
    width: 100%;
  }
}

/* 
   Projects page layout
*/

.projects-page {
  padding-top: 56px; /* topbar */
}

.projects-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 18px 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 14px;
}

/* Left sidebar */
.projects-side .panel-header h2 {
  font-size: 22px;
  font-weight: 800;
}

.projects-side-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 2px;
}

.side-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
}

.side-item:hover {
  background: var(--card-bg-2);
  color: var(--text-primary);
}

.side-item.active {
  background: var(--card-bg-2);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-primary);
  font-weight: 700;
}

.side-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.side-item.active .side-dot {
  background: var(--accent);
}

.side-text b {
  font-weight: 800;
  color: var(--text-primary);
}

/* Right main area */
.projects-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Toolbar row */
.projects-toolbar .panel-body { padding: 0; }
.projects-toolbar-inner {
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.projects-search {
  flex: 1;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-primary);
  padding: 0 10px;
  outline: none;
}

.projects-search:focus {
  border-color: rgba(9,105,218,0.55);
  box-shadow: 0 0 0 3px rgba(9,105,218,0.15);
}

.projects-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg-2);
  color: var(--text-secondary);
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proj-span-2 { grid-column: span 2; }

.proj-card {
  overflow: hidden;
}

/* top bar inside each card */
.proj-bar {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.proj-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
}

.proj-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--card-bg-2);
  border: 1px solid var(--border-light);
  font-size: 12px;
}

.proj-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: auto;
  white-space: nowrap;
}

/* media area */
.proj-media {
  background: var(--card-bg);
}

.proj-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* code preview style */
.proj-code {
  background: #0d1117;
}

.proj-code pre {
  margin: 0;
  padding: 14px 14px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #e6edf3;
}

/* Dark mode – keep code card consistent */
body.dark .proj-code {
  background: #0d1117;
}
body.dark .proj-code pre {
  color: #e6edf3;
}

/* Responsive */
@media (max-width: 1100px) {
  .projects-shell {
    grid-template-columns: 300px 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proj-span-2 { grid-column: span 2; }
}

@media (max-width: 820px) {
  .projects-shell {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .proj-span-2 { grid-column: span 1; }
  .proj-media img { height: 220px; }
}
/* Resume PDF viewer (simple) */
.resume-panel-body {
  padding: 12px;
}

.resume-frame-wrap {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  max-width: 1040px;
  margin: 0 auto;
}

.resume-pdf-frame {
  width: 100%;
  height: 1200px;
  border: 0;
  display: block;
}

@media (max-width: 820px) {
  .resume-pdf-frame {
    height: 900px;
  }
}

/* Projects explorer */
.pexp-shell {
  max-width: 1500px;
  grid-template-columns: 360px 1fr;
  align-items: start;
}

.pexp-side {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 84px);
}

.pexp-side .panel-header h2 {
  font-size: 28px;
  letter-spacing: 0.02em;
}

.pexp-side-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pexp-side-body .projects-search {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 12px;
  line-height: 30px;
  appearance: none;
  -webkit-appearance: none;
}

.pexp-side-body .projects-search::placeholder {
  color: var(--text-muted);
}

.pexp-side-body .projects-search:focus {
  outline: none;
  border-color: rgba(46, 160, 67, 0.55);
  box-shadow: 0 0 0 2px rgba(46, 160, 67, 0.18);
}

.project-nav-item {
  border: 1px solid transparent;
  padding: 5px 7px;
  border-radius: 3px;
}

.project-nav-item.active {
  border-color: rgba(46, 160, 67, 0.45);
  background: rgba(46, 160, 67, 0.18);
}

body.dark .project-nav-item.active {
  border-color: rgba(63, 185, 80, 0.45);
  background: rgba(63, 185, 80, 0.2);
}

.project-nav-item.active .side-dot {
  background: #2ea043;
}

body.dark .project-nav-item.active .side-dot {
  background: #3fb950;
}

.project-nav-item.active .side-text {
  font-weight: 700;
  color: var(--text-primary);
}

.pexp-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pexp-context {
  font-size: 12px;
  color: var(--panel-head-text);
}

.pexp .panel-header {
  padding: 7px 10px;
}

.pexp .panel-header h2,
.pexp .panel-header h3 {
  font-size: 12px;
}

.pexp-title {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.pexp-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.pexp-about ul {
  margin-left: 16px;
  display: grid;
  gap: 6px;
}

.pexp-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pexp-tag {
  font-size: 11px;
  text-transform: lowercase;
  border: 1px solid rgba(31, 136, 61, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(46, 160, 67, 0.14);
  color: #1f883d;
  font-weight: 700;
}

body.dark .pexp-tag {
  border-color: rgba(63, 185, 80, 0.4);
  background: rgba(63, 185, 80, 0.2);
  color: #3fb950;
}

.pexp-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.pexp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pexp-table td {
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  color: var(--text-secondary);
  vertical-align: top;
}

.pexp-table td:first-child {
  width: 36%;
  color: var(--text-muted);
}

.pexp-comment {
  color: var(--text-secondary);
  line-height: 1.6;
}

.pexp-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pexp-example-card {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
}

.pexp-example-head {
  font-size: 13px;
  font-weight: 700;
  color: #e6edf3;
  background: #1f2937;
  border-bottom: 1px solid #30363d;
  padding: 8px 10px;
}

.pexp-example-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.pexp-example-card p {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 10px;
}

.pexp-example-card pre {
  margin: 0;
  padding: 12px;
  min-height: 260px;
  background: #0d1117;
  color: #e6edf3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
}

@media (max-width: 1150px) {
  .pexp-shell {
    grid-template-columns: 310px 1fr;
  }

  .pexp-grid-2,
  .pexp-examples {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .pexp-shell {
    grid-template-columns: 1fr;
  }

  .pexp-side {
    position: static;
    max-height: none;
  }
}

/* Hobbies journal */
.hobby-page {
  padding-top: 56px;
}

.hobby-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 12px;
  display: grid;
  gap: 14px;
}

.hobby-entry {
  border: 1px solid var(--border-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.46)),
    repeating-linear-gradient(0deg, rgba(92, 100, 110, 0.06) 0, rgba(92, 100, 110, 0.06) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(92, 100, 110, 0.06) 0, rgba(92, 100, 110, 0.06) 1px, transparent 1px, transparent 6px);
}

.hobby-entry-head {
  background: linear-gradient(90deg, #3a3e3a 0%, #2f332f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 12px 4px;
}

.hobby-entry-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hobby-entry-title {
  color: #f2f4f5;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hobby-bullet {
  width: 9px;
  height: 9px;
  background: #c9c79f;
  display: inline-block;
}

.hobby-entry-lang {
  display: flex;
  gap: 4px;
}

.hobby-entry-lang span {
  font-size: 11px;
  color: #2a2f2a;
  background: #d8d8c4;
  padding: 4px 8px;
  border-radius: 2px;
}

.hobby-entry-lang span.active {
  background: #6e6a49;
  color: #f4f4e9;
}

.hobby-entry-date {
  margin-left: 17px;
  margin-top: 2px;
  color: #d4dacd;
  font-size: 12px;
  font-style: italic;
}

.hobby-entry-body {
  padding: 14px 14px 16px;
}

.hobby-photo {
  width: min(100%, 380px);
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

.hobby-photo-wide {
  width: min(100%, 600px);
}

.hobby-entry-body p {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 8px;
}

.hobby-quote {
  margin: 12px 0;
  padding: 8px 12px;
  border-left: 3px solid #b7b28d;
  color: #43463d;
  font-style: italic;
  line-height: 1.5;
}

.hobby-music-card {
  width: min(100%, 680px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.hobby-music-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hobby-music-body {
  display: flex;
  gap: 12px;
  padding: 10px;
}

.hobby-music-body img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}

.hobby-music-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.song-title {
  font-size: 28px;
  line-height: 1.2;
  color: #111;
}

.song-artist {
  font-size: 16px;
  color: #6b7280;
}

.song-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.song-btn {
  display: inline-block;
  background: #f43f5e;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.song-link {
  color: #dc2626;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}

body.dark .hobby-entry {
  background:
    linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.7)),
    repeating-linear-gradient(0deg, rgba(78, 88, 104, 0.08) 0, rgba(78, 88, 104, 0.08) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(78, 88, 104, 0.08) 0, rgba(78, 88, 104, 0.08) 1px, transparent 1px, transparent 6px);
}

body.dark .hobby-entry-body p,
body.dark .hobby-quote {
  color: #cdd6df;
}

body.dark .hobby-music-card {
  background: #111827;
}

body.dark .song-title {
  color: #f3f4f6;
}

body.dark .song-artist {
  color: #9ca3af;
}

@media (max-width: 900px) {
  .hobby-entry-title {
    font-size: 22px;
  }

  .song-title {
    font-size: 22px;
  }
}

/* Blog page (single panel) */
.blog-page {
  padding-top: 56px;
}

.blog-panel {
  width: 100%;
}

.blog-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.blog-head-left h2 {
  font-size: 18px;
}

.blog-date {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-secondary);
}

.blog-head-tags {
  margin-left: auto;
  justify-content: flex-end;
  margin-top: 2px;
}

.blog-lang {
  display: flex;
  gap: 6px;
}

.blog-lang span {
  border: 1px solid var(--border);
  background: var(--card-bg-2);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.blog-lang span.active {
  background: #2ea043;
  border-color: #2ea043;
  color: #ffffff;
}

.blog-body {
  display: grid;
  gap: 14px;
}

.blog-music-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  overflow: hidden;
  max-width: 760px;
}

.blog-music-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-music-content {
  padding: 10px;
  display: flex;
  gap: 12px;
}

.blog-music-content img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-track {
  font-size: 26px;
  line-height: 1.2;
  color: var(--text-primary);
}

.blog-artist {
  font-size: 17px;
  color: var(--text-secondary);
}

.blog-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 16px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.blog-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.blog-hero {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.blog-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.blog-timeline {
  position: relative;
  padding-left: 6px;
  display: grid;
  gap: 4px;
}

.blog-timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-light);
}

.blog-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 8px 6px 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.blog-timeline-item:hover {
  background: var(--card-bg-2);
}

.blog-timeline-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card-bg);
  margin-top: 5px;
  z-index: 1;
  flex-shrink: 0;
}

.blog-timeline-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.blog-timeline-text b {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 700;
}

.blog-timeline-text small {
  font-size: 11px;
  color: var(--text-muted);
}

.hobbies-explorer .blog-timeline-item.active {
  background: rgba(46, 160, 67, 0.22);
  box-shadow: inset 0 0 0 1px rgba(46, 160, 67, 0.65);
}

.hobbies-explorer .blog-timeline-item.active .blog-timeline-node {
  border-color: #1f883d;
  background: #1f883d;
  box-shadow: 0 0 0 2px rgba(31, 136, 61, 0.28);
}

body.dark .blog-timeline::before {
  background: #2d3a4a;
}

body.dark .hobbies-explorer .blog-timeline-item.active {
  background: rgba(63, 185, 80, 0.18);
}

body.dark .hobbies-explorer .blog-timeline-item.active .blog-timeline-node {
  border-color: #3fb950;
  background: #3fb950;
  box-shadow: 0 0 0 2px rgba(63, 185, 80, 0.2);
}

@media (max-width: 820px) {
  .blog-head {
    flex-wrap: wrap;
  }

  .blog-head-tags {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .blog-music-content {
    flex-direction: column;
  }

  .blog-track {
    font-size: 22px;
  }
}

.exp-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 5px; /* slightly rounded square */
}


.news-thumb {
  width: 220px;
  height: auto;            /* let ratio control height */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 8px auto; /* centers horizontally */
}

.gh-now-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

