/* Apple-style Portfolio CSS */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
  color: #1d1d1f;
  line-height: 1.6;
  overflow-x: hidden;
}
/* TITLE ZONE */
.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-ctas .btn {
  background-color: #0071e3;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.hero-ctas .btn:hover {
  background-color: white;
  color: #0071e3;
  border: 1px solid #0071e3;
}

.btn-hero-light {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  color: #1d1d1f;
  text-align: left;
  z-index: 2;
  max-width: 100%;
  margin-top: 1rem;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid #1d1d1f;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500 !important;
  background-color: transparent;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-hero-light:hover {
  background-color: #1d1d1f;
  color: white;
  border-color: #1d1d1f;
}

/* NAVIGATION */
/* NAVBAR BASE STYLES */
.apple-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.85);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.apple-nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.apple-nav a {
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease-in-out;
}
.apple-nav a:hover {
  color: #0071e3;
}

/* TOGGLE BUTTON (HAMBURGER) */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  width: 25px;
  background-color: #1d1d1f;
  margin: 4px 0;
  transition: 0.3s;
}

/* MOBILE STYLES */
/* Mobile hidden by default */
@media (max-width: 768px) {
  .apple-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1d1d1f;
    margin: 4px 0;
  }

  .apple-nav ul.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-left: 1rem;
  }

  .apple-nav ul.nav-links.show {
    display: flex;
  }

  .apple-nav ul.nav-links li {
    padding: 0.5rem 0;
  }
}


/* HERO BANNER */
.apple-hero-banner {
  background: linear-gradient(to bottom, #f5f5f7 60%, #ececf0 100%);
  padding: 6rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  border-bottom: 2px solid #e2e2e2;
  overflow: hidden;
}

.banner-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  padding-bottom: 0;
}

.text-block {
  flex: 1;
  padding: 1rem 2rem;
  text-align: left;
}

.text-block h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.2;
}

.text-block .tagline {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  color: #6e6e73;
  text-align: justify-all;
}

.hero-links {
  margin-top: 1.5rem;
}

.hero-links a {
  display: inline-block;
  margin-right: 1rem;
  transition: transform 0.2s ease-in-out;
}

.hero-links a img {
  width: 36px;
  height: 36px;
}

.hero-links a:hover {
  transform: scale(1.1);
}

.image-block {
  flex: 1;
  text-align: center;
  position: relative;
  align-self: flex-end;
}

.image-block img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: -4px;
}

/* SECTION HEADERS */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 1rem 2rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: #1d1d1f;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    align-items: center;
    padding: 2rem rem 0;
    text-align: center;
  }

  .text-block {
    padding: 1rem;
    text-align: center;
  }

  .text-block h1 {
    font-size: 2rem;
  }

  .text-block .tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-links a img {
    width: 32px;
    height: 32px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .image-block {
    padding-bottom: 1rem;
    margin-top: 1rem;
  }

  .image-block img {
    display:none;
  }
}


/* CAROUSEL */
.hero-carousel-container {
  text-align: center;
  width: 100%;
  padding: 5rem 1rem;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.carousel-header {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1d1d1f;
}

.apple-carousel {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: visible;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s ease-in-out;
  padding: 0 10vw;
}

.carousel-slide {
  flex: 0 0 85%;
  opacity: 0.3;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: scale(0.85);
  position: relative;
  cursor: pointer;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 2;
  max-width: 80%;
}

.carousel-caption h4 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1.2rem;
}

.carousel-caption a {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid white;
  border-radius: 0;
  text-decoration: none;
  color: white;
  font-weight: 500;
  background-color: rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;
}

.carousel-caption a:hover {
  background-color: white;
  color: #1d1d1f;
}
.learn-more-car {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  color: white;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 2;
  max-width: 80%;
  margin-top: 1rem;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid white;
  border-radius: 0;
  text-decoration: none;
  color: white;
  font-weight: 500 !important;
  background-color: rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;  
}

.learn-more-car:hover{
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  background-color: white;
  color: #1d1d1f;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.carousel-indicators .dot {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-indicators .dot.active {
  background-color: #1d1d1f;
}



@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* EDUCATION & EXPERIENCE - FULL WIDTH 2-COLUMN */
.edu-exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100vw;
  margin: 0;
  padding: 0;
  gap: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.edu-exp-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.edu-exp-card {
  background-color: #fff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 100%;
}

.edu-exp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.edu-exp-card img {
  width: 100%;
  max-width: 300px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.edu-exp-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.edu-exp-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.edu-exp-card a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid #0071e3;
  background-color: white;
  color: #0071e3;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.edu-exp-card a:hover {
  background-color: #0071e3;
  color: white;
}

