/* -------------------------- */
.info-section-common {
    max-width: 50%;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    position: relative;
    z-index: var(--manager);
}

.info-section-common pre {
    overflow-x: scroll;
    text-transform: none;
}

.info-section-common .heading {
    font-size: 1.5rem;
    font-weight: var(--boldpromax);
    border-bottom: 1px solid var(--black);
    padding-bottom: 1rem;
}

.info-section-common span {
    font-weight: var(--boldpromax);
    position: relative;
    z-index: var(--lead);
    font-size: inherit;
}

.info-section-common span::after {
    content: "";
    position: absolute;
    left: 0%;
    bottom: 0%;
    width: 100%;
    height: 10px;
    z-index: -1;
    opacity: 1;
    background: var(--yellow);
}

.info-section-common img {
    max-height: auto;
    min-width: 100%;
    object-fit: cover;
    object-position: 0% 0%;
    border: 2px solid var(--black);
}

.info-section-common p {
    font-size: 1.25rem;
}

.info-section-common ul {
    padding-left: 2.5%;
}

.info-section-common ul li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-section-common ul li:last-child {
    margin-bottom: 0;
}

.info-section-common h6 {
    font-size: 1.25rem;
    font-weight: var(--boldpromax);
    padding-left: 1rem;
    border-left: 1px solid var(--black);
}

.info-section-common .line {
    height: .5px;
    background: var(--black);
    margin-block: 1rem;
}

@media screen and (max-width: 1700px) {
    .info-section-common {
        max-width: 60%;
        margin: 0 auto 2rem;
    }

    .info-section-common p,
    .info-section-common ul li {
        font-size: 1.15rem;
    }

    .info-section-common .heading {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 800px) {
    .info-section-common {
        max-width: 90%;
        margin: 0 auto;
    }

    .info-section-common .line {
        margin-block: .5rem;
    }

    .info-section-common .heading {
        font-size: 1.35rem;
    }

    .info-section-common h6 {
        font-size: 1rem;
    }

    .info-section-common ul {
        padding-left: 5%;
    }

    .info-section-common p,
    .info-section-common ul li {
        font-size: 1rem;
    }
}

/* ------------------------ */
/* Standard search highlight */
mark.highlight {
    background-color: #ffeb3b;
    color: #000;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: var(--boldpromax);
}

/* Distinct color for the currently focused match */
mark.highlight.active {
    background-color: #ff9800;
    color: #fff;
}

.search-container {
    position: sticky;
    top: calc(100vh - 7.5rem);
    background: var(--black);
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    z-index: 1000;
    display: none;
}

.search-container input {
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 220px;
}

.search-container button {
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

.search-container button:hover {
    background-color: #0056b3;
}