/*
Theme Name: VideoHub
Theme URI: https://videohub.com
Author: VideoHub
Description: YouTube-exact design video platform — blue/white, Roboto font, full functionality.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: videohub
*/

/* ── GOOGLE FONTS: Roboto (YouTube font) ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* YouTube exact colors */
  --yt-bg:          #0f0f0f;
  --yt-bg-2:        #181818;
  --yt-bg-3:        #212121;
  --yt-surface:     #272727;
  --yt-border:      rgba(255,255,255,0.1);
  --yt-text:        #f1f1f1;
  --yt-text-2:      #aaaaaa;
  --yt-text-3:      #717171;
  --yt-blue:        #3ea6ff;
  --yt-blue-dark:   #065fd4;
  --yt-blue-hover:  #548fcc;
  --yt-red:         #ff0000;
  --yt-white:       #ffffff;
  --yt-chip-bg:     #272727;
  --yt-chip-active: #f1f1f1;
  --yt-chip-active-text: #0f0f0f;
  --yt-radius:      8px;
  --yt-radius-sm:   4px;
  --yt-sidebar:     240px;
  --yt-header-h:    56px;
  --yt-font:        'Roboto', Arial, sans-serif;
  --yt-transition:  0.1s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
  font-family: var(--yt-font);
  background: var(--yt-bg);
  color: var(--yt-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #606060; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #909090; }

/* ════════════════════════════════════════
   HEADER — Exact YouTube
════════════════════════════════════════ */
.yt-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--yt-header-h);
  background: var(--yt-bg);
  display: flex; align-items: center;
  padding: 0 16px;
  gap: 8px;
  z-index: 2000;
  border-bottom: 1px solid transparent;
}

/* Logo */
.yt-logo {
  display: flex; align-items: center; gap: 6px;
  min-width: 180px;
  padding: 0 14px 0 4px;
  cursor: pointer;
  border-radius: var(--yt-radius-sm);
  transition: background var(--yt-transition);
}
.yt-logo:hover { background: var(--yt-surface); }
.yt-logo svg { flex-shrink: 0; }
.yt-logo-text {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--yt-white);
  line-height: 1;
}
.yt-logo-text sup { font-size: 10px; font-weight: 500; color: var(--yt-text-2); vertical-align: top; margin-top: 2px; }

/* Search bar */
.yt-search-wrap {
  flex: 1; max-width: 728px;
  display: flex; align-items: center;
  margin: 0 auto;
}
.yt-search-form {
  flex: 1; display: flex; align-items: stretch;
  height: 40px;
}
.yt-search-input {
  flex: 1;
  background: var(--yt-bg);
  border: 1px solid #303030;
  border-right: none;
  border-radius: 40px 0 0 40px;
  padding: 0 16px;
  font-size: 16px;
  color: var(--yt-text);
  outline: none;
  height: 40px;
  transition: border-color 0.15s;
}
.yt-search-input:focus {
  border-color: var(--yt-blue);
  background: var(--yt-bg-2);
  box-shadow: inset 0 0 0 1px var(--yt-blue);
}
.yt-search-input::placeholder { color: var(--yt-text-3); }
.yt-search-btn {
  width: 64px; height: 40px;
  background: var(--yt-bg-3);
  border: 1px solid #303030;
  border-radius: 0 40px 40px 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--yt-text);
  transition: background var(--yt-transition);
}
.yt-search-btn:hover { background: var(--yt-surface); }
.yt-mic-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: 8px;
  background: var(--yt-bg-3);
  transition: background var(--yt-transition);
}
.yt-mic-btn:hover { background: var(--yt-surface); }

/* Header actions */
.yt-header-actions {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.yt-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--yt-text); font-size: 22px;
  transition: background var(--yt-transition);
  position: relative;
}
.yt-icon-btn:hover { background: var(--yt-surface); }

/* Sign In button */
.yt-signin-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid #3ea6ff;
  border-radius: 20px;
  color: var(--yt-blue);
  font-size: 14px; font-weight: 500;
  transition: background var(--yt-transition);
  white-space: nowrap;
}
.yt-signin-btn:hover { background: rgba(62,166,255,0.1); }
.yt-signin-btn svg { width: 20px; height: 20px; }

/* Create button */
.yt-create-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--yt-bg-3);
  color: var(--yt-text);
  font-size: 14px; font-weight: 500;
  transition: background var(--yt-transition);
  white-space: nowrap;
}
.yt-create-btn:hover { background: var(--yt-surface); }

