/*
Theme Name: Tradelad
Author: bin
Version: 1.0.0
Text Domain: tradelad
*/

/* -------------------------------------------------------------------------- */
/* Design Tokens & CSS Reset
/* -------------------------------------------------------------------------- */

html {
  font-size: 16px;
  /* Base 1rem = 16px */
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  /* 16px 文本 */
  color: #1C2836;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------- */
/* Typography Rules
/* -------------------------------------------------------------------------- */

h1,
.h1-title {
  font-size: 3rem;
  /* 一级标题 48px */
  font-weight: 700;
  line-height: 1.2;
}

h2,
.h2-title {
  font-size: 2rem;
  /* 二级标题 32px */
  font-weight: 700;
  line-height: 1.3;
}

h3,
.h3-title {
  font-size: 1.5rem;
  /* 三级标题 24px */
  font-weight: 700;
  line-height: 1.4;
}

p,
body,
input,
button {
  font-size: 1rem;
  /* 文本 16px */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Container Layout (1400px = 87.5rem)
/* -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 87.5rem;
  /* 中间内容宽度 1400px */
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* Header Navigation
/* -------------------------------------------------------------------------- */

.site-header {
  background-color: #0F002C;
  color: #ffffff;
  padding: 0;
  position: relative;
  z-index: 100;
}

.header-top {
  padding: 1.25rem 0;
}

.header-top-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-nav-bar {
  border-top: 1px solid #fff;
  padding: 0.75rem 0;
  border-bottom: 1px solid #fff;
  margin-bottom: 0.75rem;
  display: inline-block;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: auto;
  height: 3.5rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.main-nav>ul,
.main-nav ul.menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4.25rem;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav>ul>li>a,
.main-nav ul.menu>li>a {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  padding: 0.4rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.main-nav>ul>li:hover>a,
.main-nav>ul>li.current-menu-item>a,
.main-nav>ul>li.current-menu-ancestor>a,
.main-nav ul.menu>li:hover>a,
.main-nav ul.menu>li.current-menu-item>a,
.main-nav ul.menu>li.current-menu-ancestor>a {
  color: #67D1FF;
}


/* Submenu Arrow Indicator for items with dropdowns */
.main-nav li.menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-top: -3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: static;
  background-color: transparent;
  opacity: 0.8;
}

.main-nav li.menu-item-has-children:hover>a::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  opacity: 1;
}

/* -------------------------------------------------------------------------- */
/* Dropdown Sub-menu Styling (Aligned directly under parent item)
/* -------------------------------------------------------------------------- */
.main-nav ul.sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 9.5rem;
  width: max-content;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

/* Invisible hover bridge to prevent cursor focus loss */
.main-nav ul.sub-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
}

.main-nav li.menu-item-has-children:hover>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul.sub-menu li {
  width: 100%;
  border-bottom: 1px solid #f1f5f9;
}

.main-nav ul.sub-menu li:last-child {
  border-bottom: none;
}

.main-nav ul.sub-menu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.main-nav ul.sub-menu li a::after,
.main-nav ul.sub-menu li a::before {
  display: none !important;
}

.main-nav ul.sub-menu li:hover>a,
.main-nav ul.sub-menu li.current-menu-item>a {
  color: #67D1FF;
  background-color: #f8fafc;
}

/* -------------------------------------------------------------------------- */
/* Hero Banner Section (Swiper Carousel with Independent Slide Content)
/* -------------------------------------------------------------------------- */

.hero-banner {
  position: relative;
  background-color: #060913;
  color: #ffffff;
  overflow: hidden;
  height: 34rem;
  width: 100%;
}

.hero-banner .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero-banner .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.banner-card {
  width: 100%;
  max-width: 35rem;
  height: 100%;
  padding: 4rem 2.5rem 3.5rem;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-logo {
  height: 3.5rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.5rem;
  /* 56px */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 1.5px;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.85), 0 0 50px rgba(56, 189, 248, 0.5);
}

.hero-subtitle p {
  font-size: 1.55rem;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 45rem;
}

.banner-title-1 {
  text-shadow: -8px -7px 25px rgba(255, 255, 255, 0.85), -4px -3px 9px #7CF2FF;
}

.banner-title-2 {
  text-shadow: -8px -7px 25px rgba(255, 255, 255, 0.85), -4px -3px 9px #FF8215;
}

.banner-title-3 {
  text-shadow: -8px -7px 25px rgba(255, 255, 255, 0.85), -4px -3px 9px #00E575;
}
.banner-title-4 {
  text-shadow: -8px -7px 25px rgba(255, 255, 255, 0.85), -4px -3px 9px #B026FF;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.625rem 2.25rem;
  border-radius: 2rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.hero-btn.btn-cyan {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.55) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(56, 189, 248, 0.4);
}

.hero-btn.btn-amber {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.6) 0%, rgba(30, 20, 10, 0.8) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(245, 158, 11, 0.4);
}

