/* Custom styles for Metrology Central - Futuristic Midnight Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --brand-primary: #051425;
  --brand-secondary: #0d2c45;
  --brand-accent: #2ec5ff;
  --brand-accent-soft: #59f2ff;
  --brand-surface: rgba(8, 23, 38, 0.85);
  --brand-panel: #0a1d32;
  --brand-outline: rgba(46, 197, 255, 0.4);
  --brand-honeycomb: rgba(24, 54, 73, 0.65);
  --brand-gold: #4be1ff;

  --text-color: #e6f3ff;
  --text-light: #9bc2d9;
  --text-white: #ffffff;

  --bg-light: #030b16;
  --bg-dark: #01060d;
  --bg-white: rgba(6, 20, 33, 0.92);

  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 70px rgba(0, 0, 0, 0.55);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 20%, #08253f, #01070f 60%);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(2, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  padding: 30px 40px;
  margin-bottom: 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header h1 {
  margin: 0;
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-header h1 a {
  text-decoration: none;
  color: var(--text-white);
  transition: opacity var(--transition-fast);
}

.site-header h1 a:hover {
  opacity: 0.9;
}

.site-header .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1em;
  margin-top: 8px;
  font-weight: 300;
  font-style: italic;
}

.site-content {
  flex: 1;
  padding: 40px;
  background: linear-gradient(160deg, rgba(9, 28, 44, 0.95), rgba(4, 12, 20, 0.9));
}

.site-nav {
  background: rgba(4, 12, 20, 0.95);
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav li {
  position: relative;
}

.site-nav > ul > li > a {
  display: block;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1em;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  border-bottom: 3px solid transparent;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active {
  color: var(--text-white);
  border-bottom-color: var(--brand-accent);
  background-color: rgba(46, 197, 255, 0.08);
}


.home-hero {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding: 60px 40px 80px;
  margin: -40px -40px 50px -40px;
  background: radial-gradient(circle at 15% 20%, rgba(46, 197, 255, 0.15), transparent 55%), var(--brand-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 20px;
  background-image: radial-gradient(circle, rgba(46, 197, 255, 0.25) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.2;
  z-index: 0;
}

.home-hero > * {
  position: relative;
  z-index: 1;
}

.hero-header {
  text-align: left;
}

.hero-main {
  display: flex;
  gap: 30px;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 420px;
  background: rgba(3, 11, 22, 0.9);
  border-radius: 24px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.hero-eyebrow {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.7em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 15px;
}

.home-hero h1 {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  margin-bottom: 0;
  color: var(--text-white);
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-weight: 700;
  line-height: 1.1;
}

.home-hero .lead {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 550px;
  margin-bottom: 35px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-accent), var(--brand-accent-soft));
  color: var(--brand-primary);
  box-shadow: 0 15px 25px rgba(46, 197, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(46, 197, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

.btn-ghost:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stat {
  min-width: 140px;
}

.hero-stat .value {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--text-white);
  display: block;
}

.hero-stat .label {
  font-size: 0.95em;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-visual {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  flex: 0 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  border: 1px solid rgba(46, 197, 255, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  object-fit: cover;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
}

.hero-highlights li {
  position: relative;
  padding-left: 24px;
  color: var(--text-light);
  font-size: 1.05em;
  line-height: 1.5;
}

.hero-highlights li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-accent);
  font-weight: 700;
}

.latest-highlight {
  margin-bottom: 50px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(5, 20, 37, 0.95), rgba(8, 27, 46, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.post-preview-featured {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 35px 30px;
}

.post-preview-featured .featured-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-light);
}

.post-preview-featured .categories {
  gap: 10px;
}

.post-preview-featured .excerpt {
  font-size: 1.1em;
  color: var(--text-color);
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.post-list-empty {
  color: var(--text-light);
  font-style: italic;
  margin-top: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  padding: 30px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-accent);
  transform: scaleY(0);
  transition: transform var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-accent);
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4em;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card h2::before {
  content: "▸";
  color: var(--brand-accent);
  font-size: 1.2em;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.post-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 30px;
}

.post-list li {
  margin-bottom: 0;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(4, 13, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-sm);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9em;
  margin-bottom: 5px;
  font-weight: 400;
}

.post-link {
  text-decoration: none;
  color: var(--text-white);
  font-size: 1.5em;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.post-link:hover {
  color: var(--brand-accent);
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 3px solid var(--brand-accent);
}

.post-title {
  margin-bottom: 15px;
  color: var(--text-white);
  font-size: 2.5em;
  line-height: 1.2;
}

.post-content {
  line-height: 1.8;
  font-size: 1.05em;
}

.post-content h2 {
  margin-top: 50px;
  margin-bottom: 20px;
  color: var(--text-white);
  font-size: 1.8em;
  padding-left: 15px;
  border-left: 4px solid var(--brand-accent);
}

.post-content h3 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--text-color);
  font-size: 1.4em;
}

.post-content h3::before {
  content: "▸ ";
  color: var(--brand-accent);
}

.post-content p {
  margin-bottom: 1.2em;
}

.post-content a {
  color: var(--brand-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.post-content a:hover {
  border-bottom-color: var(--brand-accent);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}

.post-content code {
  background-color: rgba(13, 71, 161, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--brand-primary);
}

.post-content pre {
  background-color: #f6f8fa;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  border-left: 4px solid var(--brand-accent);
}

.post-content pre code {
  background-color: transparent;
  padding: 0;
  color: var(--text-color);
}

.post-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  border-left: 4px solid var(--brand-gold);
  background-color: rgba(176, 141, 87, 0.05);
  font-style: italic;
  color: var(--text-color);
}

.post-content ul, .post-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

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

.site-footer {
  margin-top: 60px;
  padding: 40px;
  background: #020a13;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95em;
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.site-footer .footer-section h3 {
  color: var(--brand-accent);
  font-size: 1.1em;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.site-footer .footer-section ul li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer a:hover {
  color: var(--brand-accent);
}

.site-footer .footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
}

/* Card-Style Post Preview */
.post-preview {
  background: rgba(4, 13, 23, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 0;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.post-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}

.post-preview:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-accent);
}