/* Avatar */
.yt-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--yt-blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: #fff; overflow: hidden; cursor: pointer;
  flex-shrink: 0;
}
.yt-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Dropdown */
.yt-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  min-width: 220px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.8);
  z-index: 9999;
  overflow: hidden;
}
.yt-dropdown-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--yt-border);
}
.yt-dropdown-name { font-weight: 500; font-size: 14px; }
.yt-dropdown-email { font-size: 12px; color: var(--yt-text-2); margin-top: 2px; }
.yt-dropdown-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  font-size: 14px; color: var(--yt-text);
  transition: background var(--yt-transition);
  cursor: pointer;
}
.yt-dropdown-item:hover { background: var(--yt-surface); }
.yt-dropdown-item svg { width: 20px; height: 20px; opacity: 0.8; }
.yt-dropdown-divider { height: 1px; background: var(--yt-border); margin: 4px 0; }

/* ════════════════════════════════════════
   SIDEBAR — Exact YouTube
════════════════════════════════════════ */
.yt-body { display: flex; padding-top: var(--yt-header-h); }

.yt-sidebar {
  position: fixed;
  top: var(--yt-header-h); left: 0; bottom: 0;
  width: var(--yt-sidebar);
  background: var(--yt-bg);
  overflow-y: auto; overflow-x: hidden;
  padding: 8px 0;
  z-index: 1500;
  scrollbar-width: none;
}
.yt-sidebar::-webkit-scrollbar { display: none; }

.yt-sidebar-section { padding: 12px 0; border-bottom: 1px solid var(--yt-border); }
.yt-sidebar-section:last-child { border-bottom: none; }

.yt-sidebar-label {
  font-size: 13px; font-weight: 500;
  color: var(--yt-text);
  padding: 6px 24px 4px;
  letter-spacing: 0.1px;
}

.yt-sidebar-item {
  display: flex; align-items: center; gap: 20px;
  padding: 0 24px;
  height: 40px;
  font-size: 14px; font-weight: 400;
  color: var(--yt-text);
  border-radius: var(--yt-radius-sm);
  transition: background var(--yt-transition);
  cursor: pointer;
  position: relative;
}
.yt-sidebar-item:hover { background: var(--yt-surface); }
.yt-sidebar-item.active {
  background: var(--yt-bg-3);
  font-weight: 500;
}
.yt-sidebar-item svg { width: 24px; height: 24px; flex-shrink: 0; }
.yt-sidebar-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ════════════════════════════════════════
   MAIN CONTENT
════════════════════════════════════════ */
.yt-main {
  flex: 1;
  margin-left: var(--yt-sidebar);
  min-width: 0;
  min-height: calc(100vh - var(--yt-header-h));
}

/* ════════════════════════════════════════
   CHIPS / FILTER PILLS
════════════════════════════════════════ */
.yt-chips {
  position: sticky; top: var(--yt-header-h);
  background: var(--yt-bg);
  z-index: 100;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid transparent;
}
.yt-chips::-webkit-scrollbar { display: none; }

.yt-chip {
  padding: 0 12px; height: 32px;
  background: var(--yt-chip-bg);
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--yt-text);
  white-space: nowrap;
  transition: background var(--yt-transition);
  display: inline-flex; align-items: center;
  cursor: pointer;
}
.yt-chip:hover { background: var(--yt-surface); }
.yt-chip.active {
  background: var(--yt-chip-active);
  color: var(--yt-chip-active-text);
}

/* ════════════════════════════════════════
   VIDEO GRID
════════════════════════════════════════ */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px 12px;
  padding: 16px 24px 40px;
}

/* ════════════════════════════════════════
   VIDEO CARD — Exact YouTube
════════════════════════════════════════ */
.yt-card { cursor: pointer; }

.yt-card-thumb {
  position: relative;
  border-radius: var(--yt-radius);
  overflow: hidden;
  background: var(--yt-bg-3);
  aspect-ratio: 16/9;
  margin-bottom: 10px;
}
.yt-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: border-radius 0.2s;
}
.yt-card:hover .yt-card-thumb img { border-radius: 0; }

.yt-card-duration {
  position: absolute; bottom: 4px; right: 4px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 2px 4px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* Progress bar on thumb */
.yt-card-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--yt-red);
  border-radius: 0 0 0 0;
}

.yt-card-body { display: flex; gap: 12px; }

.yt-card-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yt-blue-dark);
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.yt-card-avatar img { width: 100%; height: 100%; object-fit: cover; }

