p,
h1,
h2,
h3,
h4,
h5 {
    margin-bottom: 0 !important;
}

.font-weight-semibold {
    font-weight: 600;
}

.opacity-0 {
    opacity: 0;
}

.flex-grow-1 {
    flex-grow: 1;
    flex-basis: 0;
}

.flex-basis-0 {
    flex-basis: 0;
}

/* #region Text */
body {
    font-family: "Inter", sans-serif;
    line-height: normal;
    font-size: 1em;
    color: var(--primary-95);
}

.line-height-0 {
    line-height: 0;
}
/* #endregion Text */

/* #region Font Size */
.fs-05 {
    font-size: 12px;
}

.fs-1 {
    font-size: 14px !important;
}
.fs-2 {
    font-size: 16px !important;
}
.fs-3 {
    font-size: 18px !important;
}
.fs-4 {
    font-size: 24px !important;
}
.fs-5 {
    font-size: 28px !important;
}
.fs-6 {
    font-size: 32px !important;
}
/* #endregion Font Size */

/* #region Label */
label {
    margin-bottom: 8px;
}
/* #endregion Label */

/* #region Anchor */
html body a:not(.page-link,:has(>*)):not(.btn) {
    color: var(--primary-95);
    text-decoration: underline !important;
}
html body a:not(.page-link,:has(>*)):not(.btn):hover {
    color: var(--primary-70);
}
/* #endregion Anchor */

/* #region Gap */
.gap-0 {
    gap: 0;
}
.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 1rem;
}
.gap-4 {
    gap: 1.5rem;
}
.gap-5 {
    gap: 2rem;
}
.gap-6 {
    gap: 4rem;
}
/* #endregion Gaps */

/* #region hr */
hr {
    border: 1px solid var(--stroke);
    margin: 0 !important;
}

hr.hr-fade {
    background: linear-gradient(90deg, rgba(87, 96, 103, 0.00) 0%, rgba(87, 96, 103, 0.50) 48.5%, rgba(87, 96, 103, 0.00) 100%);
    border: none;
    height: 1px;
}
/* #endregion hr */

/* #region Rounded */
.rounded-1 {
    border-radius: 0.25rem;
}
.rounded-2 {
    border-radius: 0.5rem;
}
.rounded-3 {
    border-radius: 1rem;
}
.rounded-4 {
    border-radius: 1.5rem;
}
.rounded-5 {
    border-radius: 2rem;
}
/* #endregion Rounded */

/* #region Image */
.square-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--stroke);
}
/* #endregion Image */
/* #region MARK: Sizing */
.w-max-content {
    width: max-content;
}

.w-short-page {
    width: 560px;
}

.w-min-content {
    width: min-content;
}

@media only screen and (max-width: 992px) {
    .responsive-long-wording {
        --window-horizontal-padding: 27px;
        --button-width: 64px;
        --container-padding: 12px;
        --container-gap: 8px;
        --detail-button-width: 40px;

        --width-used: calc(
            var(--window-horizontal-padding) * 2
                + var(--button-width)
                + var(--container-padding) * 2
                + var(--container-gap)
                + var(--detail-button-width)
        );

        max-width: calc(100vw - var(--width-used));
    }
}

.h-0 {
    height: 0;
}
/* #endregion Sizing */

/* #region MARK: Text overflow */
.text-overflow-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* #endregion Text overflow */

/* #region MARK: Negative margins */
.ml-neg-1 {
    margin-left: -0.25rem;
}
.ml-neg-2 {
    margin-left: -0.5rem;
}
.ml-neg-3 {
    margin-left: -1rem;
}
.ml-neg-4 {
    margin-left: -1.5rem;
}
.ml-neg-5 {
    margin-left: -2rem;
}
/* #endregion Negative margins */

/* #region MARK: Responsive Size */
@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }
    .w-md-75 {
        width: 75% !important;
    }
    .w-md-50 {
        width: 50% !important;
    }
    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }
    .h-md-75 {
        height: 75% !important;
    }
    .h-md-50 {
        height: 50% !important;
    }
    .h-md-25 {
        height: 25% !important;
    }
}

@media (min-width: 1400px) {
    .w-xl-100 {
        width: 100% !important;
    }
    .w-xl-75 {
        width: 75% !important;
    }
    .w-xl-50 {
        width: 50% !important;
    }
    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }
    .h-xl-75 {
        height: 75% !important;
    }
    .h-xl-50 {
        height: 50% !important;
    }
    .h-xl-25 {
        height: 25% !important;
    }
}
/* #endregion Responsive size*/

/* #region MARK: Responsive gap */
@media (min-width: 768px) {
    .gap-md-0 {
        gap: 0;
    }
    .gap-md-1 {
        gap: 0.25rem;
    }
    .gap-md-2 {
        gap: 0.5rem;
    }
    .gap-md-3 {
        gap: 1rem;
    }
    .gap-md-4 {
        gap: 1.5rem;
    }
    .gap-md-5 {
        gap: 2rem;
    }
    .gap-md-6 {
        gap: 4rem;
    }
}
/* #endregion Responsive gap */

/* #region MARK: Responsive scroll */
@media (min-width: 768px) {
    .overflow-md-auto {
        overflow: auto !important;
    }
    .overflow-md-hidden {
        overflow: hidden !important;
    }
}
/* #endregion Responsive scroll */

/* #region MARK: Grids */
.grid-3c {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
/* #endregion Grids */

/* #region Dropdown */
.dropdown-menu {
    padding: 16px;
    border-radius: 0;

    box-shadow: var(--light-shadow);
    font-size: var(--body-font-size);
}

.dropdown-menu > .p-3 {
    padding: 0 !important;
}

.dropdown-menu .dropdown-container {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}

.dropdown-menu .dropdown-divider {
    margin: 0;
    border-color: var(--stroke);
}
/* #endregion Dropdown */