/* Acreditaciones y membresías — page-specific styles */

.lang-switch {
    text-align: right;
}

.lang-switch .tarjeta-evento-link {
    font-size: 1rem;
}

.lang-switch .tarjeta-evento-link:hover,
.lang-switch .tarjeta-evento-link:focus,
.lang-switch .tarjeta-evento-link:focus-visible,
.lang-switch .tarjeta-evento-link:active {
    text-decoration: none;
    outline: none;
    border: none;
    box-shadow: none;
}

.cred-block-wrap {
    padding-block-end: 2.5rem;
}

.cred-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cred-block__media {
    text-align: center;
}

.cred-block__media .content-image {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.cred-block__text {
    width: 100%;
}

.agenda-day__body {
    padding: 1.25rem 1.5rem;
}

.agenda-day__body a:has(img) {
    display: block;
    text-align: center;
    padding-block: 2.5rem;
}

.agenda-day__body a:has(img) img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-block: 2rem;
    -webkit-overflow-scrolling: touch;
}

.vigencia-tables .table-wrap {
    margin-block: 0;
}

.vigencia-tables .table-wrap:first-child {
    margin-block-start: 2rem;
}

.vigencia-tables .table-wrap:last-child {
    margin-block-end: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.data-table--fechas-vigencia {
    --vigencia-header-bg: #f5f5f5;
    --vigencia-header-color: #333333;
    table-layout: fixed;
}

.data-table--fechas-vigencia th:nth-child(1),
.data-table--fechas-vigencia td:nth-child(1) {
    width: 40%;
}

.data-table--fechas-vigencia th:nth-child(2),
.data-table--fechas-vigencia td:nth-child(2) {
    width: 25%;
}

.data-table--fechas-vigencia th:nth-child(3),
.data-table--fechas-vigencia td:nth-child(3) {
    width: 15%;
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 0.0625rem solid var(--color-border, #dddfe0);
}

.data-table thead th {
    font-weight: 600;
    background: var(--color-surface-alt, #f5f5f5);
}

.data-table--fechas-vigencia thead th {
    color: var(--vigencia-header-color);
    background: var(--vigencia-header-bg);
    font-weight: 700;
    padding-block: 1rem;
    border-bottom: 0.0625rem solid var(--color-border, #dddfe0);
}

.data-table--fechas-vigencia thead th.data-table__category {
    text-align: left;
}

.data-table--fechas-vigencia thead th:nth-child(2) {
    text-align: center;
}

.data-table--fechas-vigencia thead th:nth-child(3) {
    text-align: right;
}

.data-table--fechas-vigencia td:nth-child(2),
.data-table--fechas-vigencia td:nth-child(3) {
    text-align: center;
}

.data-table tbody tr:hover {
    background: var(--color-surface-alt, #f9f9f9);
}

.visually-hidden {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
