/* Change Font Awesome icon hover background from green to gray */
.logo:hover .overlay,
header .logo:hover .overlay,
.bubble:hover,
a.bubble:hover {
  background-color: #6c757d !important;
}

/* Slack-style inline code - orange text, no background */
article .content code:not(pre code) {
  background: none !important;
  color: #e01e5a !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 90% !important;
  border-radius: 0 !important;
}

/* Keep code blocks with their original styling */
article .content pre code {
  background: transparent !important;
  color: inherit !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  white-space: pre !important;
}

/* Add subtitle to header */
header .titles::after {
  content: "Crafting Solutions. Sharing Knowledge. Living Cloud-Native.";
  display: block;
  font-size: 1.8rem;
  margin-top: 0.5rem;
  opacity: 0.8;
  font-style: italic;
  text-align: left;
}

/* Mobile optimization for subtitle */
@media (max-width: 1200px) {
  header .titles::after {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  header .titles::after {
    font-size: 1rem;
    margin-top: 0.3rem;
  }
}

@media (max-width: 480px) {
  header .titles::after {
    font-size: 0.9rem;
  }
}

/* Make cookie consent less intrusive */
.cc-window {
  font-size: 0.9rem !important;
  padding: 1rem 1.5rem !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  border-radius: 4px !important;
}

.cc-message {
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
}

.cc-btn {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.85rem !important;
  border-radius: 3px !important;
}

/* Hide theme credit in footer */
.credits .author {
  display: none !important;
}

/* Style Credits link in footer - subtle and unobtrusive */
.credits .copyright a[href*="/page/credits"] {
  opacity: 0.6;
  font-size: 0.85em;
  transition: opacity 0.2s ease;
}

.credits .copyright a[href*="/page/credits"]:hover {
  opacity: 1;
}

/* Featured images - use original size, no resizing */
.bilberry-hugo-theme .article-wrapper .featured-image,
.bilberry-hugo-theme article .featured-image {
  width: 100% !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem 0 !important;
  margin-top: 1rem !important;
}

.bilberry-hugo-theme .article-wrapper .featured-image img,
.bilberry-hugo-theme article .featured-image img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  margin: 0 auto !important;
}

/* Force tags to display in lowercase */
.tags a,
.article-taxonomies .tags a,
a[href*="/tags/"] {
  text-transform: lowercase !important;
}

/* Mobile optimization for code blocks */
@media (max-width: 768px) {
  article .content pre code {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  article .content code:not(pre code) {
    font-size: 85% !important;
  }
}

/* Mobile optimization for cookie consent */
@media (max-width: 768px) {
  .cc-window {
    max-width: 90% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  .cc-message {
    font-size: 0.85rem !important;
  }
  
  .cc-btn {
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem !important;
  }
}

/* Industry Recognition Badges */
.recognition-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  padding: 2rem 0;
}

.recognition-badges a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.recognition-badges a:hover {
  transform: scale(1.1);
  opacity: 1;
}

.recognition-badges img {
  height: 120px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Mobile optimization for badges */
@media (max-width: 768px) {
  .recognition-badges {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .recognition-badges img {
    height: 80px;
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .recognition-badges {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .recognition-badges img {
    height: 60px;
    max-width: 120px;
  }
}

/* Fix list display: override theme's "inside" to "outside" positioning */
ol, ul {
  list-style-position: outside !important;
  padding-left: 2.5em !important;
}

