/* ===== Sub-pages shared styles (Tech-Enhanced) ===== */

/* --- CSS Variables --- */
:root {
  --tech-bg-dark: #0a1628;
  --tech-bg-mid: #101e35;
  --tech-bg-card: #131f36;
  --tech-accent: #4a8bc8;
  --tech-accent-light: #6ba3d6;
  --tech-accent-glow: rgba(74, 139, 200, 0.3);
  --tech-accent-subtle: rgba(74, 139, 200, 0.08);
  --tech-border: rgba(74, 139, 200, 0.18);
  --tech-text: #e2e8f0;
  --tech-text-muted: #94a3b8;
  --tech-gradient: linear-gradient(135deg, #4a8bc8, #3a78b8);
  --tech-surface: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

/* --- Keyframe Animations --- */
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes slide-in-left {
  from { transform: translateX(-8px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* --- Header adjustments for sub-pages (match homepage style) --- */
.sub-header {
  position: relative;
}

.sub-header .topbar {
  background: linear-gradient(180deg, rgba(11, 32, 55, 0.95), rgba(15, 40, 65, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Do NOT override main-nav font-size/padding — inherit from styles.css base */

.sub-header .main-nav a {
  position: relative;
  transition: 0.2s ease;
}

.sub-header .main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sub-header .main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.sub-header .account-actions .user-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  cursor: pointer;
}

.sub-header .account-actions .user-dropdown:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* --- Sub-page hero (smaller banner) --- */
.sub-hero {
  position: relative;
  min-height: 220px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(8, 20, 40, 0.5), rgba(10, 22, 40, 0.7)),
    url("../assets/guangdong/hero.png") center/cover no-repeat;
}

.sub-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #f0f2f5);
  pointer-events: none;
}

.sub-hero-content {
  position: relative;
  z-index: 10;
  width: min(100%, 900px);
  padding: 0 16px;
  text-align: center;
}

.sub-hero .search-box {
  display: flex;
  align-items: stretch;
  max-width: 860px;
  height: 56px;
  margin: 0 auto;
  background: rgba(10, 22, 40, 0.72);
  border: 1px solid rgba(107, 163, 214, 0.36);
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 12px 32px rgba(4, 12, 24, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(12px);
}

.sub-hero .search-category {
  position: relative;
  z-index: 20;
  width: 170px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(74, 139, 200, 0.96), rgba(58, 120, 184, 0.96));
  color: #fff;
  text-align: left;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 0 18px rgba(74, 139, 200, 0.28) inset;
}

.sub-hero .search-category-current {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.sub-hero .search-category-current::after {
  content: "▾";
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.sub-hero .search-category-list {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(74, 139, 200, 0.12);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.sub-hero .search-category:hover .search-category-list {
  display: block;
}

.sub-hero .search-category-list li {
  padding: 9px 16px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
}

.sub-hero .search-category-list li:hover {
  background: #f3f6fb;
  color: #2a5298;
}

.sub-hero .search-box input {
  flex: 1;
  min-width: 0;
  padding: 0 24px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #1e293b;
  background: #fff;
}

.sub-hero .search-box input::placeholder {
  color: #64748b;
}

.sub-hero .search-box button {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  border-left: 1px solid #e5edf7;
  background: #fff;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.sub-hero .search-box button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  background: linear-gradient(135deg, #4a8bc8, #3a78b8);
  box-shadow: 0 4px 12px rgba(74, 139, 200, 0.28);
}

.sub-hero .search-box button::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.sub-hero .search-box button:hover::after {
  background: linear-gradient(135deg, #3a78b8, #4a8bc8);
}

/* ===== SIDEBAR — Soft Blue Theme ===== */

.sub-main {
  display: flex;
  gap: 0;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 56px;
  min-height: 500px;
}

.sub-sidebar {
  width: 230px;
  flex-shrink: 0;
  margin-right: 28px;
  animation: slide-in-left 0.4s ease-out;
}

/* Sidebar title: medium blue gradient, clean and harmonious */
.sidebar-title {
  position: relative;
  padding: 16px 18px;
  background: linear-gradient(135deg, #4a8bc8, #3a78b8);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
  text-align: center;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.sidebar-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* Sidebar list: light blue/white bg */
.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f0f6fc;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(58, 120, 184, 0.08), 0 0 0 1px rgba(58, 120, 184, 0.12);
}

.sidebar-list li {
  margin: 0;
  position: relative;
}

.sidebar-list li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  color: #3a5f85;
  font-size: 14px;
  border-bottom: 1px solid rgba(58, 120, 184, 0.08);
  transition: all 0.25s ease;
}

/* Active left indicator */
.sidebar-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg, #4a8bc8, #3a78b8);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.25s ease;
}

.sidebar-list li a:hover {
  background: #e8f2fb;
  color: #2a5080;
}

.sidebar-list li a:hover::after {
  opacity: 0.4;
  transform: scaleY(1);
}

.sidebar-list li a.active {
  background: linear-gradient(90deg, #e0edf8, #eaf3fb);
  color: #1e4070;
  font-weight: 600;
}

.sidebar-list li a.active::after {
  opacity: 1;
  transform: scaleY(1);
}

.sidebar-list li a .sidebar-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.65;
  transition: all 0.25s ease;
  color: #4a8bc8;
}

.sidebar-list li a:hover .sidebar-icon,
.sidebar-list li a.active .sidebar-icon {
  opacity: 1;
  color: #2a5f9e;
}

.sidebar-list li:last-child a {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* ===== CONTENT AREA ===== */

.sub-content {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.sub-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a8bc8, #6ba3d6);
  border-radius: 10px 10px 0 0;
}

.sub-content h2 {
  margin: 0 0 24px;
  font-size: 22px;
  color: #1e293b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-content h2::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #4a8bc8, #6ba3d6);
  border-radius: 2px;
  flex-shrink: 0;
}

.sub-content h3 {
  margin: 28px 0 16px;
  font-size: 18px;
  color: #0f172a;
  font-weight: 600;
}

/* --- Content card — glassmorphism --- */
.content-card {
  background: linear-gradient(135deg, #fff, #f8fafc);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.15);
}

/* --- News / list items --- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.06);
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  transition: all 0.2s ease;
}

.news-list li:hover {
  padding-left: 8px;
  background: rgba(59, 130, 246, 0.02);
  border-radius: 4px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--tech-accent);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--tech-accent-glow);
}

.news-list li .news-title {
  flex: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.news-list li .news-title:hover {
  color: var(--tech-accent);
}

.news-list li .news-date {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.section-search-box {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}

.section-search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
}

.section-search-box button {
  flex-shrink: 0;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: #64748b;
}

.pagination button {
  min-width: 56px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pagination button:hover {
  background: #f1f5f9;
  border-color: var(--tech-accent);
  color: var(--tech-accent);
}

.pagination .page-current {
  background: var(--tech-gradient);
  color: #fff;
  border-color: transparent;
  padding: 5px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--tech-accent-glow);
}

.pagination input {
  width: 44px;
  padding: 5px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.pagination input:focus {
  border-color: var(--tech-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pagination .page-confirm {
  background: var(--tech-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px var(--tech-accent-glow);
}

.pagination .page-confirm:hover {
  background: linear-gradient(135deg, #3a78b8, #4a8bc8);
  color: #fff;
}

.pagination select {
  padding: 5px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.pagination select:focus {
  border-color: var(--tech-accent);
}

/* --- Article cards (for science park) --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.article-card .card-body {
  padding: 16px 18px;
}

.article-card .card-body h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #1e293b;
  line-height: 1.5;
  font-weight: 600;
}

.article-card .card-body p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

/* --- FAQ styles --- */
.faq-item {
  margin-bottom: 24px;
  padding: 20px 24px;
  padding-bottom: 20px;
  border-bottom: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid rgba(59, 130, 246, 0.06);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.06);
}

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

.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.7;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--tech-gradient);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-answer {
  font-size: 14px;
  color: #475569;
  line-height: 1.85;
  padding-left: 32px;
}

/* --- About page styles --- */
.about-intro {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.85;
  color: #334155;
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--tech-gradient);
  border-radius: 2px 0 0 2px;
}

.about-intro h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #1e40af;
}

.committee-cards {
  display: grid;
  gap: 20px;
}

.committee-card {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border-radius: 10px;
  padding: 24px 28px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.committee-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}

.committee-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 10px;
}

.committee-card h4::before {
  content: "";
  width: 3px;
  height: 18px;
  background: var(--tech-gradient);
  border-radius: 2px;
}

.committee-card p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
}

.committee-card .chair {
  font-weight: 600;
  color: #1e40af;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
}

.contact-map {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  border: 1px solid rgba(59, 130, 246, 0.08);
}

/* ===== FLOW STEPS — Tech-Enhanced ===== */

.flow-steps {
  position: relative;
  padding-left: 0;
}

/* Vertical connecting line */
.flow-steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--tech-accent), rgba(99, 102, 241, 0.3), transparent);
  border-radius: 1px;
}

.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: none;
  position: relative;
  padding: 16px 20px;
  padding-left: 16px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.flow-step:hover {
  background: rgba(59, 130, 246, 0.02);
}

.flow-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tech-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px var(--tech-accent-glow);
  transition: all 0.3s ease;
}