.yt-card-info { flex: 1; min-width: 0; }

.yt-card-title {
  font-size: 14px; font-weight: 500; line-height: 20px;
  color: var(--yt-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.yt-card-channel {
  font-size: 12px; color: var(--yt-text-2);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 2px;
}
.yt-card-channel svg { width: 12px; height: 12px; }

.yt-card-meta { font-size: 12px; color: var(--yt-text-2); }

/* ════════════════════════════════════════
   VIDEO PLAYER PAGE — Exact YouTube layout
════════════════════════════════════════ */
.yt-watch {
  display: flex; gap: 24px;
  padding: 24px 24px 40px;
  max-width: 1800px;
  margin: 0 auto;
}

.yt-watch-left { flex: 1; min-width: 0; }

.yt-watch-right { width: 402px; flex-shrink: 0; }

/* Player */
.yt-player {
  background: #000;
  border-radius: var(--yt-radius);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 12px;
}
.yt-player iframe, .yt-player video {
  width: 100%; height: 100%; border: none;
  display: block;
}

/* Video title */
.yt-watch-title {
  font-size: 20px; font-weight: 600;
  line-height: 28px;
  margin-bottom: 12px;
  color: var(--yt-text);
}

/* Info row */
.yt-watch-info {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}

.yt-channel-info {
  display: flex; align-items: center; gap: 12px;
}
.yt-channel-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--yt-blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.yt-channel-name {
  font-size: 16px; font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.yt-channel-name svg { width: 14px; height: 14px; color: var(--yt-text-2); }
.yt-channel-subs { font-size: 13px; color: var(--yt-text-2); }

/* Subscribe button */
.yt-subscribe-btn {
  padding: 0 16px; height: 36px;
  background: var(--yt-white);
  color: #0f0f0f;
  border-radius: 18px;
  font-size: 14px; font-weight: 500;
  transition: background var(--yt-transition);
  display: inline-flex; align-items: center;
}
.yt-subscribe-btn:hover { background: #d9d9d9; }

/* Action buttons row */
.yt-watch-actions {
  display: flex; align-items: center; gap: 8px;
}

.yt-action-group {
  display: flex; background: var(--yt-bg-3);
  border-radius: 18px; overflow: hidden;
}

.yt-action-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 36px;
  font-size: 14px; font-weight: 500;
  color: var(--yt-text);
  transition: background var(--yt-transition);
  border-radius: 18px;
}
.yt-action-btn:hover { background: var(--yt-surface); }
.yt-action-btn svg { width: 20px; height: 20px; }

.yt-action-btn.liked svg { fill: var(--yt-blue); color: var(--yt-blue); }

.yt-action-divider {
  width: 1px; background: var(--yt-border);
  align-self: stretch; margin: 6px 0;
}

/* Description box */
.yt-description {
  background: var(--yt-bg-3);
  border-radius: var(--yt-radius);
  padding: 12px;
  margin-top: 12px;
  cursor: pointer;
}
.yt-description-meta {
  font-size: 14px; font-weight: 500;
  margin-bottom: 8px;
}
.yt-description-text {
  font-size: 14px; line-height: 20px;
  color: var(--yt-text);
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-description.expanded .yt-description-text { -webkit-line-clamp: unset; }
.yt-description-more {
  font-size: 14px; font-weight: 500;
  margin-top: 8px; color: var(--yt-text);
}

/* ── Comments ── */
.yt-comments { margin-top: 24px; }
.yt-comments-header {
  font-size: 18px; font-weight: 500;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 24px;
}

.yt-comment-input-row {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.yt-comment-field {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--yt-border);
  outline: none;
  color: var(--yt-text);
  font-size: 14px;
  padding: 4px 0;
  width: 100%;
  resize: none;
}
.yt-comment-field:focus { border-bottom-color: var(--yt-white); }
.yt-comment-field::placeholder { color: var(--yt-text-3); }

.yt-comment-btns {
  display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px;
}

.yt-comment { display: flex; gap: 16px; margin-bottom: 20px; }
.yt-comment-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yt-blue-dark);
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
}
.yt-comment-author {
  font-size: 13px; font-weight: 500; display: inline;
}
.yt-comment-time { font-size: 12px; color: var(--yt-text-2); margin-left: 8px; }
.yt-comment-text { font-size: 14px; margin-top: 4px; line-height: 20px; }
.yt-comment-actions { display: flex; gap: 8px; margin-top: 8px; }
.yt-comment-action-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--yt-text-2);
  padding: 4px 8px; border-radius: 12px;
  transition: background var(--yt-transition);
}
.yt-comment-action-btn:hover { background: var(--yt-surface); }
.yt-comment-action-btn svg { width: 16px; height: 16px; }

