/*
Theme Name: FinDante Theme
Author: Assistant
Description: Unique financial advisory theme for FinDante
Version: 2.0
*/

:root {
  /* Colors - Professional Palette */
  --primary: #0f172a;
  --accent: #334155;
  --highlight: #475569;
  --bg-main: #fafaf9;
  --bg-card: #ffffff;
  --bg-dark: #1e293b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  
  /* Dimensions */
  --container-width: 1280px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Typography */
  --font-base: 'Space Grotesk', system-ui, sans-serif;
  --font-display: 'Sora', 'Space Grotesk', sans-serif;
  
  /* Effects */
  --shadow-brutal: 6px 6px 0 var(--primary);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul { 
  list-style: none; 
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

::selection {
  background: var(--primary);
  color: white;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: white;
  border: 3px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--highlight);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: white;
  border-color: var(--primary);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* HEADER */
.site-header {
  background: transparent;
  padding: 1.75rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: var(--border);
  opacity: 0.5;
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  position: relative;
  padding: 0.5rem 0;
}

.site-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.site-brand:hover::after {
  width: 100%;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.85rem 1.5rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::before {
  width: 70%;
}

.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: var(--primary);
}

.main-nav .current-menu-item a::before,
.main-nav .current_page_item a::before {
  width: 70%;
}

/* HERO */
.hero-finance {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-finance::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.03;
  animation: float 20s ease-in-out infinite;
}

.hero-finance::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.03;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  border: 3px solid var(--primary);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 2rem;
  color: var(--primary);
}

.hero-title span {
  display: block;
  color: var(--highlight);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-brutal);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--primary);
}

/* Features Section */
.features-section {
  padding: var(--space-xl) 0;
  background: var(--primary);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(15, 23, 42, 0.03) 30%, rgba(15, 23, 42, 0.03) 70%, transparent 70%);
  background-size: 60px 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: white;
  padding: 3rem;
  border: 4px solid var(--primary);
  transition: var(--transition);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translate(8px, 8px);
  z-index: -1;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translate(4px, 4px);
}

.feature-card:hover::before {
  transform: translate(12px, 12px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-weight: 800;
}

.feature-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.section-header {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.section-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.section-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ARTICLES GRID */
.articles-section {
  padding: var(--space-xl) 0;
  background: var(--bg-main);
}

.articles-section .section-label {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

.articles-section .section-title {
  color: var(--primary);
}

.articles-section .section-description {
  color: var(--text-muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.tech-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  border: 3px solid var(--primary);
  transition: var(--transition);
  position: relative;
  overflow: visible;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translate(8px, 8px);
  z-index: -1;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translate(-4px, -4px);
}

.tech-card:hover::before {
  transform: translate(12px, 12px);
}

.tech-thumb {
  overflow: hidden;
  position: relative;
  height: 240px;
  border-bottom: 3px solid var(--primary);
}

.tech-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(20%);
}

.tech-card:hover .tech-thumb img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.tech-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.tech-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: white;
}

.tech-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-category {
  display: inline-block;
  background: var(--bg-main);
  color: var(--primary);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  border: 2px solid var(--border);
}

.tech-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.tech-title a {
  color: var(--text-main);
  transition: var(--transition);
}

.tech-title a:hover {
  color: var(--highlight);
}

.tech-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  flex-grow: 1;
}

.tech-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: auto;
  border-top: 2px solid var(--border);
  transition: var(--transition);
}

.tech-link:hover {
  color: var(--highlight);
  gap: 1.25rem;
}

.tech-link::after {
  content: "→";
  font-size: 1.5rem;
  font-weight: 700;
}

/* SINGLE POST */
.single-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  padding: var(--space-lg) 0;
  max-width: 1300px;
  margin: 0 auto;
}

.single-header {
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 4px solid var(--primary);
  position: relative;
}

.single-header::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--primary);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.single-h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 0;
}

.single-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-content p {
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.single-content h2,
.single-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.single-content h2::before,
.single-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 6px;
  height: calc(100% - 0.5rem);
  background: var(--primary);
}

.single-content ul,
.single-content ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.single-content li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-muted);
}

.single-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.single-content img {
  margin: 3rem 0;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-brutal);
}

.single-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-box {
  background: white;
  border: 3px solid var(--primary);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.sidebar-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translate(6px, 6px);
  z-index: -1;
}

