
/***
* Topbar styling starts here
*/

/* Set custom height for topbar */
:root {
    --theme-header-height: 4rem;
}


/* set custom style for menu links in topbar */
:is(.header-links) a{
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1rem !important;
}

[data-component="header"] {
    box-shadow: 0px 1px 4px 0px #00000026;
}

/********* Topbar styling Ends Here ***********/




/**************** Banner custom style starts here ***********************************/

/* Increase height of hero section */
[data-component="banner"] {
   height:31.25rem;
}

/* Change banner image for content source page */
[data-page-template="content-source"]:root {
    --theme-banner-text-color: #333;
    --theme-banner-image: url('https://scroll-support.enpass.co/images/content_banner.svg');
}
/**************** Banner custom style ends here ***********************************/

/******** Hero Section Quick Links style starts here. ************/
.hero__quick-link-container {
    color: #fff;
    margin-top: -10px;
}

.hero__quick-link {
    color: #fff;
    text-decoration: underline;
}
/******* Hero Section Quick Links style ends here**********/
/****** Hide Documentation title starts here ***/
:root[data-page-template="content-source"] {
   .pages > h2:first-of-type {
        display: none;
    }
}
/****** Hide Documentation title ends here ***/


/****** convert conent topics to card starts here ***/
:root[data-page-template="content-source"] {
  .pages > ul.list {
    row-gap: 2rem !important;
  }
}

.topic-card {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #0000001A;
}

.topic-article-link{
    color:#325FEB !important;
}
/****** convert conent topics to card ends here ***/


.button-group {
   grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    justify-content: center; /* Center-align the buttons horizontally */
    align-items: center; /* Center-align the buttons vertically within the container */
    flex-wrap: wrap; /* Allow buttons to wrap if needed */
    border-bottom: none !important;
    padding-bottom: 1rem !important;
  }
  
  /* Button */
  .button-group__button {
    border: 1px solid #0000001A;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; /* Prevent button text from wrapping */
  }
  
  /* Hover effect */
  .button-group__button:hover {
    text-decoration: none !important;
  }
  
  /* Active Button Modifier */
  .button-group__button--active {
    color: #325FEB;
    border-color: #325FEB;
  }

.variant-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-link {
    padding: 6px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    color: #1d4ed8;
}

.variant-link:hover {
    background: #325feb;
    color: #fff;
}

.variant-link--active {
    background: #325feb;
    color: #fff;
}

footer {
    background: #191919;
    color: #9ca3af;
    font-family: Inter, system-ui, sans-serif;
    grid-template-columns: 1fr;
}

.enpass-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 10px 10px;
}

/* BRAND */
.footer-brand {
    padding: 10px;
    width: 335px;
}
.footer-brand-logo {
    width: 200px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-desc {
    margin-bottom: 20px;
    font-size: 16px;
    color: #D9D9D9;
    margin-top: 20px;
    font-family: Inter, system-ui, sans-serif;
}

.footer-socials {
    display: flex;
    gap: 6px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f3f4f6;   /* light grey / white */
    border-radius: 12px;
    color: #325feb;        /* blue icon */
    transition: all 0.2s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;    /* important */
}


.social-icon:hover {
    background: #325feb;
    color: #fff;
    transform: translateY(-5px);
    transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* COLUMNS */
.footer-col {
    padding:10px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: Inter, system-ui, sans-serif;
}

.footer-col a {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #FFFFFF96;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #FFFFFF12;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 12px;
    color: #d9d9d9
}

.footer-bottom-links a {
    margin-left: 12px;
    color: #d9d9d9;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer {
        padding: 24px 12px;
    }

    .footer-content {
        font-size: 14px;
        gap: 10px;
    }

    .footer-socials a {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .footer-socials a svg {
        width: 20px;
        height: 20px;
    }
}


@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: auto;
    }

    .footer-bottom-links{
        display: none
    }

    .enpass-footer{
        padding: 60px 0 0 0;
        margin:0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-brand {
        padding: 10px 0 0 10px;
        width: 230px;
    }

    .footer-grid {
        gap: 5px;
    }


    .enpass-footer{
        padding: 60px 0 0 0;
        margin:0;
    }
}


.variant-panel {
   display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: space-between;
    gap: 10px;
    background: #f3f5f9;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    border: 1px solid #EFF0F4;
}

/* Left text */
.variant-panel__text {
    font-size: 16px;
    color: #2d3b55;
}

.variant-panel__text strong {
    font-weight: 600;
}

.variant-panel__hint {
    color: #6b7a99;
    margin-left: 4px;
}

/* Right options */
.variant-panel__options {
    display: flex;
    gap: 10px;
}

/* Buttons */
.variant-option {
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    color: #2D3B55;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

/* Hover */
.variant-option:hover {
    border-color: #2D3B55;
    color: #2D3B55;
    background: #fff;
    font-weight: 700;
}

/* Active (selected) */
.variant-option.active {
    border: 2px solid #2D3B55;
    font-weight: 700;
    color: #2D3B55;
    background: #fff;
    pointer-events: none;
}

/* DARK MODE WRAPPER */
.dark .variant-panel {
    background: #1e2430;
}

/* Text */
.dark .variant-panel__text {
    color: #cfd6e4;
}

.dark .variant-panel__text strong {
    color: #fff;
}

.dark .variant-panel__hint {
    color: #8a94a6;
}

/* Buttons */
.dark .variant-option {
    color: #cfd6e4;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 999px;
}

/* Hover */
.dark .variant-option:hover {
    background: #fff;
    color: #2a3142;
}

/* Active */
.dark .variant-option.active {
    background: #fff;
    color: #2a3142;
}