:root {
  /* Brand colors */
  --primary: #ff5100; /* cam đậm từ logo */
  --primary-light: #ff9400; /* cam nhạt / vàng */
  --accent: #ffb900; /* vàng nhấn */
  --dark-red: #9f0000; /* đỏ nhấn chữ "Bàn" */

  /* Neutrals */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9f9f9;
  --gray-100: #f5f5f5;
  --gray-200: #e9e9e9;
  --gray-300: #e4e6eb;
  --gray-400: #d8dadf;
  --gray-500: #c0c0c0;
  --gray-600: #999999;
  --gray-650: #888888;
  --gray-700: #666666;
  --gray-800: #555555;
  --gray-900: #333333;

  /* Semantic */
  --success: #22a746;
  --danger: #e53935;
  --info-blue: #1877f2;

  /* Backgrounds & text */
  --bg-light: var(--gray-100);
  --text-main: var(--gray-900);
  --text-secondary: var(--gray-700);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 18px;
  --radius-round: 50%;
  --radius-pill: 999px;

  /* Font sizes */
  --fs-2xs: 0.7rem;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 1.1rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --header-logo-height: 65px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f5f5f5 50%,
    rgba(255, 145, 0, 0.03) 100%
  );
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
}

a {
  text-decoration: none;
}

/* Liquid Glass Base Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(255, 145, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 145, 0, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* Header */
.main-header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
}

.main-header .navbar {
  padding: 0;
}

.main-header .container-fluid {
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  /* overflow-x: hidden; */
}

.main-container {
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Logo */
.header-logo {
  height: var(--header-logo-height);
  width: auto;
  object-fit: contain;
}

.header-tagline {
  font-size: var(--fs-2xs);
  color: var(--gray-700);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0.15rem;
}

/* Search button */
.btn-search-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100) !important;
  color: var(--text-main) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-search-icon:hover {
  background: var(--gray-200) !important;
  transform: scale(1.05);
}

/* Navigation center */
.nav-link-center {
  border-radius: 0;
  transition: all 0.2s ease;
  color: var(--text-main) !important;
  background: transparent !important;
  border-bottom: 2px solid transparent;
  padding-bottom: calc(0.5rem + 2px) !important;
  position: relative;
}

.nav-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--text-main);
  transition: color 0.2s ease;
  display: block;
  margin: 0 auto;
}

.nav-link-center span {
  color: var(--text-main);
  transition: color 0.2s ease;
}

.nav-link-center:hover,
.nav-link-center.active {
  background: transparent !important;
  border-bottom-color: var(--primary);
}

.nav-link-center:hover .nav-icon,
.nav-link-center.active .nav-icon {
  color: var(--primary);
}

.nav-link-center:hover span,
.nav-link-center.active span {
  color: var(--primary);
}

/* Action buttons */
.action-buttons-group {
  position: relative;
}

.action-buttons-group::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 185, 0, 0.2);
  box-shadow: 0 4px 20px rgba(255, 145, 0, 0.15);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-buttons-group:hover::before {
  opacity: 1;
}

.btn-action-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary) !important;
  border: 1px solid rgba(255, 185, 0, 0.3) !important;
  box-shadow: 0 2px 8px rgba(255, 145, 0, 0.2);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.btn-action-icon:hover {
  background: rgba(255, 145, 0, 0.15) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

.action-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

/* Login button */
.btn-login {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 81, 0, 0.3);
}

/* Layout */
.page-wrapper {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* Left sidebar */
.sidebar-left {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.sidebar-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-red);
  margin-bottom: 0.75rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.sidebar-menu {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.sidebar-menu li {
  margin-bottom: 0.25rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0;
  text-decoration: none;
  font-size: 0.92rem;
  color: #555;
  transition: all 0.2s ease-out;
  border-left: 2px solid transparent;
  background: transparent;
}

.sidebar-link i {
  width: 22px;
  text-align: center;
  margin-right: 0.5rem;
  font-size: 1rem;
  color: #555;
  transition: color 0.2s ease-out;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: transparent;
  color: var(--primary);
  border-left-color: var(--primary);
}

.sidebar-link:hover i,
.sidebar-link.active i {
  color: var(--primary);
}

/* Sidebar footer */
.sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: var(--fs-xs);
  color: var(--gray-700);
}

.sidebar-footer-links {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Common link styles - grouped */
.sidebar-footer-link,
.footer-section ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-footer-link:hover,
.footer-section ul li a:hover {
  color: var(--primary);
}

.sidebar-footer-separator {
  color: #999;
}

.sidebar-footer-license {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.4;
  margin-top: 0.75rem;
}

/* Market bar */
.market-bar {
  margin-bottom: 1.5rem;
  display: none;
}

/* Common glass effect properties - grouped */
.market-card,
.top-list-main,
.top-list-item,
.feed-card,
.right-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.market-card {
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 185, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Common ::before pseudo-element styles - grouped */
.market-card::before,
.top-list-main::before,
.top-list-item::before,
.feed-card::before,
.right-card::before {
  content: "";
  position: absolute;
  background: radial-gradient(
    circle,
    rgba(255, 145, 0, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.market-card::before {
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(255, 145, 0, 0.2) 0%,
    transparent 70%
  );
}

.market-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.market-title i {
  color: var(--primary);
}

.market-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.market-change {
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.text-up {
  color: #22a746;
}

.text-down {
  color: #e53935;
}

/* Hero */
.hero-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 185, 0, 0.25);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 145, 0, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 16px !important;
  margin: 0;
  font-weight: 700;
  color: var(--dark-red);
  line-height: 1.3;
  white-space: nowrap;
}

.hero-text p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.hero-search {
  flex: 0 0 auto;
  max-width: 300px;
  position: relative;
  z-index: 1;
}

.hero-search .form-control {
  border-radius: 999px 0 0 999px;
  border-right: none;
  border-color: rgba(255, 185, 0, 0.3);
  padding: 0.6rem 1rem;
  font-size: 14px !important;
}

.hero-search .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 81, 0, 0.15);
}

.hero-search .btn {
  border-radius: 0 999px 999px 0;
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.hero-search .btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

/* Top List Section */
.top-list-section {
  margin-bottom: 2rem;
}

.top-list-main {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(255, 185, 0, 0.2);
  transition: all 0.2s ease-out;
}

.top-list-main::before,
.feed-card::before,
.right-card::before {
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.post-content img{max-width: 100%; height: auto;}
.post-content iframe{width: 100%;}
.post-content table{width: 100%;}
.post-content table td{width: 100%;}
.post-content table th{width: 100%;}
.post-content table tr{width: 100%;}
.post-content table tbody{width: 100%;}
.post-content table thead{width: 100%;}

/* Common hover effects - grouped */
.top-list-main:hover,
.top-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 185, 0, 0.4);
}

.top-list-main:hover::before,
.top-list-item:hover::before,
.feed-card:hover::before {
  opacity: 1;
}

/* Top list header */
/* Common header styles - grouped */
.top-list-header,
.top-list-item-header,
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

/* Common avatar styles - grouped */
.top-list-avatar,
.top-list-item-avatar,
.feed-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 185, 0, 0.2);
}

