/* Custom Enhancements for Dev Pal Portfolio */

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific styles */
  html, body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Prevent horizontal scrolling on iOS */
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  /* Fix viewport issues */
  #wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* iOS Safari viewport fixes */
@media screen and (max-width: 480px) {
  html, body {
    min-width: 320px;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  #wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* iOS Safe Area Support */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
    padding-top: max(0px, env(safe-area-inset-top));
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  
  #wrapper {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* Blog-specific styles */
.substack-embed-container {
    max-width: 420px;
    margin: 0 auto 2rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(102,126,234,0.10), 0 1.5px 8px rgba(30,37,45,0.07);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.substack-embed-container:hover {
    box-shadow: 0 12px 40px rgba(102,126,234,0.18), 0 2px 12px rgba(30,37,45,0.10);
    transform: translateY(-2px) scale(1.015);
}

.substack-embed-container iframe {
    border-radius: 12px;
    border: none !important;
    min-height: 180px;
    box-shadow: 0 1.5px 8px rgba(102,126,234,0.07);
}

.substack-info {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #f26b1d !important;
}

.substack-info h3 {
    color: #212931;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.blog-topics {
    list-style: none !important;
    padding-left: 0 !important;
}

.blog-topics li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555555;
    position: relative;
    padding-left: 1.5rem;
}

.blog-topics li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}

.blog-topics li strong {
    color: #212931;
    font-weight: 600;
}

.blog-topics li:hover {
    color: #333333;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Featured post styling */
.post.featured {
    background: #f26b1d !important;
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(242,107,29,0.3);
}

.post.featured h2 a {
    color: white !important;
}

.post.featured p {
    color: rgba(255,255,255,0.9);
}

.post.featured .button {
    background: white;
    color: #f26b1d;
    border: 2px solid white;
}

.post.featured .button:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Blog navigation active state */
#nav ul.links li a[href="blog.html"] {
    background: transparent;
    color: #fff !important;
}

/* Modern System Font Stack (Apple-like) */
body, input, select, textarea, p, li, ul, ol, div, span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override any existing font declarations */
#intro, .main-section, .post, .blog-hero, .value-card, .posts article,
#main, .intro-content, .skills-list, .achievements-list, .principles-list {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Improved button styling */
.button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.button.primary {
    background: #f26b1d !important;
    border: none;
}

.button.primary:hover {
    background: #d35400 !important;
}

/* Enhanced intro section */
#intro {
    background: linear-gradient(135deg, rgba(30, 37, 45, 0.95) 0%, rgba(30, 37, 45, 0.9) 100%);
    backdrop-filter: blur(10px);
}

#intro h1, #intro .intro-content h1 {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  font-size: 3.2rem;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: #222 !important;
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

/* Card hover effects */
.posts article, .value-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.posts article:hover, .value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Improved nav bar aesthetics */
#nav {
    background: #faf9f6 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border-radius: 12px;
    border: 1px solid #faf9f6;
    margin: 1.5rem auto 2.5rem auto;
    max-width: 95vw;
    padding: 0.2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

#nav ul.links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
}

#nav ul.social-nav-center, #nav ul.icons {
    gap: 0.7rem !important;
}

#nav ul.links li {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

/* Navigation bar fixes - black text on light background when not selected */
#nav ul.links li a {
  color: #23272f !important;
  background: transparent !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}

#nav ul.links li a:hover, #nav ul.links li a:focus {
  background: #f26b1d !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(242,107,29,0.10);
}

#nav ul.links li.active a {
  background: #f26b1d !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(242,107,29,0.10);
}

#nav ul.icons.social-nav-center li a {
  color: #23272f !important;
}

#nav ul.icons.social-nav-center li a:hover {
  color: #f26b1d !important;
}

/* Fix blog tab - remove purple background and ensure light immediately */
#nav ul.links li a[href="blog.html"] {
  background: transparent !important;
  color: #23272f !important;
}

#nav ul.links li a[href="blog.html"]:hover,
#nav ul.links li a[href="blog.html"]:focus,
#nav ul.links li.active a[href="blog.html"] {
  background: #f26b1d !important;
  color: #fff !important;
}