/* ── Recommended sidebar ── */
.yt-rec-item {
  display: flex; gap: 8px;
  margin-bottom: 8px; cursor: pointer;
  border-radius: var(--yt-radius-sm);
  padding: 4px;
  transition: background var(--yt-transition);
}
.yt-rec-item:hover { background: var(--yt-surface); }
.yt-rec-thumb {
  width: 168px; min-width: 168px;
  aspect-ratio: 16/9;
  border-radius: var(--yt-radius-sm);
  overflow: hidden; background: var(--yt-bg-3);
  position: relative;
}
.yt-rec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-rec-dur {
  position: absolute; bottom: 3px; right: 3px;
  background: rgba(0,0,0,0.8); color: #fff;
  font-size: 11px; font-weight: 500;
  padding: 1px 4px; border-radius: 3px;
}
.yt-rec-info { flex: 1; min-width: 0; }
.yt-rec-title {
  font-size: 14px; font-weight: 500; line-height: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px;
}
.yt-rec-channel { font-size: 12px; color: var(--yt-text-2); }
.yt-rec-meta { font-size: 12px; color: var(--yt-text-2); }

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.yt-btn-blue {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 16px; height: 36px;
  background: var(--yt-blue);
  color: #0f0f0f;
  border-radius: 18px;
  font-size: 14px; font-weight: 500;
  transition: background var(--yt-transition);
}
.yt-btn-blue:hover { background: var(--yt-blue-hover); }

.yt-btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 16px; height: 36px;
  background: var(--yt-bg-3);
  color: var(--yt-text);
  border-radius: 18px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--yt-border);
  transition: background var(--yt-transition);
}
.yt-btn-outline:hover { background: var(--yt-surface); }

.yt-btn-text {
  padding: 8px 12px; border-radius: 18px;
  font-size: 14px; font-weight: 500;
  color: var(--yt-blue);
  transition: background var(--yt-transition);
}
.yt-btn-text:hover { background: rgba(62,166,255,0.1); }

/* ════════════════════════════════════════
   UPLOAD FORM PAGE
════════════════════════════════════════ */
.yt-upload-wrap {
  max-width: 960px; margin: 0 auto; padding: 24px 24px 60px;
}
.yt-upload-title {
  font-size: 24px; font-weight: 400;
  margin-bottom: 24px; color: var(--yt-text);
  border-bottom: 1px solid var(--yt-border);
  padding-bottom: 16px;
}

.yt-drop-zone {
  border: 2px dashed var(--yt-border);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--yt-bg-2);
  margin-bottom: 24px;
}
.yt-drop-zone:hover, .yt-drop-zone.over {
  border-color: var(--yt-blue);
  background: rgba(62,166,255,0.05);
}
.yt-drop-icon { font-size: 72px; margin-bottom: 16px; display: block; opacity: 0.7; }
.yt-drop-zone h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.yt-drop-zone p { font-size: 14px; color: var(--yt-text-2); }

.yt-type-tabs {
  display: flex; gap: 0; margin-bottom: 24px;
  border: 1px solid var(--yt-border); border-radius: 8px; overflow: hidden;
}
.yt-type-tab {
  flex: 1; padding: 10px; text-align: center;
  font-size: 14px; font-weight: 500; color: var(--yt-text-2);
  background: var(--yt-bg-2);
  transition: all 0.15s; cursor: pointer;
  border-right: 1px solid var(--yt-border);
}
.yt-type-tab:last-child { border-right: none; }
.yt-type-tab.active {
  background: var(--yt-blue);
  color: #0f0f0f;
}
.yt-type-tab:hover:not(.active) { background: var(--yt-bg-3); color: var(--yt-text); }

/* Form fields */
.yt-form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.yt-form-group { flex: 1; margin-bottom: 20px; }
.yt-form-group label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--yt-text-2); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.yt-input, .yt-textarea, .yt-select {
  width: 100%;
  background: transparent;
  border: none; border-bottom: 1px solid var(--yt-border);
  outline: none; color: var(--yt-text);
  font-family: var(--yt-font);
  font-size: 16px;
  padding: 8px 0;
  transition: border-color 0.15s;
}
.yt-input:focus, .yt-textarea:focus, .yt-select:focus {
  border-bottom-color: var(--yt-blue);
}
.yt-input::placeholder, .yt-textarea::placeholder { color: var(--yt-text-3); }
.yt-textarea { resize: none; min-height: 100px; }
.yt-select { cursor: pointer; }
.yt-select option { background: var(--yt-bg-2); color: var(--yt-text); }