.top-list-avatar,
.feed-avatar {
  width: 40px;
  height: 40px;
}

/* Common author name styles - grouped */
.top-list-author-name,
.top-list-item-author-name,
.feed-author-name {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.1rem;
}

.top-list-author-name,
.feed-author-name {
  font-size: 0.95rem;
}

/* Common time styles - grouped */
.top-list-time,
.top-list-item-time,
.feed-time {
  color: #888;
}

.top-list-time,
.feed-time {
  font-size: 0.8rem;
}

.btn-more-options {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.btn-more-options:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

/* Popover styles for post more menu */
.popover.post-more-popover {
  min-width: 280px;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1060;
  overflow: hidden;
}

.popover.post-more-popover .popover-body {
  padding: 0.5rem 0;
  overflow: hidden;
}

.popover.post-more-popover .popover-arrow {
  display: block;
}

.post-more-menu-popover {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.post-more-menu-popover .dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: all 0.15s ease;
  text-decoration: none;
  color: var(--text-main);
  border: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  flex-shrink: 1;
}

.post-more-menu-popover .dropdown-item:hover {
  background: rgba(255, 145, 0, 0.1);
  color: var(--text-main);
}

.post-more-menu-popover .dropdown-item i {
  width: 20px;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.post-more-menu-popover .dropdown-item span,
.post-more-menu-popover .dropdown-item {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.post-more-menu-popover .dropdown-divider {
  margin: 0.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Top list content */
.top-list-content-text {
  padding: 1rem 1rem 0.75rem;
}

.top-list-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.top-list-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.top-list-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.top-list-main:hover .top-list-image {
  transform: scale(1.02);
}

/* Top list actions */
.top-list-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-action-reaction {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: #666;
  font-size: 0.8rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.btn-action-reaction:hover {
  background: rgba(255, 145, 0, 0.1);
  color: var(--primary);
}

.btn-action-reaction i {
  font-size: 1.1rem;
}

.top-list-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(255, 185, 0, 0.2);
  transition: all 0.2s ease-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.top-list-item::before {
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* Top list item header */

.top-list-item-avatar {
  width: 36px;
  height: 36px;
}

.top-list-item-author-name {
  font-size: 0.9rem;
}

.top-list-item-time {
  font-size: 0.75rem;
}

/* Top list item content */
.top-list-item-content-text {
  padding: 0.75rem 1rem;
  flex: 1;
}

.top-list-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.top-list-item-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.top-list-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.top-list-item:hover .top-list-item-image {
  transform: scale(1.02);
}

/* Top list item actions */
.top-list-item-actions {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  justify-content: space-around;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

/* Feed posts */
.feed-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 185, 0, 0.2);
  transition: all 0.2s ease-out;
  overflow: visible;
}

.feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 185, 0, 0.4);
}

.feed-card > * {
  position: relative;
  z-index: 1;
}

.feed-card .feed-image-wrapper,
.feed-card .feed-video-wrapper {
  overflow: hidden;
  border-radius: 0;
}

/* Feed header */

/* Feed content */
.feed-content {
  padding: 1rem 1rem 0.75rem;
}

.feed-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  color: var(--text-main);
}

.feed-summary {
  font-size: var(--fs-sm);
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.feed-see-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.25rem;
}

.feed-see-more:hover {
  text-decoration: underline;
}

.feed-category-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  font-size: var(--fs-xs);
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
}

/* Feed image wrapper - full width */
.feed-image-wrapper {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.feed-image-full {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

/* Feed reactions */
.feed-reactions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.85rem;
  color: #666;
  justify-content: space-between;
}

.feed-reaction-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.feed-reaction-item:hover {
  color: var(--primary);
}

.feed-reaction-item i {
  font-size: 1rem;
}

/* Feed card colored - background color + title only */
.feed-card-colored {
  padding: 0;
}

.feed-card-colored .feed-header {
  background: rgba(255, 255, 255, 0.95);
}

.feed-card-video .feed-reactions {
  background: rgba(255, 255, 255, 0.95);
}

/* Post Detail */
.feed-post-detail {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.75rem 1.75rem;
  margin-bottom: 1.5rem;
}

.feed-post-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.feed-post-detail-header-actions {
  display: flex;
  gap: 0.5rem;
}

.feed-post-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.feed-post-detail-dot {
  color: #ccc;
}

.feed-post-detail-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.feed-post-detail-stat i {
  font-size: 0.85rem;
}

.feed-post-detail-body {
  margin-bottom: 1.5rem;
}

.feed-post-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.feed-post-detail-lead {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.feed-post-detail-image {
  margin-bottom: 1.25rem;
}

.feed-post-detail-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.feed-post-detail-image figcaption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.feed-post-detail-content p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.feed-post-detail-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.feed-post-detail-content li {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.feed-post-detail-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem;
  color: var(--text-main);
}

.feed-post-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.feed-post-detail-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feed-post-detail-reactions .btn {
  font-size: 0.85rem;
}

.feed-post-detail-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feed-post-detail-share span {
  margin-right: 0.25rem;
}

.feed-post-detail-share .btn-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f2f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary);
}

.feed-post-detail-share .btn-social-icon:hover {
  background: #e4e6eb;
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--primary);
}