/* Fix insights section - white background with black text */
.blog-hero {
  background: #faf9f6 !important;
  color: #23272f !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.blog-hero h1, .blog-hero h2, .blog-hero h3, .blog-hero p {
  color: #23272f !important;
}

/* Fix up arrow - change from purple to orange */
.button.round-arrow {
  background: #f26b1d !important;
  color: #fff !important;
  border: 2px solid #f26b1d !important;
}

/* Back to top button styling */
.back-to-top {
  background: linear-gradient(135deg, #f26b1d 0%, #e55a1a 100%) !important;
  color: white !important;
  border: 2px solid #f26b1d !important;
  box-shadow: 0 4px 12px rgba(242, 107, 29, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #e55a1a 0%, #d35400 100%) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(242, 107, 29, 0.4) !important;
}

.button.round-arrow:hover {
  background: #d35400 !important;
  color: #fff !important;
  border-color: #d35400 !important;
}

.button.round-arrow .icon {
  color: #fff !important;
}

#nav ul.links li a::after {
    display: none;
}

/* Principles list styling */
.principles-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.principles-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333333;
    position: relative;
    padding-left: 1.5rem;
}

.principles-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}

.principles-list li strong {
    color: #212931;
    font-weight: 600;
}

.principles-list li:hover {
    color: #333333;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Skills section styling */
.skills-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.skills-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #555555;
    position: relative;
    padding-left: 1.5rem;
}

.skills-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}

.skills-list li:hover {
    color: #333333;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Skills section headers */
.skills-list + h3 {
    color: #212931;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f26b1d;
    padding-bottom: 0.5rem;
}

/* Education institution styling */
.education-institution {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212931;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #f26b1d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.education-institution strong {
    color: #212931;
    font-weight: 700;
    font-size: 1.15rem;
}

/* Education list styling */
.education-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.education-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #555555;
    position: relative;
    padding-left: 1.5rem;
}

.education-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}

.education-list li strong {
    color: #212931;
    font-weight: 600;
}

.education-list li:hover {
    color: #333333;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Achievements list styling */
.achievements-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.achievements-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555555;
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.achievements-list li:last-child {
    border-bottom: none;
}

.achievements-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
    top: 0;
}

.achievements-list li strong {
    color: #212931;
    font-weight: 600;
}

.achievements-list li:hover {
    color: #333333;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Social icons enhancement */
.icons li a {
    transition: all 0.3s ease;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.icons li a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Enhanced header */
#header {
    position: absolute !important;
    top: -9999px !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    z-index: 1 !important;
}

#header .logo {
    font-weight: 700;
    background: none !important;
    color: #f26b1d !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Improved footer */
#footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0,0,0,0.1);
}

#footer, #footer h3, #footer p, #footer a, #footer ul, #footer li, #footer section, #footer .split.contact section, #footer .split.contact section h3, #footer .split.contact section p, #footer .split.contact section a {
  color: #23272f !important;
  border-color: #23272f !important;
}

#footer .icons.alt a {
  color: #23272f !important;
  border-color: #23272f !important;
}

#footer .icons.alt a:hover {
  color: #f26b1d !important;
  border-color: #f26b1d !important;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Apply animations to elements */
.posts article, .value-card {
    animation: fadeInUp 0.6s ease-out;
}

.posts article:nth-child(1) { animation-delay: 0.1s; }
.posts article:nth-child(2) { animation-delay: 0.2s; }
.posts article:nth-child(3) { animation-delay: 0.3s; }
.posts article:nth-child(4) { animation-delay: 0.4s; }
.posts article:nth-child(5) { animation-delay: 0.5s; }
.posts article:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced image styling */
.image img {
    transition: transform 0.3s ease;
    opacity: 1; /* Ensure images are visible by default */
}

.image:hover img {
    transform: scale(1.02);
}

/* Fallback for images if JavaScript fails */
img {
    opacity: 1 !important; /* Override any JavaScript opacity settings */
}

/* Only apply fade-in effect when JavaScript is working */
.js-enabled img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.js-enabled img.loaded {
    opacity: 1;
}

/* Improved form elements */
input[type="text"], input[type="email"], textarea {
    border-radius: 4px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #f26b1d;
    box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.1);
    outline: none;
}

