/* Custom Stylesheet hash:17756406471778491963 dated 18 May, 2026 18:08:32+Asia/Karachi */
/* Add custom CSS here */

.ace_scroller {
  color:white;
}

.ace_gutter-cell {
  color:white;
}

.branding__logo {
  max-width : 300px;
  max-height: 96px;
}

.search--home {
  background-image: url('https://kayako-helpcenters-assets.s3.us-east-1.amazonaws.com/quark-enterprise/hero-banner.webp');
  background-color: rgba(35, 81, 122, 1)  !important;;
}


.hero-heading {
  color:white;
}

/* Quicklink section — one wrapper (e.g. on parent template); grid + padding on same element */
.quicklink-section,
.quicklink-section-new {
  padding: 24px 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 24px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* "New" layout: slightly smaller track so 2 columns appear sooner on narrow / tablet widths */
.quicklink-section-new {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

@media (min-width: 600px) {
  .quicklink-section-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .quicklink-section:not(.quicklink-section-new) {
    grid-template-columns: repeat(4, 1fr);
  }

  .quicklink-section.quicklink-section-new,
  .quicklink-section-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quicklink-card {
  box-sizing: border-box;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  /* align-items: flex-start; */
  padding: 24px 12px;
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-top: 0;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .quicklink-card {
    margin-top: -74px;
  }
}

.quicklink-card-new {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: min(300px, 70vh);
  display: flex;
  flex-direction: column;
  /*align-items: flex-start;*/
  padding: clamp(20px, 4vw, 36px) clamp(16px, 3vw, 28px);
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  flex-grow: 1;
}

.quicklink-card-logo {
  padding: 8px 8px;
}

.quicklink-card h2 {
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
}

.quicklink-card .quicklink-button {
  margin-top: auto;
  /* align-self: flex-start; */
}

.quicklink-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  background: #f03e6e;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  margin-top: auto;
}

.quicklink-button:hover {
/*
  background: #d93662;
  box-shadow: 0 2px 8px rgba(240, 62, 110, 0.35);
*/
  background: transparent;     /* remove fill */
  color: #f03e6e;              /* text becomes pink */
  border: 1px solid #f03e6e;   /* keep border */
}

.quicklink-button:focus-visible {
  outline: 2px solid #f03e6e;
  outline-offset: 2px;
}


.external-icon {
    width: 12px;
    height: 12px;
}

.quicklink-button .external-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Fancybox styling */
.article-content img {
  cursor: zoom-in;
  transition: opacity 0.3s;
}

/* Widen the reply to fit width of container */
.media__body {
  flex-grow: 1;
}

#view-conversation {
  padding: 20px;
  max-width: 1280px;
}

#article {
  padding: 20px; /* Adjust padding as needed */
  max-width: 1280px; /* Adjust this value to control the maximum width of the article container */
  margin-left: auto; /* Center the article container horizontally on the page */
  margin-right: auto; /* Center the article container horizontally on the page */
}

.wrap.wrap--body.wrap--article {
  max-width: 100%; /* Allow the content to take up the available width within the parent */
  margin-left: auto;
  margin-right: auto;
}

.status-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-working {
    background-color: #3b82f6; /* Blue */
    color: white;
}

.status-pending {
    background-color: #e93e35; /* Red */
    color: white;
}

.status-hold {
    background-color: #f59e0b; /* Orange/Amber */
    color: white;
}

.status-completed {
    background-color: #159500; /* Green */
    color: white;
}

.status-closed {
    background-color: #000000; /* Black */
    color: white;
}

.modal.zoomIn {
  display: block;
  height: auto;
  bottom: auto;
  right: auto;
}

/* modify the pagination in /conversation to be on top*/

main.u-mtopbig {
  display: flex;
  flex-direction: column;
}

main.u-mtopbig > section.section {
  display: contents;
}

main.u-mtopbig > section.section > h3 {
  order: 1;
}

main.u-mtopbig > .pagination {
  order: 2;
  margin: 0 0 0;
}

main.u-mtopbig > section.section > ol.listing--requests {
  order: 3;
}