.feed-post-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.feed-post-detail-tag-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feed-post-detail-comments {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.feed-post-detail-comment-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feed-post-detail-comment-box .user-avatar,
.feed-post-detail-comment-box .feed-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
}

.feed-post-detail-comments-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feed-colored-content {
  background: linear-gradient(135deg, #ff5100 0%, #ff9100 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feed-colored-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feed-card-colored .feed-reactions {
  background: rgba(255, 255, 255, 0.95);
}

/* Feed card video */
.feed-card-video {
  padding: 0;
}

.feed-card-video .feed-header {
  background: rgba(255, 255, 255, 0.95);
}

.feed-card-video .feed-content {
  background: rgba(255, 255, 255, 0.95);
}

.feed-video-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.feed-video-thumbnail {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

.feed-video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.feed-video-play-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.feed-video-play-button i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: 4px;
}

.feed-video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1;
}

.feed-card-video .feed-reactions {
  background: rgba(255, 255, 255, 0.95);
}

.badge-trend {
  background: rgba(255, 81, 0, 0.12);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 145, 0, 0.2);
}

/* Right sidebar */
.right-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 185, 0, 0.2);
  overflow: hidden;
}

.right-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.right-title a {
  font-size: 0.8rem;
  text-transform: none;
  color: #888;
  text-decoration: none;
  font-weight: 400;
}

.right-title a:hover {
  color: var(--primary);
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(253, 241, 232, 0.8);
  font-size: 0.8rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  color: #7a3b00;
  cursor: pointer;
  transition: all 0.2s ease-out;
  border: 1px solid rgba(255, 145, 0, 0.2);
  text-decoration: none;
}

.topic-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.member-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.member-item:last-child {
  margin-bottom: 0;
}

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-right: 0.75rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.member-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.member-role {
  font-size: 0.78rem;
  color: #888;
}

/* Mobile bottom nav - Facebook style */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1030;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  height: 60px;
  border-radius: 20px 20px 0 0;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
  color: #65676b;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border-radius: 12px;
  margin: 0 0.25rem;
}

.bottom-nav-item i,
.bottom-nav-item svg {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.bottom-nav-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  margin: 0 auto 0.2rem;
}

.bottom-nav-item .bottom-nav-label {
  font-size: 0.65rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  position: relative;
  z-index: 1;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-item.active i,
.bottom-nav-item.active svg {
  transform: scale(1.15);
  color: var(--primary);
}

.bottom-nav-item.active .bottom-nav-icon {
  stroke: var(--primary);
}

.bottom-nav-item.active .bottom-nav-label {
  color: var(--primary);
  font-weight: 600;
}

.bottom-nav-item.active::before {
  display: none;
}

.bottom-nav-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: rgba(255, 81, 0, 0.08);
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.bottom-nav-item:hover:not(.active)::before {
  transform: translate(-50%, -50%) scale(1);
}

.bottom-nav-item:hover:not(.active) {
  color: var(--primary);
}

.bottom-nav-item:hover:not(.active) i,
.bottom-nav-item:hover:not(.active) svg {
  transform: scale(1.05);
  color: var(--primary);
}

.bottom-nav-item:hover:not(.active) .bottom-nav-icon {
  stroke: var(--primary);
}

.bottom-nav-item:active {
  transform: scale(0.96);
}

.bottom-nav-item.btn-drawer-toggle:focus {
  outline: none;
}

.bottom-nav-item.btn-drawer-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Drawer Menu */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  overflow-x: hidden;
}

.drawer-menu.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-logo-img {
  height: 40px;
  width: auto;
}

.btn-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #65676b;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.btn-drawer-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-drawer-toggle {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #1f1f1f;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.btn-drawer-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.drawer-user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.drawer-user-avatar {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.drawer-user-info {
  flex: 1;
}

.drawer-user-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 0.25rem;
}

.drawer-login-link {
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.drawer-login-link:hover {
  text-decoration: underline;
}

.drawer-nav {
  padding: 0.5rem 0;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
  border-left: 3px solid transparent;
}

.drawer-nav-item i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  color: #65676b;
}

.drawer-nav-item span {
  flex: 1;
}

.drawer-nav-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.drawer-nav-item.active {
  background: rgba(255, 145, 0, 0.1);
  border-left-color: var(--primary);
  color: var(--primary);
}

.drawer-nav-item.active i {
  color: var(--primary);
}