/* Responsive improvements */
@media screen and (max-width: 736px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #intro h1 {
        font-size: 2.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    #nav, #header {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .posts article, .value-card {
        background: #2d2d2d;
        color: #ffffff;
    }
    
    #footer {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    }
}

/* Print styles */
@media print {
    #nav, #footer, .actions {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .posts article, .value-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #f26b1d;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .button {
        border: 2px solid currentColor;
    }
    
    .posts article, .value-card {
        border: 2px solid currentColor;
    }
} 
/* Professional profile picture styling */
.image.main img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto;
}

.image.main img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

/* Responsive profile picture */
@media screen and (max-width: 736px) {
    .image.main img {
        max-width: 250px;
        margin: 1.5rem auto;
    }
}

@media screen and (max-width: 480px) {
    .image.main img {
        max-width: 200px;
        margin: 1rem auto;
    }
}

/* Intro Flex Layout */
#intro.intro-flex {
  gap: 2.5rem;
  padding: 4rem 2rem 3rem 2rem;
  box-shadow: 0 4px 32px rgba(30,37,45,0.07);
  border-radius: 18px;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.intro-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50% / 40%;
  box-shadow: 0 2px 16px rgba(102,126,234,0.10);
  border: 4px solid #fff;
  background: #fff;
  margin-bottom: 1.5rem;
}

#intro .intro-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  background: none !important;
  color: #23272f !important;
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

#intro .intro-content p {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  #intro.intro-flex {
    gap: 1.2rem;
    padding: 2rem 1rem 1.2rem 1rem;
  }
  .intro-image img {
    width: 140px;
    height: 140px;
  }
  #intro .intro-content h1 {
    font-size: 2.2rem;
  }
  #intro .intro-content p {
    font-size: 1rem;
  }
}

/* Main section background container */
.main-section-bg {
  background: #FCFAF5;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 2rem 1rem 3rem 1rem;
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
  position: relative;
}

/* Compact main section layout */
.main-section.compact {
  margin: 0 auto 3rem auto;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.main-section.compact article.post,
.main-section.compact article.post.featured {
  margin: 0 0 0.7rem 0;
  padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  border-radius: 8px;
  box-shadow: none;
      background: #faf9f6;
}

.main-section.compact .row {
  margin: 0;
  padding: 0;
}

.main-section.compact header.major {
  margin-bottom: 1rem;
}

.main-section.compact ul,
.main-section.compact p {
  margin-bottom: 0.7rem;
}

@media (max-width: 800px) {
  .main-section-bg {
    padding: 2rem 0.5rem 2rem 0.5rem;
  }
  
  .main-section.compact {
    padding: 2rem 1rem 1.5rem 1rem;
    margin: 0 auto 2rem auto;
  }
}

/* High-contrast text for main content */
.main-section,
.main-section .post,
.main-section .post.featured,
.main-section .row,
.main-section .post h2,
.main-section .post h3,
.main-section .post p,
.main-section .post ul,
.main-section .post li {
  color: #f3f3f3 !important;
}

.main-section .post h1,
.main-section .post h2,
.main-section .post h3,
.main-section .post header.major span.date {
  color: #fff !important;
}

.principles-list li,
.skills-list li,
.achievements-list li {
  color: #f3f3f3 !important;
}

.principles-list li strong,
.achievements-list li strong {
  color: #fff !important;
}

/* Ensure links are also readable */
.main-section .post a {
  color: #f26b1d !important;
}

/* Intro actions layout */
.intro-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.button.round-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #f26b1d !important;
  background: #fff !important;
  color: #f26b1d !important;
  font-size: 1.6rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(242,107,29,0.08);
  opacity: 1 !important;
}
.button.round-arrow:hover {
  background: #f7f7f7 !important;
  color: #d35400 !important;
  border-color: #d35400 !important;
}

.button.round-arrow .icon {
  font-size: 1.5rem;
  margin: 0;
  color: #f26b1d !important;
  opacity: 1 !important;
}

/* High-contrast for school names and links */
.main-section .post strong,
.main-section .post a {
  color: #fff !important;
}

