/* ========================================
   ABOUT PAGE TYPOGRAPHY POLISH
   ======================================== */

/* Only target About page by page ID */
.page-id-2513 .entry-content {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #23272f;
  font-size: 1.08rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

/* Headings */
.page-id-2513 .entry-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.2rem;
  color: #18181b;
  letter-spacing: -0.03em;
}

.page-id-2513 .entry-content h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 2.5rem;
  margin-bottom: 1.1rem;
  color: #23272f;
  letter-spacing: -0.02em;
}

.page-id-2513 .entry-content h3,
.page-id-2513 .entry-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: #374151;
}

/* Paragraphs */
.page-id-2513 .entry-content p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
  color: #23272f;
}

/* Lists */
.page-id-2513 .entry-content ul,
.page-id-2513 .entry-content ol {
  margin-left: 1.5em;
  margin-bottom: 1.1rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.page-id-2513 .entry-content li {
  margin-bottom: 0.4em;
}

/* Spacing for groups and columns */
.page-id-2513 .wp-block-group {
  margin-bottom: 2.5rem;
}

.page-id-2513 .wp-block-columns {
  gap: 2rem;
}

/* Subtle link styling */
.page-id-2513 .entry-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.page-id-2513 .entry-content a:hover {
  color: #1e40af;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .page-id-2513 .entry-content h1 {
    font-size: 2rem;
  }
  .page-id-2513 .entry-content h2 {
    font-size: 1.3rem;
  }
  .page-id-2513 .wp-block-columns {
    gap: 1rem;
  }
} 

/* Reduce vertical gap below the profile image group */
.page-id-2513 .entry-content > .wp-block-group.is-nowrap.is-layout-flex:first-child {
  margin-bottom: 1.2rem !important;
  padding-bottom: 0 !important;
}

/* Remove or reduce the first spacer after the image */
.page-id-2513 .entry-content > .wp-block-group.is-layout-constrained > .wp-block-spacer:first-child {
  height: 10px !important;
  margin-bottom: 0 !important;
}

/* Tighter spacing for the first heading group */
.page-id-2513 .entry-content > .wp-block-group.is-layout-constrained {
  padding-top: 1.2rem !important;
  padding-bottom: 1.2rem !important;
} 

/* Reduce top padding on the About page container */
.page-id-2513 .ct-container-full {
  padding-top: 0px !important;
} 

/* Hide the specific spacer element */
.page-id-2513 .stk-block-spacer[data-block-id="6882e37"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
} 

/* Remove margin-bottom from flex layout groups */
.page-id-2513 .wp-block-group.is-nowrap.is-layout-flex {
  margin-bottom: 0 !important;
} 

/* Make category header widget shorter */
.category-header-widget {
  padding-top: 12px !important;
  padding-bottom: 15px !important;
} 

/* Fix image overflow in entry cards */
.entry-card .ct-media-container.boundless-image {
  max-width: 100% !important;
  overflow: hidden !important;
  display: block !important;
}

.entry-card .ct-media-container.boundless-image img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
} 

/* Fix left overflow in entry cards */
.entry-card .ct-media-container.boundless-image {
  max-width: 100% !important;
  overflow: hidden !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
} 

/* Make entry-meta darker for better contrast */
.entry-meta {
  color: #6b7280 !important;
}

.entry-meta a {
  color: #6b7280 !important;
}

.entry-meta a:hover {
  color: #374151 !important;
} 

/* About page profile image mobile responsive fixes */
.page-id-7656 .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
}

/* Mobile responsive adjustments for about page */
@media (max-width: 768px) {
  .page-id-7656 .wp-block-image img {
    width: 200px !important;
    height: 200px !important;
  }
  
  /* Make table responsive on mobile */
  .page-id-7656 .wp-block-table table {
    display: block !important;
  }
  
  .page-id-7656 .wp-block-table table tbody {
    display: block !important;
  }
  
  .page-id-7656 .wp-block-table table tr {
    display: block !important;
  }
  
  .page-id-7656 .wp-block-table table td {
    display: block !important;
    width: 100% !important;
    padding: 1rem 0 !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .page-id-7656 .wp-block-image img {
    width: 150px !important;
    height: 150px !important;
  }
  
  /* Completely break out of table layout on small mobile */
  .page-id-7656 .wp-block-table {
    display: block !important;
  }
  
  .page-id-7656 .wp-block-table table {
    display: block !important;
    width: 100% !important;
  }
  
  .page-id-7656 .wp-block-table table tbody {
    display: block !important;
  }
  
  .page-id-7656 .wp-block-table table tr {
    display: block !important;
    width: 100% !important;
  }
  
  .page-id-7656 .wp-block-table table td {
    display: block !important;
    width: 100% !important;
    padding: 1rem 0 !important;
    text-align: center !important;
    border: none !important;
    vertical-align: top !important;
  }
  
  /* Stack image on top, text below */
  .page-id-7656 .wp-block-table table td:first-child {
    order: 1 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .page-id-7656 .wp-block-table table td:last-child {
    order: 2 !important;
  }
}

/* Specific breakpoint for 430px screens */
@media (max-width: 430px) {
  .page-id-7656 .wp-block-image img {
    width: 120px !important;
    height: 120px !important;
  }
  
  /* Force flexbox layout for better stacking */
  .page-id-7656 .wp-block-table {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .page-id-7656 .wp-block-table table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .page-id-7656 .wp-block-table table tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .page-id-7656 .wp-block-table table tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .page-id-7656 .wp-block-table table td {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 0 !important;
    text-align: center !important;
    border: none !important;
  }
  
  /* Ensure image is on top */
  .page-id-7656 .wp-block-table table td:first-child {
    order: 1 !important;
    margin-bottom: 1rem !important;
  }
  
  .page-id-7656 .wp-block-table table td:last-child {
    order: 2 !important;
  }
} 

 