.drawer-divider {
  margin: 0.5rem 1rem;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.drawer-footer {
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.drawer-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.drawer-footer-links:last-child {
  margin-bottom: 0;
}

.drawer-footer-link {
  color: #65676b;
  text-decoration: none;
}

.drawer-footer-link:hover {
  text-decoration: underline;
  color: var(--primary);
}

.drawer-footer-separator {
  color: #ccc;
}

/* Body padding for bottom nav */
body {
  padding-bottom: 0;
}

/* Footer */
.main-footer {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 185, 0, 0.2);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-info {
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
  line-height: 1.6;
}

.footer-info p:last-child {
  margin-bottom: 0;
}

.footer-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 145, 0, 0.1);
  color: var(--primary);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991.98px) {
  /* Post Detail Tablet */
  .feed-post-detail {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  /* Header & Layout Tablet */
  .main-header .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sidebar-left {
    position: static;
    margin-bottom: 1rem;
  }

  .hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-search {
    max-width: 100%;
    width: 100%;
  }

  /* Category Banner Tablet */
  .category-banner {
    min-height: 280px;
  }

  .category-banner-content {
    padding: 1.5rem;
  }

  .category-banner-text {
    max-width: 85%;
  }

  .category-banner-title {
    font-size: 1.5rem;
  }

  .category-banner-description {
    font-size: 0.9rem;
  }

  .category-banner-graphics {
    width: 40%;
  }

  .category-banner-compass {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 10%;
    padding: 12px;
  }

  .category-banner-arrow {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
  }

  /* Topics Grid Tablet */
  .topics-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .topics-title {
    font-size: 1.5rem;
  }

  .topics-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.875rem;
  }

  .topic-item {
    padding: 1rem;
  }

  .topic-name {
    font-size: 0.9rem;
  }

  /* Profile Page Tablet */
  .profile-cover {
    height: 250px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }

  .profile-info-content {
    padding-left: 150px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-actions-wrapper {
    width: 100%;
    justify-content: flex-start;
  }

  /* Login Page Tablet */
  .login-branding {
    display: none;
  }

  .login-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* Suggested Section - Bạn có thể quan tâm */
.suggested-section {
  background: linear-gradient(135deg, #ff5100 0%, #ff9400 50%, #ffb900 100%);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.suggested-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.suggested-section > * {
  position: relative;
  z-index: 1;
}

.suggested-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.suggested-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  background: #fff;
  border-radius: 5px;
}

.suggested-title-img {
  max-width: 120px;
  height: auto;
}

.suggested-see-all {
  color: var(--gray-100);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.suggested-see-all:hover {
  text-decoration: underline;
  color: var(--gray-900);
}

.suggested-cards-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  margin: 0 -1.25rem;
  padding: 0 1.25rem;
}

.suggested-cards-wrapper::-webkit-scrollbar {
  height: 6px;
}

.suggested-cards-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.suggested-cards-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.suggested-cards-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.suggested-cards {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.suggested-article-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  min-width: 280px;
  max-width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.suggested-article-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.suggested-article-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.suggested-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.suggested-article-card:hover .suggested-article-img {
  transform: scale(1.05);
}

.suggested-article-content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suggested-article-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--text-main);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.suggested-article-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-red);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.suggested-article-summary {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feed gallery images */
.feed-gallery {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed-gallery-row {
  display: flex;
  gap: 2px;
  width: 100%;
}

.feed-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feed-gallery-large {
  flex: 1;
  aspect-ratio: 1.5 / 1;
}

.feed-gallery-small {
  flex: 1;
  aspect-ratio: 1 / 1;
}

.feed-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.feed-gallery-item:hover .feed-gallery-image {
  transform: scale(1.05);
}

.feed-gallery-more {
  position: relative;
}

.feed-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.feed-gallery-more-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Page header bar - day date section */
.page-header-bar {
  padding: 1rem 0;
  background: transparent;
}

.page-date-time {
  font-size: 1rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 0.25rem;
}

.page-breadcrumb {
  font-size: 0.85rem;
  color: #888;
}

.btn-filter-content {
  background: rgba(255, 145, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 145, 0, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-filter-content:hover {
  background: rgba(255, 145, 0, 0.2);
  color: var(--primary);
  border-color: rgba(255, 145, 0, 0.5);
}

.btn-post-article {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-post-article:hover {
  background: var(--primary-light);
  color: #ffffff;
}

/* Featured Section - Nổi bật (in right sidebar) */
.right-card .featured-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.right-card .featured-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1877f2;
  margin: 0;
}

.right-card .featured-readers {
  font-size: 0.8rem;
  color: #888;
}

.right-card .featured-list {
  display: flex;
  flex-direction: column;
}

.right-card .featured-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.right-card .featured-item:last-child {
  border-bottom: none;
}

.right-card .featured-item:hover {
  background: rgba(255, 145, 0, 0.03);
  margin: 0 -0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
}

.right-card .featured-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
}

.right-card .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-card .featured-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.right-card .featured-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}

.right-card .featured-headline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sponsored ads */
.sponsored-ads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sponsored-ad-item {
  width: 100%;
}

.sponsored-ad-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.sponsored-ad-link:hover {
  opacity: 0.9;
}

.sponsored-ad-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.sponsored-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsored-ad-content {
  padding: 0 0.25rem;
}

.sponsored-ad-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.sponsored-ad-url {
  font-size: 0.75rem;
  color: #666;
}

/* Bank Interest Rate Card */
.bank-interest-card {
  margin-bottom: 1.5rem;
}

.bank-interest-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.bank-interest-title-line {
  width: 4px;
  height: 24px;
  background: #dc3545;
  flex-shrink: 0;
}

.bank-interest-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #dc3545;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.3;
}

.bank-interest-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.bank-interest-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  align-items: center;
}

.bank-interest-row:last-child {
  border-bottom: none;
}

.bank-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
}

