/* Certifications (achievements) — match Projects sizing */
@media (min-width: 768px) {
  section#achievements .col-md-4,
  section#achievements [class*="col-"] {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
}

/* Constrain certification badge images similar to project card headers */
section#achievements .card img,
section#achievements .card .card-img-top {
  width: 100%;
  height: 200px;        /* roughly matches project tile header */
  object-fit: contain;  /* keep full badge visible */
  background-color: #0b1220;
  padding: 16px;
}

section#achievements .card {
  margin-bottom: 1.5rem;
}

/* Experience tabs: keep on one row and slightly smaller on medium widths */
section#experience .nav-link {
  white-space: nowrap;
}
@media (max-width: 1100px) {
  section#experience .nav-link { font-size: 0.95rem; }
}

/* Hide theme/footer logo image regardless of path */
footer img[alt="Footer logo"] { display: none !important; }

/* Navbar brand logo: tidy size and spacing */
.navbar-brand img {
  height: 28px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

/* Blog post: hide share icons we don't use */
/* Hide Twitter and WhatsApp share buttons in post pages */
a[href*="twitter.com/share"],
a[href*="api.whatsapp.com/send"] {
  display: none !important;
}

/* Blog post/share blocks: hide networks we don't use site-wide */
a[href*='twitter.com/share'],a[aria-label='twitter'],i.fa-twitter,i.fab.fa-twitter,a[href*='api.whatsapp.com/send'],a[aria-label='whatsapp'],i.fa-whatsapp,i.fab.fa-whatsapp{display:none !important;}

/* Hide social share sidebar on all posts */
aside.social { display: none !important; }

/* Hide horizontal rules inside post content */
article.page-content hr,.page-content hr{display:none !important;}

/* About skills: 3-column grid */
section#about .content ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem 1rem;
  list-style: none;
  padding-left: 0;
}
@media (max-width: 600px) {
  section#about .content ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Make Projects cards clickable: stretch the actual project link over the tile */
section#projects .card { position: relative; }
section#projects .card a[href^="/projects/"] {
  position: absolute;
  inset: 0;             /* cover entire card */
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0;           /* invisible overlay */
}
section#projects .card:hover { cursor: pointer; }