.post-preview:hover::before {
  transform: scaleX(1);
}

.post-preview h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.6em;
}

.post-preview h2 a {
  text-decoration: none;
  color: var(--text-white);
  transition: color var(--transition-fast);
}

.post-preview h2 a:hover {
  color: var(--brand-accent);
}

.post-preview .post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.post-preview .post-meta time {
  color: var(--text-light);
  font-size: 0.9em;
}

.post-preview .categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-preview .category {
  background: linear-gradient(135deg, rgba(46, 197, 255, 0.15) 0%, rgba(16, 78, 115, 0.25) 100%);
  color: var(--text-white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  border: 1px solid rgba(46, 197, 255, 0.2);
  transition: all var(--transition-fast);
}

.post-preview .category:hover {
  background: var(--brand-accent);
  color: var(--text-white);
  border-color: var(--brand-accent);
}

.post-preview .excerpt {
  margin: 18px 0;
  color: var(--text-color);
  line-height: 1.7;
}

.post-preview .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.post-preview .read-more::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.post-preview .read-more:hover {
  gap: 12px;
}

.post-preview .read-more:hover::after {
  transform: translateX(4px);
}

/* Author Box Styles */
.author-box {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.05) 0%, rgba(23, 162, 184, 0.05) 100%);
  border: 2px solid var(--brand-accent);
  border-radius: 12px;
  padding: 30px;
  margin: 50px 0;
  display: flex;
  gap: 25px;
  align-items: center;
}

.author-box .author-image {
  flex-shrink: 0;
}

.author-box .author-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--brand-accent);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.author-box .author-info h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 1.5em;
}

.author-box .author-info .author-title {
  color: var(--brand-accent);
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 12px;
}

.author-box .author-info .author-bio {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 15px;
}

.author-box .author-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.author-box .author-social a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.author-box .author-social a:hover {
  color: var(--brand-primary);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 30px;
  font-size: 0.9em;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--brand-primary);
}

.breadcrumbs span {
  margin: 0 8px;
}

/* Related Posts Section */
.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 3px solid var(--border-color);
}