.learn-more {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid #0071e3;
  background-color: white;
  color: #0071e3;
  text-decoration: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.learn-more:hover {
  background-color: #0071e3;
  color: white;
}


/*SKILLS*/
.skills-section {
  background-color: #f9f9f9;
  padding: 5rem 1rem;
  text-align: center;
}

.skills-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
}

.skill-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: left;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1d1d1f;
}

.skill-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1d1d1f;
  color: white;
  font-size: 0.875rem;
}

html {
  scroll-behavior: smooth;
}

/* MODAL STYLES AND SCRIPT */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 1000px;
  position: relative;
  animation: fade 0.3s ease-in-out;
}
.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}
.close:hover {
  color: #000;
}


@media (max-width: 768px) {
  .carousel-caption {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 90%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .carousel-caption p {
    font-size: 0.7rem;
  }

  .carousel-caption a {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }

  .carousel-slide {
    flex: 0 0 90%;
  }

  .edu-exp-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .carousel-caption h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  }

  .text-block h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.2;
  }
  
}

.modal-article-content {
  max-width: 400px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.75;
  padding: 2rem;
  color: #1d1d1f;
}

.modal p{
  padding: 0 0 10px 0;
  text-align: justify;
  font-size: large;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modal-img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 0px;
  margin: 2rem 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.profile-pics {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.profile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.profile-name {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #444;
  font-family: serif;
}


    .viz {
      background: white;
      padding: 1.5rem;
      margin-bottom: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    }
    .viz img {
      max-width: 100%;
      border-radius: 8px;
    }
    .persona {
      text-align: center;
      margin: 1.5rem 0;
    }
    .persona h3 {
      margin-bottom: 0.2rem;
    }
    .persona p {
      color: #555;
      font-size: 0.95rem;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }


/*ONLINE RESUME ELEMENTS*/
    /* BUTTON GROUP */
.resume-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.resume-buttons a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.resume-buttons .linkedin {
  background-color: #0077b5;
  color: white;
  border: 1px solid #0077b5;
}
.resume-buttons .linkedin:hover {
  background-color: white;
  color: #0077b5;
}
.resume-buttons .download {
  background-color: white;
  color: #0071e3;
  border: 1px solid #0071e3;
}
.resume-buttons .download:hover {
  background-color: #0071e3;
  color: white;
}

/* RESUME CONTENT */
.resume-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-radius: 16px;
}
.resume-container h1,
.resume-container h2,
.resume-container h3 {
  font-weight: 600;
  color: #1d1d1f;
}
.resume-container h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.resume-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.resume-container h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}
.resume-container p,
.resume-container li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: justify;
}
.resume-container ul {
  list-style: disc inside;
  margin-left: 1rem;
  margin-bottom: 1rem;
}
.resume-container .section {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.modal iframe {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* =========================
   BLOG (cards, post, feed)
   ========================= */
.blog-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 7rem 1rem 3rem; /* leaves room for fixed .apple-nav */
}

/* Blog header */
.blog-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.blog-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1d1d1f;
}
.blog-subtitle {
  color: #6e6e73;
  margin-top: .5rem;
}

/* Feed grid (reuses .grid) */
.blog-grid {
  margin-top: 1rem;
}

/* ===== BLOG CARDS ===== */
/* === Featured split card (text left, image right) === */
.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}
.feature-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.kicker { font-weight: 700; letter-spacing: .02em; }
.feature-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
}
.feature-excerpt { color: #333; }
.feature-meta { color: #6e6e73; font-size: .95rem; }
.feature-media { position: relative; min-height: 220px; }
.feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

/* === Latest grid (3 across → 2 → 1) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.tile-media { position: relative; }
.tile-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.badge {
  position: absolute; top: 10px; right: 10px;
  font-size: .75rem; font-weight: 700;
  background: rgba(255,255,255,.85);
  border: 1px solid #e6e6e6;
  border-radius: 9999px;
  padding: .15rem .5rem;
}
.tile-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.tile-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}
.tile-excerpt { color: #333; }
.tile-meta { color: #6e6e73; font-size: .9rem; }

/* Don’t show default link styling inside titles/excerpts */
.feature-title a, .tile-title a { color: inherit; text-decoration: none; }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .feature-card { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-body { padding: 1.25rem; }
}

/* ---- Blog search ---- */
.blog-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .75rem 0 1rem;
  position: relative;
}
.blog-search input[type="search"] {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  outline: none;
  transition: box-shadow .15s, border-color .15s;
}
.blog-search input[type="search"]:focus {
  border-color: #cfcfcf;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.blog-search #search-clear {
  width: 32px; height: 32px;
  border-radius: 9999px;
  border: 1px solid #e2e2e2;
  background: #fff;
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
}
.search-meta {
  color: #6e6e73;
  font-size: .95rem;
  margin: -.25rem 0 .75rem;
}


/* Roomier content */
.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;                /* more space between title/meta/excerpt/button */
  padding: 0.15rem 0.25rem;
}

