/* Hide the site title in the sidebar */
.site-title {
  display: none !important;
}

/* Alternative selectors that might be used by the theme for site title only */
.sidebar .site-title,
.site__title {
  display: none !important;
}

/* Keep the author name visible - don't hide .author__name */ 

/* Circular avatar */
.sidebar .author__avatar,
.author__avatar,
.sidebar .author__avatar-wrapper .author__avatar {
  width: 100% !important;
  max-width: 260px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-width: unset !important;
  min-height: unset !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin: 0 auto 1em !important;
}

.sidebar .author__avatar img,
.author__avatar img,
.sidebar .author__avatar-wrapper .author__avatar img {
  width: 100% !important;
  height: 100% !important;
  min-width: unset !important;
  min-height: unset !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

/* Hide the FEED section in the footer */
.page__footer-follow,
.feed-label {
  display: none !important;
}

/* ─── CV Timeline ─────────────────────────────────────── */
.cv-timeline {
  position: relative;
  padding: 0;
  list-style: none;
  margin: 2rem 0;
}

.cv-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d0d4d8;
}

.cv-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.cv-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #6f777d;
  background: #6f777d;
}

.cv-dot.research  { background: #27ae60; box-shadow: 0 0 0 2px #27ae60; }
.cv-dot.work      { background: #4a90d9; box-shadow: 0 0 0 2px #4a90d9; }
.cv-dot.club      { background: #e67e22; box-shadow: 0 0 0 2px #e67e22; }
.cv-dot.comp      { background: #8e44ad; box-shadow: 0 0 0 2px #8e44ad; }
.cv-dot.edu       { background: #c0922b; box-shadow: 0 0 0 2px #c0922b; }

.cv-period {
  font-size: 0.78rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.cv-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #222;
}

.cv-subtitle {
  font-size: 0.92rem;
  color: #555;
  margin: 0 0 0.4rem;
}

.cv-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.cv-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 0.3rem;
  color: #fff;
}
.cv-badge.research { background: #27ae60; }
.cv-badge.work     { background: #4a90d9; }
.cv-badge.club     { background: #e67e22; }
.cv-badge.comp     { background: #8e44ad; }
.cv-badge.edu      { background: #c0922b; }

.cv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.cv-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cv-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cv-item-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cv-item-main {
  flex: 1;
  min-width: 0;
}

.cv-company {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.12rem;
  color: #222;
}

.cv-role {
  font-size: 0.92rem;
  color: #444;
  font-weight: 500;
  margin: 0 0 0.18rem;
}

.cv-meta {
  font-size: 0.82rem;
  color: #888;
  margin: 0 0 0.4rem;
}

.cv-logo-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 8px;
  border: 1px dashed #c8cdd1;
  background: #f3f4f5;
  flex-shrink: 0;
  margin-top: 0.25rem;
  overflow: hidden;
}

.cv-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ─── Fun Page ────────────────────────────────────────── */
.fun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1rem 0 2rem;
}

.fun-card {
  border: 1px solid #e0e4e8;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  background: #fafbfc;
}

.fun-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #222;
}

.fun-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}

.fun-tag {
  display: inline-block;
  background: #eef1f4;
  color: #444;
  border-radius: 14px;
  padding: 3px 10px;
  font-size: 0.8rem;
  margin: 3px 2px;
}

.fun-section-icon {
  font-size: 1.4rem;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* ─── Sports Teams Grid ──────────────────────────────── */
.teams-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.75rem 0 1.5rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 80px;
}

.team-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
  flex-shrink: 0;
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-name {
  font-size: 0.72rem;
  color: #444;
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
}

.sports-row {
  display: flex;
  gap: 2rem;
  margin: 0.75rem 0 1.5rem;
  flex-wrap: wrap;
}

.sports-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #555;
  font-weight: 600;
}

/* ─── Projects Page ───────────────────────────────────── */
.wide .page {
  float: none !important;
  width: 100% !important;
  padding-right: 0 !important;
}

.wide .page__title,
.wide .page__lead,
.project-intro {
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin: 1.5rem auto;
  max-width: 900px;
}

.project-card {
  border: 1px solid #e0e4e8;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}

.project-github {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a90d9;
  text-decoration: none;
  white-space: nowrap;
}

.project-github:hover {
  text-decoration: underline;
}

.project-date {
  margin: 0;
  font-size: 0.76rem;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.project-tag {
  display: inline-block;
  background: #eef1f4;
  color: #444;
  border-radius: 14px;
  padding: 2px 10px;
  font-size: 0.78rem;
}

/* ─── Game Slideshow ──────────────────────────────────────── */
.game-slideshow {
  margin: 1rem 0 2rem;
}

.slide-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slide-track {
  flex: 1;
  min-width: 0;
}

.slide {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 2rem 1.5rem;
  background: #fafbfc;
  border: 1px solid #e0e4e8;
  border-radius: 14px;
  text-align: center;
  animation: slideFade 0.2s ease;
}

.slide.active {
  display: flex;
}

@keyframes slideFade {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-logo {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.slide-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.45rem;
}

.slide-rating {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4a90d9;
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.slide-thoughts {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
  max-width: 440px;
  margin: 0;
}

.slide-btn {
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.slide-btn:hover {
  background: #eef1f4;
  color: #222;
  border-color: #c8cdd1;
}

.slide-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.slide-dots {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  align-items: center;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d4d8;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slide-dot.active {
  background: #4a90d9;
  transform: scale(1.25);
}

.slide-counter {
  font-size: 0.75rem;
  color: #bbb;
}

/* ─── Anime / Shows List ──────────────────────────────────── */
.anime-list {
  margin: 0.75rem 0 1.5rem;
}

.anime-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}

.anime-item:last-child {
  border-bottom: none;
}

.anime-title {
  font-size: 0.9rem;
  color: #222;
  font-weight: 500;
}

.anime-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.anime-status {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.anime-status.completed { background: #e8f5e9; color: #2e7d32; }
.anime-status.watching  { background: #e3f2fd; color: #1565c0; }
.anime-status.dropped   { background: #fce4ec; color: #c62828; }
.anime-status.paused    { background: #fff3e0; color: #e65100; }

.anime-stars {
  font-size: 0.82rem;
  color: #e6a817;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ─── Cooking Gallery ─────────────────────────────────────── */
.cooking-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  border: 2px dashed #d0d4d8;
  border-radius: 12px;
  background: #fafbfc;
  color: #999;
  text-align: center;
  margin: 1rem 0 2rem;
  gap: 0.5rem;
}

.cooking-coming-soon .cooking-icon {
  font-size: 2.5rem;
}

.cooking-coming-soon p {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
}