.bank-rate {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  white-space: nowrap;
}

.bank-term {
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  white-space: nowrap;
}

.bank-interest-footer {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.btn-bank-interest-more {
  background: #22a746;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-bank-interest-more:hover {
  background: #1e9540;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(34, 167, 70, 0.3);
}

.btn-bank-interest-more:active {
  transform: translateY(0);
}

/* Feed Load More Button */
.feed-load-more-wrapper {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  margin-top: 1rem;
}

.btn-feed-load-more {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 81, 0, 0.1);
}

.btn-feed-load-more:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

.btn-feed-load-more:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 81, 0, 0.2);
}

.btn-feed-load-more i {
  font-size: 0.9rem;
}

/* Linked Articles Box - Box bài đăng trang liên kết */
.linked-articles-box {
  margin-bottom: 1.5rem;
  padding: 0;
  overflow: hidden;
}

.linked-articles-top-line {
  width: 100%;
  height: 3px;
  background: var(--primary);
  margin-bottom: 0;
}

.linked-articles-header {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.linked-articles-org {
  margin-bottom: 0.5rem;
}

.linked-articles-org-name {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 0.2rem;
}

.linked-articles-main-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-red);
  margin: 0;
  line-height: 1.3;
}

.linked-articles-banner {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin: 0;
}

.linked-articles-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.linked-articles-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  padding: 1rem;
  color: #ffffff;
}

.linked-articles-banner-label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.linked-articles-banner-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.linked-articles-banner-meta {
  font-size: 0.8rem;
  opacity: 0.95;
}

.linked-articles-list {
  padding: 0.75rem 1rem 1rem;
}

.linked-article-item {
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
  position: relative;
}

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

.linked-article-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
  padding-right: 1.5rem;
}

.linked-article-link:hover {
  color: var(--primary);
}

.linked-article-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.85rem;
}

/* Featured Post Items - Nổi bật section */
.featured-post-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.featured-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.featured-post-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.featured-post-label-line {
  width: 3px;
  height: 16px;
  background: #1877f2;
  flex-shrink: 0;
}

.featured-post-label-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1877f2;
  text-transform: uppercase;
}

.featured-post-content {
  padding-left: 0;
}

.featured-post-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.featured-post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.featured-post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.featured-post-author-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}

.featured-post-time {
  font-size: 0.8rem;
  color: #888;
}

.featured-post-embedded {
  background: #dc3545;
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.featured-post-embedded-header {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.featured-post-embedded-content {
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.5;
}

.featured-post-image-wrapper {
  width: 100%;
  margin-top: 0.75rem;
  border-radius: 6px;
  overflow: hidden;
}

.featured-post-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* User Avatar with Initials */
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Color mapping based on initials hash */
.user-avatar[data-initials="KQ"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-avatar[data-initials="NA"] {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.user-avatar[data-initials="VL"] {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.user-avatar[data-initials="MK"] {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.user-avatar[data-initials="TT"] {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.user-avatar[data-initials="MC"] {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.user-avatar[data-initials="NT"] {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

.user-avatar[data-initials="NC"] {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #333;
}

.user-avatar[data-initials="QM"] {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #333;
}

.user-avatar[data-initials="LM"] {
  background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
}

/* Smaller avatars */
.top-list-item-avatar.user-avatar,
.featured-post-avatar.user-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  border-width: 1px;
}

.feed-avatar.user-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
}

.top-list-avatar.user-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
}

/* Bank Interest Rate Card in Feed */
.feed-card-bank-interest {
  padding: 0;
  overflow: hidden;
}

.bank-interest-card-content {
  padding: 1.25rem;
}

.bank-interest-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(220, 53, 69, 0.15);
}

.bank-interest-card-title-line {
  width: 4px;
  height: 28px;
  background: #dc3545;
  flex-shrink: 0;
  border-radius: 2px;
}

.bank-interest-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #dc3545;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.3;
}

.bank-interest-card-table-wrapper {
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  margin-bottom: 1rem;
  position: relative;
}

.bank-interest-card-table-wrapper.collapsed {
  max-height: 220px; /* Chỉ hiển thị khoảng 4-5 hàng đầu */
}

.bank-interest-card-table-wrapper.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.85)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.bank-interest-card-table-wrapper.expanded {
  max-height: 2000px; /* Đủ lớn để hiển thị tất cả */
}

.bank-interest-card-table-wrapper.expanded::after {
  display: none;
}

.bank-interest-card-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bank-interest-card-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: center;
  transition: background-color 0.2s ease;
}

.bank-interest-card-row:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.bank-interest-card-row:last-child {
  border-bottom: none;
}

.bank-interest-card-row:hover {
  background-color: rgba(255, 81, 0, 0.05);
}

.bank-interest-card-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
}

.bank-interest-card-rate {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  white-space: nowrap;
}

.bank-interest-card-term {
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  white-space: nowrap;
}

.bank-interest-card-footer {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-bank-interest-card-toggle {
  background: #22a746;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(34, 167, 70, 0.2);
}

.btn-bank-interest-card-toggle:hover {
  background: #1e9540;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 167, 70, 0.3);
}

.btn-bank-interest-card-toggle:active {
  transform: translateY(0);
}

.btn-text-expand,
.btn-text-collapse {
  display: inline-block;
}

/* Category Banner */
.category-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  min-height: auto;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  background: rgba(255, 81, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: none;
}

.category-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 185, 0, 0.25) 0%,
    rgba(255, 145, 0, 0.15) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.category-banner::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 81, 0, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.category-banner-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 50%,
    var(--accent) 100%
  );
  z-index: 0;
}