/* Title as plain text (not a link) */
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
}

/* Links inside body look like text, button keeps style */
/* Button */
.card-body .learn-more {
  align-self: flex-start; /* keep pill size, no full width */
}

/* Mobile: slightly smaller thumb */
@media (max-width: 768px) {
  .card-thumb-link { flex-basis: 140px; }
  .card-body { gap: 0.7rem; }
}
/* Make any links inside the text look like normal text (except buttons) */
.card-body a:not(.learn-more) {
  color: inherit;
  text-decoration: none;
}

/* Extra comfortable spacing on mobile */
@media (max-width: 768px) {
  .card-row {
    padding: 1rem;
    gap: 1rem;
  }
  .card-thumb { width: 128px; height: 96px; }
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.card-title a {
  color: #1d1d1f;
  text-decoration: none;
}
.card-title a:hover {
  color: #0071e3;
}

.card-meta {
  color: #6e6e73;
  font-size: .9rem;
  margin-bottom: .75rem;
}

.card-excerpt {
  color: #333;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-link {
  align-self: flex-start;
  font-weight: 600;
  color: #0071e3;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.card-link:hover {
  border-color: #0071e3;
}

/* Responsive */
@media (max-width: 768px) {
  .card-cover img.card-img {
    height: 160px;
  }
  .card-body {
    padding: 1rem;
  }
}


/* Post page */
.post {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 3rem 3rem;
}
.post h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .1rem;
  color: #1d1d1f;
}
.post .muted {
  color: #6e6e73;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.post img.hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem 0 1.25rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.post ul{
  margin-left: 2rem;
}
.post ol{
  margin-left: 2rem;
}

/* --- Post: author bar, share buttons, reading font & indentation --- */
.post-meta-bar {
  margin: .5rem 0 1rem;
  padding: .5rem 0 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.author-info { line-height: 1.1; }
.author-name { font-weight: 700; }
.author-date { color: #6e6e73; font-size: .95rem; }

/* Share buttons: small, neutral pills */
.share { display: flex; gap: .5rem; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9999px;
  border: 1px solid #e2e2e2; background: #fff; color: #1d1d1f;
  text-decoration: none; font-weight: 700; font-size: .8rem; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.share-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.08); border-color:#d7d7d7; }

/* Reading font only for the body text (keep titles as-is) */
.prose p, .prose li, .prose blockquote {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  color: #1d1d1f;
}

/* Paragraph indentation for long reading */
.prose p { text-indent: 1.25rem; margin-top: .5rem;margin-bottom: 1rem; margin-right: 3rem; margin-left: .5rem; text-align: justify;}
.prose h1 + p,
.prose h2 + p,
.prose h3 + p,
.prose blockquote + p,
.prose img + p { text-indent: 1.25rem; }

/* Latest post teaser: reuse your tile style */
.post-latest { margin-top: 2.25rem; }
.post-latest .tile { text-decoration: none; color: inherit; }
.post-latest .tile-media img { display:block; width:100%; aspect-ratio: 16/9; object-fit:cover; }


/* Simple tag chips (optional) */
.tag-chip {
  display: inline-block;
  font-size: .85rem;
  color: #555;
  border: 1px solid #e2e2e2;
  border-radius: 9999px;
  padding: .2rem .6rem;
  margin-right: .35rem;
}

/* Pagination (if you add it later in JS) */
.pagination {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin: 2rem 0 0;
}
.pagination a {
  color: #1d1d1f;
  border: 1px solid #e2e2e2;
  padding: .35rem .7rem;
  border-radius: 10px;
  text-decoration: none;
}
.pagination a:hover { border-color: #0071e3; color: #0071e3; }

/* Mobile tweaks */
@media (max-width: 768px) {
  .blog-container { padding-top: 6.5rem; }
  .card-cover img.hero { height: 180px; }
  .post { padding: 1.25rem 1rem; border-radius: 12px; }
  .post img.hero { max-height: 300px; }
}