.yt-char-count {
  text-align: right; font-size: 12px; color: var(--yt-text-3); margin-top: 4px;
}

/* Submit */
.yt-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px; height: 40px;
  background: var(--yt-blue);
  color: #0f0f0f;
  border-radius: 20px;
  font-size: 14px; font-weight: 500;
  transition: background var(--yt-transition);
}
.yt-submit-btn:hover { background: var(--yt-blue-hover); }
.yt-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Thumb preview */
.yt-thumb-preview {
  width: 213px; height: 120px;
  background: var(--yt-bg-3);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--yt-text-3); font-size: 13px;
  cursor: pointer; transition: border-color 0.15s;
}
.yt-thumb-preview:hover { border-color: var(--yt-blue); }
.yt-thumb-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Progress */
.yt-progress-wrap { margin: 16px 0; }
.yt-progress-bar-bg {
  height: 4px; background: var(--yt-bg-3);
  border-radius: 2px; overflow: hidden;
}
.yt-progress-bar {
  height: 100%; background: var(--yt-blue);
  border-radius: 2px; transition: width 0.2s;
  width: 0%;
}
.yt-progress-text { font-size: 13px; color: var(--yt-text-2); margin-bottom: 6px; }

/* ════════════════════════════════════════
   AUTH PAGES — Login / Register
════════════════════════════════════════ */
.yt-auth-page {
  min-height: calc(100vh - var(--yt-header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.yt-auth-box {
  width: 100%; max-width: 400px;
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
}
.yt-auth-logo {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 24px;
}
.yt-auth-logo-icon {
  display: flex; align-items: center; justify-content: center;
}
.yt-auth-box h1 {
  font-size: 24px; font-weight: 400;
  margin-bottom: 8px;
}
.yt-auth-box p { font-size: 14px; color: var(--yt-text-2); margin-bottom: 28px; }
.yt-auth-field {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--yt-border);
  outline: none; color: var(--yt-text);
  font-size: 16px; padding: 12px 0;
  margin-bottom: 20px; text-align: left;
  transition: border-color 0.15s;
  font-family: var(--yt-font);
  display: block;
}
.yt-auth-field:focus { border-bottom-color: var(--yt-blue); }
.yt-auth-field::placeholder { color: var(--yt-text-3); }
.yt-auth-box .yt-btn-blue { width: 100%; border-radius: 4px; height: 44px; margin-bottom: 16px; font-size: 15px; }
.yt-auth-switch { font-size: 14px; color: var(--yt-text-2); }
.yt-auth-switch a { color: var(--yt-blue); font-weight: 500; }
.yt-auth-switch a:hover { text-decoration: underline; }
.yt-auth-error {
  background: rgba(255,0,0,0.1); border: 1px solid rgba(255,0,0,0.3);
  color: #f44336; font-size: 14px;
  padding: 10px 14px; border-radius: 4px;
  margin-bottom: 16px; text-align: left;
}
.yt-auth-success {
  background: rgba(62,166,255,0.1); border: 1px solid rgba(62,166,255,0.3);
  color: var(--yt-blue); font-size: 14px;
  padding: 10px 14px; border-radius: 4px;
  margin-bottom: 16px; text-align: left;
}

/* ════════════════════════════════════════
   MY VIDEOS TABLE
════════════════════════════════════════ */
.yt-table-wrap {
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  overflow: hidden;
}
.yt-table { width: 100%; border-collapse: collapse; }
.yt-table th {
  font-size: 12px; font-weight: 500;
  color: var(--yt-text-2); text-transform: uppercase; letter-spacing: 0.4px;
  padding: 12px 16px; border-bottom: 1px solid var(--yt-border);
  text-align: left; white-space: nowrap;
}
.yt-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--yt-border);
  vertical-align: middle; font-size: 14px;
}
.yt-table tr:last-child td { border-bottom: none; }
.yt-table tr:hover td { background: var(--yt-bg-3); }