.related-posts h2 {
  color: var(--text-white);
  margin-bottom: 30px;
  font-size: 1.8em;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.related-post-card {
  background: rgba(4, 13, 23, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  transition: all var(--transition-fast);
}

.related-post-card:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
}

.related-post-card h3 {
  margin-top: 0;
  font-size: 1.2em;
}

.related-post-card h3 a {
  color: var(--text-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.related-post-card h3 a:hover {
  color: var(--brand-accent);
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(140deg, var(--brand-secondary), #041425);
  color: var(--text-white);
  padding: 80px 40px;
  margin: -40px -40px 50px -40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(30deg, rgba(255, 255, 255, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.05) 87.5%);
  background-size: 80px 140px;
}

.about-hero h1 {
  font-size: 3.5em;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-hero .tagline {
  font-size: 1.3em;
  margin-top: 15px;
  font-style: italic;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.about-section {
  margin-bottom: 60px;
  padding: 40px;
  background: rgba(4, 13, 23, 0.8);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.about-section h2 {
  color: var(--text-white);
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--brand-accent);
}

.about-intro {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.about-intro .headshot {
  flex-shrink: 0;
}

.about-intro .headshot img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--brand-accent);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-intro .bio h2 {
  margin-top: 0;
  color: var(--text-white);
  font-size: 2.2em;
  border-bottom: none;
  padding-bottom: 0;
}

.about-intro .bio .title {
  color: var(--brand-accent);
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid var(--brand-accent);
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  border: 3px solid rgba(4, 13, 23, 0.8);
  box-shadow: 0 0 0 3px var(--brand-accent);
}

.timeline-item h3 {
  color: var(--text-white);
  margin-top: 0;
  margin-bottom: 8px;
}

.timeline-item .year {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.95em;
}

/* Contact Page */
.contact-page {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85em;
  color: var(--brand-accent-soft);
  margin-bottom: 12px;
  display: inline-flex;
}

.contact-hero {
  background: radial-gradient(circle at 10% 20%, rgba(46, 197, 255, 0.2), transparent 60%), rgba(4, 13, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
}

.contact-hero-content {
  max-width: 780px;
}

.contact-hero h1 {
  margin-top: 0;
  font-size: 2.8em;
}

.contact-meta {
  margin: 25px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-meta span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.95em;
}

.contact-meta a {
  color: var(--text-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.contact-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-card {
  background: rgba(4, 13, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  margin-top: 0;
  font-size: 1.4em;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-light);
}

.contact-card ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--brand-accent);
}

/* AdSense Placeholder */
.adsense-container {
  margin: 40px 0;
  padding: 20px;
  background-color: rgba(46, 197, 255, 0.05);
  border: 2px dashed var(--brand-accent);
  border-radius: 8px;
  text-align: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adsense-placeholder {
  color: var(--text-light);
  font-style: italic;
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: var(--text-white);
  cursor: pointer;
  padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header {
    padding: 20px 20px;
  }

  .site-header h1 {
    font-size: 1.6em;
  }

  .site-content {
    padding: 20px;
  }

  .home-hero {
    padding: 40px 20px;
    margin: -20px -20px 30px -20px;
    gap: 25px;
  }

  .hero-main {
    flex-direction: column;
  }

  .home-hero h1 {
    font-size: 1.5rem;
  }

  .home-hero .lead {
    font-size: 1.1em;
  }
  
  .hero-ctas {
    justify-content: center;
  }

  .hero-content {
    padding: 25px 20px;
  }

  .hero-visual {
    width: 100%;
  }
  
  .site-nav {
    padding: 0 20px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav > ul > li > a {
    padding: 15px 10px;
  }

  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-preview {
    padding: 20px;
  }

  .latest-highlight {
    padding: 25px 20px;
  }

  .post-preview-featured {
    padding: 25px 20px;
  }

  .featured-actions {
    flex-direction: column;
  }

  .hero-highlights {
    gap: 8px;
  }

  .post-title {
    font-size: 2em;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .author-box .author-social {
    justify-content: center;
  }

  .about-hero {
    padding: 50px 20px;
    margin: -20px -20px 30px -20px;
  }

  .about-hero h1 {
    font-size: 2.2em;
  }

  .about-intro {
    flex-direction: column;
    text-align: center;
  }

  .about-section {
    padding: 25px 20px;
  }

  .contact-hero {
    padding: 30px 20px;
  }

  .contact-hero h1 {
    font-size: 2.2em;
  }

  .contact-meta {
    flex-direction: column;
  }

  .contact-meta span {
    width: 100%;
  }

  .site-footer {
    padding: 30px 20px;
    margin-left: -20px;
    margin-right: -20px;
  }

  .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