.hero-btn.btn-green {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.6) 0%, rgba(10, 30, 20, 0.8) 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(16, 185, 129, 0.4);
}
.hero-btn.btn-purple {
  /* 顶部使用饱满的亮紫色，底部压暗到极深的紫黑色，还原图片的厚重感 */
  background: linear-gradient(180deg, rgba(155, 75, 190, 0.75) 0%, rgba(45, 15, 60, 0.9) 100%);
  /* 边框使用对应的深紫色调，保持 85% 透明度 */
  border: 1.5px solid rgba(165, 85, 200, 0.85);
  /* 保持顶部白色高光，外发光阴影改为更深的紫色，稍微加重一点点 */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 20px rgba(135, 55, 170, 0.5);
}
.btn-arrow {
  height: 1.375rem;
  width: 1.375rem;
  object-fit: contain;
}

.hero-dots {
  position: absolute !important;
  bottom: 1.5rem !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
}

.hero-dots .dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  background: transparent;
  opacity: 1 !important;
  cursor: pointer;
  margin: 0 !important;
  transition: all 0.3s ease;
}

.hero-dots .dot.active {
  background: #ffffff;
}

/* -------------------------------------------------------------------------- */
/* Swiper Slide Content Animations (Smooth FadeInUp with Blur)
/* -------------------------------------------------------------------------- */
.hero-banner .banner-card>* {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  will-change: opacity, transform, filter;
}

.hero-banner .swiper-slide:not(.swiper-slide-active) .banner-card>* {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  animation: none;
}

.hero-banner .swiper-slide-active .banner-card>* {
  animation: smoothFadeInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-banner .swiper-slide-active .hero-logo {
  animation-delay: 0.15s;
}

.hero-banner .swiper-slide-active .hero-title {
  animation-delay: 0.28s;
}

.hero-banner .swiper-slide-active .hero-subtitle {
  animation-delay: 0.40s;
}

.hero-banner .swiper-slide-active .hero-btn {
  animation-delay: 0.52s;
}

@keyframes smoothFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* -------------------------------------------------------------------------- */

/* Main Content Layout
/* -------------------------------------------------------------------------- */

.site-main {
  padding: 4rem 0;
  background-color: #ffffff;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 22.5rem;
  /* Left content + 360px Sidebar */
  gap: 3.5rem;
  align-items: start;
}

.main-column {
  min-width: 0;
  max-width: 100%;
}

/* Section Header styling */
.section-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  /* 32px */
  font-weight: 700;
  color: #1C2836;
  white-space: nowrap;
}

.header-line {
  flex: 1;
  height: 1px;
  background-color: #000;
}

/* Content Block Spacing */
.content-block {
  margin-bottom: 3.5rem;
}

/* Cards Grid (2 Column Cards) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.card-item {
  display: flex;
  flex-direction: column;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.875rem;
  background-color: #f1f5f9;
}

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

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

.card-title {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.read-more {
  font-size: 0.9375rem;
  color: #1D77EF;
  font-weight: 500;
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
}

/* Horizontal List Cards (Section 3) */
.list-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.horizontal-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.horizontal-thumb {
  width: 26rem;
  /* ~416px */
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #f1f5f9;
}

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

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

.horizontal-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cat-tag {
  font-weight: 600;
  font-size: 1.15rem;
  color: #114CCD;
  margin-bottom: 0.25rem;
}

.horizontal-title {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.4rem;
  font-weight: 700;
  line-height: 1.35;
}

.horizontal-title a:hover {
  color: #114CCD;
}

.title-line {
  width: 5rem;
  height: 2px;
  background-color: #67D1FF;
  margin: 0.4rem 0 0.85rem 0;
}

.horizontal-excerpt {
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

/* -------------------------------------------------------------------------- */
/* Sidebar Column
/* -------------------------------------------------------------------------- */

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: 2rem;
  align-self: flex-start;
}

.side-bottom {
  position: sticky;
  top: 2rem;
  width: 100%;
}

.side-bottom img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.widget {
  width: 100%;
}