.yt-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 500;
}
.yt-status-pending  { background: rgba(251,191,36,.15); color: #fbbf24; }
.yt-status-approved { background: rgba(62,166,255,.15); color: var(--yt-blue); }
.yt-status-rejected { background: rgba(244,67,54,.15); color: #f44336; }

/* ════════════════════════════════════════
   SEARCH PAGE
════════════════════════════════════════ */
.yt-search-results { padding: 16px 24px; }
.yt-search-result-item {
  display: flex; gap: 16px; margin-bottom: 16px;
  cursor: pointer; padding: 8px; border-radius: var(--yt-radius);
  transition: background var(--yt-transition);
}
.yt-search-result-item:hover { background: var(--yt-bg-3); }
.yt-search-result-thumb {
  width: 360px; min-width: 360px;
  aspect-ratio: 16/9; border-radius: var(--yt-radius);
  overflow: hidden; background: var(--yt-bg-3); position: relative;
}
.yt-search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-search-result-info { flex: 1; min-width: 0; }
.yt-search-result-title { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.yt-search-result-meta { font-size: 13px; color: var(--yt-text-2); margin-bottom: 10px; }
.yt-search-result-desc { font-size: 13px; color: var(--yt-text-2); line-height: 18px; }
.yt-search-result-channel { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }

/* ════════════════════════════════════════
   SECTION DIVIDER
════════════════════════════════════════ */
.yt-section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px 0;
}
.yt-section-head h2 { font-size: 16px; font-weight: 500; }
.yt-section-head a { font-size: 14px; color: var(--yt-blue); }

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.yt-snackbar {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #f1f1f1; color: #0f0f0f;
  padding: 12px 24px; border-radius: 4px;
  font-size: 14px; font-weight: 500;
  z-index: 99999; opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.yt-snackbar.show { opacity: 1; }

/* ════════════════════════════════════════
   PAGINATION
════════════════════════════════════════ */
.yt-pagination {
  display: flex; justify-content: center; gap: 4px; padding: 24px;
}
.yt-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 14px; color: var(--yt-text);
  transition: background var(--yt-transition);
}
.yt-pagination .page-numbers:hover { background: var(--yt-surface); }
.yt-pagination .current { background: var(--yt-blue); color: #0f0f0f; }
.yt-pagination .prev, .yt-pagination .next { width: auto; padding: 0 12px; border-radius: 18px; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1250px) {
  .yt-watch { flex-direction: column; }
  .yt-watch-right { width: 100%; }
  .yt-rec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .yt-search-result-thumb { width: 246px; min-width: 246px; }
}

@media (max-width: 900px) {
  .yt-sidebar { display: none; }
  .yt-sidebar.mobile-open { display: block; }
  .yt-main { margin-left: 0; }
  .yt-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .yt-search-results { padding: 12px 16px; }
  .yt-search-result-item { flex-direction: column; }
  .yt-search-result-thumb { width: 100%; min-width: 0; }
}

@media (max-width: 600px) {
  :root { --yt-sidebar: 0px; }
  .yt-logo-text { display: none; }
  .yt-search-wrap { max-width: none; }
  .yt-mic-btn { display: none; }
  .yt-grid { grid-template-columns: 1fr; padding: 8px 16px; }
  .yt-watch { padding: 12px 12px 40px; gap: 16px; }
  .yt-chips { padding: 8px 12px; }
  .yt-upload-wrap { padding: 16px; }
  .yt-auth-box { padding: 28px 20px; }
  .yt-form-row { flex-direction: column; }
}

/* ════════════════════════════════════════
   BLOG — PAGE & SINGLE POST
════════════════════════════════════════ */

/* ── Blog listing grid ── */
.yt-blog-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

.yt-blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yt-border);
}

.yt-blog-header h1 {
  font-size: 22px;
  font-weight: 400;
  color: var(--yt-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-blog-header h1 svg { opacity: .7; }

.yt-blog-count {
  font-size: 13px;
  color: var(--yt-text-2);
}

/* ── Blog card grid ── */
.yt-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* ── Blog card ── */
.yt-blog-card {
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.yt-blog-card:hover {
  border-color: rgba(62,166,255,0.4);
  transform: translateY(-2px);
}

.yt-blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--yt-bg-3);
  position: relative;
}

.yt-blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.yt-blog-card:hover .yt-blog-card-thumb img {
  transform: scale(1.03);
}

.yt-blog-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.yt-blog-card-body {
  padding: 16px;
}

.yt-blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--yt-blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.yt-blog-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--yt-text);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-blog-card-excerpt {
  font-size: 13px;
  line-height: 19px;
  color: var(--yt-text-2);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--yt-text-3);
}

