/**
* Template Name: Blogy
* Template URL: https://bootstrapmade.com/blogy-bootstrap-blog-template/
* Updated: Feb 22 2025 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:
    'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --heading-font: 'Nunito', sans-serif;
  --nav-font: 'Poppins', sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f75815; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #fffff; /* The default color of the main navmenu links */
  --nav-hover-color: #f75815; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #000000; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f75815; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.dark-background {
  --background-color: #161719;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: '';
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

.header .top-row {
  padding-bottom: 10px;
}

.header .top-row .logo {
  text-decoration: none;
}

.header .top-row .logo img {
  max-height: 40px;
  margin-right: 10px;
}

.header .top-row .logo .sitename {
  font-size: 32px;
  font-weight: 400;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
}

.header .top-row .logo span {
  color: var(--accent-color);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.header .nav-wrap {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.header .mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 5px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    background-color: color-mix(in srgb, var(--default-color) 10%, white 15%);
    color: var(--nav-color);
    font-size: 24px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s;
  }

  .mobile-nav-toggle:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: '';
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title
  .breadcrumbs
  .breadcrumb
  .breadcrumb-item
  + .breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Featured Posts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Category Section Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Call To Action 2 Section
--------------------------------------------------------------*/

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Latest Posts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Category Postst Section
--------------------------------------------------------------*/
.category-postst article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  /* Required for the title's .stretched-link (BlogListing.astro) to size
     itself against this card instead of the nearest positioned ancestor
     up the tree — which, without this, would be none, stretching the
     invisible clickable layer over the rest of the page. */
  position: relative;
}

.category-postst .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.category-postst .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-postst .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.category-postst .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.category-postst .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.category-postst .title a:hover {
  color: var(--accent-color);
}

.category-postst .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.category-postst .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-details .hero-img {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
}

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

.blog-details .hero-img .meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.blog-details .hero-img .meta-overlay .meta-categories .category {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .hero-img .meta-overlay .meta-categories .category:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.blog-details .hero-img .meta-overlay .meta-categories .divider {
  color: var(--contrast-color);
  margin: 0 0.75rem;
}

@media (max-width: 768px) {
  .blog-details .hero-img {
    height: 350px;
    margin-top: -30px;
    margin-bottom: 2rem;
  }
}

.blog-details .article-content {
  padding: 0 1rem;
}

.blog-details .article-content .content-header {
  margin-bottom: 3rem;
}

.blog-details .article-content .content-header .title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-content .content-header .title {
    font-size: 2rem;
  }
}

.blog-details .article-content .content-header .author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-content .content-header .author-info .author-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details
  .article-content
  .content-header
  .author-info
  .author-details
  .info
  h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details
  .article-content
  .content-header
  .author-info
  .author-details
  .info
  .role {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-content .content-header .author-info .post-meta {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-content .content-header .author-info .post-meta i {
  margin-right: 0.3rem;
}

.blog-details
  .article-content
  .content-header
  .author-info
  .post-meta
  .divider {
  margin: 0 0.75rem;
}

.blog-details .article-content .content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.blog-details .article-content .content .lead {
  font-size: 1.3rem;
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.blog-details .article-content .content h2 {
  font-size: 2rem;
  color: var(--heading-color);
  margin: 3rem 0 1.5rem;
}

.blog-details .article-content .content p {
  margin-bottom: 1.5rem;
}

.blog-details .article-content .content ul {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
}

.blog-details .article-content .content ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.blog-details .article-content .content table {
  width: 100%;
  margin-bottom: 2rem;
  border-collapse: collapse;
  font-size: 1rem;
  overflow-x: auto;
  display: block;
}

.blog-details .article-content .content table thead {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
}

.blog-details .article-content .content table th,
.blog-details .article-content .content table td {
  padding: 0.75rem 1rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  text-align: left;
}

.blog-details .article-content .content table th {
  color: var(--heading-color);
  font-weight: 700;
}

.blog-details .article-content .content table tbody tr:nth-child(even) {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

.blog-details .article-content .meta-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  display: grid;
  gap: 2rem;
}

.blog-details .article-content .meta-bottom h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-details .article-content .meta-bottom .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-details .article-content .meta-bottom .tags .tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Author Profile Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color) 10%, transparent);
  margin-bottom: 1rem;
}

.about .section-badge i {
  font-size: 1rem;
}

.about .about-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.about .about-description {
  color: color-mix(in srgb, var(--default-color) 80%, transparent);
  line-height: 1.6;
}

.about .features-boxes .feature-box {
  height: 100%;
  position: relative;
}

.about .features-boxes .feature-box .icon-box {
  width: 60px;
  height: 60px;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color) 15%, transparent);
  color: var(--accent-color);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.about .features-boxes .feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about .features-boxes .feature-box h3 a {
  color: var(--heading-color);
}

.about .features-boxes .feature-box p {
  color: color-mix(in srgb, var(--default-color) 80%, transparent);
  margin-bottom: 0;
  line-height: 1.6;
}

.about .features-boxes .feature-box:hover .icon-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .features-boxes .feature-box:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .form-wrapper .input-group .input-group-text {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px 0 0 8px;
  padding: 12px 15px;
}