.category-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.category-banner-graphics {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.category-banner-compass {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 0 50px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 185, 0, 0.2);
  padding: 15px;
}

.category-banner-compass svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: compassPulse 3s ease-in-out infinite;
}

@keyframes compassPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.category-banner-arrow {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 180px;
  height: 180px;
  color: var(--accent);
  opacity: 0.7;
  transform: rotate(45deg);
  filter: drop-shadow(0 4px 8px rgba(255, 185, 0, 0.3));
}

.category-banner-arrow svg {
  width: 100%;
  height: 100%;
}

.category-banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-banner-text {
  flex: 1;
  max-width: 70%;
}

.category-banner-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.category-banner-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.category-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-category-follow {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

.btn-category-follow:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 81, 0, 0.4);
}

.btn-category-follow i {
  font-size: 0.85rem;
}

.category-banner-social {
  display: flex;
  gap: 0.5rem;
}

.btn-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.btn-social-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-social-icon i {
  font-size: 1rem;
}

/* Topics Grid Section */
.topics-section {
  margin-bottom: 2rem;
}

.topics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.topics-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.topics-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.topics-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topics-filter-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
}

.topics-filter-select {
  min-width: 150px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.topics-filter-select:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 81, 0, 0.15);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.topic-item {
  display: block;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.topic-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 81, 0, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.topic-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 81, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: var(--text-main);
  text-decoration: none;
}

.topic-item:hover::before {
  opacity: 1;
}

.topic-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive Topics Grid */

@media (max-width: 575.98px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Profile Page Styles */
.profile-page {
  min-height: 100vh;
}

/* Profile Cover */
.profile-cover {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.profile-cover-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.profile-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile Info Section */
.profile-info-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0;
}

.profile-info-wrapper {
  display: flex;
  align-items: flex-end;
  padding: 1rem 0;
  position: relative;
  min-height: 120px;
}

.profile-avatar-wrapper {
  position: absolute;
  bottom: -40px;
  left: 32px;
  z-index: 5;
}

.profile-avatar {
  width: 168px;
  height: 168px;
  font-size: 3.5rem;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.profile-info-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-left: 220px;
}

.profile-name-section {
  flex: 1;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
}

.profile-stats-inline {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.profile-stat-inline {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.profile-stat-inline strong {
  color: var(--text-main);
  font-weight: 600;
}

.profile-actions-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-profile-primary,
.btn-profile-secondary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-profile-primary:hover {
  background: var(--primary-light);
  color: #ffffff;
}

.btn-profile-secondary {
  background: #e4e6eb;
  color: var(--text-main);
}

.btn-profile-secondary:hover {
  background: #d8dadf;
  color: var(--text-main);
}

.btn-profile-icon {
  background: #e4e6eb;
  color: var(--text-main);
  border: none;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-profile-icon:hover {
  background: #d8dadf;
}

/* Profile Navigation Tabs */
.profile-nav-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-nav-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: 220px;
}

.profile-nav-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.profile-nav-tab:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
  text-decoration: none;
}

.profile-nav-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.profile-nav-tab i {
  font-size: 1.1rem;
}

/* Profile Content Area */
.profile-content-area {
  padding: 1.5rem 0;
  min-height: 500px;
}

.profile-sidebar-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem 0;
}

.profile-bio-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.profile-info-item i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

/* Profile Topics in Sidebar */
.profile-topics-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-topic-tag {
  display: inline-block;
  background: #f0f2f5;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
}

.profile-topic-tag:hover {
  background: #e4e6eb;
  color: var(--primary);
  text-decoration: none;
}

/* Responsive Profile */

/* Login/Register Page */
.login-page {
  min-height: 100vh;
  background: var(--white);
}

/* Left Side: Branding */
.login-branding {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 50%,
    var(--accent) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
}

.login-branding::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.branding-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 500px;
}

.branding-logo {
  margin-bottom: 2rem;
}

.branding-logo-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.branding-description {
  font-size: var(--fs-base);
  line-height: 1.6;
  margin: 0 0 3rem 0;
  opacity: 0.9;
}

.branding-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-base);
}

.feature-item i {
  font-size: 1.5rem;
  opacity: 0.9;
}

.branding-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Right Side: Form */
.login-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--white);
}

.login-form-container {
  width: 100%;
  max-width: 450px;
}

/* Mobile Logo */
.auth-logo-mobile {
  margin-bottom: 2rem;
}

.auth-logo-img-mobile {
  max-width: 100px;
  height: auto;
  margin-bottom: 0.75rem;
}

.auth-title-mobile {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--dark-red);
  margin: 0;
}

.auth-tabs-wrapper {
  border-bottom: 1px solid var(--gray-200);
}

.auth-tabs {
  border-bottom: none;
  gap: 0;
}

.auth-tabs .nav-link {
  color: var(--text-secondary);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: var(--fs-base);
  transition: all 0.2s ease;
  background: transparent;
  border-radius: 0;
}

.auth-tabs .nav-link:hover {
  color: var(--primary);
  background: rgba(255, 81, 0, 0.05);
}

.auth-tabs .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}

.auth-form {
  margin-top: 2rem;
}

.auth-form .form-label {
  display: none;
}

.auth-form .form-control,
.auth-form .form-control-lg {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: var(--fs-base);
  transition: all 0.2s ease;
  background: var(--white);
}

.auth-form .form-control:focus,
.auth-form .form-control-lg:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.1);
  outline: none;
}

.auth-form .form-control::placeholder,
.auth-form .form-control-lg::placeholder {
  color: var(--gray-600);
}