@media (max-width: 800px) {
  #footer, #footer section, #footer .split.contact section {
    background: #faf9f6 !important;
    color: #fff !important;
  }
  #footer h3, #footer p, #footer a, #footer ul, #footer li {
    color: #fff !important;
  }
  #footer .icons.alt a {
    color: #fff !important;
    border-color: #fff !important;
    opacity: 1 !important;
  }
}

/* Experience section enhancements */
.posts article {
    background: linear-gradient(135deg, #faf9f6 80%, #f5f5f0 100%);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(30,37,45,0.10);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.posts article:hover {
    box-shadow: 0 8px 32px rgba(24,191,239,0.13);
    transform: translateY(-6px) scale(1.02);
}
.posts article header {
    text-align: center;
    margin-bottom: 1.1rem;
}
.exp-date {
    background: rgba(24,191,239,0.08);
    border-radius: 6px;
    padding: 0.2em 0.7em;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #18bfef;
}
.company {
    text-transform: uppercase;
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #18bfef;
    text-shadow: 0 2px 8px rgba(30,37,45,0.18);
}
.role {
    font-style: italic;
    color: #b2e6fa;
    font-weight: 500;
    margin-left: 0.4em;
}
.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.1rem;
    width: 100%;
}
.image-wrapper img {
    max-width: 110px;
    max-height: 110px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(30,37,45,0.12);
    border: 2px solid #18bfef;
    padding: 10px;
    object-fit: contain;
}
.exp-list {
    max-width: 92%;
    margin: 0.7rem auto 0 auto;
    font-size: 1.09rem;
    line-height: 1.85;
    letter-spacing: 0.01em;
}
.exp-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.2rem;
}
@media (max-width: 900px) {
    .posts {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .posts article {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .image-wrapper img {
        max-width: 70px;
        max-height: 70px;
    }
}
@media (max-width: 600px) {
    .posts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .posts article {
        padding: 1rem 0.5rem 0.7rem 0.5rem;
    }
    .image-wrapper img {
        max-width: 55px;
        max-height: 55px;
    }
}
@media (min-width: 1200px) {
    .posts {
        gap: 2.2rem;
    }
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
    width: 100%;
}

/* Minimal & Modern Blog Styles */
.blog-hero {
  background: #faf9f6 !important;
  color: #23272f !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-title, .blog-hero h1, .blog-hero h2, .blog-hero h3 {
  color: #23272f !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
}
.blog-subscribe-btn, .button.primary, .post.featured, .blog-substack .button {
  background: #f26b1d !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(242,107,29,0.10);
}
.blog-subscribe-btn:hover, .button.primary:hover, .post.featured:hover, .blog-substack .button:hover {
  background: #d35400 !important;
  color: #fff !important;
}
#nav ul.links li.active a {
  background: #f26b1d !important;
  color: #fff !important;
}
#nav ul.links li a {
  color: #23272f !important;
  background: transparent !important;
}

/* Subtle divider between hero and substack */
.blog-divider {
    width: 100%;
    max-width: 540px;
    margin: 1.2rem auto 1.8rem auto;
    border: none;
    border-top: 1.5px solid #ececec;
    opacity: 0.5;
}

.blog-profile-pic {
    margin-bottom: 2rem;
}

.blog-profile-pic img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50% / 40%;
    box-shadow: 0 2px 16px rgba(102,126,234,0.10);
    border: 4px solid #fff;
    background: #fff;
    margin-bottom: 1.2rem;
}

.blog-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    background: none !important;
    color: #23272f !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    text-align: center;
}

.blog-desc {
    color: #b0bec5;
    font-size: 1.15rem;
    text-align: center;
    max-width: 540px;
    margin-bottom: 2.2rem;
}

.blog-subscribe-btn {
    display: inline-block;
    background: #f26b1d !important;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.85em 2.2em;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(242,107,29,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-bottom: 2.5rem;
}

.blog-subscribe-btn:hover {
    background: #d35400 !important;
    box-shadow: 0 4px 24px rgba(242,107,29,0.18);
    transform: translateY(-2px);
}

.blog-substack {
    padding: 1.2rem 1rem 1.5rem 1rem;
}

.blog-substack-title {
    color: #222;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    text-align: center;
    letter-spacing: 0.01em;
}

.blog-substack-desc {
    color: #b0bec5;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.blog-substack-embed {
    margin-bottom: 0.5rem;
}

