/* main.css */
body {
  font-family: 'Mona Sans',system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin:0px;
  cursor:default !important;
  color:#181818;
}

body.fade-init {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

::selection {
  background: transparent;
  color: inherit;
}

p {
    font-family: 'source sans 3', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

p.less {
    font-family: 'source sans 3', sans-serif;
    font-weight: 300;
    font-size: .85rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
  letter-spacing:-0.5px;
}

/* Fluid Typography Using Clamp */
h1 {
  font-size: clamp(2rem, 3.25vw, 3.5rem);     /* ~40px–64px */
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.15rem);  /* ~28px–40px */
}

h3 {
  font-size: clamp(1.5rem, 2.75vw, 2rem);  /* ~24px–32px */
}

h4 {
  font-size: clamp(1.25rem, 2.25vw, 1.75rem); /* ~20px–28px */
}

h5 {
  font-size: clamp(1.125rem, 1.75vw, 1.5rem); /* ~18px–24px */
}

h6 {
  font-size: clamp(1rem, 2vw, 1.25rem);    /* ~16px–20px */
}

.navbar-brand {
  font-size: 1.25rem;
}

footer a:hover {
  text-decoration: underline;
}

    #scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background-color: #fff; /* Or any color you like */
  z-index: 9999;
  transition: width 0.25s ease-out;
}
/*header*/

.ak-toggle {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: none;
}

/* Explicitly remove outline on all interaction states */
.ak-toggle:focus,
.ak-toggle:active,
.ak-toggle:hover {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}


/* Mobile Nav Fullscreen */
.ak-mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #333;
  transition: left 0.3s ease-in-out;
  z-index: 1050;
}

.ak-mobile-nav.open {
  left: 0;
}

/* Prevent background scroll when nav is open */
body.nav-open {
  overflow: hidden;
}


.ak-mobile-nav-inner {
  padding: 2rem 1.5rem;
  height: 100%;
  overflow-y: auto;
}

.ak-close-btn {
  display: none; /* handled via toggle */
}

.ak-mobile-nav .nav-link {
  color: #333;
  font-weight: 300;
  padding: 0.75rem 0;
  font-size: 1.1rem;
}


/* Custom hamburger toggle button */
.ak-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1060;
}

.ak-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 1px;
  transition: all 0.3s ease-in-out;
}

/* Animation for open state */
.ak-toggle.open .top {
  transform: translateY(7px) rotate(45deg);
}

.ak-toggle.open .middle {
  opacity: 0;
}

.ak-toggle.open .bottom {
  transform: translateY(-8.5px) rotate(-45deg);
}



.ak-icon {
  display: inline-flex;
    width: 17px;
    height: 17px;
    background-color: #232323;
    mask-size: cover;
    -webkit-mask-size: cover;
    margin: 0px 8px;
    background-position: center;
}

a.nav-link.px-3 {
    color: #181818;
    font-weight:300;
}

.ak-search { mask-image: url('/assets/icons/search.svg'); }
.ak-support { mask-image: url('/assets/icons/help.svg'); }
.ak-apps { mask-image: url('/assets/icons/apps.svg'); }
.ak-user { mask-image: url('/assets/icons/user-circle-solid.svg'); }


/* Topics */
.ak-topic {

    color: #333;
    font-weight: 400;
    background: #fafafa;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.ak-topic:hover, .ak-topic.active {
    color: #ffffff;
    
    background: #b33b00;
}
#topicContentContainer {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

#topicContentContainer.fade-out {
  opacity: 0;
}

h5.theme-title {
    font-size: 18px;
    font-weight:600;
    text-align: left;
    padding: 0px;
    margin: 10px 0px;
    color:#232323 !important;
}



.fa-solid, .fas {
    font-weight: 900;
    color: #e7b82c !important;
    font-size: 24px;
}

/*buttons*/
.field-link {
    position: relative;
    z-index: 9;
    bottom: 20px;
}
.field-link a
 {
    display: block;
    color: #ffffff;
    background: #000;
   
    font-size: 14px;
    margin-bottom: 30px;
    cursor: pointer;
    position: relative;
    letter-spacing: 1px;
    border: none;
    padding: 12px 30px 0px 30px;
    margin-right: 20px;
    text-align: center;
}

.field-link a::before {
    content: "";
    position: absolute;
    bottom: -12px;
    right: 6px;
    width: 30%;
    height: 12px;
    -webkit-transform: skew(-45deg);
    -ms-transform: skew(-45deg);
    transform: skew(-45deg);
    background-color: #000;
}

.field-link a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70%;
    height: 16px;
    background-color: #000;
}
/*topic*/

/* Mobile scroll styles */
@media (max-width: 767.98px) {
  .topic-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
    scrollbar-width: thin;
    scrollbar-color: #999 #eee;
  }

  .topic-scroll::-webkit-scrollbar {
    height: 0px;
  }

  .topic-scroll::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
  }

  .topic-scroll::-webkit-scrollbar-track {
    background: #eee;
  }
  
  .ak-topic {

    color: #333;
    font-weight: 400;
    background: #fafafa;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: background 0.2s ease;
    min-width: 180px;
    margin-right: 20px;
}
}

/* Desktop: restore normal stacked layout */
@media (min-width: 768px) {
  .topic-scroll {
    display: block;
    white-space: normal;
    overflow: visible;
  }

  .topic-filter {
    display: block;
    margin-bottom: 0.5rem;
  }
}