.contact .form-wrapper .input-group .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 0 8px 8px 0;
  box-shadow: none;
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 12px 15px;
}

.contact .form-wrapper .input-group .form-control:focus {
  border-color: var(--accent-color);
}

.contact .form-wrapper .input-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .form-wrapper select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 40px;
}

.contact .form-wrapper textarea.form-control {
  min-height: 160px;
}

.contact .form-wrapper button {
  background-color: var(--accent-color);
  border: 0;
  padding: 12px 40px;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 500;
}

.contact .form-wrapper button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Search Results Posts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pagination 3 Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}
/*--------------------------------------------------------------
# Custom additions (not part of the original template)
--------------------------------------------------------------*/
/* Astro's Shiki markdown renderer sets background-color via an inline
   style="..." attribute on <pre> directly — inline styles beat any
   external stylesheet rule unless it's !important. */
pre {
  background-color: #000000 !important;
}
#article-content pre {
  padding: 1rem;
  border-radius: 1rem;
}

/* Code block wrapper: sticky header bar (language label + copy button)
   above a scrollable <pre>. Ported from the same pattern used in
   d:/static-web-generator (assets/js/blog.mjs + assets/original/style.css). */
.pre-wrapper {
  position: relative;
  margin: 1.5rem 0;
  border-radius: 1rem;
  max-height: 400px;
  overflow: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#article-content .pre-wrapper pre {
  margin: 0;
  border-radius: 0;
}

.pre-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: #000000;
  z-index: 1;
}

.pre-header .language-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b949e;
}

.pre-header .copy-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pre-wrapper:hover .copy-btn,
.pre-header:focus-within .copy-btn {
  opacity: 1;
}

/* Inline code (`like this`) rendered in markdown, as opposed to fenced
   code blocks which are handled by the pre/.pre-wrapper rules above. */
#article-content :not(pre) > code {
  color: #ffffff;
  background-color: #000000;
  padding: 0.2em 0.4em;
  border-radius: 0.3rem;
}

/* MDX content components (src/components/mdx/*): Starlight-style Card,
   Tabs, FileTree and SVG chart building blocks for use in .mdx posts. */
.mdx-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
  background: var(--surface-color);
}

.mdx-card > i {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--accent-color);
  flex-shrink: 0;
}

.mdx-card-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--heading-color);
}

.mdx-card-content > :last-child {
  margin-bottom: 0;
}

.mdx-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
  margin-bottom: 1.25rem;
}

.mdx-tab-btn {
  border: none;
  background: none;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mdx-tab-btn:hover {
  color: var(--heading-color);
}

.mdx-tab-btn.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.mdx-tabs {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
}

/* .blog-details .article-content .content sets margin-bottom on the last
   child of most block elements; zero it out at the panel edges so a single
   code block or paragraph doesn't add extra space above/below the tabs. */
.blog-details .article-content .content .mdx-tab-panel > :first-child {
  margin-top: 0;
}

.blog-details .article-content .content .mdx-tab-panel > :last-child {
  margin-bottom: 0;
}

.mdx-file-tree {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
}

.mdx-file-tree ul {
  list-style: none;
}

/* .blog-details .article-content .content ul/li carry their own
   margin-bottom for regular markdown lists; out-specify them here so the
   tree stays compact instead of stacking that spacing on every level. */
.blog-details .article-content .content .mdx-file-tree ul {
  margin: 0;
  padding-left: 1.25rem;
}

.blog-details .article-content .content .mdx-file-tree > ul {
  padding-left: 0;
}

.blog-details .article-content .content .mdx-file-tree li {
  margin-bottom: 0;
  padding: 0.15rem 0 0.15rem 1.5rem;
}

.mdx-file-tree li {
  position: relative;
  line-height: 1.6;
}

.mdx-file-tree li::before {
  content: '📄';
  position: absolute;
  left: 0;
}

.mdx-file-tree li:has(> ul)::before {
  content: '📁';
}

.mdx-file-tree li > strong {
  color: var(--accent-color);
}

.mdx-chart {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
}

.mdx-chart-title {
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  text-align: center;
}

.mdx-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.mdx-chart-axis {
  stroke: color-mix(in srgb, var(--default-color), transparent 70%);
  stroke-width: 1;
}

.mdx-chart-label {
  fill: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 12px;
}

.mdx-chart-value {
  fill: var(--heading-color);
  font-size: 12px;
  font-weight: 600;
}

.mdx-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.mdx-chart-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mdx-chart-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* The template ships the sticky-header JS hook (see toggleScrolled in
   main.js) but no background for it, since it isn't sticky by default.
   Needed now that #header carries the sticky-top utility class. */
.header.sticky-top {
  background-color: var(--background-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* The template's .footer-links is designed for a vertical stack
   (.footer .footer-links ul li sets display:flex + vertical padding,
   which out-specifies any Bootstrap .list-inline-item utility). This
   site only has one footer link column, laid out as a row instead. */
.footer .footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer .footer-links ul li {
  padding: 0;
}

*:not(html, body) {
  scrollbar-width: thin;
  scrollbar-color: var(--bs-success-text-emphasis) var(--bs-tertiary-bg);
}

html,
body {
  scrollbar-color: var(--bs-success-text-emphasis) var(--bs-tertiary-bg);
}
