/* Blog Page Styles */
/* NO blog-specific header styles - header is identical across all pages */
/* Hero section uses homepage.css styles - no overrides needed */

.blog-hero-lead{
  color: rgba(255, 255, 255, 0.60);
  font-size: 16px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 25.60px;
  word-wrap: break-word;
  margin: 28px auto 32px;
  max-width: 624px;
}

/* Featured Blog Section */
.featured-blog-section{
  padding: 56px 0 16px;
  background: #090B1B;
  position: relative;
  z-index: 1;
}

.featured-blog-card{
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background: #090B1B;
  border: 1px solid rgba(143, 143, 143, 0.10);
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.featured-blog-content{
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.featured-blog-title{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-line-1{
  color: white;
  font-size: 18px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 25.20px;
  word-wrap: break-word;
}

.title-line-2{
  color: white;
  font-size: 24px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 274;
  line-height: 33.60px;
  word-wrap: break-word;
}

.featured-blog-description{
  color: rgba(255, 255, 255, 0.80);
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin: 0;
}

.featured-blog-image{
  width: 600px;
  aspect-ratio: 9/4;
  overflow: hidden;
}

.featured-blog-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-blog-meta{
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);
}

.blog-section{
  padding: 16px 0 56px;
  background: #090B1B;
  position: relative;
  z-index: 1;
}

.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 384px);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

.blog-card{
  width: 384px;
  height: auto;
  background: #090B1B;
  border: 1px solid rgba(143, 143, 143, 0.10);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}

.blog-card:hover{
  transform: translateY(-4px);
  border-color: rgba(143, 143, 143, 0.20);
}

.blog-image{
  width: 100%;
  aspect-ratio: 9/4;
  overflow: hidden;
}

.blog-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content{
  width: 336px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  box-sizing: border-box;
  height: calc(506px - 268px);
  justify-content: space-between;
}

.blog-category{
  display: inline-block;
  background: rgba(0, 207, 209, 0.20);
  color: #00CFD1;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  align-self: flex-start;
}

.blog-title{
  color: white;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  margin: 0;
}

.blog-description{
  color: rgba(255, 255, 255, 0.60);
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin: 0;
}

.blog-meta{
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);
}

.meta-separator{
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.60);
  border-radius: 100px;
}