.yt-blog-card-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yt-blue-dark);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.yt-blog-card-avatar img { width: 100%; height: 100%; object-fit: cover; }

.yt-blog-card-dot { width: 3px; height: 3px; background: var(--yt-text-3); border-radius: 50%; }

/* ── Featured post (first card, full-width) ── */
.yt-blog-featured {
  grid-column: 1 / -1;
  display: flex;
  gap: 0;
  flex-direction: row;
  max-height: 340px;
}

.yt-blog-featured .yt-blog-card-thumb {
  width: 55%;
  min-width: 55%;
  aspect-ratio: unset;
  border-radius: 0;
}

.yt-blog-featured .yt-blog-card-body {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yt-blog-featured .yt-blog-card-title {
  font-size: 22px;
  line-height: 30px;
  -webkit-line-clamp: 3;
  margin-bottom: 14px;
}

.yt-blog-featured .yt-blog-card-excerpt {
  -webkit-line-clamp: 3;
  font-size: 14px;
  line-height: 21px;
}

.yt-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--yt-blue);
  font-size: 13px;
  font-weight: 500;
}

.yt-blog-read-more svg { width: 14px; height: 14px; transition: transform 0.15s; }
.yt-blog-card:hover .yt-blog-read-more svg { transform: translateX(3px); }

/* ════════════════════════════════════════
   SINGLE POST PAGE
════════════════════════════════════════ */
.yt-post-wrap {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

.yt-post-main { flex: 1; min-width: 0; }

.yt-post-sidebar {
  width: 360px;
  flex-shrink: 0;
}

/* Post hero image */
.yt-post-hero {
  border-radius: var(--yt-radius);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/6;
  background: var(--yt-bg-3);
}

.yt-post-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Post header */
.yt-post-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--yt-blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.yt-post-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  color: var(--yt-text);
  margin-bottom: 16px;
}

.yt-post-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--yt-border);
  flex-wrap: wrap;
}

.yt-post-author-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-post-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  overflow: hidden; background: var(--yt-blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.yt-post-author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--yt-text);
}

.yt-post-date {
  font-size: 13px;
  color: var(--yt-text-2);
}

.yt-post-read-time {
  font-size: 13px;
  color: var(--yt-text-2);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Post action buttons */
.yt-post-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

/* Post content body */
.yt-post-content {
  font-size: 16px;
  line-height: 28px;
  color: var(--yt-text);
  max-width: 720px;
}

.yt-post-content p { margin-bottom: 20px; }

.yt-post-content h2 {
  font-size: 22px; font-weight: 500;
  margin: 32px 0 14px;
  color: var(--yt-text);
}

.yt-post-content h3 {
  font-size: 18px; font-weight: 500;
  margin: 24px 0 10px;
  color: var(--yt-text);
}

.yt-post-content h4 {
  font-size: 16px; font-weight: 500;
  margin: 18px 0 8px;
}

.yt-post-content ul, .yt-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.yt-post-content li { margin-bottom: 6px; }

.yt-post-content a {
  color: var(--yt-blue);
  text-decoration: underline;
  text-decoration-color: rgba(62,166,255,0.4);
}

.yt-post-content a:hover {
  text-decoration-color: var(--yt-blue);
}

.yt-post-content blockquote {
  border-left: 3px solid var(--yt-blue);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--yt-bg-2);
  border-radius: 0 var(--yt-radius) var(--yt-radius) 0;
  color: var(--yt-text-2);
  font-style: italic;
}

.yt-post-content code {
  background: var(--yt-bg-3);
  border: 1px solid var(--yt-border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 14px;
  color: #3ea6ff;
  font-family: 'Courier New', monospace;
}

.yt-post-content pre {
  background: var(--yt-bg-3);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

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

.yt-post-content img {
  max-width: 100%;
  border-radius: var(--yt-radius);
  margin: 16px 0;
}

.yt-post-content hr {
  border: none;
  border-top: 1px solid var(--yt-border);
  margin: 32px 0;
}

.yt-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.yt-post-content table th,
.yt-post-content table td {
  padding: 10px 14px;
  border: 1px solid var(--yt-border);
  text-align: left;
}

.yt-post-content table th {
  background: var(--yt-bg-3);
  font-weight: 500;
}

/* Tags */
.yt-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--yt-border);
}

.yt-post-tag {
  padding: 4px 12px;
  background: var(--yt-bg-3);
  border: 1px solid var(--yt-border);
  border-radius: 99px;
  font-size: 12px;
  color: var(--yt-text-2);
  transition: all 0.15s;
}

