/* /anti-corruption page. Scoped under .ac-page / .anti-corruption. */
.ac-page .ac-section,
.ac-page #ceo-address {
    scroll-margin-top: calc(var(--header-height, 80px) + 1rem);
}

.ac-hero {
    aspect-ratio: 21 / 8;
    background: #eef1f5;
}
.ac-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 575.98px) {
    .ac-hero { aspect-ratio: 16 / 9; }
}

/* Tab sets (page panes, news/events). Without JS every pane is shown stacked. */
.ac-tabs-enabled > .ac-tablist {
    display: flex;
    flex-wrap: nowrap;
    gap: .25rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    max-width: 100%;
}
.ac-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: .75rem 1.1rem;
    font: inherit;
    font-weight: 600;
    color: inherit;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}
.ac-tab:hover { color: var(--bs-primary, #0d6efd); }
.ac-tab:focus-visible { outline: 2px solid var(--bs-primary, #0d6efd); outline-offset: -2px; }
.ac-tab.active {
    color: var(--bs-primary, #0d6efd);
    border-bottom-color: var(--bs-primary, #0d6efd);
}
.ac-tabs-enabled > [data-ac-pane][hidden] { display: none !important; }
/* The tab label already names the pane. */
.ac-tabs-enabled .ac-pane__title {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px !important;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ac-richtext img { max-width: 100%; height: auto; }

.ac-callout {
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: #fff;
    background: var(--bs-primary, #0d6efd);
}
@media (max-width: 575.98px) {
    .ac-callout { font-size: 1.05rem; padding: 1rem; }
}

/* Hotline */
.ac-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
    border: 2px solid currentColor;
    border-radius: 3rem;
}
.ac-phone:hover,
.ac-phone:focus-visible { background: var(--bs-primary, #0d6efd); color: #fff; }
@media (max-width: 575.98px) {
    .ac-phone { font-size: 1.15rem; padding: .5rem 1rem; }
}

.ac-faq { border-top: 1px solid rgba(0, 0, 0, .1); }
.ac-faq__item { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.ac-faq__q {
    cursor: pointer;
    padding: 1rem 2rem 1rem 0;
    font-weight: 600;
    list-style: none;
    position: relative;
}
.ac-faq__q::-webkit-details-marker { display: none; }
.ac-faq__q::after {
    content: "+";
    position: absolute;
    right: .25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
}
.ac-faq__item[open] > .ac-faq__q::after { content: "\2212"; }
.ac-faq__q:focus-visible { outline: 2px solid var(--bs-primary, #0d6efd); outline-offset: 2px; }
.ac-faq__a { padding: 0 0 1rem; }

.ac-badge { font-size: .7rem; font-weight: 600; }

/* Certificates */
.ac-gallery__link { background: #f6f7f9; }

/* Cards */
.ac-card { position: relative; transition: box-shadow .2s, transform .2s; }
.ac-card:hover { box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .12) !important; transform: translateY(-2px); }
.ac-card__media { aspect-ratio: 16 / 9; background: #eef1f5; overflow: hidden; }
.ac-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-card__link { color: inherit; text-decoration: none; }
.ac-card__link:hover { color: var(--bs-primary, #0d6efd); }
.ac-card__link:focus-visible { outline: 2px solid var(--bs-primary, #0d6efd); outline-offset: 2px; }

/* News / events */
.ac-feed-item__media { height: 100%; min-height: 160px; background: #eef1f5; }
.ac-feed-item__img { width: 100%; height: 100%; max-height: 240px; object-fit: cover; display: block; }
@media (min-width: 576px) {
    .ac-feed-item__img { max-height: none; }
}

.ac-stamp { margin-top: 1rem; }

/* Compact document card icon */
.ac-doc__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.ac-doc__actions {
    width: 100%;
}
@media (min-width: 768px) {
    .ac-doc__actions {
        width: auto;
        flex-shrink: 0;
    }
}