.blog-substack .button {
    background: #f26b1d !important;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(242,107,29,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    padding: 0.85em 2.2em;
    margin: 0 auto;
    display: block;
    text-align: center;
    max-width: 240px;
}

.blog-substack .button:hover {
    background: #d35400 !important;
    box-shadow: 0 4px 24px rgba(242,107,29,0.18);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .blog-profile-pic img {
        width: 88px;
        height: 88px;
    }
    .blog-title {
        font-size: 1.4rem;
    }
    .blog-desc {
        font-size: 1rem;
    }
    .blog-substack-embed {
        max-width: 100%;
    }
    .substack-embed-container {
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .blog-divider {
        max-width: 90vw;
    }
}

.post > header.major .date {
  color: #fff !important;
  background: none;
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: 0 0.5em;
  margin-bottom: 0.5em;
}

.post > header.major {
  position: relative;
  border-bottom: 3px solid #f26b1d !important;
  padding-bottom: 1.8rem;
  margin-bottom: 2.2rem;
}

.values-main {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  color: #fff !important;
}

.post > header.major {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  border-bottom: 1.5px solid #f26b1d;
}

footer#footer, #footer > section, #footer .split.contact section {
  background: none !important;
  color: #aaa !important;
  box-shadow: none;
  padding: 1.2rem 0.5rem 0.5rem 0.5rem !important;
}

#copyright {
  margin: 1.5rem auto 2.5rem auto;
  color: #555;
}

#substack-fallback {
  display: block;
  text-align: center;
  padding: 0.5rem;
  font-size: 1.1rem;
  background: none;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  margin: 0.5rem auto 0 auto;
  color: #f26b1d !important;
}

/* Social Links Grid (Daniel McAuley style) */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0 1.5rem 0;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.social-link-box {
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: #fff !important;
  color: #f26b1d !important;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1rem 1.5rem;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.18s;
  border: 1.5px solid #f3f3f3;
  min-width: 150px;
  max-width: 100%;
  justify-content: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
  text-align: center;
}
.social-link-box .icon {
  font-size: 1.3em;
  color: #f26b1d !important;
  margin-right: 0.5em;
}
.social-link-box:hover, .social-link-box:focus {
  background: #f7f7f7 !important;
  color: #f26b1d !important;
  box-shadow: 0 4px 18px rgba(242,107,29,0.10);
}
.social-link-box:hover .icon, .social-link-box:focus .icon {
  color: #f26b1d !important;
}
@media (max-width: 600px) {
  .social-links-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  .social-link-box {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: auto;
  }
}

/* iOS Safari specific mobile fixes */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .social-links-grid {
      grid-template-columns: 1fr;
      gap: 0.8rem;
      margin: 1.5rem 0.5rem 1rem 0.5rem;
    }
    
    .social-link-box {
      font-size: 0.95rem;
      padding: 0.7rem 0.8rem;
      min-width: auto;
      width: 100%;
      max-width: 100%;
    }
    
    #intro .intro-content p {
      font-size: 1rem;
      line-height: 1.5;
      padding: 0 0.5rem;
    }
    
    #intro .intro-content h1 {
      font-size: 2rem;
      line-height: 1.2;
      padding: 0 0.5rem;
    }
    
    /* Fix main content sections */
    .main-section.compact {
      padding: 0 0.5rem 0.2rem 0.5rem;
      margin: 0 auto 0.7rem auto;
    }
    
    .main-section.compact article.post {
      padding: 0.5rem 0.3rem 0.3rem 0.3rem;
      margin: 0 0 0.5rem 0;
    }
    
    /* Fix text wrapping in lists */
    .skills-list li,
    .achievements-list li,
    .principles-list li {
      overflow-wrap: break-word;
      word-wrap: break-word;
      hyphens: auto;
      padding-right: 0.5rem;
    }
    
    /* Fix navigation */
    #nav {
      margin: 1rem 0.5rem 2rem 0.5rem;
      padding: 0.2rem 0.8rem;
      width: calc(100% - 1rem);
      box-sizing: border-box;
    }
  }
}