.auth-form .input-group .btn-link {
  padding: 0.5rem;
  color: var(--gray-600);
  border: none;
  background: transparent;
}

.auth-form .input-group .btn-link:hover {
  color: var(--primary);
}

.btn-auth-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: var(--fs-base);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-auth-primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

.btn-auth-primary:active {
  transform: translateY(0);
}

.btn-auth-social {
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-auth-social:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--text-main);
}

.btn-auth-social:active {
  background: var(--gray-100);
}

.auth-link {
  color: var(--primary);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all 0.2s ease;
}

.auth-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-300);
}

.auth-divider span {
  background: var(--white);
  padding: 0 1rem;
  position: relative;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.auth-social {
  margin-top: 1rem;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 81, 0, 0.15);
}

.form-check-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.form-check-label a {
  color: var(--primary);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Add Post Page */
.add-post-page {
  min-height: 100vh;
  padding: 2rem 0;
  background: var(--bg-light);
}

.post-editor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 185, 0, 0.2);
}

.post-editor-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.post-editor-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--dark-red);
  margin: 0;
  display: flex;
  align-items: center;
}

.post-form-label {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-size: var(--fs-base);
  display: flex;
  align-items: center;
}

.post-form-label i {
  color: var(--primary);
}

.post-editor-form .form-control,
.post-editor-form .form-select {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: var(--fs-base);
  transition: all 0.2s ease;
}

.post-editor-form .form-control:focus,
.post-editor-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.1);
  outline: none;
}

/* Editor Toolbar */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  flex-wrap: wrap;
}

.toolbar-btn {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
}

.toolbar-btn:hover {
  background: var(--gray-100);
  border-color: var(--primary);
  color: var(--primary);
}

.toolbar-btn:active {
  background: var(--gray-200);
}

.toolbar-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: var(--gray-300);
  margin: 0 0.25rem;
}

.toolbar-btn label {
  margin: 0;
  cursor: pointer;
}

/* Editor Textarea */
.editor-textarea {
  border: 1px solid var(--gray-300);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 1rem;
  font-size: var(--fs-base);
  line-height: 1.6;
  font-family: inherit;
  resize: vertical;
  min-height: 300px;
}

.editor-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.1);
  outline: none;
}