.yt-post-tag:hover {
  border-color: var(--yt-blue);
  color: var(--yt-blue);
}

/* Post nav (prev/next) */
.yt-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--yt-border);
}

.yt-post-nav-item {
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  padding: 14px 16px;
  transition: border-color 0.15s;
  cursor: pointer;
}

.yt-post-nav-item:hover { border-color: var(--yt-blue); }

.yt-post-nav-label {
  font-size: 11px;
  color: var(--yt-text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.yt-post-nav-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--yt-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-post-nav-item.next { text-align: right; }

/* ── Comments (blog) ── */
.yt-post-comments {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--yt-border);
}

.yt-post-comments h3 {
  font-size: 18px; font-weight: 500;
  margin-bottom: 24px;
}

/* ── Post sidebar widgets ── */
.yt-post-widget {
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.yt-post-widget-title {
  font-size: 14px;
  font-weight: 500;
  padding: 14px 16px;
  border-bottom: 1px solid var(--yt-border);
  color: var(--yt-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

/* Related posts in sidebar */
.yt-related-post {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--yt-border);
  cursor: pointer;
  transition: background 0.15s;
}

.yt-related-post:last-child { border-bottom: none; }
.yt-related-post:hover { background: var(--yt-bg-3); }

.yt-related-post-thumb {
  width: 80px; min-width: 80px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--yt-bg-3);
}

.yt-related-post-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

.yt-related-post-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.yt-related-post-meta {
  font-size: 11px;
  color: var(--yt-text-3);
}

/* Popular categories widget */
.yt-cat-widget-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--yt-border);
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
}

.yt-cat-widget-item:last-child { border-bottom: none; }
.yt-cat-widget-item:hover { background: var(--yt-bg-3); }

.yt-cat-count {
  font-size: 12px;
  color: var(--yt-text-3);
  background: var(--yt-bg-3);
  padding: 2px 8px;
  border-radius: 99px;
}

/* Author box */
.yt-author-box {
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  padding: 20px;
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

.yt-author-box-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; background: var(--yt-blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.yt-author-box-name { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.yt-author-box-role { font-size: 12px; color: var(--yt-blue); margin-bottom: 8px; }
.yt-author-box-bio  { font-size: 13px; line-height: 20px; color: var(--yt-text-2); }

/* Search widget */
.yt-search-widget {
  display: flex;
  border: 1px solid var(--yt-border);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 14px;
}

.yt-search-widget input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--yt-text); font-size: 14px; padding: 10px 12px;
  font-family: var(--yt-font);
}

.yt-search-widget input::placeholder { color: var(--yt-text-3); }

.yt-search-widget button {
  padding: 0 14px; background: var(--yt-bg-3);
  color: var(--yt-text-2); border-left: 1px solid var(--yt-border);
  transition: background 0.15s;
}

.yt-search-widget button:hover { background: var(--yt-surface); color: var(--yt-blue); }

/* Blog comment form */
.yt-blog-comment-form .yt-input,
.yt-blog-comment-form .yt-textarea {
  border: 1px solid var(--yt-border);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--yt-bg-2);
  width: 100%;
  margin-bottom: 12px;
}

.yt-blog-comment-form .yt-input:focus,
.yt-blog-comment-form .yt-textarea:focus {
  border-color: var(--yt-blue);
  outline: none;
}

/* ── Blog archive (home/category) ── */
.yt-blog-category-header {
  background: var(--yt-bg-2);
  border: 1px solid var(--yt-border);
  border-radius: var(--yt-radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-blog-category-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yt-blue-dark), #3ea6ff);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.yt-blog-category-name { font-size: 20px; font-weight: 500; }
.yt-blog-category-desc { font-size: 13px; color: var(--yt-text-2); margin-top: 4px; }

/* Responsive */
@media (max-width: 1024px) {
  .yt-post-wrap { flex-direction: column; }
  .yt-post-sidebar { width: 100%; }
  .yt-post-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .yt-blog-featured { flex-direction: column; max-height: none; }
  .yt-blog-featured .yt-blog-card-thumb { width: 100%; aspect-ratio: 16/9; }
  .yt-blog-featured .yt-blog-card-title { font-size: 18px; line-height: 24px; }
  .yt-blog-grid { grid-template-columns: 1fr; }
  .yt-post-title { font-size: 22px; line-height: 30px; }
  .yt-post-sidebar { grid-template-columns: 1fr; }
  .yt-post-nav { grid-template-columns: 1fr; }
}