/* Light background for intro section only (Daniel style) */
#intro, #intro.intro-flex {
  background: #faf9f6 !important;
  color: #222 !important;
  box-shadow: none;
}
#intro h1, #intro h2, #intro h3 {
  color: #222 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
}
#intro p, #intro .intro-content p {
  color: #222 !important;
}
#intro .social-link-box {
  background: #fff !important;
  color: #f26b1d !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
#intro .social-link-box .icon {
  color: #f26b1d !important;
}

/* Substack embed and button styles */
.substack-link-btn {
  display: inline-block;
  background: #f26b1d;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 8px;
  padding: 0.85em 2.2em;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(242,107,29,0.10);
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  border: none;
}
.substack-link-btn:hover, .substack-link-btn:focus {
  background: #d35400;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(242,107,29,0.13);
}

@media (max-width: 900px) {
  #nav {
    flex-direction: column;
    gap: 1.2rem;
  }
  #nav ul.links, #nav ul.social-nav-center {
    justify-content: center;
  }
}

@media (max-width: 800px) {
  #intro {
    margin-top: 0 !important;
  }
  .social-links-grid {
    margin-top: 1.2rem !important;
  }
}

body.home #header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: 40px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
}
body.home #header .logo {
  display: none !important;
}

@media (max-width: 600px) {
  #intro .intro-content p {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0 0.5rem;
  }
  #intro, #intro.intro-flex {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    overflow-x: hidden;
  }
  
  /* Ensure all content stays within bounds */
  .intro-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
  }
  
  /* Extra small screen fixes */
  @media (max-width: 375px) {
    #intro .intro-content h1 {
      font-size: 1.8rem;
      line-height: 1.1;
    }
    
    #intro .intro-content p {
      font-size: 0.9rem;
      line-height: 1.4;
    }
    
    .social-link-box {
      font-size: 0.9rem;
      padding: 0.6rem 0.7rem;
    }
  }
}

@media (max-width: 700px) {
  .social-links-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .social-link-box {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #intro, #intro.intro-flex {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

.experience-section {
  max-width: 1200px;
  margin: 0 auto 5rem auto; /* 3.5rem top and bottom spacing handled by inline divs in HTML */
  padding: 2rem 1rem 0 1rem;
  background: #FCFAF5;
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
}
.experience-heading {
  display: none;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  padding: 0 1.2rem;
}
.experience-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  border: 1px solid rgba(35,39,47,0.06);
  padding: 2.7rem 2rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 370px;
  transition: box-shadow 0.22s cubic-bezier(.4,2,.6,1), transform 0.18s cubic-bezier(.4,2,.6,1);
}
.experience-card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,0,0,0.13);
  transform: translateY(-7px) scale(1.025);
  background: #f7f6f2;
}
.experience-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  border: 2.5px solid #e0e0e0;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.experience-meta {
  font-size: 1rem;
  color: #3e6cff;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}
.experience-company {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  color: #23272f;
  letter-spacing: 0.01em;
}
.experience-details {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: #23272f;
  font-size: 1.03rem;
  line-height: 1.7;
  text-align: left;
}
.experience-details li {
  margin-bottom: 0.7em;
  color: #444950;
  position: relative;
  padding-left: 1.5rem;
}

.experience-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}
@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem 1.2rem;
  }
}
@media (max-width: 600px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem 0;
    padding: 0 0.5rem;
  }
  .experience-section {
    padding: 1rem 0.2rem;
  }
  .experience-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    min-height: 320px;
  }
  .experience-heading {
    font-size: 1.5rem;
  }
}

.value-card {
  background: #fff !important;
  color: #23272f !important;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  border: 1px solid rgba(35,39,47,0.06);
  padding: 2.7rem 2rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 370px;
  transition: box-shadow 0.22s cubic-bezier(.4,2,.6,1), transform 0.18s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,0,0,0.13) !important;
  transform: translateY(-7px) scale(1.025) !important;
  background: #f7f6f2 !important;
}

.value-card h3, .value-card:hover h3, .value-card p, .value-card:hover p {
  color: #1d1d1f !important;
}

.value-card header.major {
  margin-bottom: 2rem;
  text-align: center;
}