.flow-step:hover .step-number {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
}

.step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.step-icon svg {
  color: var(--tech-accent);
}

.step-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.85;
  color: #334155;
}

.step-content .response-time {
  color: var(--tech-accent);
  font-weight: 600;
  background: rgba(59, 130, 246, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* --- Submit entry button — Tech glow --- */
.submit-entry-btn {
  display: block;
  width: 300px;
  margin: 28px auto;
  padding: 14px 28px;
  background: var(--tech-gradient);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--tech-accent-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.submit-entry-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.submit-entry-btn:hover {
  background: linear-gradient(135deg, #3a78b8, #4a8bc8);
  box-shadow: 0 6px 28px rgba(74, 139, 200, 0.35);
  transform: translateY(-2px);
}

/* --- Tab switcher --- */
.tab-switcher {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.tab-switcher .tab-btn {
  padding: 10px 20px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-switcher .tab-btn:first-child {
  border-radius: 6px 0 0 6px;
}

.tab-switcher .tab-btn:last-child {
  border-radius: 0 6px 6px 0;
}

.tab-switcher .tab-btn.active {
  background: var(--tech-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px var(--tech-accent-glow);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- Section title inside content --- */
.section-block-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: var(--tech-gradient) 1;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

/* ===== FOOTER — Soft Style ===== */

.sub-footer {
  padding: 40px 24px;
  background: linear-gradient(180deg, #1a2a42, #0f1d30);
  border-top: 3px solid #3a78b8;
  color: #94a3b8;
}

.sub-footer .footer-center {
  text-align: center;
}

.sub-footer .footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sub-footer .footer-logo img {
  height: 36px;
  width: auto;
}

.sub-footer .footer-logo span {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.sub-footer .footer-divider {
  width: 300px;
  height: 1px;
  margin: 16px auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.sub-footer .footer-platforms {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 13px;
}

.sub-footer .footer-platforms a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.sub-footer .footer-platforms a:hover {
  color: #fff;
}

.sub-footer .footer-platforms span {
  color: rgba(255, 255, 255, 0.2);
}

.sub-footer .footer-copyright {
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .sub-main {
    flex-direction: column;
  }

  .sub-sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .sidebar-list {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar-list li a {
    padding: 10px 14px;
  }

  .sidebar-list li a::after {
    display: none;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .sub-hero {
    min-height: 160px;
  }

  .sub-content {
    padding: 20px;
  }

  .flow-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flow-steps::before {
    display: none;
  }

  .sub-footer .footer-platforms {
    flex-wrap: wrap;
    gap: 12px;
  }
}