.widget-title {
  font-size: 1.5rem;
  /* 24px */
  font-weight: 700;
  color: #0f172a;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.widget-header .widget-title {
  white-space: nowrap;
}

/* Search Widget */
.widget-search .widget-title {
  margin-bottom: 1rem;
}

.search-form {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  overflow: hidden;
  gap: 0.2rem;
}

.search-input {
  flex: 1;
  border: none;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  color: #0F002C;
  outline: none;
  border: 1px solid #0F002C;
}

.search-submit {
  width: 2.75rem;
  background-color: #0a0d18;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-submit img {
  height: 1.8rem;
}

.search-submit:hover {
  background-color: #67D1FF;
}

/* Popular Articles List */
.popular-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.popular-item {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

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

.popular-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.popular-item-title a:hover {
  color: #67D1FF;
}

.popular-item-excerpt {
  font-size: 1rem;
  color: #1C2836;
  line-height: 1.5;
  margin-bottom: 0.375rem;
}

.popular-item-date {
  font-size: 0.875rem;
  color: #1C2836;
  float: right;
}

/* Community Widget */
.widget-community {
  background-color: #ffffff;
}

.community-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.community-avatar {
  object-fit: cover;
  height: 4.4rem;
}

.community-title {
  display: flex;
  flex-direction: column;
}

.community-title strong {
  font-size: 1.125rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

.community-title small {
  font-size: 0.875rem;
  color: #64748b;
}

.community-desc {
  font-size: 1.1rem;
  color: #1C2836;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 0.875rem;
}

.social-link img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
  transition: transform 0.2s ease;
}

.social-link:hover img {
  transform: translateY(-2px);
}

/* Newsfeed Widget */
.newsfeed-card {
  width: 100%;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.newsfeed-content {
  padding: 2.25rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.newsfeed-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.875rem;
}

.newsfeed-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: 1px;
}

.newsfeed-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.newsfeed-card .text-blue {
  color: #00b0ff;
}

.newsfeed-feature-box {
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #006dff82 100%);
  border: 1px solid #466b9d;
  border-radius: 0.75rem;
  padding: 0.75rem 0.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 5px 1px #3ea6ff;
  backdrop-filter: blur(4px);
}

.feature-row {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  white-space: nowrap;
}

.feature-row .divider {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.25rem;
}

.newsfeed-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.footer-info {
  width: 63%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-line {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.45;
  font-weight: 500;
}

.info-line-bar {
  width: 2.5rem;
  height: 2px;
  background-color: #0084ff;
  margin: 0.5rem 0;
  border-radius: 1px;
}

.discord-link {
  display: inline-block;
  margin-top: 0.25rem;
}

.discord-btn-img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.discord-link:hover .discord-btn-img {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* -------------------------------------------------------------------------- */
/* Single Post Inner Page Styling
/* -------------------------------------------------------------------------- */

.single-page-main {
  padding: 2.5rem 0 4rem;
  background-color: #ffffff;
}

.single-article-container {
  background: #ffffff;
  border-radius: 0.75rem;
}

/* Breadcrumbs */
.single-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.single-breadcrumbs a {
  color: #767676;
  transition: color 0.2s ease;
}

.single-breadcrumbs a:hover {
  color: #67D1FF;
}

.single-breadcrumbs .sep {
  color: #cbd5e1;
}

.single-breadcrumbs .current {
  font-weight: 500;
  max-width: 25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Single Post Header */
.single-post-header {
  margin-bottom: 2rem;
}

.single-cat-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease;
}

.single-cat-badge:hover {
  background-color: #0284c7;
  color: #ffffff;
}

.single-post-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: #64748b;
  font-size: 0.9375rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: #1e293b;
}

.meta-divider {
  color: #cbd5e1;
}

/* Featured Image */
.single-featured-image {
  width: 100%;
  border-radius: 0.875rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Table of Contents (TOC) */
.article-toc {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #67D1FF;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.toc-title-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-icon {
  display: flex;
  align-items: center;
  color: #67D1FF;
}

.toc-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  flex: 1;
}

.toc-toggle-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

.toc-toggle-btn:hover {
  color: #67D1FF;
}

.toc-list {
  list-style: none;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.toc-item a {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.toc-item a:hover {
  color: #67D1FF;
  text-decoration: underline;
}

.toc-sub-item {
  padding-left: 1.25rem;
}

.toc-sub-item a {
  font-size: 0.9rem;
  color: #64748b;
}

/* Entry Content Typography */
.single-entry-content {
  font-size: 1.075rem;
  line-height: 1.85;
  color: #334155;
}

.single-entry-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.5rem 0 1.25rem 0;
  padding-left: 0.875rem;
  border-left: 4px solid #67D1FF;
  line-height: 1.35;
  scroll-margin-top: 5rem;
}

.single-entry-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 1rem 0;
  scroll-margin-top: 5rem;
}

.single-entry-content p {
  margin-bottom: 1.5rem;
}

.single-entry-content ul,
.single-entry-content ol {
  margin: 1rem 0 1.5rem 1.75rem;
  color: #334155;
}

.single-entry-content li {
  margin-bottom: 0.5rem;
}

.single-entry-content blockquote {
  background-color: #f8fafc;
  border-left: 4px solid #3b82f6;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #475569;
}

.single-entry-content img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

/* -------------------------------------------------------------------------- */
/* Article Table Styling
/* -------------------------------------------------------------------------- */

.table-wrapper,
.wp-block-table,
figure.wp-block-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: block;
}

.single-entry-content table,
.entry-content table,
.wp-block-table table {
  width: 100%;
  min-width: 30rem;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  background-color: #ffffff;
}

/* Table Header (th) */
.single-entry-content table th,
.entry-content table th {
  font-weight: 700;
  color: #0f172a;
  padding: 1.125rem 1.25rem;
  text-align: left;
  vertical-align: middle;
  background-color: #ffffff;
  border-bottom: 2.5px solid #1e293b;
  border-right: 1px solid #e2e8f0;
}

.single-entry-content table th:last-child,
.entry-content table th:last-child {
  border-right: none;
}

/* Table Data Cells (td) */
.single-entry-content table td,
.entry-content table td {
  padding: 1.25rem;
  color: #334155;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.single-entry-content table tr:last-child td,
.entry-content table tr:last-child td {
  border-bottom: none;
}

.single-entry-content table td:last-child,
.entry-content table td:last-child {
  border-right: none;
}

/* Hover State */
.single-entry-content table tbody tr:hover,
.entry-content table tbody tr:hover {
  background-color: #f8fafc;
}

/* Social Share Box */
.single-share-box {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 3rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.share-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.share-fb {
  background-color: #1877f2;
  color: #ffffff;
}

.share-fb:hover {
  background-color: #1464cc;
}

.share-line {
  background-color: #00c300;
  color: #ffffff;
}

.share-line:hover {
  background-color: #00a000;
}

.share-copy {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.share-copy:hover {
  background-color: #e2e8f0;
}

/* Author Card */
.single-author-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.author-card-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.author-card-bio {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
}

/* Related Posts Section */
.single-related-section {
  margin-bottom: 3rem;
}

/* Post Navigation (Prev/Next) */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.post-nav-item a {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.post-nav-item a:hover {
  border-color: #67D1FF;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-label {
  font-size: 0.8125rem;
  color: #67D1FF;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-next {
  text-align: right;
}

/* -------------------------------------------------------------------------- */
/* Category Archive Page Styling
/* -------------------------------------------------------------------------- */

.category-page-main {
  padding: 2.5rem 0 4rem;
  background-color: #ffffff;
}

.category-header-block {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.category-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #114CCD;
  position: relative;
  text-align: center;
}

.category-description {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-top: 1rem;
}

/* Subcategory Pills Tabs */
.subcategory-pills {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.pills-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #64748b;
}

.subcat-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #cbd5e1;
}

.subcat-pill:hover,
.subcat-pill.active {
  background-color: #67D1FF;
  color: #ffffff;
  border-color: #67D1FF;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

/* Archive Post Card Meta */
.horizontal-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.5rem;
}

.horizontal-meta-top .post-date {
  font-size: 0.875rem;
  color: #94a3b8;
}

.archive-card {
  padding-bottom: 2rem;
  border-bottom: 1px solid #000;
}

.archive-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Pagination Styling */
.archive-pagination .screen-reader-text,
.screen-reader-text {
  display: none !important;
}

.archive-pagination {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.625rem;
  border-radius: 0;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.archive-pagination a.page-numbers:hover {
  border-color: #000000;
  color: #000000;
  background-color: #f8fafc;
}

.archive-pagination .page-numbers.current {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  font-weight: 700;
}

.archive-pagination .page-numbers.dots {
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #64748b;
  cursor: default;
}

/* -------------------------------------------------------------------------- */
/* Footer
/* -------------------------------------------------------------------------- */

.site-footer {
  background-color: #0F002C;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------------------------- */
/* Responsive Breakpoints (rem-based)
/* -------------------------------------------------------------------------- */

@media (max-width: 1440px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 1100px) {
  html {
    font-size: 14px;
  }

  .layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sidebar-column {
    max-width: 30rem;
    margin: 0 auto;
  }
}

/* Default hidden states for mobile elements on desktop */
.mobile-toggle-btn,
.mobile-search-btn,
.mobile-search-bar,
.mobile-drawer-overlay,
.mobile-drawer-panel {
  display: none;
}

body.drawer-open {
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .header-top {
    padding: 0.625rem 0;
  }

  .header-top-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .mobile-toggle-btn,
  .mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    transition: opacity 0.2s ease;
  }

  .mobile-toggle-btn:hover,
  .mobile-search-btn:hover {
    opacity: 0.8;
  }

  .logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
  }

  .logo-img {
    height: 3.25rem;
    width: auto;
  }

  /* Mobile Search Bar Dropdown */
  .mobile-search-bar {
    display: none;
    background-color: #0d1322;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-search-bar.is-active {
    display: block;
  }

  .mobile-search-form {
    display: flex;
    gap: 0.5rem;
  }

  .mobile-search-input {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.5rem 0.875rem;
    color: #ffffff;
    font-size: 0.95rem;
  }

  .mobile-search-submit {
    background: #03A9F4;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
  }

  /* Mobile Drawer Overlay */
  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Drawer Panel */
  .mobile-drawer-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .mobile-drawer-panel.is-open {
    transform: translateX(0);
  }

  /* Floating Close Button */
  .mobile-drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
  }

  .mobile-drawer-close:hover {
    transform: scale(1.08);
  }

  /* Drawer Header Brand */
  .drawer-brand {
    padding: 2.5rem 1.5rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .drawer-logo {
    height: 3.5rem;
    width: auto;
    margin-bottom: 0.875rem;
    filter: brightness(0);
  }

  .drawer-line {
    width: 3.5rem;
    height: 3px;
    background-color: #67D1FF;
    border-radius: 2px;
  }

  /* Drawer Navigation List */
  .drawer-nav {
    padding: 0.5rem 1.5rem 2.5rem;
  }

  .drawer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .drawer-nav li {
    border-bottom: 1px solid #f1f5f9;
    position: relative;
  }

  .drawer-nav li:last-child {
    border-bottom: none;
  }

  .drawer-nav li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    transition: color 0.2s ease;
  }

  .drawer-nav li:hover>a,
  .drawer-nav li.current-menu-item>a {
    color: #67D1FF;
  }

  /* Drawer Submenu Indicator Arrow */
  .drawer-nav li.menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    margin-left: 0.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .drawer-nav li.menu-item-has-children.is-expanded>a::after {
    transform: rotate(-135deg);
    border-color: #67D1FF;
  }

  /* Drawer Submenu Accordion */
  .drawer-nav ul.sub-menu {
    display: none;
    position: static;
    top: auto;
    left: auto;
    min-width: 100%;
    box-shadow: none;
    border: none;
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem 0 0.875rem;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .drawer-nav li.menu-item-has-children.is-expanded>ul.sub-menu {
    display: block;
  }

  .drawer-nav ul.sub-menu li {
    border-bottom: 1px solid #e2e8f0;
  }

  .drawer-nav ul.sub-menu li:last-child {
    border-bottom: none;
  }

  .drawer-nav ul.sub-menu li a {
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
  }

  .drawer-nav ul.sub-menu li a::after,
  .drawer-nav ul.sub-menu li a::before {
    display: none !important;
  }

  .drawer-nav ul.sub-menu li:hover>a,
  .drawer-nav ul.sub-menu li.current-menu-item>a {
    color: #67D1FF;
    background-color: transparent;
  }

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

  .horizontal-card {
    flex-direction: column;
  }

  .horizontal-thumb {
    width: 100%;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .banner-card {
    padding: 0;
  }

  .single-entry-content table th,
  .entry-content table th,
  .single-entry-content table td,
  .entry-content table td {
    padding: 0.75rem 0.625rem;
    font-size: 0.875rem;
  }

  .article-toc {
    padding: 1rem;
  }

  .hero-subtitle p {
    font-size: 1.25rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Redesigned Premium Dark Footer Section (matching user screenshot)
/* -------------------------------------------------------------------------- */

.site-footer-main {
  padding: 4rem 0 3.5rem;
}

.site-footer .footer-container {
  display: grid;
  grid-template-columns: 20rem 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left Info Column */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.75rem;
}

.footer-logo-img {
  width: auto;
  object-fit: contain;
}

.disclaimer-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-content: flex-start;
  align-items: flex-start;
}

.disclaimer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #CDCDCD;
  margin: 0;
}

.disclaimer-text {
  font-size: 0.87rem;
  font-weight: 400;
  color: #CDCDCD;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}

/* Right Categories Column */
.footer-right {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.categories-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.categories-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

.categories-line {
  width: 100%;
  height: 2px;
  background-color: #CDCDCD;
}

.categories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 0.625rem;
  width: 100%;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid #CDCDCD;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e4e4e7;
  background-color: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tag-pill:hover {
  border-color: #67D1FF;
  color: #ffffff;
  background-color: rgba(0, 188, 212, 0.12);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.25);
  transform: translateY(-1px);
}

/* Bottom Social Bar */
.site-footer-bottom {
  background-color: #000;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #767676;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-item:hover {
  color: #ffffff;
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.social-item:hover .social-icon {
  transform: scale(1.15);
}

/* -------------------------------------------------------------------------- */
/* Load More Posts Button (交易基礎区块底部按钮)
/* -------------------------------------------------------------------------- */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
  width: 100%;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 3rem;
  border: 1.5px solid #1c2836;
  background-color: #ffffff;
  color: #1c2836;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.load-more-btn:hover {
  background-color: #1c2836;
  color: #ffffff;
  border-color: #1c2836;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Responsive Footer Breakpoints */
@media (max-width: 1024px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-left {
    max-width: 25rem;
  }

  .social-bar {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-footer-main {
    padding: 3rem 0 2.5rem;
  }

  .social-bar {
    gap: 1.25rem 1.75rem;
  }

  .social-item {
    font-size: 0.8125rem;
  }

  .hero-banner {
    height: 28rem;
  }
}

/* -------------------------------------------------------------------------- */
/* About Us Page (template-about.php)
/* -------------------------------------------------------------------------- */

.about-page-main {
  padding: 2.5rem 0 5rem;
  background-color: #ffffff;
}

.about-breadcrumbs {
  margin-bottom: 2rem;
}

.about-header-block {
  text-align: center;
  margin-bottom: 3.5rem;
}

.about-page-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

/* Feature Section (Left Text, Right Image) */
.about-feature-section {
  margin-bottom: 5rem;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 34rem;
  gap: 3.5rem;
  align-items: flex-start;
}

.about-section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1C2836;
  margin-bottom: 1.25rem;
}

.about-feature-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* Follow Us Box */
.about-follow-box {
  margin-top: 2.5rem;
}

.follow-title-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.follow-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.follow-line {
  flex: 1;
  height: 1px;
  background-color: #000;
}

.follow-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 28rem;
}

.follow-social-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.follow-social-item:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

.social-icon-img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

/* 3-Column Section */
.about-columns-section {
  margin-bottom: 5rem;
  text-align: center;
}

.about-main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3.5rem;
  line-height: 1.3;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.about-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  background: #ffffff;
  padding: 1.5rem 1rem;
}

.about-card-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.about-card-icon img {
  width: 14rem;
  height: auto;
  object-fit: contain;
}

.about-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  text-align: center;
  width: 100%;
}

.about-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.975rem;
  line-height: 1.65;
  color: #1C2836;
}

.about-bullet-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: #1C2836;
  font-size: 1.25rem;
  line-height: 1;
}

/* CTA Section */
.about-cta-section {
  text-align: center;
  padding: 3rem 0 2rem;
}

.about-cta-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.about-cta-subtitle {
  font-size: 1.15rem;
  margin: 2rem 0;
}

.about-cta-subtitle a {
  color: #114CCD;
  font-weight: 500;
  text-underline-offset: 4px;
}

.about-cta-subtitle a:hover {
  color: #1d4ed8;
}

.about-cta-btn-wrapper {
  display: flex;
  justify-content: center;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.5rem;
  background-color: #262626;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about-cta-btn:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.btn-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Media Queries for About Page */
@media (max-width: 1024px) {
  .about-feature-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .about-header-block {
    margin-bottom: 2rem;
  }

  .about-main-heading {
    font-size: 2rem;
  }

  .about-page-title {
    font-size: 2.25rem;
  }

  .about-section-heading {
    font-size: 1.55rem;
  }
}