.value-card header.major .date {
  font-size: 0.875rem;
  font-weight: 500;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.value-card header.major h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.3;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.value-card p {
  word-spacing: normal;
  letter-spacing: -0.01em;
  text-align: left;
  white-space: normal;
  line-height: 1.6;
  margin-bottom: 1.1rem;
  max-width: 100%;
  box-sizing: border-box;
  color: #424245;
}

.value-card .skills-list li, .value-card .skills-list h3 {
  color: #1d1d1f !important;
}

.value-card .skills-list li::before {
  color: #000000;
}

.value-card, .value-card *, .value-card strong, .value-card h1, .value-card h2, .value-card h3, .value-card h4, .value-card h5, .value-card h6, .value-card p, .value-card li {
  color: #1d1d1f !important;
}

.value-card .achievements-list li strong, .value-card .principles-list li strong {
  color: #1d1d1f !important;
  font-weight: 600;
}

/* Enhanced list styling for Apple-like appearance */
.value-card .skills-list,
.value-card .achievements-list,
.value-card .principles-list,
.value-card .education-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.value-card .skills-list li,
.value-card .achievements-list li,
.value-card .principles-list li,
.value-card .education-list li {
  margin-bottom: 0.75rem;
  color: #424245;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.value-card .skills-list li::before,
.value-card .achievements-list li::before,
.value-card .principles-list li::before,
.value-card .education-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: 600;
  font-size: 1.2em;
  top: -0.1em;
}

.value-card .skills-list li:hover,
.value-card .achievements-list li:hover,
.value-card .principles-list li:hover,
.value-card .education-list li:hover {
  color: #1d1d1f;
  transform: translateX(2px);
  transition: all 0.2s ease;
}

/* Education institution styling */
.value-card .education-institution {
  font-size: 0.95rem;
  color: #424245;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.value-card .education-institution strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* Row styling for better spacing */
.value-card .row {
  width: 100%;
  gap: 2rem;
}

.value-card .col-6 {
  flex: 1;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .value-card {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-height: 350px;
  }
  
  .value-card header.major h2 {
    font-size: 1.5rem;
  }
  
  .value-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .main-section-bg {
    padding: 1.5rem 0.25rem 1.5rem 0.25rem;
  }
  
  .main-section.compact {
    padding: 1.5rem 0.75rem 1rem 0.75rem;
    margin: 0 auto 1.5rem auto;
    border-radius: 16px;
  }
  
  .value-card {
    padding: 1.75rem 1.25rem 1.25rem 1.25rem;
    min-height: 320px;
    border-radius: 16px;
  }
  
  .value-card .row {
    gap: 1.5rem;
  }
  
  .value-card .skills-list li,
  .value-card .achievements-list li,
  .value-card .principles-list li,
  .value-card .education-list li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
}

.main-section-bg > .value-card {
  margin-bottom: 2.5rem;
}

.main-section-bg > .value-card:last-child {
  margin-bottom: 0;
}

#nav ul.links li a,
#nav ul.icons.social-nav-center li a {
  color: #23272f !important;
}
#nav ul.links li.active a {
  background: #f26b1d !important;
  color: #fff !important;
}
#footer, #footer section, #footer .split.contact section {
  color: #23272f !important;
}
#footer .icons.alt a {
  color: #23272f !important;
  border-color: #23272f !important;
}
#footer .icons.alt a:hover {
  color: #f26b1d !important;
  border-color: #f26b1d !important;
}

.blog-section-bg {
  background: #FCFAF5;
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
  padding: 2rem 1rem 2.5rem 1rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.blog-grid {
  padding: 2rem 2rem 2rem 2rem !important;
  background: transparent !important;
  width: 100%;
  box-sizing: border-box;
}

.blog-card {
  background: transparent !important;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  border-radius: 18px;
  border: 1px solid rgba(35,39,47,0.06);
  /* Keep padding and color for content readability */
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  color: #23272f !important;
  opacity: 1 !important;
  filter: none !important;
  transition: box-shadow 0.22s cubic-bezier(.4,2,.6,1), transform 0.18s cubic-bezier(.4,2,.6,1);
  margin-bottom: 2.5rem;
}

.blog-card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,0,0,0.13) !important;
  background: #f7f6f2 !important;
  transform: translateY(-7px) scale(1.025);
}

.blog-card:last-child {
  margin-bottom: 0;
}