/* Image Preview */
.image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.image-preview-item {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-image {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  border: none;
  border-radius: var(--radius-round);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.btn-remove-image:hover {
  background: var(--danger);
  transform: scale(1.1);
}

/* Privacy Options */
.privacy-options {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.privacy-options .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-options .form-check-input {
  margin-top: 0;
  cursor: pointer;
}

.privacy-options .form-check-label {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.privacy-options .form-check-label i {
  color: var(--primary);
}

/* Editor Actions */
.post-editor-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.post-editor-actions .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.post-editor-actions .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.post-editor-actions .btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

.post-editor-actions .btn-outline-secondary {
  border-color: var(--gray-300);
  color: var(--text-main);
}

.post-editor-actions .btn-outline-secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

/* Login Link - Hide text on mobile, show icon */
.btn-login-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-login-link:hover {
  color: var(--primary);
}

.btn-login-link i {
  font-size: 1.25rem;
}

/* Floating Add Post Button */
.floating-add-post-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 81, 0, 0.4);
  z-index: 1040;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

@media (min-width: 768px) {
  .floating-add-post-btn {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }

  .floating-add-post-icon {
    width: 26px;
    height: 26px;
  }
}

.floating-add-post-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 81, 0, 0.5);
}

.floating-add-post-btn:active {
  transform: scale(0.95);
}

.floating-add-post-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 767.98px) {
  /* Body & Layout */
  body {
    padding-bottom: 60px;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .page-wrapper {
    padding-bottom: 5rem;
  }

  .main-container {
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
  }

  /* Header mobile optimization */
  .main-header .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
  }

  .main-header .navbar .navbar-brand {
    padding: 10px 0 !important;
  }

  .main-header .navbar > .container-fluid > div {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .main-header .navbar .d-flex.align-items-center.gap-3 {
    gap: 0.5rem !important;
    flex-shrink: 0;
  }

  .header-logo {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
  }

  .action-buttons-group {
    gap: 0.25rem;
    flex-shrink: 0;
  }

  .action-buttons-group span.text-nowrap {
    display: none;
  }

  .btn-action-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
  }

  .btn-action-icon svg {
    width: 18px;
    height: 18px;
  }

  .btn-search-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
  }

  .btn-search-icon i {
    font-size: 0.9rem;
  }

  .btn-login {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .hero-text h1 {
    white-space: pre-wrap;
  }

  /* Page header bar mobile */
  .page-header-bar {
    padding: 0.75rem 0;
  }

  .page-header-bar .d-flex {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start !important;
  }

  .page-date-time {
    font-size: 0.9rem;
  }

  .page-breadcrumb {
    font-size: 0.8rem;
  }

  .btn-filter-content,
  .btn-post-article {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  /* Feed cards mobile */
  .feed-title {
    font-size: 1rem;
    line-height: 1.4;
  }

  .feed-summary {
    font-size: 0.9rem;
  }

  /* Top list mobile */
  .top-list-image-wrapper {
    height: 300px;
  }

  .top-list-content-overlay {
    padding: 1.5rem 1rem 1rem;
  }

  .top-list-title {
    font-size: 1.25rem;
  }

  .top-list-item-image-wrapper {
    height: 180px;
  }

  .top-list-item-title {
    font-size: 0.9rem;
  }

  /* Right sidebar hide on mobile */
  .col-lg-3.col-md-3:last-child {
    display: none;
  }

  /* Post detail responsive */
  .feed-reaction-item {
    font-size: 0.75rem;
  }

  .feed-post-detail-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .feed-post-detail-author .feed-time {
    font-size: 0.7rem;
  }

  .feed-post-detail-header-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.375rem;
  }

  .feed-post-detail-header-actions .btn-profile-primary,
  .feed-post-detail-header-actions .btn-profile-secondary {
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .feed-post-detail-header-actions .btn-profile-primary span,
  .feed-post-detail-header-actions .btn-profile-secondary span {
    display: none;
  }

  .feed-post-detail-header-actions .btn-profile-primary i,
  .feed-post-detail-header-actions .btn-profile-secondary i {
    margin: 0;
    font-size: 0.9rem;
  }

  .feed-post-detail-title {
    font-size: 1.4rem;
  }

  .feed-post-detail-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Category Banner Mobile */
  .category-banner {
    min-height: 360px;
  }

  .category-banner-content {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .category-banner-text {
    max-width: 100%;
  }

  .category-banner-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .category-banner-description {
    font-size: 0.85rem;
  }

  .category-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-category-follow {
    width: 100%;
    justify-content: center;
  }

  .category-banner-social {
    justify-content: center;
  }

  .category-banner-graphics {
    width: 50%;
    opacity: 0.6;
  }

  .category-banner-compass {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 5%;
    padding: 10px;
  }

  .category-banner-arrow {
    width: 100px;
    height: 100px;
    bottom: 5%;
    right: 0;
  }

  /* Topics Grid Mobile */
  .topics-title {
    font-size: 1.25rem;
  }

  .topics-filters {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .topics-filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .topics-filter-select {
    width: 100%;
  }

  .topics-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .topic-item {
    padding: 0.875rem;
  }

  .topic-name {
    font-size: 0.85rem;
  }

  /* Profile Page Mobile */
  .profile-cover {
    height: 200px;
  }

  .profile-info-wrapper {
    flex-direction: column;
    align-items: center;
    padding-top: 0;
  }

  .profile-avatar-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -80px;
    margin-bottom: 1rem;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }

  .profile-info-content {
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    text-align: center;
  }

  .profile-name {
    font-size: 1.25rem;
  }

  .profile-stats-inline {
    justify-content: center;
    gap: 0.5rem;
  }

  .profile-actions-wrapper {
    width: 100%;
    flex-direction: row;
  }

  .btn-profile-primary,
  .btn-profile-secondary {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .profile-nav-tabs {
    padding: 0 1rem;
    margin-left: 0;
  }

  .profile-nav-tab {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .profile-content-area {
    padding: 1rem 0;
  }

  .profile-sidebar-card {
    margin-bottom: 0.75rem;
    padding: 1rem;
  }

  /* Login Page Mobile */
  .login-page {
    padding-top: 70px;
  }

  .login-form-wrapper {
    padding: 1.5rem 1rem;
  }

  .login-form-container {
    max-width: 100%;
  }

  .auth-logo-img-mobile {
    max-width: 80px;
  }

  .auth-title-mobile {
    font-size: var(--fs-lg);
  }

  .auth-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: var(--fs-sm);
  }

  .auth-form .form-control,
  .auth-form .form-control-lg {
    padding: 0.75rem 0.875rem;
    font-size: var(--fs-sm);
  }

  .btn-auth-primary,
  .btn-auth-social {
    padding: 0.75rem 1.25rem;
    font-size: var(--fs-sm);
  }

  /* Add Post Page Mobile */
  .add-post-page {
    padding: 1rem 0;
  }

  .post-editor-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .post-editor-title {
    font-size: var(--fs-xl);
  }

  .editor-toolbar {
    padding: 0.5rem;
    gap: 0.375rem;
  }

  .toolbar-btn {
    padding: 0.375rem 0.5rem;
    font-size: var(--fs-sm);
  }

  .editor-textarea {
    min-height: 250px;
    padding: 0.75rem;
    font-size: var(--fs-sm);
  }

  .image-preview-item {
    width: 120px;
    height: 120px;
  }

  .privacy-options {
    flex-direction: column;
    gap: 1rem;
  }

  .post-editor-actions {
    flex-direction: column;
  }

  .post-editor-actions .btn {
    width: 100%;
  }

  /* Login Link Mobile */
  .btn-login-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background: rgba(255, 81, 0, 0.1);
  }

  .btn-login-link:hover {
    background: rgba(255, 81, 0, 0.2);
  }

  /* Bottom Nav & Floating Button Mobile */
  .bottom-nav {
    padding-bottom: 0;
  }

  .floating-add-post-btn {
    display: none;
  }

  /* Suggested Section Mobile */
  .suggested-article-card {
    min-width: 240px;
    max-width: 240px;
  }

  .suggested-article-image {
    height: 140px;
  }

  .suggested-article-title {
    font-size: 0.85rem;
  }

  .suggested-article-summary {
    font-size: 0.75rem;
  }

  /* Bank Interest Card Mobile */
  .bank-interest-card-content {
    padding: 1rem;
  }

  .bank-interest-card-title {
    font-size: 0.9rem;
  }

  .bank-interest-card-title-line {
    height: 24px;
    width: 3px;
  }

  .bank-interest-card-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 0.5rem;
    padding: 0.55rem 0.25rem;
    font-size: 0.85rem;
  }

  .bank-interest-card-name {
    font-size: 0.82rem;
  }

  .bank-interest-card-rate {
    font-size: 0.88rem;
  }

  .bank-interest-card-term {
    font-size: 0.78rem;
  }

  .btn-bank-interest-card-more {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
  }
}