.sidebar-box h4 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-box li {
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.sidebar-box li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-box a {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
  transition: var(--transition);
}

.sidebar-box a:hover {
  color: var(--highlight);
  padding-left: 8px;
}

/* Page Styles */
.single-hero {
  background: var(--primary);
  padding: var(--space-lg) 0;
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.single-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.03) 20px,
      rgba(255, 255, 255, 0.03) 40px
    );
}

.single-title {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin: 0;
  position: relative;
  z-index: 1;
}

.single-content-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.single-featured-image {
  margin-bottom: 3rem;
}

.single-featured-image img {
  width: 100%;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-brutal);
}

.single-body {
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-body h2,
.single-body h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.single-body h2::before,
.single-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 6px;
  height: calc(100% - 0.5rem);
  background: var(--primary);
}

.single-body p {
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.single-body ul,
.single-body ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.single-body li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-muted);
}

.single-body li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* FOOTER */
.footer-finance {
  background: var(--primary);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer-finance::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col li {
  padding-left: 1.5rem;
  position: relative;
}

.footer-col li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  font-weight: 500;
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}

.footer-brand {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: -0.02em;
}

.footer-contact-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

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

.footer-contact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-contact-value {
  color: white;
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-contact-value a {
  color: white;
  font-weight: 600;
}

.footer-contact-value a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Pagination */
.pagination {
  padding: 4rem 0;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  margin: 0 0.5rem;
  color: var(--text-main);
  font-weight: 700;
  transition: var(--transition);
  border: 3px solid var(--primary);
  background: white;
  position: relative;
}

.pagination a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translate(4px, 4px);
  z-index: -1;
  transition: var(--transition);
}

.pagination a:hover {
  transform: translate(-2px, -2px);
}

.pagination a:hover::before {
  transform: translate(6px, 6px);
}

.pagination .current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination .current::before {
  background: var(--highlight);
}

/* Category Page */
.hero-section {
  background: var(--primary);
  padding: var(--space-lg) 0;
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(255, 255, 255, 0.03) 30px,
      rgba(255, 255, 255, 0.03) 60px
    );
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-section .hero-title {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.hero-section .hero-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  line-height: 1.7;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.post-card {
  background: white;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--primary);
  transition: var(--transition);
  position: relative;
  overflow: visible;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translate(8px, 8px);
  z-index: -1;
  transition: var(--transition);
}

.post-card:hover {
  transform: translate(-4px, -4px);
}

.post-card:hover::before {
  transform: translate(12px, 12px);
}

.post-thumbnail {
  height: 240px;
  overflow: hidden;
  border-bottom: 3px solid var(--primary);
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(20%);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.post-card-content {
  padding: 2rem;
  background: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.post-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 800;
}

.post-card-title a {
  color: var(--text-main);
  transition: var(--transition);
}

.post-card-title a:hover {
  color: var(--highlight);
}

.post-card-excerpt {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  flex-grow: 1;
}

.post-read-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: auto;
  border-top: 2px solid var(--border);
  transition: var(--transition);
}

.post-read-more:hover {
  color: var(--highlight);
  gap: 1.25rem;
}

.post-read-more::after {
  content: "→";
  font-size: 1.5rem;
  font-weight: 700;
}

.pagination-wrapper {
  padding: var(--space-md) 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .single-sidebar {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features-grid,
  .tech-grid,
  .grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  body {
    font-size: 16px;
  }
  
  .header-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .site-header {
    padding: 1.25rem 0;
  }
  
  .site-brand {
    font-size: 1.5rem;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    width: 100%;
  }
  
  .main-nav a {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero-finance {
    min-height: auto;
    padding: var(--space-lg) 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .features-section,
  .articles-section {
    padding: var(--space-lg) 0;
  }
  
  .tech-card::before,
  .post-card::before,
  .feature-card::before,
  .sidebar-box::before {
    transform: translate(5px, 5px);
  }
  
  .tech-card:hover,
  .post-card:hover,
  .feature-card:hover {
    transform: translate(-2px, -2px);
  }
  
  .tech-card:hover::before,
  .post-card:hover::before {
    transform: translate(7px, 7px);
  }
  
  .btn {
    padding: 1rem 2rem;
  }
  
  .section-header {
    text-align: left;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-label {
    display: inline-flex;
  }
  
  .pagination a,
  .pagination span {
    padding: 0.65rem 1rem;
    margin: 0 0.25rem;
    font-size: 0.9rem;
  }
  
  .footer-finance {
    padding: var(--space-lg) 0 var(--space-md);
  }
}