/* Success Modal Styles */
.modal-overlay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content{
  background: rgba(9, 11, 27, 0.95);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close{
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modal-close:hover{
  opacity: 1;
}

.modal-icon{
  display: flex;
  width: 72px;
  height: 72px;
  padding: 14px;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  border-radius: 100px;
  background: rgba(0, 207, 209, 0.20);
  margin: 0 auto 24px;
}

.success-icon{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.modal-title{
  color: #FFF;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  margin: 0 0 16px 0;
}

.modal-message{
  color: rgba(255, 255, 255, 0.70);
  text-align: center;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin: 0 0 16px 0;
}

.modal-submessage{
  color: rgba(255, 255, 255, 0.40);
  text-align: center;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin: 0 0 32px 0;
}

.modal-button{
  display: flex;
  width: 294px;
  height: 48px;
  padding: 0 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 590;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.modal-button:hover{
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.map-section{
  padding: 0;
  background: var(--bg);
  margin-top: -60px;
  position: relative;
  z-index: 1;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.map-container{
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.map-container iframe{
  display: block;
  width: 100%;
  height: 600px;
}

.contact-link {
  color: #e9eef4;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.contact-link:hover {
  color: #00cfd1;
  opacity: 0.9;
}

.contact-link:active {
  opacity: 0.7;
}

/* Email Locations Styling */
.email-locations {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.email-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.email-location {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 500;
}

/* Contact Page Responsive */
@media (max-width: 991px){
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .form-row{
    grid-template-columns: 1fr;
  }
  
  .contact-title{
    font-size: 36px;
  }
  
  .contact-info-title,
  .form-title{
    font-size: 28px;
  }
}

@media (max-width: 768px){
  .contact-hero,
  .contact-hero-full{
    padding: 120px 0 60px !important;
  }
  
  .contact-content{
    padding: 60px 0 80px;
  }
  
  .contact-grid{
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .contact-info{
    padding-top: 0 !important;
  }
  
  .contact-info-title{
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
  
  .contact-item{
    margin-bottom: 12px !important;
    gap: 12px !important;
    padding: 0 !important;
  }
  
  .contact-info .contact-item:last-child {
    margin-bottom: 0 !important;
  }
  
  .contact-icon{
    width: 36px !important;
    height: 36px !important;
  }
  
  .contact-icon img{
    width: 18px !important;
    height: 18px !important;
  }
  
  .contact-label{
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  
  .contact-value{
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  
  .contact-title{
    font-size: 32px;
  }
  
  .contact-subtitle{
    font-size: 18px;
  }
  
  .form-title{
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  
  .form-description{
    font-size: 13px !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
  }
  
  .contact-form{
    padding: 20px 16px !important;
  }
  
  .form-row{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .form-group{
    margin-bottom: 12px !important;
  }
  
  .form-group label{
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }
  
  .form-group input,
  .form-group textarea{
    padding: 12px 14px !important;
    font-size: 15px !important;
  }
  
  .form-group input{
    height: 44px !important;
  }
  
  .form-group textarea{
    min-height: 100px !important;
  }
  
  .contact-form .form-submit{
    width: 100% !important;
    margin-top: 16px !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
  }
  
  /* Move map below form on mobile and make it larger */
  .contact-hero-full .container {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .contact-grid{
    order: 1 !important;
    margin-bottom: 60px !important;
  }
  
  .map-section{
    order: 2 !important;
    padding: 60px 0 !important;
    margin-top: 60px !important;
    width: 100% !important;
  }
  
  .map-container{
    padding: 0 20px;
    width: 100%;
  }
  
  .map-container iframe{
    height: 400px !important;
    border-radius: 12px;
    width: 100%;
  }
  
  /* Blog Page Mobile Styles */
  .blog-hero-title{
    font-size: 48px;
  }
  
  .blog-hero-lead{
    font-size: 14px;
    margin: 0 0 24px 0;
  }
  
  .featured-blog-section{
    padding: 60px 0 40px;
  }
  
  .featured-blog-card{
    flex-direction: column;
    margin: 0 20px;
  }
  
  .featured-blog-content{
    padding: 32px;
  }
  
  .featured-blog-image{
    width: 100%;
    aspect-ratio: 9/4;
    height: auto;
  }
  
  .blog-section{
    padding: 40px 0 60px;
  }
  
  .blog-grid{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  
  .blog-card{
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
  }
  
  .blog-image{
    width: 100%;
    aspect-ratio: 9/4;
    height: auto;
  }
  
  .blog-content{
    width: auto;
    padding: 20px;
    gap: 20px;
  }
  
  .blog-title{
    font-size: 16px;
  }
  
  .blog-description{
    font-size: 14px;
  }
}

/* Service page responsive */
@media (max-width: 991px){
  .service-hero{grid-template-columns:1fr;gap:16px}
  .service-hero .illustration{order:2}
  .feature-grid,.caps-grid,.pricing-grid,.process-list{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  /* Web Development page - tighten typography and spacing for small screens */
  .webdev-section-title{font-size:clamp(24px,7vw,32px)!important;line-height:1.2!important;text-align:center!important;margin:0 0 10px!important}
  .webdev-section-subtitle{font-size:14px!important;line-height:1.5!important;text-align:center!important;margin:6px auto 20px!important;max-width:680px!important}

  /* Startup timeline: stack vertically on mobile */
  .webdev-startup-timeline-wrapper{position:relative!important;height:auto!important;padding:12px 0 0!important}
  .webdev-startup-timeline-wrapper .webdev-timeline-line{display:none!important}
  .webdev-startup-timeline-wrapper .webdev-timeline-dot{display:none!important}
  .webdev-startup-timeline-wrapper .webdev-step-card{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;margin:10px 0!important}
  .webdev-startup-timeline-wrapper .webdev-step-label{position:relative!important;left:auto!important;top:auto!important;margin-bottom:6px!important}
}

/* Web Development page — tablet optimizations moved to public/css/webdev.css */
.feature-grid,.caps-grid,.pricing-grid,.process-list{grid-template-columns:1fr}

/* Selected work tags and mini action */
.tags{display:flex;gap:8px;flex-wrap:wrap;padding:0 14px 14px;margin-top:0}
.tag-pill{border:1px solid rgba(255,255,255,.4);border-radius:40px;padding:10px;font-size:14px;color:#fff}
.mini-circle{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:100px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:all 0.2s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}

.mini-circle img{width:16px;height:16px;opacity:0.9;transition:opacity 0.2s ease}

.project-card:hover .mini-circle{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.34);transform:translateX(4px)}

.project-card:hover .mini-circle img{opacity:1}

/* Blog */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1200px;margin:0 auto;align-items:stretch}
.blog-card{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#0d1118;border:1px solid rgba(255,255,255,.06);text-decoration:none;color:#e9eef4;height:auto;align-items:stretch}
.blog-cover{aspect-ratio:9/4;background:linear-gradient(180deg,#141a22,#0e131a);flex-shrink:0;overflow:hidden;position:relative;width:100%;height:auto}
.blog-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.blog-cover.alt{background:radial-gradient(600px 240px at 70% 20%, rgba(124,130,255,.28), transparent 60%),linear-gradient(180deg,#141a22,#0e131a)}
.blog-text{display:flex;flex-direction:column;padding:16px;flex-grow:1;gap:8px;min-height:0}
.blog-text .kicker{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 12px;border-radius:10px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent1);font-weight:600;background:rgba(0,207,209,.20);border:none;box-shadow:none;align-self:flex-start}
.blog-text .title{margin:0;font-weight:700;font-size:18px;line-height:1.3;color:#fff}
.blog-text .text-body{margin:0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.60)}

@media (max-width: 991px){
  .project-grid,.blog-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  
  .blog-card {
    min-height: auto !important;
  }
  
  .blog-cover {
    aspect-ratio: 9/4 !important;
  }
  
  .blog-text {
    padding: 14px !important;
  }
  
  .blog-text .title {
    font-size: 17px !important;
  }
}
@media (max-width: 640px){
  .project-grid,.blog-grid{grid-template-columns:1fr}
  
  /* Projects section mobile styles */
  .projects-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .projects-head {
    margin-bottom: 24px !important;
  }

  .projects-head .text-body {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .project-card {
    height: auto !important;
    gap: 0 !important;
  }

  .project-media {
    flex: 0 0 auto !important;
    height: 300px !important;
    min-height: 300px !important;
  }

  .project-meta {
    padding: 16px !important;
    flex-wrap: wrap !important;
  }

  .project-meta .name {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .project-meta .type {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-top: 4px !important;
  }

  .mini-circle {
    width: 40px !important;
    height: 40px !important;
  }

  .mini-circle img {
    width: 14px !important;
    height: 14px !important;
  }

  .tags {
    padding: 0 16px 16px !important;
    gap: 6px !important;
  }

  .tag-pill {
    font-size: 11px !important;
    padding: 6px 10px !important;
    height: auto !important;
  }

  /* Footer mobile styles - single column */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 40px !important;
  }

  .footer-title {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }

  .footer-links a,
  .loc-item {
    font-size: 16px !important;
  }

  .footer-desc {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }

  .site-footer {
    padding: 48px 0 32px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .legal-links {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .legal {
    text-align: center !important;
    font-size: 12px !important;
  }

  .legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .legal-link {
    font-size: 12px !important;
  }

  .socials {
    justify-content: center !important;
  }

  /* Story section mobile styles */
  #story .container {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  #story .container > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  #story .btn {
    align-self: center !important;
    margin-top: 8px !important;
  }

  .story-media {
    display: none !important;
  }

  /* Logo carousel mobile adjustments */

  /* Blog section mobile styles */
  .blog-grid {
    gap: 16px !important;
  }

  .blog-card {
    min-height: auto !important;
  }

  .blog-cover {
    aspect-ratio: 9/4 !important;
  }

  .blog-text {
    padding: 14px !important;
  }

  .blog-text .title {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .blog-text .text-body {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .blog-text .kicker {
    font-size: 11px !important;
    padding: 0 10px !important;
    height: 24px !important;
  }

  /* FAQ section mobile - simple font size adjustments */
  #faq {
    padding-bottom: 60px !important;
  }

  #faq .projects-title {
    font-size: 32px !important;
  }

  #faq .acc-head .title {
    font-size: 16px !important;
  }

  #faq .acc-body .desc {
    font-size: 13px !important;
  }
}

.text-gradient{background:linear-gradient(90deg,#00cfd1 19.34%,#5ec9ff 52%,#8a8aff 81.25%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;display:inline}

/* Mobile responsive button adjustments */
@media (max-width: 768px) {
  .btn {
    min-height: 44px; /* Larger touch target for mobile */
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .btn.primary,
  .btn.header-glass {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 28px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    border-width: 1px !important;
    box-sizing: border-box !important;
  }
  
  .btn.ghost,
  .ai-trust-btn,
  .ai-cta-btn,
  .ai-bottom-cta-btn,
  .ai-final-cta-btn,
  .mobile-cta-btn,
  .mobile-final-btn,
  .mobile-bottom-cta-btn {
    min-height: 44px;
    padding: 14px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .btn {
    min-height: 48px; /* Even larger touch target for small mobile */
    padding: 16px 20px;
    font-size: 13px;
  }
  
  .btn.primary,
  .btn.header-glass {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 24px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    border-width: 1px !important;
    box-sizing: border-box !important;
  }
  
  .btn.ghost,
  .ai-trust-btn,
  .ai-cta-btn,
  .ai-bottom-cta-btn,
  .ai-final-cta-btn,
  .mobile-cta-btn,
  .mobile-final-btn,
  .mobile-bottom-cta-btn {
    min-height: 48px;
    padding: 16px 20px;
    font-size: 13px;
  }
}
.btn.with-arrow{position:relative;transition:padding-right .35s cubic-bezier(.16,.84,.44,1)}
.btn.with-arrow:after{content:"";position:absolute;right:18px;top:50%;width:16px;height:16px;background:url('../images/arrow.svg') no-repeat center/contain;filter:brightness(0) invert(1);transform:translateY(-50%) translateX(-8px);opacity:0;transition:opacity .35s ease,transform .35s cubic-bezier(.16,.84,.44,1);will-change:transform,opacity}
.btn.with-arrow:hover{padding-right:56px}
.btn.with-arrow:hover:after{opacity:1;transform:translateY(-50%) translateX(0)}
/* image-based arrow handles color inside the SVG */
/* Button hover and focus states */
.btn:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.34) inset,0 14px 40px rgba(0,0,0,.32);border-color:rgba(255,255,255,.3)}
.btn.apple-glass:hover,.btn.glass-lg:hover,.btn.primary:hover,.btn.ghost:hover{transform:none}
.btn.apple-glass{transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
.btn.ghost{transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
.btn:active{transform:translateY(0);box-shadow:0 0 0 rgba(0,0,0,0)}
.btn:focus-visible{outline:2px solid rgba(94,201,255,.8);outline-offset:2px}

.btn.primary:hover{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.88));border-color:rgba(255,255,255,.7);box-shadow:0 10px 34px rgba(0,0,0,.26),inset 0 0 0 1px rgba(255,255,255,.8)}

.btn.primary.with-arrow:after {
  filter: brightness(0) invert(0); /* Dark arrow for white background */
}

.btn.ghost:hover{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.08));border-color:rgba(255,255,255,.3)}

.section{padding:64px 0}
/* Remove default top padding for Web Design main to tighten gap after hero */
.wd-main{padding-top:0}
/* Extra breathing room below FAQ before footer (design ~300px) */
#faq{padding-bottom:300px}

/* Story media layout to match Figma */
.story-media{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.story-media img{display:block;width:100%;height:auto;object-fit:cover}
.story-media .img1{grid-column:2/3;grid-row:1/3;border-radius:12px;aspect-ratio:4/5}
.story-media .img2{grid-column:1/2;grid-row:1;border-radius:12px;aspect-ratio:4/5}
.story-media .img3{grid-column:1/2;grid-row:2;border-radius:10px;width:70%;justify-self:center;align-self:end;aspect-ratio:4/3}

/* Scroll-reveal utility */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.reveal.is-visible{opacity:1;transform:none}

/* Testimonials Section */
.testimonials-section{margin-top:120px}
.testimonials-banner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 40px;border-radius:20px;background:linear-gradient(92deg,#0075E3 -6.2%,#F87171 121.66%);margin-bottom:60px;position:relative;overflow:hidden;width:100%;max-width:1200px;gap:20px;margin-left:auto;margin-right:auto}
.testimonials-banner:before{content:"";position:absolute;inset:0;background:radial-gradient(600px 400px at 50% 50%, rgba(255,255,255,.12), transparent 70%);pointer-events:none}
.testimonials-banner-title{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:40px;font-style:normal;font-weight:700;line-height:100%;text-align:center;position:relative;z-index:1}
.testimonials-banner-subtitle{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:100%;text-align:center;position:relative;z-index:1}
.testimonials-intro{max-width:900px;margin:0 auto 48px;text-align:center}
.testimonials-title{margin:0 0 16px;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:48px;font-style:normal;font-weight:700;line-height:120%;text-align:center}
.testimonials-description{margin:0;color:rgba(255,255,255,.60);font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:140%;text-align:center}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.testimonial-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:24px;width:384px;padding:32px;border-radius:8px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 12px 36px rgba(0,0,0,.28);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 16px 48px rgba(0,0,0,.32);border-color:rgba(255,255,255,.18)}
.testimonial-quote{display:block;width:40px;height:40px;margin:0;opacity:.8}
.testimonial-text{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:140%}
.testimonial-rating{display:flex;gap:4px;align-items:center;margin:0}.testimonial-rating img{width:20px;height:20px;display:block}
.testimonial-separator{width:320px;height:1px;background:#fff;border-radius:10px;margin:0}
.testimonial-author{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:16px;font-style:normal;font-weight:700;line-height:100%}
.testimonial-position{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:100%}
@media (max-width: 991px){.testimonials-grid{grid-template-columns:1fr 1fr}.testimonials-banner-title{font-size:36px}}
@media (max-width: 640px){.testimonials-grid{grid-template-columns:1fr}.testimonials-banner{padding:60px 24px}.testimonials-banner-title{font-size:28px}.testimonials-title{font-size:32px}}

/* Why Professional Web Design Section */
.why-professional-section{margin-top:120px;padding:80px 0;background:#0075E3;position:relative;overflow:hidden;width:100%;margin-left:0;margin-right:0}
.why-professional-section:before{content:"";position:absolute;inset:0;background:radial-gradient(800px 400px at 50% 50%, rgba(255,255,255,.08), transparent 70%);pointer-events:none}
.why-professional-title{margin:0 0 24px;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:40px;font-style:normal;font-weight:700;line-height:130%;text-align:center;position:relative;z-index:1}
.why-professional-description{max-width:900px;margin:0 auto 48px;color:rgba(255,255,255,.80);font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:140%;text-align:center;position:relative;z-index:1}
.why-professional-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:0 auto;position:relative;z-index:1}
.why-professional-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px 24px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 8px 24px rgba(0,0,0,.2);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.why-professional-card:hover{transform:translateY(-4px);box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 12px 32px rgba(0,0,0,.28);border-color:rgba(255,255,255,.18)}
.why-professional-icon{display:flex;width:48px;height:48px;padding:10px;flex-direction:column;justify-content:center;align-items:center;gap:10px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);margin-bottom:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 4px 12px rgba(0,0,0,.2)}
.why-professional-icon img{width:32px;height:32px;opacity:.9}
.why-professional-card-title{margin:0 0 16px;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:20px;font-style:normal;font-weight:700;line-height:100%;letter-spacing:-.01em}
.why-professional-card-text{margin:0;color:rgba(255,255,255,.80);font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:140%}
@media (max-width: 991px){.why-professional-grid{grid-template-columns:repeat(2,1fr)}.why-professional-title{font-size:36px}}
@media (max-width: 640px){.why-professional-grid{grid-template-columns:1fr}.why-professional-section{padding:60px 0}.why-professional-title{font-size:28px}.why-professional-description{font-size:16px}}

/* Insights About Web Design and Digital Growth in Miami Section */
.insights-section{margin-top:120px;padding:80px 0;position:relative;overflow:hidden}
.insights-section:before{content:"";position:absolute;inset:0;background:radial-gradient(800px 400px at 50% 50%, rgba(255,255,255,.08), transparent 70%);pointer-events:none}
.insights-title{margin:0 0 24px;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:40px;font-style:normal;font-weight:700;line-height:130%;text-align:center;position:relative;z-index:1}
.insights-description{max-width:900px;margin:0 auto 48px;color:rgba(255,255,255,.80);font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:140%;text-align:center;position:relative;z-index:1}
.insights-grid{display:flex;flex-direction:column;gap:24px;max-width:800px;margin:0 auto;position:relative;z-index:1}
.insight-item{display:flex;align-items:center;gap:20px;padding:20px 0}
.insight-icon{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 4px 12px rgba(0,0,0,.2)}
.insight-icon img{width:24px;height:24px;opacity:.9}
.insight-text{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:1.5}
@media (max-width: 991px){.insights-title{font-size:36px}}
@media (max-width: 640px){.insights-section{padding:60px 0}.insights-title{font-size:28px}.insights-description{font-size:16px}.insight-text{font-size:16px}}

/* Our Latest Projects Section */
.latest-projects-section{margin-top:120px;padding:80px 0}
.latest-projects-title{margin:0 0 48px;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:48px;font-style:normal;font-weight:700;line-height:1.2;text-align:center;letter-spacing:-.01em}
.latest-projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:0 auto 48px}
.latest-project-card{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 12px 36px rgba(0,0,0,.28);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.latest-project-card:hover{transform:translateY(-4px);box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 16px 48px rgba(0,0,0,.32);border-color:rgba(255,255,255,.18)}
.project-image{position:relative;aspect-ratio:4/3;overflow:hidden}
.project-image img{width:100%;height:100%;object-fit:cover;display:block}
.project-image video{width:100%;height:100%;object-fit:cover;display:block}
.project-content{padding:24px;display:flex;flex-direction:column;gap:12px}
.project-category{display:inline-block;padding:6px 12px;border-radius:20px;background:rgba(255,255,255,.12);color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.1em;align-self:flex-start}
.project-title{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:700;line-height:1.3;letter-spacing:-.01em}
.project-description{margin:0;color:rgba(255,255,255,.80);font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:1.5}
.project-link{color:#fff;text-decoration:none;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:16px;font-style:normal;font-weight:600;line-height:1;transition:opacity .3s ease;align-self:flex-start}
.project-link:hover{opacity:.8}
.view-all-projects{display:flex;justify-content:center;margin-top:24px}
@media (max-width: 991px){.latest-projects-grid{grid-template-columns:repeat(2,1fr)}.latest-projects-title{font-size:36px}}
@media (max-width: 640px){.latest-projects-grid{grid-template-columns:1fr}.latest-projects-section{padding:60px 0}.latest-projects-title{font-size:28px}}

/* FAQ Section */
.faq-kicker{color:#00CFD1;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:700;line-height:100%;text-align:center;letter-spacing:.18em;text-transform:uppercase;margin-bottom:12px}
.faq-title{margin:0 0 16px;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:48px;font-style:normal;font-weight:700;line-height:100%;text-align:center;letter-spacing:-.01em}
.faq-intro{color:rgba(255,255,255,.60);font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:140%;text-align:center;margin:0 0 48px}

/* CTA Banner */
.cta-banner{background:#0075E3;padding:60px 0;width:100%;margin-left:0;margin-right:0;margin-top:120px}
.cta-banner-content{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.cta-banner-title{margin:0;color:#fff;font-family:"SF Pro",-apple-system,"SF Pro Text","SF Pro Display",system-ui,Segoe UI,Roboto,Inter,Arial,sans-serif;font-size:28px;font-style:normal;font-weight:510;line-height:130%;letter-spacing:-.01em}
@media (max-width: 768px){.cta-banner-content{flex-direction:column;text-align:center;gap:20px}.cta-banner-title{font-size:24px}}

/* Blog Card Links */
.featured-blog-link,
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.featured-blog-link:hover,
.blog-card-link:hover {
  transform: translateY(-4px);
}

.featured-blog-link:hover .featured-blog-card,
.blog-card-link:hover .blog-card {
  box-shadow: 0 8px 24px rgba(0, 207, 209, 0.15);
}

/* Blog Post CTA Section */
.blog-cta-section {
  width: 100%;
  height: 356px;
  background: linear-gradient(180deg, #0075E3 0%, #064683 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-cta-section .container {
  width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}

.blog-cta-section .cta-title {
  text-align: center;
  color: white;
  font-size: 48px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 57.60px;
  word-wrap: break-word;
  margin: 0;
}

.blog-cta-section .cta-button {
  height: 48px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
  border-radius: 100px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 18px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 510;
  line-height: 18px;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blog-cta-section .cta-button:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.30);
}

/* Blog CTA Responsive */
@media (max-width: 768px) {
  .blog-cta-section {
    height: auto;
    padding: 60px 20px;
  }
  
  .blog-cta-section .cta-title {
    font-size: 32px;
    line-height: 1.2;
  }
  
  .blog-cta-section .cta-button {
    font-size: 16px;
    padding: 0 28px;
    height: 44px;
  }
}

/* Blog Post Hero Section */
.blog-post-hero {
  width: 100%;
  height: 850px;
  position: relative;
  overflow: hidden;
  background: #090B1B url('https://novaeraagency.com/public/images/blog-background.webp') center center / cover no-repeat !important;
  background-image: url('https://novaeraagency.com/public/images/blog-background.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 1;
  margin-top: 0 !important;
  padding-top: 80px !important;
}

/* Ensure hero doesn't cover header area */
.blog-post-page .blog-post-hero {
  position: relative !important;
  z-index: 1 !important;
}

.blog-post-page .blog-post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: -1;
  pointer-events: none;
}

/* NO blog-specific hero styles - hero section uses homepage.css styles exactly */

.hero-background-image {
  width: 100%;
  height: 850px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
}

.hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-gradient-overlay {
  width: 100%;
  height: 700px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(9, 11, 27, 0) 0%, rgba(9, 11, 27, 0) 40%, rgba(9, 11, 27, 0.50) 70%, #090B1B 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content-card {
  width: 80%;
  height: 763px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 350px;
  background: #090B1B;
  box-shadow: 0px -100px 100px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 48px;
  box-sizing: border-box;
  z-index: 2;
}

.blog-post-meta-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.blog-meta-inline {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.blog-post-title {
  width: 900px;
  max-width: 100%;
  color: white;
  font-size: 60px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 590;
  line-height: 84px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0 0 20px 0;
  display: block;
  visibility: visible;
}

.hero-content-card .hero-separator {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.30);
  border-radius: 20px;
  margin-top: 20px;
}

.hero-lead-section {
  width: 80%;
  margin: 0 auto;
  padding: 0 48px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 656px;
  z-index: 3;
}

.hero-lead-text {
  color: rgba(255, 255, 255, 0.60);
  font-size: 20px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 28px;
  word-wrap: break-word;
  margin: 0 0 20px 0;
}

.hero-separator {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.30);
  border-radius: 20px;
}

/* Blog Author Section */
.blog-author-section {
  background: #090B1B;
  padding: 33px 0 56px;
}

.author-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 1000px;
}

.author-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.author-name {
  color: white;
  font-size: 16px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 16px;
  word-wrap: break-word;
}

.author-title {
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 14px;
  word-wrap: break-word;
}

/* Blog Content Section */
.blog-content-section {
  background: #090B1B;
  padding: 0 0 100px;
  margin-top: -263px;
  position: relative;
  z-index: 3;
}

.blog-content-section .container-narrow {
  width: 80% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
}

/* Mobile - Full width override */
@media (max-width: 768px) {
  .blog-content-section .container-narrow {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .blog-content-section .container-narrow {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Match hero-content-card width at different breakpoints */
@media (min-width: 1441px) {
  .blog-content-section .container-narrow {
    width: 80% !important;
    max-width: 1200px !important;
    padding: 0 48px !important;
  }
}

@media (max-width: 1440px) and (min-width: 1025px) {
  .blog-content-section .container-narrow {
    width: 80% !important;
    max-width: 996px !important;
    padding: 0 40px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .blog-content-section .container-narrow {
    width: 85% !important;
    max-width: 900px !important;
    padding: 0 32px !important;
  }
}

@media (max-width: 768px) {
  .blog-content-section .container-narrow {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .blog-content-section .container-narrow {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.blog-content-section .container-narrow > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.blog-content-section .container-narrow > p:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 24px !important;
}

.blog-content-section .blog-content,
.blog-content-section .container-narrow > * {
  color: rgba(255, 255, 255, 0.70) !important;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25.20px;
}

/* Headings should remain white */
.blog-content-section .container-narrow > h1,
.blog-content-section .container-narrow > h2,
.blog-content-section .container-narrow > h3,
.blog-content-section .container-narrow > h4,
.blog-content-section .container-narrow > h5,
.blog-content-section .container-narrow > h6 {
  color: white !important;
}

.blog-content-section .blog-content p,
.blog-content-section .container-narrow p,
.blog-content-section p {
  margin: 0 0 24px 0 !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 18px !important;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif !important;
  font-weight: 400 !important;
  line-height: 25.20px !important;
  word-wrap: break-word !important;
  width: 100% !important;
}

/* Override inline styles on paragraphs */
.blog-content-section .blog-content p[style*="margin-top"],
.blog-content-section .container-narrow p[style*="margin-top"],
.blog-content-section p[style*="margin-top"],
.blog-content-section .blog-content p[style*="12pt"],
.blog-content-section .container-narrow p[style*="12pt"],
.blog-content-section p[style*="12pt"] {
  margin-top: 0 !important;
}

.blog-content-section .blog-content p[style*="margin-bottom"],
.blog-content-section .container-narrow p[style*="margin-bottom"],
.blog-content-section p[style*="margin-bottom"],
.blog-content-section .blog-content p[style*="12pt"],
.blog-content-section .container-narrow p[style*="12pt"],
.blog-content-section p[style*="12pt"] {
  margin-bottom: 24px !important;
}

.blog-content-section .blog-content p[style*="line-height"],
.blog-content-section .container-narrow p[style*="line-height"],
.blog-content-section p[style*="line-height"],
.blog-content-section .blog-content p[style*="1.38"],
.blog-content-section .container-narrow p[style*="1.38"],
.blog-content-section p[style*="1.38"] {
  line-height: 25.20px !important;
}

.blog-content-section .blog-content h1,
.blog-content-section .blog-content h2,
.blog-content-section .blog-content h3,
.blog-content-section .blog-content h4,
.blog-content-section .blog-content h5,
.blog-content-section .blog-content h6,
.blog-content-section .container-narrow h1,
.blog-content-section .container-narrow h2,
.blog-content-section .container-narrow h3,
.blog-content-section .container-narrow h4,
.blog-content-section .container-narrow h5,
.blog-content-section .container-narrow h6,
.blog-content-section h1,
.blog-content-section h2,
.blog-content-section h3,
.blog-content-section h4,
.blog-content-section h5,
.blog-content-section h6 {
  color: white;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  margin: 48px 0 24px 0;
  line-height: 1.3;
}

.blog-content-section .blog-content h1,
.blog-content-section .container-narrow h1,
.blog-content-section h1 { font-size: 32px; line-height: 44.80px; }
.blog-content-section .blog-content h2,
.blog-content-section .container-narrow h2,
.blog-content-section h2 { font-size: 32px; line-height: 44.80px; }
.blog-content-section .blog-content h3,
.blog-content-section .container-narrow h3,
.blog-content-section h3 { font-size: 24px; line-height: 33.60px; }
.blog-content-section .blog-content h4,
.blog-content-section .container-narrow h4,
.blog-content-section h4 { font-size: 24px; line-height: 33.60px; }
.blog-content-section .blog-content h5,
.blog-content-section .container-narrow h5,
.blog-content-section h5 { font-size: 20px; }
.blog-content-section .blog-content h6,
.blog-content-section .container-narrow h6,
.blog-content-section h6 { font-size: 18px; }

.blog-content-section .blog-content img,
.blog-content-section .container-narrow img,
.blog-content-section img {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 9/4;
  height: auto;
  object-fit: cover;
  margin: 32px 0;
  border-radius: 20px;
  display: block;
}

/* List styling - clean rewrite */
.blog-content-section .blog-content ul,
.blog-content-section .blog-content ol,
.blog-content-section .container-narrow ul,
.blog-content-section .container-narrow ol,
.blog-content-section ul,
.blog-content-section ol {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  color: white;
}

.blog-content-section .blog-content ol,
.blog-content-section .container-narrow ol,
.blog-content-section ol {
  counter-reset: list-counter;
}

.blog-content-section .blog-content li,
.blog-content-section .container-narrow li,
.blog-content-section li {
  position: relative;
  margin: 4px 0 !important;
  padding-left: 1.8em;
  padding-right: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 25.20px !important;
  color: white;
  font-size: 18px !important;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  list-style: none !important;
  list-style-type: none !important;
  min-height: 25.20px;
  display: flex;
  align-items: flex-start;
}

/* Override inline styles on li elements */
.blog-content-section .blog-content li[style*="margin-top"],
.blog-content-section .container-narrow li[style*="margin-top"],
.blog-content-section li[style*="margin-top"] {
  margin-top: 0 !important;
}

.blog-content-section .blog-content li[style*="margin-bottom"],
.blog-content-section .container-narrow li[style*="margin-bottom"],
.blog-content-section li[style*="margin-bottom"] {
  margin-bottom: 0 !important;
}

/* Remove all margins and padding from p tags inside list items */
.blog-content-section .blog-content li p,
.blog-content-section .container-narrow li p,
.blog-content-section li p {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 25.20px !important;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 18px !important;
  font-family: inherit !important;
  display: inline-block;
  vertical-align: top;
  flex: 1;
  word-wrap: break-word;
}

/* Override inline styles with pt units */
.blog-content-section .blog-content li p[style*="margin-top"],
.blog-content-section .container-narrow li p[style*="margin-top"],
.blog-content-section li p[style*="margin-top"],
.blog-content-section .blog-content li p[style*="12pt"],
.blog-content-section .container-narrow li p[style*="12pt"],
.blog-content-section li p[style*="12pt"] {
  margin-top: 0 !important;
}

.blog-content-section .blog-content li p[style*="margin-bottom"],
.blog-content-section .container-narrow li p[style*="margin-bottom"],
.blog-content-section li p[style*="margin-bottom"],
.blog-content-section .blog-content li p[style*="12pt"],
.blog-content-section .container-narrow li p[style*="12pt"],
.blog-content-section li p[style*="12pt"] {
  margin-bottom: 0 !important;
}

.blog-content-section .blog-content li p[style*="line-height"],
.blog-content-section .container-narrow li p[style*="line-height"],
.blog-content-section li p[style*="line-height"],
.blog-content-section .blog-content li p[style*="1.38"],
.blog-content-section .container-narrow li p[style*="1.38"],
.blog-content-section li p[style*="1.38"] {
  line-height: 25.20px !important;
}

/* Remove all inline styles from spans inside list items */
.blog-content-section .blog-content li p span,
.blog-content-section .container-narrow li p span,
.blog-content-section li p span,
.blog-content-section .blog-content li span,
.blog-content-section .container-narrow li span,
.blog-content-section li span {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 25.20px !important;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 18px !important;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-decoration: none !important;
  vertical-align: baseline !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  background-color: transparent !important;
}

/* Override inline styles on spans inside paragraphs */
.blog-content-section .blog-content p span,
.blog-content-section .container-narrow p span,
.blog-content-section p span {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 25.20px !important;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 18px !important;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-decoration: none !important;
  vertical-align: baseline !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  background-color: transparent !important;
}

.blog-content-section .blog-content p span[style*="font-size"],
.blog-content-section .container-narrow p span[style*="font-size"],
.blog-content-section p span[style*="font-size"],
.blog-content-section .blog-content p span[style*="11pt"],
.blog-content-section .container-narrow p span[style*="11pt"],
.blog-content-section p span[style*="11pt"] {
  font-size: 18px !important;
}

.blog-content-section .blog-content p span[style*="font-family"],
.blog-content-section .container-narrow p span[style*="font-family"],
.blog-content-section p span[style*="font-family"],
.blog-content-section .blog-content p span[style*="Roboto"],
.blog-content-section .container-narrow p span[style*="Roboto"],
.blog-content-section p span[style*="Roboto"] {
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif !important;
}

.blog-content-section .blog-content p span[style*="color"],
.blog-content-section .container-narrow p span[style*="color"],
.blog-content-section p span[style*="color"],
.blog-content-section .blog-content p span[style*="#000000"],
.blog-content-section .container-narrow p span[style*="#000000"],
.blog-content-section p span[style*="#000000"] {
  color: rgba(255, 255, 255, 0.70) !important;
}

.blog-content-section .blog-content p span[style*="line-height"],
.blog-content-section .container-narrow p span[style*="line-height"],
.blog-content-section p span[style*="line-height"],
.blog-content-section .blog-content p span[style*="1.38"],
.blog-content-section .container-narrow p span[style*="1.38"],
.blog-content-section p span[style*="1.38"] {
  line-height: 25.20px !important;
}

/* Override inline styles with pt units in spans */
.blog-content-section .blog-content li p span[style*="margin-top"],
.blog-content-section .container-narrow li p span[style*="margin-top"],
.blog-content-section li p span[style*="margin-top"],
.blog-content-section .blog-content li p span[style*="12pt"],
.blog-content-section .container-narrow li p span[style*="12pt"],
.blog-content-section li p span[style*="12pt"] {
  margin-top: 0 !important;
}

.blog-content-section .blog-content li p span[style*="margin-bottom"],
.blog-content-section .container-narrow li p span[style*="margin-bottom"],
.blog-content-section li p span[style*="margin-bottom"],
.blog-content-section .blog-content li p span[style*="12pt"],
.blog-content-section .container-narrow li p span[style*="12pt"],
.blog-content-section li p span[style*="12pt"] {
  margin-bottom: 0 !important;
}

.blog-content-section .blog-content li p span[style*="line-height"],
.blog-content-section .container-narrow li p span[style*="line-height"],
.blog-content-section li p span[style*="line-height"],
.blog-content-section .blog-content li p span[style*="1.38"],
.blog-content-section .container-narrow li p span[style*="1.38"],
.blog-content-section li p span[style*="1.38"] {
  line-height: 25.20px !important;
}

.blog-content-section .blog-content li p span[style*="font-size"],
.blog-content-section .container-narrow li p span[style*="font-size"],
.blog-content-section li p span[style*="font-size"],
.blog-content-section .blog-content li p span[style*="11pt"],
.blog-content-section .container-narrow li p span[style*="11pt"],
.blog-content-section li p span[style*="11pt"] {
  font-size: 18px !important;
}

/* Custom bullet for unordered lists */
.blog-content-section .blog-content ul li::before,
.blog-content-section .container-narrow ul li::before,
.blog-content-section ul li::before {
  content: "•";
  position: absolute;
  left: 0.5em;
  top: 0;
  color: white;
  font-size: 18px;
  line-height: 25.20px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  height: 25.20px;
  display: flex;
  align-items: center;
  padding-top: 0;
  margin-top: 0;
}

/* Custom numbering for ordered lists */
.blog-content-section .blog-content ol li,
.blog-content-section .container-narrow ol li,
.blog-content-section ol li {
  counter-increment: list-counter;
  padding-left: 2.5em;
}

.blog-content-section .blog-content ol li::before,
.blog-content-section .container-narrow ol li::before,
.blog-content-section ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0.5em;
  top: 0;
  color: white;
  font-size: 18px;
  line-height: 25.20px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  height: 25.20px;
  display: flex;
  align-items: center;
  padding-top: 0;
  margin-top: 0;
}

.blog-content-section .blog-content ul li,
.blog-content-section .container-narrow ul li,
.blog-content-section ul li {
  list-style: none !important;
  list-style-type: none !important;
  display: list-item;
}

.blog-content-section .blog-content ol li,
.blog-content-section .container-narrow ol li,
.blog-content-section ol li {
  list-style: none !important;
  list-style-type: none !important;
  display: list-item;
}

.blog-content-section .blog-content ul ul,
.blog-content-section .blog-content ol ol,
.blog-content-section .blog-content ul ol,
.blog-content-section .blog-content ol ul,
.blog-content-section .container-narrow ul ul,
.blog-content-section .container-narrow ol ol,
.blog-content-section .container-narrow ul ol,
.blog-content-section .container-narrow ol ul,
.blog-content-section ul ul,
.blog-content-section ol ol,
.blog-content-section ul ol,
.blog-content-section ol ul {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 32px;
}

.blog-content-section .blog-content a,
.blog-content-section .container-narrow a {
  color: #00CFD1;
  text-decoration: underline;
}

.blog-content-section .blog-content a:hover,
.blog-content-section .container-narrow a:hover {
  color: #5ec9ff;
}

.blog-content-section .blog-content strong,
.blog-content-section .container-narrow strong {
  font-weight: 700;
  color: white;
}

/* Content Text - matches blog-post-video.php */
.content-text {
  color: rgba(255, 255, 255, 0.70);
  font-size: 18px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 25.20px;
  margin: 0 0 24px 0;
}

/* Content Images */
.content-image-full {
  width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 20px;
  display: block;
}

.content-image-side {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Insight Box */
.insight-box {
  width: 100%;
  padding: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 20px;
  margin: 32px 0;
}

.insight-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 18px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 25.20px;
}

.insight-box strong {
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

/* Two Column Layout */
.content-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 48px 0;
}

.column-left,
.column-right {
  display: flex;
  flex-direction: column;
}

/* Process Table */
.process-table {
  width: 100%;
  margin: 48px 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  padding: 20px 24px;
  color: white;
  font-size: 16px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: 22.40px;
}

.table-header .table-cell {
  font-weight: 700;
  color: white;
}

/* Ensure content-heading and content-subheading work in blog-content-section */
.blog-content-section .content-heading {
  color: white;
  font-size: 32px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 44.80px;
  word-wrap: break-word;
  margin: 48px 0 24px 0;
}

.blog-content-section .content-subheading {
  color: white;
  font-size: 24px;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 33.60px;
  word-wrap: break-word;
  margin: 48px 0 16px 0;
}

/* Responsive for two-column and table */
@media (max-width: 768px) {
  .content-two-column {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-table {
    overflow-x: auto;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    min-width: 600px;
  }

  .table-cell {
    padding: 16px 20px;
    font-size: 14px;
  }
}

/* Responsive adjustments */
@media (max-width: 1440px) {
  .hero-content-card {
    width: 90%;
    max-width: 996px;
  }

  .blog-post-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.2;
  }

  .hero-lead-section {
    width: 90%;
    max-width: 900px;
  }
}

/* Additional mobile visibility fixes */
@media (max-width: 768px) {
  .blog-post-hero {
    overflow: visible !important;
  }
  
  .blog-post-hero * {
    visibility: visible !important;
  }
  
  .hero-content-card .blog-post-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    position: relative !important;
    z-index: 10 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  
  .blog-post-hero .blog-post-meta-top,
  .blog-post-hero .blog-category,
  .blog-post-hero .blog-meta-inline {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 768px) {
  .blog-post-hero {
    height: auto !important;
    min-height: 400px !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #090B1B url('https://novaeraagency.com/public/images/blog-background.webp') center center / cover no-repeat !important;
    background-image: url('https://novaeraagency.com/public/images/blog-background.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
  }
  
  /* Removed blog-post-page specific header overrides - header should match other pages */
  
  /* Create safe zone for header */
  .blog-post-page .blog-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: -1;
    pointer-events: none;
  }

  .hero-background-image {
    height: 400px !important;
    min-height: 400px !important;
    position: relative !important;
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    z-index: 1 !important;
  }

  .hero-gradient-overlay {
    height: 400px !important;
    min-height: 400px !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(9, 11, 27, 0) 0%, rgba(9, 11, 27, 0) 30%, rgba(9, 11, 27, 0.60) 70%, #090B1B 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .hero-content-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    margin-top: -30px !important;
    margin-bottom: 0 !important;
    padding: 40px 20px 48px 20px !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 0px -8px 30px rgba(0, 0, 0, 0.4) !important;
    order: 2 !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    background: #090B1B !important;
  }

  .blog-post-meta-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .blog-category {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .blog-meta-inline {
    gap: 12px !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .blog-post-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(32px, 8vw, 48px) !important;
    line-height: 1.2 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    position: relative !important;
    z-index: 11 !important;
    font-weight: 590 !important;
  }
  
  .hero-content-card * {
    position: relative !important;
    z-index: 11 !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
  }
  
  .blog-post-meta-top,
  .blog-category,
  .blog-meta-inline,
  .blog-date,
  .blog-read-time,
  .meta-separator {
    color: white !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero-content-card .hero-separator {
    margin-top: 20px !important;
    display: block !important;
    visibility: visible !important;
  }

  .hero-lead-section {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 20px !important;
    margin-top: 20px !important;
  }

  .blog-content-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .blog-content-section .container-narrow {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
  }

  /* Blog content mobile font sizes - matching webdev-intro-text */
  .blog-content-section .container-narrow p,
  .blog-content-section .blog-content p,
  .blog-content-section p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }

  .blog-content-section .container-narrow p span,
  .blog-content-section .blog-content p span,
  .blog-content-section p span {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow li,
  .blog-content-section .blog-content li,
  .blog-content-section li {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow li p,
  .blog-content-section .blog-content li p,
  .blog-content-section li p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow li p span,
  .blog-content-section .blog-content li p span,
  .blog-content-section li p span,
  .blog-content-section .container-narrow li span,
  .blog-content-section .blog-content li span,
  .blog-content-section li span {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow h1,
  .blog-content-section .blog-content h1,
  .blog-content-section h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin: 36px 0 18px 0 !important;
  }

  .blog-content-section .container-narrow h2,
  .blog-content-section .blog-content h2,
  .blog-content-section h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin: 36px 0 18px 0 !important;
  }

  .blog-content-section .container-narrow h3,
  .blog-content-section .blog-content h3,
  .blog-content-section h3 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin: 32px 0 16px 0 !important;
  }

  .blog-content-section .container-narrow h4,
  .blog-content-section .blog-content h4,
  .blog-content-section h4 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin: 32px 0 16px 0 !important;
  }

  .blog-content-section .container-narrow h5,
  .blog-content-section .blog-content h5,
  .blog-content-section h5 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 28px 0 14px 0 !important;
  }

  .blog-content-section .container-narrow h6,
  .blog-content-section .blog-content h6,
  .blog-content-section h6 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 24px 0 12px 0 !important;
  }

  .blog-content-section .container-narrow ul li::before,
  .blog-content-section .blog-content ul li::before,
  .blog-content-section ul li::before {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow ol li::before,
  .blog-content-section .blog-content ol li::before,
  .blog-content-section ol li::before {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  .webdev-bottom-cta {
    padding: 30px 18px !important;
    margin-top: 40px !important;
  }

  .webdev-bottom-cta-text {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  .webdev-bottom-cta .btn {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  .blog-post-hero {
    min-height: 350px !important;
  }

  .hero-background-image {
    height: 350px !important;
    min-height: 350px !important;
    display: block !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    z-index: 1 !important;
  }

  .hero-gradient-overlay {
    height: 350px !important;
    min-height: 350px !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(9, 11, 27, 0) 0%, rgba(9, 11, 27, 0) 25%, rgba(9, 11, 27, 0.65) 65%, #090B1B 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .hero-content-card {
    margin-top: -25px !important;
    padding: 32px 16px 40px 16px !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    background: #090B1B !important;
    z-index: 10 !important;
    position: relative !important;
  }
  
  .hero-content-card * {
    position: relative !important;
    z-index: 11 !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
  }
  
  .blog-post-meta-top,
  .blog-category,
  .blog-meta-inline,
  .blog-date,
  .blog-read-time,
  .meta-separator,
  .blog-post-title {
    color: white !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .blog-post-meta-top {
    gap: 10px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .blog-category {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  .blog-meta-inline {
    gap: 10px !important;
    flex-wrap: wrap !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 13px !important;
  }

  .blog-post-title {
    font-size: clamp(28px, 7vw, 36px) !important;
    line-height: 1.3 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    position: relative !important;
    z-index: 3 !important;
    font-weight: 590 !important;
  }

  .hero-content-card .hero-separator {
    margin-top: 16px !important;
    display: block !important;
    visibility: visible !important;
  }

  .blog-content-section .container-narrow {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  /* Blog content mobile font sizes - smaller for 480px */
  .blog-content-section .container-narrow p,
  .blog-content-section .blog-content p,
  .blog-content-section p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }

  .blog-content-section .container-narrow p span,
  .blog-content-section .blog-content p span,
  .blog-content-section p span {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow li,
  .blog-content-section .blog-content li,
  .blog-content-section li {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow li p,
  .blog-content-section .blog-content li p,
  .blog-content-section li p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow li p span,
  .blog-content-section .blog-content li p span,
  .blog-content-section li p span,
  .blog-content-section .container-narrow li span,
  .blog-content-section .blog-content li span,
  .blog-content-section li span {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow ul li::before,
  .blog-content-section .blog-content ul li::before,
  .blog-content-section ul li::before {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .blog-content-section .container-narrow ol li::before,
  .blog-content-section .blog-content ol li::before,
  .blog-content-section ol li::before {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* Ensure CTA section matches about-us page styling */
.webdev-bottom-cta {
  background: linear-gradient(180deg, #0075E3 0%, #064683 100%) !important;
  padding: 80px 120px !important;
  overflow: hidden !important;
  margin-top: 80px !important;
}

.container-cta {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
}

.webdev-bottom-cta-text {
  color: white !important;
  font-size: 48px !important;
  font-family: "SF Pro", -apple-system, "SF Pro Text", "SF Pro Display", system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: 57.60px !important;
  text-align: center !important;
  margin: 0 !important;
}

.webdev-bottom-cta .btn.header-glass.with-arrow:after {
  filter: brightness(0) invert(1) !important; /* White arrow for blue background */
}

@media (max-width: 991px) {
  .webdev-bottom-cta {
    padding: 40px 40px !important;
    margin-top: 60px !important;
  }

  .webdev-bottom-cta-text {
    font-size: 24px !important;
    line-height: 1.4 !important;
  }

  .webdev-bottom-cta .btn {
    height: 44px !important;
    padding: 0 28px !important;
    font-size: 17px !important;
  }
}

@media (max-width: 768px) {
  .webdev-bottom-cta {
    padding: 30px 20px !important;
    margin-top: 40px !important;
  }

  .container-cta {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .webdev-bottom-cta-text {
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
  }

  .webdev-bottom-cta .btn {
    width: 100% !important;
    max-width: 280px !important;
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 16px !important;
  }
}

