/*
 * ADETCAM · Tema hijo V6.2.0.
 * Portada one-page, formularios CF7, área privada e integración con Astra Header/Footer.
 */

:root {
    --adetcam-red: #e50914;
    --adetcam-red-2: #ff2b2b;
    --adetcam-black: #030303;
    --adetcam-black-2: #090909;
    --adetcam-ink: #111111;
    --adetcam-white: #ffffff;
    --adetcam-soft: #f6f6f6;
    --adetcam-muted: rgba(255, 255, 255, 0.68);
    --adetcam-muted-dark: #555b66;
    --adetcam-line: rgba(255, 255, 255, 0.14);
    --adetcam-line-dark: rgba(0, 0, 0, 0.11);
    --adetcam-glass: rgba(255, 255, 255, 0.07);
    --adetcam-radius: 28px;
    --adetcam-radius-lg: 42px;
    --adetcam-shadow: 0 38px 110px rgba(0, 0, 0, 0.58);
    --adetcam-header-height: 86px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.adetcam-onepage {
    margin: 0;
    background: var(--adetcam-black);
    color: var(--adetcam-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.adetcam-onepage .site,
body.adetcam-onepage .site-content,
body.adetcam-onepage .content-area {
    max-width: none;
    padding: 0;
    margin: 0;
}

body.adetcam-onepage #content .ast-container {
    max-width: none;
    padding: 0;
    margin: 0;
}

body.adetcam-onepage a {
    color: inherit;
    text-decoration: none;
}

body.adetcam-onepage img,
body.adetcam-onepage svg,
body.adetcam-onepage video {
    max-width: 100%;
    height: auto;
}

body.adetcam-onepage a:focus-visible,
body.adetcam-onepage button:focus-visible,
body.adetcam-onepage input:focus-visible,
body.adetcam-onepage select:focus-visible,
body.adetcam-onepage textarea:focus-visible {
    outline: 3px solid rgba(229, 9, 20, 0.55);
    outline-offset: 3px;
}

body.adetcam-onepage .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

#top,
#adetcam,
#colegios,
#unete,
#actividad,
#normativa,
#contacto {
    scroll-margin-top: calc(var(--adetcam-header-height) + 1px);
}

.adetcam-container {
    width: min(1520px, calc(100% - 44px));
    margin-inline: auto;
}

.adetcam-page-shell {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.16) 0%, transparent 32%),
        radial-gradient(circle at 84% 18%, rgba(229, 9, 20, 0.32), transparent 26%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 26%),
        #030303;
}

.adetcam-page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.54;
    z-index: 0;
}

.adetcam-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    min-height: var(--adetcam-header-height);
    background: rgba(3, 3, 3, 0.78);
    border-bottom: 1px solid var(--adetcam-line);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.adetcam-header__inner {
    width: min(1440px, calc(100% - 36px));
    min-height: var(--adetcam-header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.adetcam-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.adetcam-brand__logo {
    display: block;
    width: clamp(168px, 18vw, 255px);
    height: auto;
}

.adetcam-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.adetcam-nav a {
    position: relative;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.adetcam-nav > a:not(.adetcam-nav__private):not(.adetcam-nav__cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: var(--adetcam-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.18s ease;
}

.adetcam-nav > a:hover,
.adetcam-nav > a.is-active {
    color: #fff;
}

.adetcam-nav > a:hover::after,
.adetcam-nav > a.is-active::after {
    transform: scaleX(1);
}

.adetcam-nav__private,
.adetcam-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 16px;
}

.adetcam-nav__private {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.adetcam-nav__private:hover {
    background: rgba(255, 255, 255, 0.12);
}

.adetcam-nav__cta {
    color: #fff;
    background: var(--adetcam-red);
    border: 1px solid var(--adetcam-red);
    box-shadow: 0 16px 42px rgba(229, 9, 20, 0.34);
}

.adetcam-nav__cta:hover {
    background: var(--adetcam-red-2);
    border-color: var(--adetcam-red-2);
    transform: translateY(-2px);
}

.adetcam-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 12px;
}

.adetcam-nav-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

.adetcam-main {
    position: relative;
    z-index: 2;
    padding-top: var(--adetcam-header-height);
}

.adetcam-hero {
    position: relative;
    padding: clamp(70px, 8vw, 116px) 0 58px;
}

.adetcam-hero::after {
    content: "ADETCAM";
    position: absolute;
    top: 96px;
    right: -82px;
    font-size: clamp(90px, 12vw, 190px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    z-index: -1;
    pointer-events: none;
}

.adetcam-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(36px, 5vw, 70px);
    align-items: start;
}

.adetcam-kicker,
.adetcam-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #111827;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.adetcam-kicker {
    padding: 10px 14px;
    border: 1px solid rgba(229, 9, 20, 0.45);
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.12);
    box-shadow: 0 0 0 8px rgba(229, 9, 20, 0.06);
}

.adetcam-kicker::before,
.adetcam-section-label::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--adetcam-red);
    box-shadow: 0 0 24px rgba(229, 9, 20, 0.8);
}

.adetcam-section--light .adetcam-section-label,
.adetcam-section--contact .adetcam-section-label {
    color: var(--adetcam-red);
}

.adetcam-hero h1,
.adetcam-section h2,
.adetcam-footer h2 {
    margin: 0;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.adetcam-hero h1 {
    max-width: 850px;
    font-size: clamp(58px, 8.2vw, 118px);
}

.adetcam-hero h1 span {
    color: #fff;
    position: relative;
    display: inline-block;
}

.adetcam-hero h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.17em;
    background: var(--adetcam-red);
    z-index: -1;
    transform: skew(-12deg);
}

.adetcam-lead,
.adetcam-section-intro {
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.62;
    font-weight: 400;
}

.adetcam-actions {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.adetcam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.adetcam-btn--primary {
    background: var(--adetcam-red);
    color: #fff;
    box-shadow: 0 24px 70px rgba(229, 9, 20, 0.42);
}

.adetcam-btn--primary:hover {
    transform: translateY(-3px);
    background: var(--adetcam-red-2);
    color: #fff;
}

.adetcam-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.adetcam-btn--ghost:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.adetcam-btn--link {
    color: rgba(255, 255, 255, 0.78);
    padding-inline: 8px;
}

.adetcam-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 38px;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--adetcam-shadow);
}

.adetcam-visual-card img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    display: block;
    filter: saturate(0.96) contrast(1.03);
}

.adetcam-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.48));
}

.adetcam-visual-card__badge {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    padding: 22px;
    border-radius: 24px;
    background: transparent;
    border: 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    font-size: clamp(23px, 2.5vw, 34px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-align: center;
}

.adetcam-strip {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--adetcam-line);
    border-bottom: 1px solid var(--adetcam-line);
    background: rgba(255, 255, 255, 0.035);
}

.adetcam-strip__track {
    white-space: nowrap;
    display: flex;
    gap: 30px;
    padding: 18px 0;
    transform: translateX(-40px);
}

.adetcam-strip span {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.68);
}

.adetcam-strip strong {
    color: var(--adetcam-red);
}

.adetcam-section {
    position: relative;
    padding: clamp(72px, 8vw, 112px) 0;
}

.adetcam-section h2 {
    font-size: clamp(42px, 5.5vw, 76px);
}

.adetcam-section h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1.03;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.adetcam-section--dark {
    background: transparent;
    color: #fff;
}

.adetcam-section--light,
.adetcam-section--contact {
    background: #fff;
    color: #090909;
}

.adetcam-section--light {
    border-radius: 0;
}

.adetcam-section--light + .adetcam-section--dark {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.adetcam-section--light .adetcam-section-intro,
.adetcam-section--contact .adetcam-section-intro {
    color: #252525;
}

.adetcam-two-col {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(38px, 6vw, 78px);
    align-items: start;
}

.adetcam-two-col--reverse {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.adetcam-card-grid {
    display: grid;
    gap: 16px;
}

.adetcam-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adetcam-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adetcam-card {
    min-height: 232px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--adetcam-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.adetcam-card--red {
    background: var(--adetcam-red);
    border-color: var(--adetcam-red);
}

.adetcam-card span {
    display: block;
    margin-bottom: 44px;
    color: inherit;
    opacity: 0.6;
    font-size: 12px;
    letter-spacing: 1.4px;
    font-weight: 800;
}

.adetcam-card p,
.adetcam-panel p,
.adetcam-board p,
.adetcam-comparison p,
.adetcam-roadmap li,
.adetcam-doc-list span,
.adetcam-link-cards span {
    color: inherit;
    opacity: 0.72;
    font-size: 15px;
    line-height: 1.58;
    font-weight: 400;
}

.adetcam-panel {
    margin-top: 56px;
    width: 100%;
    max-width: none;
    padding-block: clamp(34px, 5vw, 58px);
    padding-inline: max(22px, calc((100vw - 1520px) / 2));
    border-radius: 0;
    background: #fff;
    color: #080808;
    box-shadow: none;
}

.adetcam-panel--split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
}

.adetcam-check-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.adetcam-check-list li {
    position: relative;
    padding-left: 30px;
    color: inherit;
    opacity: 0.82;
    font-size: 15px;
    line-height: 1.55;
}

.adetcam-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--adetcam-red);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.adetcam-board {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 30px;
    align-items: center;
}

.adetcam-board__head {
    align-self: center;
}

.adetcam-board__head p:last-child {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.62;
}

.adetcam-board__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.adetcam-board__grid article {
    min-height: 145px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--adetcam-line);
}

.adetcam-board__grid strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.05;
}

.adetcam-board__grid span {
    display: block;
    margin-top: 46px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.adetcam-image-stack {
    overflow: hidden;
    border-radius: 34px;
    background: #050505;
    box-shadow: 0 28px 88px rgba(0, 0, 0, 0.18);
}

.adetcam-image-stack img {
    display: block;
    width: 100%;
    min-height: 460px;
    object-fit: cover;
}

.adetcam-comparison {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.adetcam-comparison > div,
.adetcam-roadmap,
.adetcam-link-cards a,
.adetcam-doc-list a,
.adetcam-form-card,
.adetcam-contact-box {
    border: 1px solid #e9e9e9;
    border-radius: 24px;
    background: #fafafa;
}

.adetcam-comparison > div {
    padding: 24px;
}

.adetcam-roadmap {
    margin-top: 34px;
    padding: clamp(26px, 4vw, 42px);
}

.adetcam-roadmap ol {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    counter-reset: roadmap;
}

.adetcam-roadmap li {
    position: relative;
    min-height: 112px;
    padding: 20px 18px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ececec;
    opacity: 1;
    color: #333;
    counter-increment: roadmap;
}

.adetcam-roadmap li::before {
    content: counter(roadmap, decimal-leading-zero);
    display: block;
    margin-bottom: 20px;
    color: var(--adetcam-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.adetcam-link-cards {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.adetcam-link-cards a {
    display: block;
    min-height: 132px;
    padding: 22px;
    color: #080808;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.adetcam-link-cards a:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 9, 20, 0.45);
}

.adetcam-link-cards span {
    display: block;
    margin-top: 16px;
    color: #555;
    opacity: 1;
    font-size: 13px;
    letter-spacing: 0;
}

.adetcam-section--join {
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.18) 0%, transparent 34%),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.07), transparent 28%),
        #030303;
    color: #fff;
}

.adetcam-join-grid,
.adetcam-contact-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(34px, 5vw, 68px);
    align-items: start;
}

.adetcam-quote {
    margin-top: 30px;
    padding: 24px;
    border-left: 6px solid var(--adetcam-red);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.adetcam-form-card {
    padding: clamp(24px, 4vw, 38px);
    color: #090909;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.34);
}

.adetcam-form-card h3 {
    margin-bottom: 8px;
}

.adetcam-form-card > p {
    color: #575757;
    line-height: 1.55;
    margin: 0 0 22px;
}

.adetcam-form-card--light {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
}

.adetcam-cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.adetcam-cf7-wide {
    grid-column: 1 / -1;
}

.adetcam-cf7-grid label,
.adetcam-cf7-check {
    display: grid;
    gap: 7px;
    color: #333;
    font-size: 13px;
    font-weight: 800;
}

.adetcam-cf7-grid input[type="text"],
.adetcam-cf7-grid input[type="email"],
.adetcam-cf7-grid input[type="tel"],
.adetcam-cf7-grid select,
.adetcam-cf7-grid textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    background: #fff;
    color: #090909;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.3;
    font-family: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.adetcam-cf7-grid textarea {
    min-height: 122px;
    resize: vertical;
}

.adetcam-cf7-grid input:focus,
.adetcam-cf7-grid select:focus,
.adetcam-cf7-grid textarea:focus {
    border-color: rgba(229, 9, 20, 0.55);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.adetcam-cf7-check {
    display: block;
    font-weight: 600;
    line-height: 1.45;
}

.adetcam-cf7-check .wpcf7-list-item {
    margin: 0;
    display: block;
}

.adetcam-cf7-check label,
.adetcam-cf7-check .wpcf7-list-item label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.adetcam-cf7-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0;
}

.adetcam-cf7-check .wpcf7-list-item-label {
    display: inline;
}

.adetcam-cf7-grid input[type="submit"] {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: var(--adetcam-red);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.adetcam-cf7-grid input[type="submit"]:hover {
    transform: translateY(-2px);
    background: var(--adetcam-red-2);
}

.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
}

.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
}

.adetcam-form-fallback,
.adetcam-admin-warning {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #fff4f4;
    border: 1px solid rgba(229, 9, 20, 0.24);
    color: #2b2b2b;
}

.adetcam-admin-warning {
    background: #fff8dd;
    border-color: #e4c55c;
}

.adetcam-activity-list {
    display: grid;
    gap: 14px;
}

.adetcam-activity-list article {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--adetcam-line);
}

.adetcam-activity-list img {
    width: 145px;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
}

.adetcam-activity-list span {
    display: block;
    margin-bottom: 8px;
    color: var(--adetcam-red-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.adetcam-activity-list h3 {
    font-size: 22px;
}

.adetcam-activity-list p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.55;
}

.adetcam-doc-list {
    display: grid;
    gap: 12px;
}

.adetcam-doc-list a {
    display: grid;
    gap: 7px;
    padding: 22px 24px;
    color: #090909;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.adetcam-doc-list a::after {
    content: "→";
    justify-self: end;
    margin-top: -38px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

.adetcam-doc-list a:hover {
    transform: translateX(4px);
    border-color: rgba(229, 9, 20, 0.38);
    background: #fff;
}

.adetcam-section--contact {
    padding-bottom: 96px;
}

.adetcam-contact-box {
    margin-top: 30px;
    padding: 24px;
    font-weight: 600;
}

.adetcam-contact-box span {
    display: block;
    margin-bottom: 8px;
    color: var(--adetcam-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.adetcam-contact-box a {
    color: #090909;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.adetcam-footer {
    position: relative;
    z-index: 2;
    background: #050505;
    color: #fff;
    padding: 54px 0;
    border-top: 1px solid var(--adetcam-line);
}

.adetcam-footer__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.7fr;
    gap: 36px;
    align-items: start;
}

.adetcam-footer img {
    width: min(245px, 100%);
    height: auto;
    margin-bottom: 20px;
}

.adetcam-footer p {
    margin: 0;
    max-width: 480px;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.62;
}

.adetcam-footer nav,
.adetcam-footer__contact {
    display: grid;
    gap: 12px;
}

.adetcam-footer a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 780;
}

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

.adetcam-footer__contact a:first-child {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}


/* Header fijo real para navegación one-page. */
body.admin-bar .adetcam-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .adetcam-header {
        top: 46px;
    }
}

@media (max-width: 1180px) {
    .adetcam-nav {
        gap: 12px;
        font-size: 12px;
    }

    .adetcam-nav__private,
    .adetcam-nav__cta {
        padding-inline: 13px;
    }
}

@media (max-width: 1040px) {
    :root {
        --adetcam-header-height: 78px;
    }

    .adetcam-nav-toggle {
        display: inline-block;
    }

    .adetcam-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border-radius: 24px;
        background: rgba(3, 3, 3, 0.96);
        border: 1px solid var(--adetcam-line);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
        white-space: normal;
    }

    .adetcam-nav.is-open {
        display: flex;
    }

    .adetcam-nav a {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .adetcam-nav > a::after {
        display: none;
    }

    .adetcam-nav__private,
    .adetcam-nav__cta {
        margin-top: 6px;
        min-height: 48px;
    }

    .adetcam-hero__grid,
    .adetcam-two-col,
    .adetcam-two-col--reverse,
    .adetcam-panel--split,
    .adetcam-board,
    .adetcam-join-grid,
    .adetcam-contact-grid,
    .adetcam-footer__inner {
        grid-template-columns: 1fr;
    }

    .adetcam-card-grid--three,
    .adetcam-card-grid--four,
    .adetcam-roadmap ol,
    .adetcam-link-cards,
    .adetcam-board__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adetcam-hero__visual {
        max-width: 680px;
    }

    .adetcam-visual-card,
    .adetcam-visual-card img {
        min-height: 430px;
    }
}

@media (max-width: 720px) {
    .adetcam-container {
        width: min(100% - 28px, 1520px);
    }

    .adetcam-header__inner {
        width: min(100% - 24px, 1440px);
    }

    .adetcam-brand__logo {
        width: 178px;
    }

    .adetcam-hero {
        padding-top: 56px;
    }

    .adetcam-hero h1,
    .adetcam-section h2 {
        letter-spacing: -0.02em;
    }

    .adetcam-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .adetcam-btn {
        width: 100%;
    }

    .adetcam-card-grid--three,
    .adetcam-card-grid--four,
    .adetcam-roadmap ol,
    .adetcam-link-cards,
    .adetcam-board__grid,
    .adetcam-comparison,
    .adetcam-cf7-grid {
        grid-template-columns: 1fr;
    }

    .adetcam-card {
        min-height: 0;
    }

    .adetcam-card span {
        margin-bottom: 28px;
    }

    .adetcam-activity-list article {
        grid-template-columns: 1fr;
    }

    .adetcam-activity-list img {
        width: 100%;
        height: 190px;
    }

    .adetcam-visual-card,
    .adetcam-visual-card img {
        min-height: 360px;
    }

    .adetcam-footer__contact a:first-child {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .adetcam-brand__logo {
        width: 152px;
    }

    .adetcam-hero h1 {
        font-size: 52px;
    }

    .adetcam-section h2 {
        font-size: 40px;
    }

    .adetcam-kicker,
    .adetcam-section-label {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.1
 * -------------------------------------------------------------------------- */

body.adetcam-onepage .adetcam-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

body.adetcam-onepage .adetcam-header__menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2vw, 28px);
    min-width: 0;
}

body.adetcam-onepage .adetcam-nav {
    justify-content: center;
    gap: clamp(14px, 1.4vw, 24px);
    min-width: 0;
}

body.adetcam-onepage .adetcam-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
}

body.adetcam-onepage .adetcam-brand__logo {
    width: clamp(156px, 16vw, 235px);
    max-height: 58px;
    object-fit: contain;
}

body.adetcam-onepage .adetcam-hero h1,
body.adetcam-onepage .adetcam-section--dark h2,
body.adetcam-onepage .adetcam-section--join h2,
body.adetcam-onepage .adetcam-footer h2 {
    color: #ffffff;
}

body.adetcam-onepage .adetcam-section--light h2,
body.adetcam-onepage .adetcam-section--contact h2 {
    color: #111827;
}

body.adetcam-onepage .adetcam-hero h1,
body.adetcam-onepage .adetcam-section h2,
body.adetcam-onepage .adetcam-footer h2 {
    line-height: 1.04;
    letter-spacing: -0.02em;
}

body.adetcam-onepage .adetcam-section h3 {
    line-height: 1.14;
    letter-spacing: -0.02em;
}

body.adetcam-onepage .adetcam-card h3,
body.adetcam-onepage .adetcam-activity-list h3,
body.adetcam-onepage .adetcam-board h3,
body.adetcam-onepage .adetcam-panel h3 {
    color: #ffffff;
}

body.adetcam-onepage .adetcam-section--light h3,
body.adetcam-onepage .adetcam-section--contact h3,
body.adetcam-onepage .adetcam-form-card h3,
body.adetcam-onepage .adetcam-comparison h3,
body.adetcam-onepage .adetcam-roadmap h3 {
    color: #111827;
}

body.adetcam-onepage .adetcam-btn--primary {
    color: #ffffff;
}

body.adetcam-onepage .adetcam-strip {
    overflow: visible;
}

body.adetcam-onepage .adetcam-strip__track {
    width: min(1520px, calc(100% - 44px));
    margin-inline: auto;
    justify-content: center;
    flex-wrap: wrap;
    transform: none;
    text-align: center;
    white-space: normal;
    gap: 16px 24px;
}

body.adetcam-onepage .adetcam-join-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(580px, 1.28fr);
    align-items: start;
}

body.adetcam-onepage .adetcam-form-card {
    border-radius: 30px;
}

body.adetcam-onepage .adetcam-cf7-grid > p {
    display: contents;
    margin: 0;
}

body.adetcam-onepage .adetcam-cf7-grid br {
    display: none;
}

body.adetcam-onepage .adetcam-cf7-grid .wpcf7-form-control-wrap {
    display: block;
}

body.adetcam-onepage .adetcam-cf7-grid input[type="text"],
body.adetcam-onepage .adetcam-cf7-grid input[type="email"],
body.adetcam-onepage .adetcam-cf7-grid input[type="tel"],
body.adetcam-onepage .adetcam-cf7-grid select,
body.adetcam-onepage .adetcam-cf7-grid textarea {
    min-height: 50px;
}

body.adetcam-onepage .adetcam-contact-grid--single-form {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
    align-items: center;
}

body.adetcam-onepage .adetcam-contact-panel {
    display: grid;
    gap: 18px;
    align-content: start;
}

body.adetcam-onepage .adetcam-contact-panel .adetcam-btn {
    width: fit-content;
}

/* Header fijo real para navegación one-page. */
body.admin-bar .adetcam-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .adetcam-header {
        top: 46px;
    }
}

@media (max-width: 1180px) {
    body.adetcam-onepage .adetcam-header__menu {
        gap: 14px;
    }

    body.adetcam-onepage .adetcam-nav {
        gap: 12px;
        font-size: 12px;
    }
}

@media (max-width: 1040px) {
    body.adetcam-onepage .adetcam-header__inner {
        display: flex;
        justify-content: space-between;
    }

    body.adetcam-onepage .adetcam-header__menu {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 10px);
        display: none;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
        border-radius: 24px;
        background: rgba(3, 3, 3, 0.97);
        border: 1px solid var(--adetcam-line);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    }

    body.adetcam-onepage .adetcam-header__menu.is-open {
        display: grid;
    }

    body.adetcam-onepage .adetcam-nav {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        white-space: normal;
    }

    body.adetcam-onepage .adetcam-header__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }

    body.adetcam-onepage .adetcam-nav__private,
    body.adetcam-onepage .adetcam-nav__cta {
        width: 100%;
        min-height: 48px;
    }

    body.adetcam-onepage .adetcam-join-grid,
    body.adetcam-onepage .adetcam-contact-grid--single-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.adetcam-onepage .adetcam-hero h1,
    body.adetcam-onepage .adetcam-section h2 {
        line-height: 1.06;
        letter-spacing: -0.02em;
    }

    body.adetcam-onepage .adetcam-strip__track {
        width: min(100% - 28px, 1520px);
        justify-content: flex-start;
        text-align: left;
    }

    body.adetcam-onepage .adetcam-contact-panel .adetcam-btn {
        width: 100%;
    }
}


/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.3
 * -------------------------------------------------------------------------- */

:root {
    --adetcam-container-max: 1520px;
    --adetcam-container-gutter: clamp(24px, 3.2vw, 64px);
}

body.adetcam-onepage .adetcam-container {
    width: min(var(--adetcam-container-max), calc(100% - (var(--adetcam-container-gutter) * 2)));
}

/* Las anclas deben quedar justo bajo la cabecera fija. */
body.adetcam-onepage #top,
body.adetcam-onepage #adetcam,
body.adetcam-onepage #colegios,
body.adetcam-onepage #unete,
body.adetcam-onepage #actividad,
body.adetcam-onepage #normativa,
body.adetcam-onepage #contacto {
    scroll-margin-top: calc(var(--adetcam-header-height) + 1px);
}

/* Hero: copy dentro de retícula, imagen empujada hasta el borde derecho del viewport. */
body.adetcam-onepage .adetcam-hero {
    overflow: hidden;
    padding-top: clamp(78px, 7vw, 108px);
}

body.adetcam-onepage .adetcam-hero__grid.adetcam-container {
    width: auto;
    max-width: none;
    margin-left: max(var(--adetcam-container-gutter), calc((100vw - var(--adetcam-container-max)) / 2));
    margin-right: 0;
    display: grid;
    grid-template-columns: minmax(420px, 0.78fr) minmax(620px, 1.22fr);
    gap: clamp(38px, 4.6vw, 86px);
}

body.adetcam-onepage .adetcam-hero__copy {
    max-width: 760px;
}

body.adetcam-onepage .adetcam-hero__visual {
    min-width: 0;
}

body.adetcam-onepage .adetcam-visual-card {
    border-radius: 38px 0 0 38px;
    min-height: clamp(520px, 44vw, 690px);
}

body.adetcam-onepage .adetcam-visual-card img {
    min-height: clamp(520px, 44vw, 690px);
}

/* Titulares: menos masa tipográfica, menos saltos feos y mejor lectura. */
body.adetcam-onepage .adetcam-hero h1,
body.adetcam-onepage .adetcam-section h2 {
    font-weight: 760;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

body.adetcam-onepage .adetcam-hero h1 {
    max-width: 780px;
    font-size: clamp(56px, 7.2vw, 104px);
    line-height: 1.02;
}

body.adetcam-onepage #adetcam-title {
    max-width: 780px;
    font-size: clamp(46px, 5.2vw, 82px);
    line-height: 1.04;
}

body.adetcam-onepage .adetcam-section-intro {
    max-width: 820px;
}

/* Sección ADETCAM: más ancho real para las cuatro tarjetas. */
body.adetcam-onepage #adetcam .adetcam-two-col {
    grid-template-columns: minmax(360px, 0.72fr) minmax(780px, 1.28fr);
    gap: clamp(42px, 5.2vw, 86px);
    align-items: center;
}

body.adetcam-onepage #adetcam .adetcam-card-grid--four {
    gap: clamp(18px, 1.6vw, 26px);
}

body.adetcam-onepage #adetcam .adetcam-card {
    min-height: 330px;
    padding: clamp(26px, 2vw, 34px);
}

body.adetcam-onepage #adetcam .adetcam-card span {
    margin-bottom: clamp(46px, 4vw, 70px);
}

body.adetcam-onepage #adetcam .adetcam-card h3 {
    font-size: clamp(25px, 1.8vw, 34px);
    line-height: 1.02;
}

body.adetcam-onepage #adetcam .adetcam-card p {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.5;
}

/* Panel blanco: full width, color completo de borde a borde y contenido con ancho de sistema. */
body.adetcam-onepage .adetcam-panel {
    padding-inline: max(var(--adetcam-container-gutter), calc((100vw - var(--adetcam-container-max)) / 2));
}

/* Hoja de ruta: pasa de tarjeta centrada a franja completa, con contenido alineado al grid general. */
body.adetcam-onepage .adetcam-roadmap.adetcam-container {
    width: 100%;
    max-width: none;
    margin: clamp(52px, 6vw, 82px) 0 0;
    padding-block: clamp(38px, 5vw, 66px);
    padding-inline: max(var(--adetcam-container-gutter), calc((100vw - var(--adetcam-container-max)) / 2));
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background: #f5f5f5;
}

body.adetcam-onepage .adetcam-roadmap h3,
body.adetcam-onepage .adetcam-roadmap ol {
    width: min(var(--adetcam-container-max), calc(100vw - (var(--adetcam-container-gutter) * 2)));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body.adetcam-onepage .adetcam-roadmap ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.5vw, 22px);
}

body.adetcam-onepage .adetcam-roadmap li {
    min-height: 132px;
    padding: 24px;
}

@media (max-width: 1280px) {
    body.adetcam-onepage .adetcam-hero__grid.adetcam-container {
        grid-template-columns: minmax(380px, 0.82fr) minmax(500px, 1.18fr);
        gap: 42px;
    }

    body.adetcam-onepage #adetcam .adetcam-two-col {
        grid-template-columns: 1fr;
    }

    body.adetcam-onepage #adetcam .adetcam-card-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    body.adetcam-onepage .adetcam-hero__grid.adetcam-container {
        width: min(var(--adetcam-container-max), calc(100% - (var(--adetcam-container-gutter) * 2)));
        margin-inline: auto;
        grid-template-columns: 1fr;
    }

    body.adetcam-onepage .adetcam-visual-card {
        border-radius: 32px;
    }

    body.adetcam-onepage #adetcam .adetcam-card-grid--four,
    body.adetcam-onepage .adetcam-roadmap ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    :root {
        --adetcam-container-gutter: 14px;
    }

    body.adetcam-onepage .adetcam-hero h1 {
        font-size: clamp(48px, 15vw, 70px);
    }

    body.adetcam-onepage #adetcam-title {
        font-size: clamp(42px, 13vw, 58px);
    }

    body.adetcam-onepage #adetcam .adetcam-card-grid--four,
    body.adetcam-onepage .adetcam-roadmap ol {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.4
 * -------------------------------------------------------------------------- */

/* Fondo inicial más negro y menos marrón/rojizo. */
body.adetcam-onepage .adetcam-page-shell {
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.08) 0%, transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(229, 9, 20, 0.12), transparent 28%),
        radial-gradient(circle at 10% 88%, rgba(255, 255, 255, 0.035), transparent 28%),
        linear-gradient(180deg, #020202 0%, #050000 52%, #020202 100%);
}

body.adetcam-onepage .adetcam-section--join {
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.10) 0%, transparent 36%),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.045), transparent 28%),
        #020202;
}

body.adetcam-onepage .adetcam-page-shell::before {
    opacity: 0.42;
}

/* Secciones: mantener altura, pero reducir cierre inferior. */
body.adetcam-onepage .adetcam-section {
    padding-top: clamp(72px, 8vw, 112px);
    padding-bottom: 80px;
}

/* Jerarquía secundaria más limpia. */
body.adetcam-onepage .adetcam-section h3 {
    font-weight: 600;
}

/* Tarjetas ADETCAM: menos aire interno para ganar lectura real. */
body.adetcam-onepage .adetcam-card {
    padding: 20px;
}

body.adetcam-onepage #adetcam .adetcam-card {
    padding: clamp(20px, 1.45vw, 26px);
}

body.adetcam-onepage #adetcam .adetcam-card span {
    margin-bottom: clamp(34px, 3vw, 52px);
}

/* Panel blanco: 100% del viewport, con columnas conservando el ancho del sistema. */
body.adetcam-onepage .adetcam-panel.adetcam-container {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: max(var(--adetcam-container-gutter), calc((100vw - var(--adetcam-container-max)) / 2));
}

/* Hoja de ruta: franja 100% consistente con el sistema. */
body.adetcam-onepage .adetcam-roadmap.adetcam-container {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Bloque de eventos construido con clases compatibles con bloques nativos de WP/Astra. */
body.adetcam-onepage .adetcam-events-block {
    margin-top: clamp(46px, 5vw, 72px);
}

body.adetcam-onepage .adetcam-events-block__head {
    max-width: 820px;
}

body.adetcam-onepage .adetcam-events-block__head h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

body.adetcam-onepage .adetcam-events-block__head p:last-child {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.62;
    font-weight: 400;
}

body.adetcam-onepage .adetcam-event-cards.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 0;
}

body.adetcam-onepage .adetcam-event-card.wp-block-column {
    min-width: 0;
    padding: clamp(22px, 2.2vw, 32px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--adetcam-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.adetcam-onepage .adetcam-event-card__date {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.14);
    color: #fff;
    border: 1px solid rgba(229, 9, 20, 0.38);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

body.adetcam-onepage .adetcam-event-card h4 {
    margin: 24px 0 0;
    color: #fff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 600;
}

body.adetcam-onepage .adetcam-event-card p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.58;
    font-weight: 400;
}

body.adetcam-onepage .adetcam-event-card__link.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    margin-top: 24px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #090909;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.adetcam-onepage .adetcam-event-card__link.wp-block-button__link:hover {
    transform: translateY(-2px);
    background: var(--adetcam-red);
    color: #fff;
}

@media (max-width: 1040px) {
    body.adetcam-onepage .adetcam-event-cards.wp-block-columns {
        grid-template-columns: 1fr;
    }
}


/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.6
 * -------------------------------------------------------------------------- */

/* Badge de la imagen: sin pastilla de fondo, solo efecto blur y texto centrado. */
body.adetcam-onepage .adetcam-visual-card__badge {
    background: transparent;
    border: 0;
    font-weight: 600;
    text-align: center;
}

/* Más respiración mínima en títulos internos de tarjetas. */
body.adetcam-onepage .adetcam-card h3 {
    padding-top: 8px;
    padding-bottom: 10px;
}

/* Etiqueta de email principal menos pesada. */
body.adetcam-onepage .adetcam-contact-box span {
    font-weight: 600;
}

/* Email del footer menos pesado. */
body.adetcam-onepage .adetcam-footer__contact a:first-child {
    font-weight: 600;
}


/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.7
 * -------------------------------------------------------------------------- */

/* Junta Directiva: mantener el texto de la izquierda centrado verticalmente frente al conjunto completo de tarjetas. */
body.adetcam-onepage .adetcam-board {
    align-items: center;
}

body.adetcam-onepage .adetcam-board__head {
    align-self: center;
}

body.adetcam-onepage .adetcam-board__vocal {
    min-height: 118px;
    background: rgba(255, 255, 255, 0.045);
}

body.adetcam-onepage .adetcam-board__vocal strong {
    font-size: 15px;
}

body.adetcam-onepage .adetcam-board__vocal span {
    margin-top: 28px;
}

/* Enlaces de colegios profesionales con peso visual más contenido. */
body.adetcam-onepage .adetcam-link-cards a {
    font-weight: 600;
}

/* Los H3 del panel blanco deben leerse en oscuro. */
body.adetcam-onepage .adetcam-panel--split h3 {
    color: #111827;
}

/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.8
 * -------------------------------------------------------------------------- */

/* Panel blanco: separar título y texto y alinear verticalmente ambos bloques. */
body.adetcam-onepage .adetcam-panel--split {
    align-items: center;
}

body.adetcam-onepage .adetcam-panel--split > div {
    align-self: center;
}

body.adetcam-onepage .adetcam-panel--split h3 {
    margin-bottom: 14px;
}

/* Junta Directiva: tarjetas homogéneas en tres renglones: puesto, nombre y TIP. */
body.adetcam-onepage .adetcam-board__grid article {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

body.adetcam-onepage .adetcam-board__grid strong {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
}

body.adetcam-onepage .adetcam-board__grid .adetcam-board__name {
    display: block;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.adetcam-onepage .adetcam-board__grid em {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.adetcam-onepage .adetcam-board__vocal {
    min-height: 132px;
}

body.adetcam-onepage .adetcam-board__vocal span {
    margin-top: 0;
}

/* Acceso socios · WordPress nativo + Wordfence + Members */
body.adetcam-login-page {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.12) 0%, transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(229, 9, 20, 0.22), transparent 28%),
        #030303;
    color: var(--adetcam-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.adetcam-login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.42;
}

.adetcam-login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 72px);
}

.adetcam-login-card {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--adetcam-shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.adetcam-login-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(36px, 6vw, 78px);
    background: var(--adetcam-red);
}

.adetcam-login-card__brand img {
    display: block;
    width: min(320px, 100%);
    height: auto;
}

.adetcam-login-card__content {
    padding: clamp(34px, 5vw, 72px);
}

.adetcam-login-card__content h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 74px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 650;
}

.adetcam-login-card__content p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
}

.adetcam-login-form-wrap {
    margin-top: 28px;
}

.adetcam-login-form-wrap form {
    display: grid;
    gap: 18px;
}

.adetcam-login-form-wrap p {
    margin: 0;
}

.adetcam-login-form-wrap label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.adetcam-login-form-wrap input[type="text"],
.adetcam-login-form-wrap input[type="password"] {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0 16px;
    font-size: 16px;
}

.adetcam-login-form-wrap .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.adetcam-login-form-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--adetcam-red);
}

.adetcam-login-form-wrap input[type="submit"] {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: var(--adetcam-red);
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 22px 58px rgba(229, 9, 20, 0.34);
}

.adetcam-login-form-wrap input[type="submit"]:hover {
    background: var(--adetcam-red-2);
}

.adetcam-login-help,
.adetcam-login-note {
    margin-top: 18px;
}

.adetcam-login-help a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.adetcam-login-note {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.62) !important;
}

.adetcam-login-status {
    margin: 28px 0 22px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
}

.adetcam-login-status strong,
.adetcam-login-status span {
    display: block;
}

.adetcam-login-status strong {
    color: #ffffff;
    font-weight: 700;
}

.adetcam-login-status span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
}

.adetcam-login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* Acceso socios · mostrar/ocultar contraseña */
.adetcam-login-form-wrap .login-password {
    position: relative;
}

.adetcam-login-form-wrap .login-password input[type="password"],
.adetcam-login-form-wrap .login-password input[type="text"] {
    padding-right: 58px;
}

.adetcam-password-toggle {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.adetcam-password-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.adetcam-password-toggle:focus-visible {
    outline: 3px solid rgba(229, 9, 20, 0.45);
    outline-offset: 3px;
}

.adetcam-password-toggle svg {
    width: 19px;
    height: 19px;
    display: block;
    pointer-events: none;
}

.adetcam-password-toggle .adetcam-eye-off {
    display: none;
}

.adetcam-password-toggle.is-visible .adetcam-eye {
    display: none;
}

.adetcam-password-toggle.is-visible .adetcam-eye-off {
    display: block;
}

@media (max-width: 860px) {
    .adetcam-login-card {
        grid-template-columns: 1fr;
    }

    .adetcam-login-card__brand {
        padding: 34px;
    }

    .adetcam-login-card__brand img {
        width: min(260px, 100%);
    }
}


/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.11
 * -------------------------------------------------------------------------- */

/* Hero en fondo blanco: mejora de contraste solicitada por cliente. */
body.adetcam-onepage .adetcam-hero {
    background: #ffffff;
    color: #111827;
}

body.adetcam-onepage .adetcam-hero::after {
    content: "ADETCAM";
    -webkit-text-stroke: 1px rgba(229, 9, 20, 0.10);
}

body.adetcam-onepage .adetcam-hero h1,
body.adetcam-onepage .adetcam-hero h1 span {
    color: #111827;
}

body.adetcam-onepage .adetcam-hero h1 span::after {
    background: rgba(229, 9, 20, 0.20);
}

body.adetcam-onepage .adetcam-hero .adetcam-kicker {
    color: #111827;
    border-color: rgba(229, 9, 20, 0.34);
    background: rgba(229, 9, 20, 0.06);
    box-shadow: 0 0 0 8px rgba(229, 9, 20, 0.035);
}

body.adetcam-onepage .adetcam-hero .adetcam-lead {
    color: #374151;
}

body.adetcam-onepage .adetcam-hero .adetcam-btn--ghost {
    color: #111827;
    border-color: rgba(17, 24, 39, 0.18);
    background: rgba(17, 24, 39, 0.045);
}

body.adetcam-onepage .adetcam-hero .adetcam-btn--ghost:hover {
    color: #111827;
    background: rgba(17, 24, 39, 0.075);
}

body.adetcam-onepage .adetcam-hero .adetcam-btn--link {
    color: #374151;
}

body.adetcam-onepage .adetcam-hero .adetcam-btn--link:hover {
    color: #111827;
}

body.adetcam-onepage .adetcam-contact-box a {
    font-size: clamp(26px, 3vw, 36px);
}


/* Páginas internas y legales: mismo header/footer del proyecto, contenido intacto de WordPress. */
body.adetcam-content-page {
    background: #ffffff;
    color: #111827;
}

.adetcam-page-shell--content {
    background: #ffffff;
    color: #111827;
}

.adetcam-page-shell--content::before {
    display: none;
}

.adetcam-page-main {
    padding-top: var(--adetcam-header-height);
}

.adetcam-page-content {
    padding: clamp(56px, 7vw, 96px) 0;
}

.adetcam-page-content > *:first-child {
    margin-top: 0;
}

.adetcam-page-content > *:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.12.2
 * Páginas legales/internas: conservar contenido en fondo blanco y texto negro.
 * Solo se mantiene la cabecera y footer del proyecto.
 * -------------------------------------------------------------------------- */
body.adetcam-onepage.adetcam-content-page,
body.adetcam-content-page {
    background: #ffffff !important;
    color: #111827 !important;
}

body.adetcam-onepage.adetcam-content-page .adetcam-page-shell,
body.adetcam-onepage.adetcam-content-page .adetcam-page-shell--content,
body.adetcam-content-page .adetcam-page-shell,
body.adetcam-content-page .adetcam-page-shell--content {
    background: #ffffff !important;
    color: #111827 !important;
}

body.adetcam-onepage.adetcam-content-page .adetcam-page-shell::before,
body.adetcam-onepage.adetcam-content-page .adetcam-page-shell--content::before,
body.adetcam-content-page .adetcam-page-shell::before,
body.adetcam-content-page .adetcam-page-shell--content::before {
    display: none !important;
    content: none !important;
}

body.adetcam-onepage.adetcam-content-page .adetcam-page-main,
body.adetcam-content-page .adetcam-page-main {
    background: #ffffff !important;
    color: #111827 !important;
    padding-top: var(--adetcam-header-height);
}

body.adetcam-onepage.adetcam-content-page .adetcam-page-content,
body.adetcam-content-page .adetcam-page-content {
    background: #ffffff !important;
    color: #111827 !important;
}

body.adetcam-onepage.adetcam-content-page .adetcam-page-content :where(h1, h2, h3, h4, h5, h6, p, li, td, th, label, strong, span),
body.adetcam-content-page .adetcam-page-content :where(h1, h2, h3, h4, h5, h6, p, li, td, th, label, strong, span) {
    color: inherit;
}

body.adetcam-onepage.adetcam-content-page .adetcam-page-content a,
body.adetcam-content-page .adetcam-page-content a {
    color: #b7040f;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}


/* --------------------------------------------------------------------------
 * ADETCAM · V1.13
 * Alternativa visual: cabecera y footer en rojo corporativo.
 * El botón de cabecera permite comparar la versión actual con la versión roja.
 * -------------------------------------------------------------------------- */
body.adetcam-onepage .adetcam-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.adetcam-onepage .adetcam-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

body.adetcam-onepage .adetcam-theme-toggle__red {
    display: none;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-theme-toggle__default {
    display: none;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-theme-toggle__red {
    display: inline;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-header {
    background: rgba(229, 9, 20, 0.96);
    border-bottom-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-nav {
    color: rgba(255, 255, 255, 0.88);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-nav > a:hover,
body.adetcam-onepage.adetcam-chrome-red .adetcam-nav > a.is-active {
    color: #ffffff;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-nav > a:not(.adetcam-nav__private):not(.adetcam-nav__cta)::after {
    background: #ffffff;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-theme-toggle,
body.adetcam-onepage.adetcam-chrome-red .adetcam-nav__private {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-theme-toggle:hover,
body.adetcam-onepage.adetcam-chrome-red .adetcam-nav__private:hover {
    background: rgba(0, 0, 0, 0.24);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-nav__cta {
    color: #111827;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-nav__cta:hover {
    color: #111827;
    background: #f3f4f6;
    border-color: #f3f4f6;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-footer {
    background: var(--adetcam-red);
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.18);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-footer p,
body.adetcam-onepage.adetcam-chrome-red .adetcam-footer a {
    color: rgba(255, 255, 255, 0.86);
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-footer a:hover,
body.adetcam-onepage.adetcam-chrome-red .adetcam-footer__contact a:first-child {
    color: #ffffff;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-footer img,
body.adetcam-onepage.adetcam-chrome-red .adetcam-brand__logo {
    filter: none;
}

@media (max-width: 1040px) {
    body.adetcam-onepage .adetcam-theme-toggle {
        width: 100%;
        min-height: 48px;
    }

    body.adetcam-onepage.adetcam-chrome-red .adetcam-header__menu {
        background: rgba(177, 4, 15, 0.98);
        border-color: rgba(255, 255, 255, 0.22);
    }
}


/* V1.13.2 · Logo específico para variante roja de cabecera/footer. */
.adetcam-brand__logo--red,
.adetcam-footer__logo--red {
    display: none;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-brand__logo--default,
body.adetcam-onepage.adetcam-chrome-red .adetcam-footer__logo--default {
    display: none;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-brand__logo--red,
body.adetcam-onepage.adetcam-chrome-red .adetcam-footer__logo--red {
    display: block;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-brand__logo--red {
    width: clamp(140px, 15vw, 220px);
    max-height: 58px;
    object-fit: contain;
}

body.adetcam-onepage.adetcam-chrome-red .adetcam-footer__logo--red {
    width: min(245px, 100%);
    height: auto;
}


/* V1.13.3 · Mapeo definitivo de logos y eliminación de efectos en imagen hero. */
body.adetcam-onepage .adetcam-visual-card {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

body.adetcam-onepage .adetcam-visual-card img {
    filter: none;
}

/* --------------------------------------------------------------------------
 * ADETCAM · Ajustes V1.15
 * Cambio estético del bloque ADETCAM y Junta Directiva: menos marrón, más negro/rojo.
 * -------------------------------------------------------------------------- */

body.adetcam-onepage #adetcam.adetcam-section--dark {
    background:
        linear-gradient(115deg, rgba(229, 9, 20, 0.10) 0%, transparent 36%),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.045), transparent 28%),
        #020202;
    color: #ffffff;
}

body.adetcam-onepage #adetcam .adetcam-section-intro,
body.adetcam-onepage #adetcam .adetcam-board__head p:last-child {
    color: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

body.adetcam-onepage #adetcam .adetcam-card,
body.adetcam-onepage #adetcam .adetcam-board__grid article {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.adetcam-onepage #adetcam .adetcam-card--red {
    background: var(--adetcam-red);
    border-color: var(--adetcam-red);
}

body.adetcam-onepage #adetcam .adetcam-card h3,
body.adetcam-onepage #adetcam .adetcam-card p,
body.adetcam-onepage #adetcam .adetcam-card span,
body.adetcam-onepage #adetcam .adetcam-board__grid strong,
body.adetcam-onepage #adetcam .adetcam-board__grid .adetcam-board__name,
body.adetcam-onepage #adetcam .adetcam-board__grid em {
    opacity: 1;
}

body.adetcam-onepage #adetcam .adetcam-card h3,
body.adetcam-onepage #adetcam .adetcam-board__grid strong {
    color: #ffffff;
}

body.adetcam-onepage #adetcam .adetcam-card p {
    color: rgba(255, 255, 255, 0.72);
}

body.adetcam-onepage #adetcam .adetcam-card span,
body.adetcam-onepage #adetcam .adetcam-board__grid em {
    color: rgba(255, 255, 255, 0.54);
}

body.adetcam-onepage #adetcam .adetcam-card--red p,
body.adetcam-onepage #adetcam .adetcam-card--red span {
    color: rgba(255, 255, 255, 0.88);
}

body.adetcam-onepage #adetcam .adetcam-board__grid .adetcam-board__name {
    color: rgba(255, 255, 255, 0.82);
}

body.adetcam-onepage #adetcam .adetcam-board__vocal {
    background: rgba(255, 255, 255, 0.045);
}


/* --------------------------------------------------------------------------
 * ADETCAM · V1.16
 * Uso del gris de “Próximos eventos” en tarjetas ADETCAM y Junta Directiva.
 * -------------------------------------------------------------------------- */
body.adetcam-onepage #adetcam .adetcam-card:not(.adetcam-card--red),
body.adetcam-onepage #adetcam .adetcam-board__grid article,
body.adetcam-onepage #adetcam .adetcam-board__vocal {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--adetcam-line);
    box-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.adetcam-onepage #adetcam .adetcam-card--red {
    background: var(--adetcam-red);
    border-color: var(--adetcam-red);
}

/* --------------------------------------------------------------------------
 * ADETCAM · V1.16.1
 * Corrección: las tarjetas ADETCAM/Junta no deben transparentar el fondo rojizo.
 * Se usa gris sólido equivalente al bloque “Próximos eventos” sobre fondo oscuro.
 * -------------------------------------------------------------------------- */
body.adetcam-onepage #adetcam .adetcam-card:not(.adetcam-card--red),
body.adetcam-onepage #adetcam .adetcam-board__grid article,
body.adetcam-onepage #adetcam .adetcam-board__vocal {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.adetcam-onepage #adetcam .adetcam-card:not(.adetcam-card--red) h3,
body.adetcam-onepage #adetcam .adetcam-board__grid article strong {
    color: #ffffff;
}

body.adetcam-onepage #adetcam .adetcam-card:not(.adetcam-card--red) p,
body.adetcam-onepage #adetcam .adetcam-board__grid article .adetcam-board__name {
    color: rgba(255, 255, 255, 0.72);
}

body.adetcam-onepage #adetcam .adetcam-card:not(.adetcam-card--red) span,
body.adetcam-onepage #adetcam .adetcam-board__grid article em {
    color: rgba(255, 255, 255, 0.54);
}


/* V2.1 · Correcciones footer y acceso socios. */
body.adetcam-onepage .adetcam-footer__logo {
    display: block;
    width: min(245px, 100%);
    height: auto;
}

body.adetcam-login-page .adetcam-login-card__brand {
    background: var(--adetcam-red);
}

/* --------------------------------------------------------------------------
 * ADETCAM V3 · Blog dinámico
 * -------------------------------------------------------------------------- */
.adetcam-activity-post h3 a,
.adetcam-post-card h2 a {
    color: inherit;
    text-decoration: none;
}

.adetcam-activity-post h3 a:hover,
.adetcam-post-card h2 a:hover {
    color: #ffffff;
}

.adetcam-activity-post__image {
    display: block;
    border-radius: 18px;
    overflow: hidden;
}

.adetcam-activity-empty {
    grid-template-columns: 1fr !important;
    min-height: 140px;
}

.adetcam-activity-actions {
    margin-top: 22px;
}

.adetcam-blog-page .adetcam-main,
.adetcam-single-page .adetcam-main {
    background:
        linear-gradient(180deg, rgba(229, 9, 20, 0.08), transparent 34%),
        #030303;
    color: #ffffff;
}

.adetcam-blog-hero,
.adetcam-single-hero {
    padding: clamp(74px, 8vw, 132px) 0 clamp(42px, 6vw, 72px);
}

.adetcam-blog-hero h1,
.adetcam-single-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 760;
    text-wrap: balance;
}

.adetcam-blog-hero p:not(.adetcam-section-label),
.adetcam-single-hero p:not(.adetcam-section-label) {
    max-width: 780px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
    font-weight: 400;
}

.adetcam-blog-list-section {
    padding: 0 0 clamp(72px, 8vw, 120px);
}

.adetcam-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.adetcam-post-card {
    overflow: hidden;
    border-radius: 30px;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 84px rgba(0, 0, 0, 0.22);
}

.adetcam-post-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #090909;
}

.adetcam-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adetcam-post-card__body {
    padding: clamp(22px, 3vw, 32px);
}

.adetcam-post-card__category {
    display: block;
    margin-bottom: 14px;
    color: var(--adetcam-red-2);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.adetcam-post-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 650;
}

.adetcam-post-card p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.58;
    font-weight: 400;
}

.adetcam-post-card__link {
    display: inline-flex;
    margin-top: 22px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.adetcam-post-card__link:hover {
    color: var(--adetcam-red-2);
}

.adetcam-pagination {
    margin-top: 42px;
}

.adetcam-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.adetcam-pagination a,
.adetcam-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.adetcam-pagination .current,
.adetcam-pagination a:hover {
    background: var(--adetcam-red);
    border-color: var(--adetcam-red);
}

.adetcam-blog-empty {
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.adetcam-blog-empty h2 {
    margin: 0 0 12px;
    color: #ffffff;
}

.adetcam-blog-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.adetcam-single-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.adetcam-single-hero__image {
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #171717;
}

.adetcam-single-hero__image img {
    width: 100%;
    height: 100%;
    min-height: clamp(360px, 38vw, 560px);
    object-fit: cover;
    display: block;
}

.adetcam-single-content {
    margin-bottom: clamp(72px, 8vw, 120px);
    padding: clamp(32px, 5vw, 72px);
    border-radius: 34px;
    background: #ffffff;
    color: #111827;
}

.adetcam-single-content > *:first-child {
    margin-top: 0;
}

.adetcam-single-content > *:last-child {
    margin-bottom: 0;
}

.adetcam-single-content p,
.adetcam-single-content li {
    color: #374151;
    font-size: 18px;
    line-height: 1.72;
    font-weight: 400;
}

.adetcam-single-content h2,
.adetcam-single-content h3,
.adetcam-single-content h4 {
    color: #111827;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (max-width: 1040px) {
    .adetcam-blog-grid,
    .adetcam-single-hero__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .adetcam-activity-list article {
        grid-template-columns: 104px 1fr;
        gap: 14px;
    }

    .adetcam-activity-list img {
        width: 104px;
        height: 92px;
    }

    .adetcam-blog-hero h1,
    .adetcam-single-hero h1 {
        font-size: clamp(40px, 14vw, 62px);
    }

    .adetcam-post-card__body,
    .adetcam-single-content {
        padding: 24px;
    }
}


/* V4.1 · Entrada individual editorial estable */
.adetcam-single-page .adetcam-main,
.adetcam-single-page .adetcam-page-shell {
    background: #f5f1ec;
    color: #111827;
}

.adetcam-single-stage {
    padding: clamp(36px, 5vw, 72px) 0 0;
}

.adetcam-single-stage__card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    gap: clamp(30px, 4.8vw, 64px);
    padding: clamp(26px, 3vw, 34px);
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.08);
}

.adetcam-single-stage__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.adetcam-single-stage__eyebrow {
    margin-bottom: 16px;
}

.adetcam-single-stage__eyebrow-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(229, 9, 20, 0.18);
    background: rgba(229, 9, 20, 0.06);
    color: var(--adetcam-red);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 800;
}

.adetcam-single-stage__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.adetcam-single-stage__meta span {
    position: relative;
}

.adetcam-single-stage__meta span + span::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.65);
    transform: translateY(-50%);
}

.adetcam-single-page h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 760;
    text-wrap: balance;
}

.adetcam-single-stage__excerpt {
    margin: 20px 0 0;
    color: #4b5563;
    font-size: clamp(18px, 1.85vw, 22px);
    line-height: 1.6;
    font-weight: 400;
    max-width: 60ch;
}

.adetcam-single-stage__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.adetcam-single-stage__author-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

.adetcam-single-stage__author strong,
.adetcam-single-stage__author span {
    display: block;
}

.adetcam-single-stage__author strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.adetcam-single-stage__author span {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

.adetcam-single-stage__visual {
    position: relative;
    overflow: hidden;
    min-height: clamp(360px, 39vw, 560px);
    border-radius: 8px;
    background: #0e1015;
}

.adetcam-single-stage__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adetcam-single-stage__shape {
    position: absolute;
    border: 1.5px solid rgba(229, 9, 20, 0.6);
    border-radius: 20px;
    pointer-events: none;
}

.adetcam-single-stage__shape--one { right: 38px; top: 34px; width: 46px; height: 84px; }
.adetcam-single-stage__shape--two { right: -18px; top: 92px; width: 72px; height: 72px; }
.adetcam-single-stage__shape--three { right: 26px; bottom: 28px; width: 90px; height: 90px; }

.adetcam-single-reading {
    padding: clamp(34px, 4vw, 48px) 0 clamp(78px, 8vw, 120px);
}

.adetcam-single-reading__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.adetcam-single-reading__content {
    min-width: 0;
    padding: clamp(30px, 3.5vw, 40px);
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06);
}

.adetcam-single-reading__content > *:first-child { margin-top: 0; }
.adetcam-single-reading__content > *:last-child { margin-bottom: 0; }

.adetcam-single-reading__content > p:first-of-type::first-letter {
    float: left;
    margin: 6px 10px 0 0;
    color: #111827;
    font-size: 64px;
    line-height: 0.8;
    font-weight: 700;
}

.adetcam-single-reading__content p,
.adetcam-single-reading__content li {
    color: #374151;
    font-size: 18px;
    line-height: 1.76;
    font-weight: 400;
}

.adetcam-single-reading__content h2,
.adetcam-single-reading__content h3,
.adetcam-single-reading__content h4 {
    margin-top: 34px;
    margin-bottom: 14px;
    color: #111827;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.adetcam-single-reading__content h2 {
    font-size: clamp(28px, 3vw, 36px);
}

.adetcam-single-reading__content blockquote {
    margin: 28px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--adetcam-red);
    background: #f9fafb;
    color: #111827;
    border-radius: 0 18px 18px 0;
}

.adetcam-single-reading__content a {
    color: var(--adetcam-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.adetcam-single-aside {
    position: sticky;
    top: calc(var(--adetcam-header-height) + 24px);
}

.adetcam-single-aside__box {
    padding: 22px 22px 24px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06);
}

.adetcam-single-aside__box h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.adetcam-single-aside__box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.adetcam-single-aside__box li {
    padding: 14px 0;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.adetcam-single-aside__box li:first-child {
    padding-top: 0;
    border-top: 0;
}

.adetcam-single-aside__box span,
.adetcam-single-aside__box strong { display: block; }

.adetcam-single-aside__box span {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.adetcam-single-aside__box strong {
    margin-top: 6px;
    color: #111827;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 650;
}

.adetcam-single-aside__actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.adetcam-single-aside__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.adetcam-single-aside__button--primary {
    background: var(--adetcam-red);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(229, 9, 20, 0.18);
}

.adetcam-single-aside__button--secondary {
    background: #111111;
    color: #ffffff;
}

.adetcam-single-related {
    padding: 0 0 clamp(84px, 9vw, 124px);
}

.adetcam-single-related__head {
    margin-bottom: 24px;
}

.adetcam-single-related__head h2 {
    margin: 10px 0 0;
    color: #111827;
    font-size: clamp(34px, 3.8vw, 54px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-single-related .adetcam-post-card {
    background: #111111;
    border-color: rgba(17, 24, 39, 0.06);
}

.adetcam-single-related .adetcam-post-card h2,
.adetcam-single-related .adetcam-post-card__link,
.adetcam-single-related .adetcam-post-card__category { color: #ffffff; }
.adetcam-single-related .adetcam-post-card p { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 1040px) {
    .adetcam-single-stage__card,
    .adetcam-single-reading__grid { grid-template-columns: 1fr; }
    .adetcam-single-aside { position: static; }
}

@media (max-width: 720px) {
    .adetcam-single-stage__card { padding: 22px; border-radius: 0 0 24px 24px; }
    .adetcam-single-page h1 { font-size: clamp(34px, 12vw, 50px); }
    .adetcam-single-stage__visual { min-height: 280px; }
    .adetcam-single-reading__content,
    .adetcam-single-aside__box { padding: 22px; }
    .adetcam-single-reading__content p,
    .adetcam-single-reading__content li { font-size: 17px; }
}


/* V4.2 · Single post - dossier profesional fiel a propuesta 2 */
body.adetcam-single-page--v4,
body.adetcam-single-page--v4 .adetcam-page-shell,
body.adetcam-single-page--v4 .adetcam-main {
    background: #ffffff !important;
    color: #111827;
}

body.adetcam-single-page--v4 .adetcam-main {
    padding-top: var(--adetcam-header-height);
}

body.adetcam-single-page--v4 .adetcam-container {
    width: min(1320px, calc(100% - 88px));
}

.adetcam-dossier-hero {
    padding: clamp(44px, 5vw, 74px) 0 clamp(32px, 4vw, 54px);
    background: #ffffff;
}

.adetcam-dossier-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(48px, 6vw, 84px);
    align-items: center;
}

.adetcam-dossier-hero__copy {
    max-width: 560px;
}

.adetcam-dossier-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 18px;
    padding: 0 11px;
    border: 1px solid rgba(229, 9, 20, 0.30);
    border-radius: 999px;
    color: var(--adetcam-red);
    background: rgba(229, 9, 20, 0.045);
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.adetcam-dossier-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.adetcam-dossier-meta span + span {
    position: relative;
}

.adetcam-dossier-meta span + span::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.65);
    transform: translateY(-50%);
}

body.adetcam-single-page--v4 .adetcam-dossier-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(42px, 5.2vw, 74px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 780;
    text-wrap: balance;
}

.adetcam-dossier-excerpt {
    margin: 22px 0 0;
    color: #4b5563;
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.55;
    font-weight: 400;
}

.adetcam-dossier-author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
}

.adetcam-dossier-author__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.adetcam-dossier-author strong,
.adetcam-dossier-author span {
    display: block;
}

.adetcam-dossier-author strong {
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}

.adetcam-dossier-author span {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
}

.adetcam-dossier-hero__image {
    position: relative;
    min-height: clamp(360px, 34vw, 520px);
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #111111;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

.adetcam-dossier-hero__image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.adetcam-dossier-shape {
    position: absolute;
    border: 1px solid rgba(229, 9, 20, 0.58);
    border-radius: 18px;
    pointer-events: none;
}

.adetcam-dossier-shape--one {
    right: 40px;
    top: 42px;
    width: 56px;
    height: 96px;
}

.adetcam-dossier-shape--two {
    right: -28px;
    top: 122px;
    width: 92px;
    height: 92px;
}

.adetcam-dossier-shape--three {
    right: 34px;
    bottom: 34px;
    width: 96px;
    height: 96px;
}

.adetcam-dossier-body {
    padding: 0 0 clamp(56px, 6vw, 86px);
    background: #ffffff;
}

.adetcam-dossier-body__grid {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    gap: clamp(42px, 5vw, 76px);
    align-items: start;
    justify-content: center;
}

.adetcam-dossier-content {
    min-width: 0;
    max-width: 760px;
    padding: 0;
    background: transparent;
    color: #111827;
}

.adetcam-dossier-content > *:first-child {
    margin-top: 0;
}

.adetcam-dossier-content > *:last-child {
    margin-bottom: 0;
}

.adetcam-dossier-content > p:first-of-type::first-letter {
    float: left;
    margin: 7px 12px 0 0;
    color: #111827;
    font-size: 76px;
    line-height: 0.75;
    font-weight: 760;
}

.adetcam-dossier-content p,
.adetcam-dossier-content li {
    width: 100%;
    max-width: 72ch;
    color: #374151;
    font-size: 18px;
    line-height: 1.82;
    font-weight: 400;
}

.adetcam-dossier-content p {
    margin: 0 0 22px;
}

.adetcam-dossier-content ul,
.adetcam-dossier-content ol {
    margin: 20px 0 26px;
    padding-left: 1.25em;
}

.adetcam-dossier-content h2,
.adetcam-dossier-content h3,
.adetcam-dossier-content h4 {
    max-width: 760px;
    margin: 46px 0 16px;
    color: #111827;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 760;
}

.adetcam-dossier-content h2 {
    font-size: clamp(30px, 3vw, 40px);
}

.adetcam-dossier-content h3 {
    font-size: clamp(24px, 2.5vw, 32px);
}

.adetcam-dossier-content blockquote {
    max-width: 760px;
    margin: 34px 0;
    padding: 26px 30px;
    border-left: 4px solid var(--adetcam-red);
    border-radius: 0 18px 18px 0;
    background: #fbf3f3;
    color: #111827;
}

.adetcam-dossier-content blockquote p {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 650;
}

.adetcam-dossier-content a {
    color: var(--adetcam-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.adetcam-dossier-sidebar {
    position: sticky;
    top: calc(var(--adetcam-header-height) + 28px);
    display: grid;
    gap: 22px;
}

.adetcam-dossier-sidebar__card,
.adetcam-dossier-sidebar__cta {
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, 0.09);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(17, 24, 39, 0.07);
}

.adetcam-dossier-sidebar__card h2,
.adetcam-dossier-sidebar__cta h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 760;
}

.adetcam-dossier-sidebar__card dl,
.adetcam-dossier-sidebar__card div {
    margin: 0;
}

.adetcam-dossier-sidebar__card dl > div {
    padding: 14px 0;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.adetcam-dossier-sidebar__card dl > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.adetcam-dossier-sidebar__card dt {
    margin: 0 0 5px;
    color: var(--adetcam-red);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 800;
}

.adetcam-dossier-sidebar__card dd {
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.42;
    font-weight: 650;
}

.adetcam-dossier-sidebar__card--links {
    display: grid;
    gap: 12px;
}

.adetcam-dossier-sidebar__card--links h2 {
    margin-bottom: 4px;
}

.adetcam-dossier-sidebar__card--links a,
.adetcam-dossier-sidebar__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

.adetcam-dossier-sidebar__card--links a:first-of-type {
    background: var(--adetcam-red);
    color: #ffffff;
}

.adetcam-dossier-sidebar__card--links a:last-of-type {
    background: #111111;
    color: #ffffff;
}

.adetcam-dossier-sidebar__cta {
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.08), rgba(229, 9, 20, 0.03)), #ffffff;
}

.adetcam-dossier-sidebar__cta p {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}

.adetcam-dossier-sidebar__cta a {
    background: var(--adetcam-red);
    color: #ffffff;
}

.adetcam-dossier-related {
    padding: 0 0 clamp(58px, 6vw, 88px);
    background: #ffffff;
}

.adetcam-dossier-related__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.adetcam-dossier-related__head h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 780;
}

.adetcam-dossier-related__head a {
    color: var(--adetcam-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

.adetcam-dossier-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.adetcam-dossier-related-card {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(17, 24, 39, 0.08);
}

.adetcam-dossier-related-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111111;
}

.adetcam-dossier-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adetcam-dossier-related-card > div {
    padding: 22px;
}

.adetcam-dossier-related-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--adetcam-red);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 850;
}

.adetcam-dossier-related-card h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 750;
}

.adetcam-dossier-related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.adetcam-dossier-related-card p {
    margin: 13px 0 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}

.adetcam-dossier-bottom-cta {
    padding: 0 0 clamp(72px, 8vw, 110px);
    background: #ffffff;
}

.adetcam-dossier-bottom-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: clamp(26px, 3.6vw, 40px);
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.10), rgba(229, 9, 20, 0.03));
    border: 1px solid rgba(229, 9, 20, 0.10);
}

.adetcam-dossier-bottom-cta__box h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 760;
}

.adetcam-dossier-bottom-cta__box p {
    margin: 8px 0 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.55;
}

.adetcam-dossier-bottom-cta__box a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--adetcam-red);
    color: #ffffff;
    text-decoration: none;
    font-weight: 850;
}

@media (max-width: 1120px) {
    .adetcam-dossier-hero__grid,
    .adetcam-dossier-body__grid {
        grid-template-columns: 1fr;
    }

    .adetcam-dossier-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body.adetcam-single-page--v4 .adetcam-container {
        width: min(100% - 34px, 1320px);
    }

    .adetcam-dossier-hero__grid,
    .adetcam-dossier-body__grid {
        gap: 30px;
    }

    .adetcam-dossier-sidebar,
    .adetcam-dossier-related__grid {
        grid-template-columns: 1fr;
    }

    .adetcam-dossier-related__head,
    .adetcam-dossier-bottom-cta__box {
        align-items: flex-start;
        flex-direction: column;
    }

    body.adetcam-single-page--v4 .adetcam-dossier-hero h1 {
        font-size: clamp(36px, 12vw, 54px);
    }

    .adetcam-dossier-content p,
    .adetcam-dossier-content li {
        font-size: 17px;
    }
}


/* V4.3 · Afinado entrada individual según feedback */
.adetcam-dossier-author__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #111111;
    overflow: hidden;
    flex: 0 0 42px;
}

.adetcam-dossier-author__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adetcam-dossier-sidebar__card--links {
    padding: 18px;
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.adetcam-dossier-sidebar__card--links a {
    min-height: 52px;
    font-size: 15px;
}

.adetcam-dossier-sidebar__card--links a:first-of-type {
    background: var(--adetcam-red);
    color: #ffffff;
}

.adetcam-dossier-sidebar__card--links a:last-of-type {
    background: #ffffff;
    color: #111111;
}

.adetcam-dossier-sidebar__cta {
    background: #ffffff;
}

.adetcam-dossier-bottom-cta__box {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), #171717;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.adetcam-dossier-bottom-cta__box h2,
.adetcam-dossier-bottom-cta__box p {
    color: #ffffff;
}

.adetcam-dossier-bottom-cta__box p {
    color: rgba(255,255,255,0.76);
}

.adetcam-dossier-related__head {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.adetcam-dossier-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.adetcam-dossier-related-card {
    border-radius: 18px;
}

.adetcam-dossier-related-card > div {
    padding: 18px;
}

.adetcam-dossier-related-card h3 {
    font-size: 18px;
    line-height: 1.12;
}

.adetcam-dossier-related-card p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.adetcam-dossier-related__footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.adetcam-dossier-related__footer a {
    color: var(--adetcam-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

@media (max-width: 1180px) {
    .adetcam-dossier-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .adetcam-dossier-related__footer {
        justify-content: flex-start;
    }
}


/* V4.4 · Ajustes tipografía y botones */
.adetcam-dossier-sidebar__card dd {
    font-weight: 400;
}

.adetcam-dossier-sidebar__card--links a,
.adetcam-dossier-sidebar__cta a,
.adetcam-dossier-bottom-cta__box a {
    font-weight: 600;
}

.adetcam-dossier-sidebar__cta a,
.adetcam-dossier-bottom-cta__box a,
.adetcam-dossier-sidebar__card--links a:first-of-type,
.adetcam-dossier-sidebar__card--links a:last-of-type {
    color: #ffffff;
}

.adetcam-dossier-author__mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.adetcam-dossier-author__mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}


/* V4.5 · Ajuste final bloque acciones, botones e imágenes limpias */
.adetcam-dossier-shape,
.adetcam-single-stage__shape {
    display: none !important;
}

.adetcam-dossier-hero__image img,
.adetcam-dossier-related-card__image img,
.adetcam-post-card__image img,
.adetcam-activity-post__image img {
    filter: none !important;
}

.adetcam-dossier-sidebar__card dd {
    font-weight: 400 !important;
}

.adetcam-dossier-sidebar__card--links {
    padding: 18px !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08) !important;
}

.adetcam-dossier-sidebar__card--links a,
.adetcam-dossier-sidebar__cta a,
.adetcam-dossier-bottom-cta__box a {
    font-weight: 600 !important;
}

.adetcam-dossier-sidebar__card--links a:first-of-type {
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
}

.adetcam-dossier-sidebar__card--links a:last-of-type {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid rgba(17, 24, 39, 0.10) !important;
}

.adetcam-dossier-sidebar__cta {
    background: #ffffff !important;
}

.adetcam-dossier-sidebar__cta a {
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
}

.adetcam-dossier-bottom-cta__box {
    background: #171717 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.adetcam-dossier-bottom-cta__box h2 {
    color: #ffffff !important;
}

.adetcam-dossier-bottom-cta__box p {
    color: rgba(255, 255, 255, 0.76) !important;
}

.adetcam-dossier-bottom-cta__box a {
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
}


/* V4.6 · Reordenación sidebar entrada */
.adetcam-dossier-sidebar__card--links {
    display: block !important;
}

.adetcam-dossier-sidebar__card--links a:first-of-type {
    width: 100%;
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.adetcam-dossier-sidebar__cta {
    display: grid;
    gap: 14px;
}

.adetcam-dossier-sidebar__cta a {
    width: 100%;
    min-height: 46px;
    font-weight: 600 !important;
}

.adetcam-dossier-sidebar__cta a:not(.adetcam-dossier-sidebar__private) {
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
}

.adetcam-dossier-sidebar__private {
    background: #111111 !important;
    color: #ffffff !important;
}


/* V4.7 · Sidebar refinada */
.adetcam-dossier-sidebar__card--links {
    background: #ffffff !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06) !important;
}

.adetcam-dossier-sidebar__card--links a:first-of-type {
    display: inline-block !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.adetcam-dossier-sidebar__cta {
    background: #171717 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.adetcam-dossier-sidebar__cta h2 {
    color: #ffffff !important;
}

.adetcam-dossier-sidebar__cta p {
    color: rgba(255, 255, 255, 0.76) !important;
}

.adetcam-dossier-sidebar__cta a:not(.adetcam-dossier-sidebar__private) {
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
}

.adetcam-dossier-sidebar__private {
    background: #ffffff !important;
    color: #111111 !important;
}


/* V4.8 · Ajuste específico sidebar: enlace centrado y área privada blanca */
.adetcam-dossier-sidebar__card--links {
    text-align: center !important;
}

.adetcam-dossier-sidebar__card--links a:first-of-type {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    color: #111111 !important;
}

.adetcam-dossier-sidebar__cta .adetcam-dossier-sidebar__private,
.adetcam-dossier-sidebar__private {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid rgba(17, 24, 39, 0.10) !important;
}

/* V5 · Página de actividad con noticias y agenda */
body.adetcam-activity-hub-page,
body.adetcam-activity-hub-page .adetcam-page-shell,
body.adetcam-activity-hub-page .adetcam-main,
body.adetcam-activity-archive-page,
body.adetcam-activity-archive-page .adetcam-page-shell,
body.adetcam-activity-archive-page .adetcam-main {
    background: #ffffff !important;
    color: #111827;
}

body.adetcam-activity-hub-page .adetcam-main,
body.adetcam-activity-archive-page .adetcam-main {
    padding-top: var(--adetcam-header-height);
}

body.adetcam-activity-hub-page .adetcam-container,
body.adetcam-activity-archive-page .adetcam-container {
    width: min(1320px, calc(100% - 88px));
}

.adetcam-activity-hero,
.adetcam-activity-archive-hero {
    padding: clamp(44px, 5vw, 76px) 0 clamp(28px, 4vw, 44px);
    background: #ffffff;
}

.adetcam-activity-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(26px, 4vw, 48px);
    align-items: start;
}

.adetcam-activity-hero__copy h1,
.adetcam-activity-archive-hero h1 {
    margin: 8px 0 18px;
    color: #111827;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.96;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-activity-hero__copy p:not(.adetcam-section-label),
.adetcam-activity-archive-hero p:not(.adetcam-section-label) {
    max-width: 760px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
}

.adetcam-activity-hero__note {
    padding: 24px 26px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.05);
}

.adetcam-activity-hero__note h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 720;
}

.adetcam-activity-hero__note p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.adetcam-activity-section,
.adetcam-activity-archive-list {
    padding: 0 0 clamp(68px, 8vw, 104px);
    background: #ffffff;
}

.adetcam-activity-section--alt {
    background: #f8fafc;
    padding-top: clamp(52px, 6vw, 78px);
}

.adetcam-activity-section__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.adetcam-activity-section__head h2 {
    margin: 8px 0 12px;
    color: #111827;
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-activity-section__head p {
    margin: 0;
    max-width: 760px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}

.adetcam-activity-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
    gap: clamp(24px, 3vw, 34px);
    align-items: stretch;
}

.adetcam-activity-featured-card,
.adetcam-activity-mini-card,
.adetcam-activity-agenda-card,
.adetcam-activity-empty,
.adetcam-post-card {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.06);
}

.adetcam-activity-featured-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
    min-height: 100%;
}

.adetcam-activity-featured-card__media,
.adetcam-activity-mini-card__media,
.adetcam-activity-agenda-card__media {
    display: block;
    overflow: hidden;
}

.adetcam-activity-featured-card__media {
    min-height: 100%;
}

.adetcam-activity-featured-card__media img,
.adetcam-activity-mini-card__media img,
.adetcam-activity-agenda-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adetcam-activity-featured-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 3.5vw, 40px);
}

.adetcam-activity-card__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--adetcam-red);
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.adetcam-activity-featured-card h3,
.adetcam-activity-mini-card h3,
.adetcam-activity-agenda-card h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-activity-mini-card h3,
.adetcam-activity-agenda-card h3 {
    font-size: clamp(22px, 2vw, 32px);
}

.adetcam-activity-featured-card h3 a,
.adetcam-activity-mini-card h3 a,
.adetcam-activity-agenda-card h3 a {
    color: inherit;
    text-decoration: none;
}

.adetcam-activity-featured-card p,
.adetcam-activity-mini-card p,
.adetcam-activity-agenda-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}

.adetcam-activity-card__link {
    margin-top: 18px;
    color: #111827;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
}

.adetcam-activity-card__link:hover {
    color: var(--adetcam-red);
}

.adetcam-activity-news-grid {
    display: grid;
    gap: 20px;
}

.adetcam-activity-mini-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 184px;
}

.adetcam-activity-mini-card__content,
.adetcam-activity-agenda-card__content {
    padding: 24px 24px 26px;
}

.adetcam-activity-agenda-grid,
.adetcam-activity-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 28px);
}

.adetcam-activity-agenda-card {
    overflow: hidden;
}

.adetcam-activity-agenda-card__media {
    aspect-ratio: 16 / 10;
}

.adetcam-activity-section__footer-link {
    margin-top: 26px;
}

.adetcam-activity-section__footer-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
}

.adetcam-activity-section__footer-link a:hover {
    color: var(--adetcam-red);
}

.adetcam-activity-empty {
    padding: 32px;
}

.adetcam-activity-empty h2,
.adetcam-activity-empty h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 720;
}

.adetcam-activity-empty p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.adetcam-activity-archive-grid .adetcam-post-card {
    height: 100%;
}

body.adetcam-activity-archive-page .adetcam-post-card {
    overflow: hidden;
}

body.adetcam-activity-archive-page .adetcam-post-card__body {
    padding: 24px 24px 28px;
}

body.adetcam-activity-archive-page .adetcam-post-card__category {
    color: var(--adetcam-red);
}

body.adetcam-activity-archive-page .adetcam-post-card h2 {
    color: #111827;
}

body.adetcam-activity-archive-page .adetcam-post-card p {
    color: #4b5563;
}

body.adetcam-activity-archive-page .adetcam-post-card__link {
    color: #111827;
}

@media (max-width: 1180px) {
    .adetcam-activity-hero__inner,
    .adetcam-activity-news-layout,
    .adetcam-activity-featured-card {
        grid-template-columns: 1fr;
    }

    .adetcam-activity-featured-card__media {
        min-height: 360px;
    }

    .adetcam-activity-agenda-grid,
    .adetcam-activity-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .adetcam-activity-mini-card {
        grid-template-columns: 1fr;
    }

    .adetcam-activity-mini-card__media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 720px) {
    body.adetcam-activity-hub-page .adetcam-container,
    body.adetcam-activity-archive-page .adetcam-container {
        width: min(1320px, calc(100% - 40px));
    }

    .adetcam-activity-agenda-grid,
    .adetcam-activity-archive-grid {
        grid-template-columns: 1fr;
    }

    .adetcam-activity-hero__copy h1,
    .adetcam-activity-archive-hero h1,
    .adetcam-activity-section__head h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .adetcam-activity-featured-card__media {
        min-height: 260px;
    }

    .adetcam-activity-featured-card__content,
    .adetcam-activity-mini-card__content,
    .adetcam-activity-agenda-card__content,
    .adetcam-activity-empty {
        padding: 22px;
    }
}

/* V5.1 · Actividad según boceto del cliente */
body.adetcam-activity-hub-page,
body.adetcam-activity-hub-page .adetcam-page-shell,
body.adetcam-activity-hub-page .adetcam-main {
    background: #fafaff !important;
    color: #111827;
}

body.adetcam-activity-hub-page .adetcam-main {
    padding-top: var(--adetcam-header-height);
}

body.adetcam-activity-hub-page .adetcam-container {
    width: min(1120px, calc(100% - 56px));
}

body.adetcam-activity-hub-page .adetcam-activity-hero,
body.adetcam-activity-hub-page .adetcam-activity-section,
body.adetcam-activity-hub-page .adetcam-activity-section--alt {
    display: none !important;
}

.adetcam-activity-pagehead {
    padding: 34px 0 18px;
}

.adetcam-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
}

.adetcam-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.adetcam-activity-pagehead h1 {
    margin: 0 0 8px;
    color: #111827;
    font-size: clamp(38px, 4.4vw, 54px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-activity-pagehead p {
    margin: 0;
    max-width: 520px;
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.adetcam-activity-boxes {
    padding: 0 0 72px;
}

.adetcam-activity-boxes__stack {
    display: grid;
    gap: 22px;
}

.adetcam-activity-box {
    padding: 22px 22px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.adetcam-activity-box__head {
    margin-bottom: 14px;
}

.adetcam-activity-box__head h2 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.adetcam-activity-news-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.adetcam-activity-news-card {
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.adetcam-activity-news-card__image {
    display: block;
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    border-radius: 3px;
    background: #ffffff;
    line-height: 0;
}


.adetcam-activity-news-card__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover;
    vertical-align: top;
}


.adetcam-activity-news-card__content {
    padding-top: 10px;
}

.adetcam-activity-news-card__content h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.adetcam-activity-news-card__content h3 a {
    color: inherit;
    text-decoration: none;
}

.adetcam-activity-news-card__content time {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.adetcam-activity-agenda-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.adetcam-activity-agenda-card-v2 {
    min-width: 0;
}

.adetcam-activity-agenda-card-v2__link {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    padding: 18px 18px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.adetcam-activity-agenda-card-v2__link:hover {
    border-color: rgba(229, 9, 20, 0.26);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    transform: translateY(-1px);
}

.adetcam-activity-agenda-card-v2__date {
    display: grid;
    align-content: start;
    justify-items: center;
    width: 80px;
    min-height: 156px;
    padding: 12px 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.adetcam-activity-agenda-card-v2__day {
    color: #111827;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.adetcam-activity-agenda-card-v2__month {
    margin-top: 5px;
    color: var(--adetcam-red);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.adetcam-activity-agenda-card-v2__content {
    min-width: 0;
}

.adetcam-activity-agenda-card-v2__content h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.adetcam-activity-agenda-card-v2__content p {
    margin: 0 0 10px;
    color: #374151;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
}

.adetcam-activity-agenda-card-v2__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.adetcam-activity-box__footer {
    margin-top: 18px;
}

.adetcam-activity-box__footer--center {
    text-align: center;
}

.adetcam-activity-box__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 176px;
    min-height: 38px;
    padding: 9px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.adetcam-activity-box__button--ghost {
    background: #ffffff;
    border: 1px solid #bfc5cf;
    color: #111827;
}

.adetcam-activity-box__button--ghost:hover {
    border-color: #111827;
    color: #111827;
}

.adetcam-activity-box__button--primary {
    background: #ffffff;
    border: 1px solid #bfc5cf;
    color: #111827;
}

.adetcam-activity-box__button--primary:hover {
    border-color: #111827;
    color: #111827;
    background: #ffffff;
}

@media (max-width: 980px) {
    .adetcam-activity-news-cards,
    .adetcam-activity-agenda-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.adetcam-activity-hub-page .adetcam-container {
        width: min(1120px, calc(100% - 28px));
    }

    .adetcam-activity-news-cards,
    .adetcam-activity-agenda-cards {
        grid-template-columns: 1fr;
    }

    .adetcam-activity-box {
        padding: 18px;
    }
}

.adetcam-activity-news-card__image picture,
.adetcam-activity-news-card__image a {
    display: block;
    line-height: 0;
}

/* V5.2 · Integración plugin ADETCAM Eventos */
.adetcam-activity-agenda-card-v2__date {
    align-content: center;
}

.adetcam-activity-agenda-card-v2__year {
    margin-top: 5px;
    color: #111827;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: 0.04em;
    font-weight: 750;
}

.adetcam-activity-agenda-card-v2__details {
    display: grid;
    gap: 6px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.adetcam-activity-agenda-card-v2__details li {
    color: #374151;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.adetcam-activity-agenda-cards--archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adetcam-event-date-inline {
    align-items: center;
}

.adetcam-event-date-badge {
    display: grid;
    align-content: center;
    justify-items: center;
    width: 64px;
    min-width: 64px;
    min-height: 74px;
    padding: 8px 6px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.adetcam-event-date-badge span {
    color: #111827;
    font-size: 28px;
    line-height: 1;
    font-weight: 820;
}

.adetcam-event-date-badge strong {
    margin-top: 4px;
    color: var(--adetcam-red);
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: 0.08em;
    font-weight: 850;
}

.adetcam-event-date-badge em {
    margin-top: 4px;
    color: #111827;
    font-size: 12px;
    line-height: 1.1;
    font-style: normal;
    font-weight: 700;
}

.adetcam-event-sidebar__details {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adetcam-event-sidebar__details li {
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.adetcam-event-sidebar__details li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}


.adetcam-activity-agenda-card-v2__details li strong {
    color: #111827;
    font-weight: 700;
}

.adetcam-event-sidebar__details li strong {
    color: #111827;
    font-weight: 700;
}

.adetcam-event-page .adetcam-dossier-hero__image::before,
.adetcam-event-page .adetcam-dossier-hero__image::after {
    display: none !important;
}

@media (max-width: 980px) {
    .adetcam-activity-agenda-cards--archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .adetcam-activity-agenda-cards--archive {
        grid-template-columns: 1fr;
    }
}


/* V5.3 · Área privada documental para socios */
body.adetcam-member-area-page,
body.adetcam-member-area-page .adetcam-page-shell,
body.adetcam-member-area-page .adetcam-main {
    background: #fafaff !important;
    color: #111827;
}

body.adetcam-member-area-page .adetcam-main {
    padding-top: var(--adetcam-header-height);
}

.adetcam-member-area-hero {
    padding: clamp(44px, 5vw, 76px) 0 28px;
    background: #fafaff;
}

.adetcam-member-area-hero h1 {
    margin: 8px 0 12px;
    color: #111827;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.96;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-member-area-hero p:not(.adetcam-section-label) {
    max-width: 680px;
    margin: 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
}

.adetcam-member-area-content {
    padding: 0 0 clamp(80px, 8vw, 124px);
}

.adetcam-member-resources {
    display: grid;
    gap: 34px;
}

.adetcam-member-resources__intro {
    max-width: 820px;
}

.adetcam-member-resources__intro h2 {
    margin: 8px 0 12px;
    color: #111827;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 760;
}

.adetcam-member-resources__intro p:not(.adetcam-section-label) {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}

.adetcam-member-resources__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.05);
}

.adetcam-member-resources__filters a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    color: #111827;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none;
}

.adetcam-member-resources__filters a.is-active,
.adetcam-member-resources__filters a:hover {
    border-color: var(--adetcam-red);
    background: var(--adetcam-red);
    color: #ffffff;
}

.adetcam-member-resources__section {
    display: grid;
    gap: 18px;
}

.adetcam-member-resources__section h3 {
    margin: 0;
    color: #111827;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 720;
}

.adetcam-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
}

.adetcam-resource-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 100%;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06);
}

.adetcam-resource-card__type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #f3f4f6;
    color: #111827;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.adetcam-resource-card__body {
    min-width: 0;
}

.adetcam-resource-card__category {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--adetcam-red);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.adetcam-resource-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 720;
}

.adetcam-resource-card p {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
}

.adetcam-resource-card time {
    display: block;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.adetcam-resource-card__actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.adetcam-resource-card__actions a,
.adetcam-resource-card__actions span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--adetcam-red);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.adetcam-resource-card__actions span {
    background: #f3f4f6;
    color: #6b7280;
}

.adetcam-resource-card__actions a:hover {
    background: var(--adetcam-red-2);
    color: #ffffff;
}

.adetcam-resource-grid--featured .adetcam-resource-card {
    border-color: rgba(229, 9, 20, 0.18);
}

.adetcam-resources-empty,
.adetcam-resources-notice,
.adetcam-member-area-denied {
    padding: clamp(24px, 3vw, 34px);
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.05);
}

.adetcam-resources-empty p,
.adetcam-resources-notice p,
.adetcam-member-area-denied p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.adetcam-resources-notice h2,
.adetcam-member-area-denied h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 720;
}

.adetcam-member-area-denied a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1180px) {
    .adetcam-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .adetcam-resource-grid {
        grid-template-columns: 1fr;
    }

    .adetcam-resource-card {
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 18px;
        border-radius: 20px;
    }

    .adetcam-resource-card__type {
        width: 58px;
        height: 58px;
        border-radius: 15px;
        font-size: 13px;
    }
}


/* V5.3.1 · Ajustes área privada socios */
body.adetcam-member-area-page .adetcam-section-label {
    color: #111827 !important;
}

body.adetcam-member-area-page .adetcam-member-resources__intro {
    display: none !important;
}

body.adetcam-member-area-page .adetcam-resource-card__actions a {
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
    border: 1px solid var(--adetcam-red) !important;
    font-weight: 600 !important;
}

body.adetcam-member-area-page .adetcam-resource-card__actions a:visited,
body.adetcam-member-area-page .adetcam-resource-card__actions a:hover,
body.adetcam-member-area-page .adetcam-resource-card__actions a:focus {
    color: #ffffff !important;
}

body.adetcam-member-area-page .adetcam-resource-card__actions a:hover,
body.adetcam-member-area-page .adetcam-resource-card__actions a:focus {
    background: var(--adetcam-red-2) !important;
    border-color: var(--adetcam-red-2) !important;
}


/* V5.3.2 · Ajustes visuales tarjetas recursos socios */
.adetcam-resource-card__type {
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-weight: 600 !important;
}


/* V5.3.3 · Control visual formulario acceso socios */
.adetcam-login-notice,
.adetcam-login-client-notice {
    margin: 0 0 16px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #fff1f2;
    border: 1px solid rgba(229, 9, 20, 0.18);
    color: #111827;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

#adetcam-socios-submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none !important;
}


/* V6 · Integración con cabecera y pie de Astra */
body.adetcam-astra-chrome .adetcam-main,
body.adetcam-astra-chrome .adetcam-page-main,
body.adetcam-astra-chrome.adetcam-single-page--v4 .adetcam-main,
body.adetcam-astra-chrome.adetcam-activity-hub-page .adetcam-main,
body.adetcam-astra-chrome.adetcam-activity-archive-page .adetcam-main,
body.adetcam-astra-chrome.adetcam-member-area-page .adetcam-main {
    padding-top: 0 !important;
}

body.adetcam-astra-chrome .site-content {
    padding: 0 !important;
}

body.adetcam-astra-chrome .site-main {
    margin: 0 !important;
}

body.adetcam-astra-chrome #content .ast-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.adetcam-astra-chrome #primary,
body.adetcam-astra-chrome .content-area.primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.adetcam-astra-chrome .adetcam-page-shell {
    min-height: auto;
}

body.adetcam-astra-chrome #top,
body.adetcam-astra-chrome #adetcam,
body.adetcam-astra-chrome #colegios,
body.adetcam-astra-chrome #unete,
body.adetcam-astra-chrome #actividad,
body.adetcam-astra-chrome #normativa,
body.adetcam-astra-chrome #contacto {
    scroll-margin-top: 110px;
}


/* V6.0.2 · Botones cabecera Astra ADETCAM */
body.adetcam-astra-chrome .ast-builder-layout-element[data-section="section-hb-button-1"],
body.adetcam-astra-chrome .ast-builder-layout-element[data-section="section-hb-button-2"],
body.adetcam-astra-chrome .ast-header-html-1,
body.adetcam-astra-chrome .ast-header-html-2 {
    margin-left: 0;
}

body.adetcam-astra-chrome .ast-builder-button-wrap .ast-custom-button,
body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button,
body.adetcam-astra-chrome .adetcam-header-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
    will-change: transform;
}

body.adetcam-astra-chrome .ast-header-button-1 .ast-custom-button,
body.adetcam-astra-chrome .ast-header-button-2 .ast-custom-button {
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #111827 !important;
}

body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button,
body.adetcam-astra-chrome .adetcam-header-support-button {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.52) !important;
    color: #ffffff !important;
}

body.adetcam-astra-chrome .ast-builder-button-wrap .ast-custom-button:hover,
body.adetcam-astra-chrome .ast-builder-button-wrap .ast-custom-button:focus,
body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button:hover,
body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button:focus,
body.adetcam-astra-chrome .adetcam-header-support-button:hover,
body.adetcam-astra-chrome .adetcam-header-support-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}

body.adetcam-astra-chrome .ast-header-button-1 .ast-custom-button:hover,
body.adetcam-astra-chrome .ast-header-button-1 .ast-custom-button:focus,
body.adetcam-astra-chrome .ast-header-button-2 .ast-custom-button:hover,
body.adetcam-astra-chrome .ast-header-button-2 .ast-custom-button:focus {
    background: #f3f4f6 !important;
    border-color: #f3f4f6 !important;
    color: #111827 !important;
}

body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button:hover,
body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button:focus,
body.adetcam-astra-chrome .adetcam-header-support-button:hover,
body.adetcam-astra-chrome .adetcam-header-support-button:focus {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111827 !important;
}

@media (max-width: 921px) {
    body.adetcam-astra-chrome .ast-builder-layout-element[data-section="section-hb-button-1"],
    body.adetcam-astra-chrome .ast-builder-layout-element[data-section="section-hb-button-2"],
    body.adetcam-astra-chrome .ast-header-html-1,
    body.adetcam-astra-chrome .ast-header-html-2 {
        margin-left: 0;
        margin-top: 10px;
    }

    body.adetcam-astra-chrome .ast-builder-button-wrap .ast-custom-button,
    body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button,
    body.adetcam-astra-chrome .adetcam-header-support-button {
        min-height: 44px;
        padding: 0 18px;
        font-size: 15px;
    }
}


/* V6.0.2 · Ajuste compacto botones cabecera */
body.adetcam-astra-chrome .ast-builder-layout-element[data-section="section-hb-button-1"],
body.adetcam-astra-chrome .ast-builder-layout-element[data-section="section-hb-button-2"],
body.adetcam-astra-chrome .ast-header-html-1,
body.adetcam-astra-chrome .ast-header-html-2 {
    margin-left: 0 !important;
}

body.adetcam-astra-chrome .ast-builder-button-wrap .ast-custom-button,
body.adetcam-astra-chrome .ast-header-html .adetcam-header-support-button,
body.adetcam-astra-chrome .adetcam-header-support-button {
    padding-left: 18px !important;
    padding-right: 18px !important;
}



/* V6.0.5 · Corrección segura cabecera Astra en área privada */
body.adetcam-member-area-page.adetcam-astra-chrome .site-header,
body.adetcam-member-area-page.adetcam-astra-chrome .ast-primary-header-bar {
    background: #E50914 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

@media (min-width: 922px) {
    body.adetcam-member-area-page.adetcam-astra-chrome .site-header .main-header-menu .menu-link,
    body.adetcam-member-area-page.adetcam-astra-chrome .site-header .ast-builder-menu-1 .menu-item > .menu-link {
        color: rgba(255, 255, 255, 0.92) !important;
    }

    body.adetcam-member-area-page.adetcam-astra-chrome .site-header .main-header-menu .menu-link:hover,
    body.adetcam-member-area-page.adetcam-astra-chrome .site-header .ast-builder-menu-1 .menu-item:hover > .menu-link,
    body.adetcam-member-area-page.adetcam-astra-chrome .site-header .current-menu-item > .menu-link {
        color: #ffffff !important;
    }
}



/* V6.0.6 · Astra controla el tamaño del logotipo */
/* No se fuerza width, max-width ni max-height del logotipo desde el tema hijo.
   El tamaño debe gestionarse desde Apariencia > Personalizar > Identidad del sitio / Constructor de cabecera. */


/* V6.0.8 · Cabecera Astra fija real y sin botón volver arriba */
:root {
    --adetcam-fixed-header-height: 96px;
    --adetcam-adminbar-offset: 0px;
}

body.admin-bar.adetcam-astra-chrome {
    --adetcam-adminbar-offset: 32px;
}

@media (max-width: 782px) {
    body.admin-bar.adetcam-astra-chrome {
        --adetcam-adminbar-offset: 46px;
    }
}

body.adetcam-astra-chrome {
    padding-top: var(--adetcam-fixed-header-height) !important;
}

body.adetcam-astra-chrome .site-header {
    position: fixed !important;
    top: var(--adetcam-adminbar-offset) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99998 !important;
    transform: none !important;
    margin-top: 0 !important;
}

body.adetcam-astra-chrome .ast-primary-header-bar,
body.adetcam-astra-chrome .main-header-bar,
body.adetcam-astra-chrome .ast-above-header-bar,
body.adetcam-astra-chrome .ast-below-header-bar {
    margin-top: 0 !important;
}

body.adetcam-astra-chrome #top,
body.adetcam-astra-chrome #adetcam,
body.adetcam-astra-chrome #colegios,
body.adetcam-astra-chrome #unete,
body.adetcam-astra-chrome #actividad,
body.adetcam-astra-chrome #normativa,
body.adetcam-astra-chrome #contacto {
    scroll-margin-top: calc(var(--adetcam-fixed-header-height) + 24px) !important;
}

body.adetcam-astra-chrome #ast-scroll-top,
body.adetcam-astra-chrome .ast-scroll-top,
body.adetcam-astra-chrome .ast-scroll-to-top-right,
body.adetcam-astra-chrome .ast-scroll-to-top-left,
body.adetcam-astra-chrome .ast-scroll-top-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* V6.0.10 · Footer controlado por Astra
   No se fuerza background ni color desde el tema hijo.
   El cliente debe controlar color, fondo, columnas y espaciado desde:
   Apariencia > Personalizar > Constructor de pie de página. */
body.adetcam-astra-chrome .adetcam-footer-brand,
body.adetcam-astra-chrome .adetcam-footer-actions {
    color: inherit;
}

body.adetcam-astra-chrome .adetcam-footer-brand strong {
    display: block;
    margin: 0 0 10px;
    color: inherit;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
}

body.adetcam-astra-chrome .adetcam-footer-brand p {
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.65;
}

body.adetcam-astra-chrome .adetcam-footer-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

body.adetcam-astra-chrome .adetcam-footer-actions a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

body.adetcam-astra-chrome .adetcam-footer-actions a:hover,
body.adetcam-astra-chrome .adetcam-footer-actions a:focus {
    color: inherit;
    opacity: 0.78;
}

body.adetcam-astra-chrome .site-footer .menu-link,
body.adetcam-astra-chrome .site-footer a {
    transition: opacity 180ms ease, transform 180ms ease;
}

body.adetcam-astra-chrome .site-footer a:hover,
body.adetcam-astra-chrome .site-footer a:focus {
    opacity: 0.78;
}


/* V6.0.11 · Botones de bloque en footer ADETCAM
   Estilos aplicados SOLO al enlace interno del bloque Button para evitar dobles bordes/sombras. */
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn {
    margin: 0 0 14px !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn:last-child {
    margin-bottom: 0 !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: translateY(0) !important;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18) !important;
}





body.adetcam-astra-chrome .site-footer .wp-block-buttons {
    gap: 14px !important;
}


/* V6.0.12 · Restauración botones Próximos eventos
   Blindaje específico frente a estilos globales de bloques/Astra o CSS adicional. */
body.adetcam-onepage .adetcam-events-block .adetcam-event-card .adetcam-event-card__link.wp-block-button__link,
body.adetcam-onepage .adetcam-events-block .adetcam-event-card a.adetcam-event-card__link,
body.adetcam-onepage .adetcam-roadmap .adetcam-event-card .adetcam-event-card__link.wp-block-button__link,
body.adetcam-onepage .adetcam-roadmap .adetcam-event-card a.adetcam-event-card__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: max-content !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 42px !important;
    aspect-ratio: auto !important;
    margin: 24px 0 0 !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #090909 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: translateY(0) !important;
    position: relative !important;
    inset: auto !important;
    overflow: visible !important;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease !important;
}

body.adetcam-onepage .adetcam-events-block .adetcam-event-card .adetcam-event-card__link.wp-block-button__link:hover,
body.adetcam-onepage .adetcam-events-block .adetcam-event-card .adetcam-event-card__link.wp-block-button__link:focus,
body.adetcam-onepage .adetcam-events-block .adetcam-event-card a.adetcam-event-card__link:hover,
body.adetcam-onepage .adetcam-events-block .adetcam-event-card a.adetcam-event-card__link:focus,
body.adetcam-onepage .adetcam-roadmap .adetcam-event-card .adetcam-event-card__link.wp-block-button__link:hover,
body.adetcam-onepage .adetcam-roadmap .adetcam-event-card .adetcam-event-card__link.wp-block-button__link:focus,
body.adetcam-onepage .adetcam-roadmap .adetcam-event-card a.adetcam-event-card__link:hover,
body.adetcam-onepage .adetcam-roadmap .adetcam-event-card a.adetcam-event-card__link:focus {
    transform: translateY(-2px) !important;
    background: var(--adetcam-red) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}


/* V6.0.13 · Cabecera Astra corporativa global sin tocar layout
   Solo corrige color/fondo de la cabecera en home, actividad, entradas,
   eventos, páginas interiores y área privada. No fuerza columnas ni tamaños. */
body.adetcam-astra-chrome .site-header,
body.adetcam-astra-chrome .main-header-bar-wrap,
body.adetcam-astra-chrome .ast-primary-header-bar,
body.adetcam-astra-chrome .main-header-bar,
body.adetcam-astra-chrome .ast-above-header-bar,
body.adetcam-astra-chrome .ast-below-header-bar {
    background: #E50914 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

@media (min-width: 922px) {
    body.adetcam-astra-chrome .site-header .site-title a,
    body.adetcam-astra-chrome .site-header .site-description,
    body.adetcam-astra-chrome .site-header .main-header-menu .menu-link,
    body.adetcam-astra-chrome .site-header .ast-builder-menu-1 .menu-item > .menu-link,
    body.adetcam-astra-chrome .site-header .ast-builder-menu-2 .menu-item > .menu-link {
        color: rgba(255, 255, 255, 0.92) !important;
    }

    body.adetcam-astra-chrome .site-header .main-header-menu .menu-link:hover,
    body.adetcam-astra-chrome .site-header .main-header-menu .menu-link:focus,
    body.adetcam-astra-chrome .site-header .ast-builder-menu-1 .menu-item:hover > .menu-link,
    body.adetcam-astra-chrome .site-header .ast-builder-menu-1 .menu-item.focus > .menu-link,
    body.adetcam-astra-chrome .site-header .ast-builder-menu-2 .menu-item:hover > .menu-link,
    body.adetcam-astra-chrome .site-header .ast-builder-menu-2 .menu-item.focus > .menu-link,
    body.adetcam-astra-chrome .site-header .current-menu-item > .menu-link,
    body.adetcam-astra-chrome .site-header .current_page_item > .menu-link {
        color: #ffffff !important;
    }

    body.adetcam-astra-chrome .site-header .ast-builder-menu .main-header-menu {
        background: transparent !important;
    }
}

/* V6.1.7 · Menú móvil controlado por Astra
   El tema hijo no fuerza colores, fondos ni estados del menú móvil/off-canvas.
   Fondo, enlaces, hover y activo deben configurarse desde:
   Apariencia > Personalizar > Cabecera > Menú fuera del lienzo / Menú móvil. */

/* --------------------------------------------------------------------------
 * ADETCAM · V6.1.9 · Ajustes página 404 clara con cabecera/footer Astra
 * -------------------------------------------------------------------------- */
body.adetcam-notfound-page,
body.adetcam-notfound-page .adetcam-page-shell,
body.adetcam-notfound-page .adetcam-main {
    background: #fafaff;
    color: #07111f;
}

body.adetcam-notfound-page .adetcam-notfound-shell {
    min-height: 72vh;
    overflow: hidden;
    background: #fafaff;
}

body.adetcam-notfound-page .adetcam-notfound-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(7, 17, 31, 0.035) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.55;
}

body.adetcam-notfound-page .adetcam-notfound-main {
    position: relative;
    z-index: 1;
}

body.adetcam-notfound-page .adetcam-notfound-hero {
    padding: clamp(72px, 8vw, 128px) 0 clamp(42px, 6vw, 80px);
}

body.adetcam-notfound-page .adetcam-notfound-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
    gap: clamp(28px, 5vw, 82px);
    align-items: center;
}

body.adetcam-notfound-page .adetcam-notfound-hero__copy {
    max-width: 880px;
}

body.adetcam-notfound-page .adetcam-notfound-hero h1 {
    margin: 0;
    max-width: 860px;
    color: #07111f;
    font-size: clamp(48px, 8vw, 112px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

body.adetcam-notfound-page .adetcam-notfound-lead {
    margin: 28px 0 0;
    max-width: 760px;
    color: rgba(7, 17, 31, 0.72);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.62;
}

body.adetcam-notfound-page .adetcam-notfound-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

body.adetcam-notfound-page .adetcam-notfound-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(28px, 3vw, 42px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.adetcam-notfound-page .adetcam-notfound-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    margin-bottom: 24px;
    border-radius: 28px;
    background: #e50914;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.04em;
    box-shadow: 0 22px 70px rgba(229, 9, 20, 0.34);
}

body.adetcam-notfound-page .adetcam-notfound-card h2,
body.adetcam-notfound-page .adetcam-notfound-latest__head h2 {
    margin: 0;
    color: #07111f;
    font-weight: 760;
    letter-spacing: -0.02em;
}

body.adetcam-notfound-page .adetcam-notfound-card h2 {
    font-size: clamp(26px, 2.4vw, 36px);
}

body.adetcam-notfound-page .adetcam-notfound-links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

body.adetcam-notfound-page .adetcam-notfound-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.adetcam-notfound-page .adetcam-notfound-links a::after {
    content: "→";
    opacity: 0.68;
}

body.adetcam-notfound-page .adetcam-notfound-links a:hover,
body.adetcam-notfound-page .adetcam-notfound-links a:focus {
    transform: translateY(-2px);
    color: #ffffff;
    background: rgba(229, 9, 20, 0.26);
    border-color: rgba(229, 9, 20, 0.42);
}

body.adetcam-notfound-page .adetcam-notfound-latest {
    padding: 0 0 clamp(70px, 8vw, 118px);
}

body.adetcam-notfound-page .adetcam-notfound-latest__head {
    margin-bottom: 24px;
}

body.adetcam-notfound-page .adetcam-notfound-latest__head h2 {
    font-size: clamp(34px, 4.6vw, 66px);
}

body.adetcam-notfound-page .adetcam-notfound-latest__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.adetcam-notfound-page .adetcam-notfound-post-card {
    min-height: 230px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

body.adetcam-notfound-page .adetcam-notfound-post-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #ffb4b8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.adetcam-notfound-page .adetcam-notfound-post-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
    font-weight: 760;
}

body.adetcam-notfound-page .adetcam-notfound-post-card h3 a {
    color: inherit;
    text-decoration: none;
}

body.adetcam-notfound-page .adetcam-notfound-post-card h3 a:hover,
body.adetcam-notfound-page .adetcam-notfound-post-card h3 a:focus {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #e50914;
    text-underline-offset: 0.18em;
}

body.adetcam-notfound-page .adetcam-notfound-post-card p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    body.adetcam-notfound-page .adetcam-notfound-hero__grid,
    body.adetcam-notfound-page .adetcam-notfound-latest__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.adetcam-notfound-page .adetcam-notfound-hero {
        padding-top: 56px;
    }

    body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn {
        width: 100%;
    }

    body.adetcam-notfound-page .adetcam-notfound-card {
        border-radius: 28px;
    }
}


/* V6.1.9 · Ajustes específicos 404 clara */
body.adetcam-notfound-page .adetcam-notfound-card h2 {
    color: #ffffff;
}

body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn--ghost {
    color: #07111f;
    border-color: rgba(7, 17, 31, 0.22);
    background: rgba(7, 17, 31, 0.04);
}

body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn--ghost:hover,
body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn--ghost:focus {
    color: #07111f;
    background: rgba(7, 17, 31, 0.08);
}

body.adetcam-notfound-page .adetcam-notfound-post-card {
    background: #ffffff;
    border-color: rgba(7, 17, 31, 0.10);
    box-shadow: 0 18px 50px rgba(7, 17, 31, 0.07);
}

body.adetcam-notfound-page .adetcam-notfound-post-card h3 {
    color: #07111f;
}

body.adetcam-notfound-page .adetcam-notfound-post-card p {
    color: rgba(7, 17, 31, 0.66);
}

body.adetcam-notfound-page .adetcam-notfound-post-card h3 a:hover,
body.adetcam-notfound-page .adetcam-notfound-post-card h3 a:focus {
    color: #07111f;
}

/* V6.1.9 · Corrección final: alineación top y contraste en fondo claro */
body.adetcam-notfound-page .adetcam-notfound-hero__grid {
    align-items: start;
}

body.adetcam-notfound-page .adetcam-section-label {
    color: #07111f;
}

body.adetcam-notfound-page .adetcam-notfound-card {
    background: #1b1b1d;
    border-color: rgba(7, 17, 31, 0.10);
    box-shadow: 0 28px 80px rgba(7, 17, 31, 0.16);
}

/* --------------------------------------------------------------------------
 * ADETCAM · V6.2.0 · Saneamiento global de estilos y contraste
 * --------------------------------------------------------------------------
 * Criterio:
 * - .adetcam-onepage queda reservado para la portada y /acceso-socios/.
 * - Las páginas claras no heredan colores de la home oscura.
 * - Los estados, tarjetas y paginación se acotan por contexto.
 * - El footer mantiene layout mínimo; los colores deben decidirse en Astra/bloques.
 */
body.adetcam-custom-template {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.adetcam-custom-template .adetcam-page-shell img,
body.adetcam-custom-template .adetcam-page-shell svg,
body.adetcam-custom-template .adetcam-page-shell video {
    max-width: 100%;
    height: auto;
}

body.adetcam-custom-template a:focus-visible,
body.adetcam-custom-template button:focus-visible,
body.adetcam-custom-template input:focus-visible,
body.adetcam-custom-template select:focus-visible,
body.adetcam-custom-template textarea:focus-visible {
    outline: 3px solid rgba(229, 9, 20, 0.55);
    outline-offset: 3px;
}

/* Etiquetas: base oscura para páginas claras; blanco solo en contextos oscuros. */
.adetcam-kicker,
.adetcam-section-label {
    color: #111827;
}

body.adetcam-home-page .adetcam-kicker,
body.adetcam-home-page .adetcam-section--dark .adetcam-section-label,
body.adetcam-home-page .adetcam-section--join .adetcam-section-label,
body.adetcam-home-page .adetcam-events-block .adetcam-section-label,
body.adetcam-login-page .adetcam-section-label {
    color: #ffffff;
}

body.adetcam-home-page .adetcam-section--light .adetcam-section-label,
body.adetcam-home-page .adetcam-section--contact .adetcam-section-label {
    color: var(--adetcam-red);
}

body.adetcam-activity-hub-page .adetcam-section-label,
body.adetcam-activity-archive-page .adetcam-section-label,
body.adetcam-member-area-page .adetcam-section-label,
body.adetcam-notfound-page .adetcam-section-label,
body.adetcam-content-page .adetcam-section-label {
    color: #111827 !important;
}

/* Páginas claras: se elimina la contaminación visual de la home oscura. */
body.adetcam-content-page,
body.adetcam-content-page .adetcam-page-shell,
body.adetcam-content-page .adetcam-page-main,
body.adetcam-activity-hub-page,
body.adetcam-activity-hub-page .adetcam-page-shell,
body.adetcam-activity-hub-page .adetcam-main,
body.adetcam-activity-archive-page,
body.adetcam-activity-archive-page .adetcam-page-shell,
body.adetcam-activity-archive-page .adetcam-main,
body.adetcam-member-area-page,
body.adetcam-member-area-page .adetcam-page-shell,
body.adetcam-member-area-page .adetcam-main,
body.adetcam-notfound-page,
body.adetcam-notfound-page .adetcam-page-shell,
body.adetcam-notfound-page .adetcam-main {
    background: #fafaff !important;
    color: #111827 !important;
}

body.adetcam-content-page .adetcam-page-shell::before,
body.adetcam-activity-hub-page .adetcam-page-shell::before,
body.adetcam-activity-archive-page .adetcam-page-shell::before,
body.adetcam-member-area-page .adetcam-page-shell::before {
    display: none !important;
    content: none !important;
}

body.adetcam-activity-archive-page .adetcam-activity-archive-hero,
body.adetcam-activity-archive-page .adetcam-activity-archive-list,
body.adetcam-member-area-page .adetcam-member-area-hero,
body.adetcam-member-area-page .adetcam-member-area-content {
    background: #fafaff !important;
}

body.adetcam-activity-archive-page .adetcam-activity-archive-hero h1,
body.adetcam-activity-hub-page .adetcam-activity-pagehead h1,
body.adetcam-member-area-page .adetcam-member-area-hero h1,
body.adetcam-notfound-page .adetcam-notfound-hero h1 {
    color: #111827 !important;
}

body.adetcam-activity-archive-page .adetcam-activity-archive-hero p:not(.adetcam-section-label),
body.adetcam-activity-hub-page .adetcam-activity-pagehead p,
body.adetcam-member-area-page .adetcam-member-area-hero p:not(.adetcam-section-label),
body.adetcam-notfound-page .adetcam-notfound-lead {
    color: #4b5563 !important;
}

/* Listados claros: tarjetas, enlaces y paginación con contraste correcto. */
body.adetcam-activity-archive-page .adetcam-post-card,
body.adetcam-activity-archive-page .adetcam-activity-empty,
body.adetcam-activity-archive-page .adetcam-activity-agenda-card-v2__link,
body.adetcam-activity-hub-page .adetcam-activity-box,
body.adetcam-activity-hub-page .adetcam-activity-empty {
    background: #ffffff !important;
    border-color: rgba(17, 24, 39, 0.10) !important;
    color: #111827 !important;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06) !important;
}

body.adetcam-activity-archive-page .adetcam-post-card h2,
body.adetcam-activity-archive-page .adetcam-post-card h2 a,
body.adetcam-activity-archive-page .adetcam-post-card__link,
body.adetcam-activity-archive-page .adetcam-activity-empty h2,
body.adetcam-activity-archive-page .adetcam-activity-empty h3,
body.adetcam-activity-archive-page .adetcam-activity-agenda-card-v2__content h3,
body.adetcam-activity-archive-page .adetcam-activity-agenda-card-v2__details li,
body.adetcam-activity-archive-page .adetcam-activity-agenda-card-v2__details li strong,
body.adetcam-activity-hub-page .adetcam-activity-box h2,
body.adetcam-activity-hub-page .adetcam-activity-news-card__content h3,
body.adetcam-activity-hub-page .adetcam-activity-news-card__content h3 a,
body.adetcam-activity-hub-page .adetcam-activity-agenda-card-v2__content h3,
body.adetcam-activity-hub-page .adetcam-activity-agenda-card-v2__details li,
body.adetcam-activity-hub-page .adetcam-activity-agenda-card-v2__details li strong {
    color: #111827 !important;
}

body.adetcam-activity-archive-page .adetcam-post-card p,
body.adetcam-activity-archive-page .adetcam-activity-empty p,
body.adetcam-activity-archive-page .adetcam-activity-agenda-card-v2__content p,
body.adetcam-activity-archive-page .adetcam-activity-agenda-card-v2__meta,
body.adetcam-activity-hub-page .adetcam-activity-news-card__content time,
body.adetcam-activity-hub-page .adetcam-activity-agenda-card-v2__content p,
body.adetcam-activity-hub-page .adetcam-activity-agenda-card-v2__meta {
    color: #4b5563 !important;
}

body.adetcam-activity-archive-page .adetcam-post-card h2 a:hover,
body.adetcam-activity-archive-page .adetcam-post-card__link:hover,
body.adetcam-activity-hub-page .adetcam-activity-news-card__content h3 a:hover,
body.adetcam-activity-hub-page .adetcam-activity-agenda-card-v2__link:hover h3 {
    color: var(--adetcam-red) !important;
}

body.adetcam-activity-archive-page .adetcam-pagination a,
body.adetcam-activity-archive-page .adetcam-pagination span {
    background: #ffffff !important;
    border-color: rgba(17, 24, 39, 0.14) !important;
    color: #111827 !important;
}

body.adetcam-activity-archive-page .adetcam-pagination .current,
body.adetcam-activity-archive-page .adetcam-pagination a:hover,
body.adetcam-activity-archive-page .adetcam-pagination a:focus {
    background: var(--adetcam-red) !important;
    border-color: var(--adetcam-red) !important;
    color: #ffffff !important;
}

/* Área privada documental: mantener contraste aunque el plugin añada nuevas categorías/documentos. */
body.adetcam-member-area-page .adetcam-member-resources__filters,
body.adetcam-member-area-page .adetcam-resource-card,
body.adetcam-member-area-page .adetcam-resources-empty,
body.adetcam-member-area-page .adetcam-resources-notice,
body.adetcam-member-area-page .adetcam-member-area-denied {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: rgba(17, 24, 39, 0.10) !important;
}

body.adetcam-member-area-page .adetcam-resource-card h3,
body.adetcam-member-area-page .adetcam-member-resources__section h3,
body.adetcam-member-area-page .adetcam-resources-notice h2,
body.adetcam-member-area-page .adetcam-member-area-denied h2 {
    color: #111827 !important;
}

body.adetcam-member-area-page .adetcam-resource-card p,
body.adetcam-member-area-page .adetcam-resource-card time,
body.adetcam-member-area-page .adetcam-resources-empty p,
body.adetcam-member-area-page .adetcam-resources-notice p,
body.adetcam-member-area-page .adetcam-member-area-denied p {
    color: #4b5563 !important;
}

/* 404: fondo claro, columna izquierda en oscuro y caja derecha oscura conservada. */
body.adetcam-notfound-page .adetcam-notfound-shell {
    background: #fafaff !important;
}

body.adetcam-notfound-page .adetcam-notfound-hero__grid {
    align-items: start !important;
}

body.adetcam-notfound-page .adetcam-notfound-card {
    background: #1b1b1d !important;
    border-color: rgba(7, 17, 31, 0.10) !important;
    box-shadow: 0 28px 80px rgba(7, 17, 31, 0.16) !important;
}

body.adetcam-notfound-page .adetcam-notfound-card h2,
body.adetcam-notfound-page .adetcam-notfound-links a {
    color: #ffffff !important;
}

body.adetcam-notfound-page .adetcam-notfound-post-card {
    background: #ffffff !important;
    border-color: rgba(7, 17, 31, 0.10) !important;
    box-shadow: 0 18px 50px rgba(7, 17, 31, 0.07) !important;
}

body.adetcam-notfound-page .adetcam-notfound-post-card span {
    color: var(--adetcam-red) !important;
}

body.adetcam-notfound-page .adetcam-notfound-post-card h3,
body.adetcam-notfound-page .adetcam-notfound-post-card h3 a {
    color: #111827 !important;
}

body.adetcam-notfound-page .adetcam-notfound-post-card p {
    color: #4b5563 !important;
}

/* Botón ghost: versión clara acotada a la 404, sin romper home ni login. */
body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn--ghost {
    color: #111827 !important;
    border-color: rgba(17, 24, 39, 0.22) !important;
    background: rgba(17, 24, 39, 0.04) !important;
}

body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn--ghost:hover,
body.adetcam-notfound-page .adetcam-notfound-actions .adetcam-btn--ghost:focus {
    color: #111827 !important;
    background: rgba(17, 24, 39, 0.08) !important;
}

@media (max-width: 720px) {
    body.adetcam-activity-hub-page .adetcam-container,
    body.adetcam-activity-archive-page .adetcam-container,
    body.adetcam-member-area-page .adetcam-container,
    body.adetcam-notfound-page .adetcam-container {
        width: min(1320px, calc(100% - 40px));
    }
}

/* --------------------------------------------------------------------------
 * ADETCAM · V6.2.5 · Botones footer por destino de enlace
 * --------------------------------------------------------------------------
 * Corrección acotada SOLO al footer Astra.
 * Se elimina el criterio por posición (:first-child/:nth-child) y por variante
 * genérica (--solid/--outline), porque Astra puede envolver cada botón por
 * separado y convertir ambos en primer hijo. El diseño queda determinado solo
 * por el destino real del enlace:
 *   - #unete / /#unete       => botón rojo corporativo.
 *   - acceso-socios/area-privada => botón blanco.
 * No afecta a cabecera, home, eventos, actividad, área privada, 404 ni menú móvil.
 */
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a {
    opacity: 1 !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="#unete"],
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="/#unete"],
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="#unete"],
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="/#unete"],
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="#unete"],
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="/#unete"] {
    background: #E50914 !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="#unete"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="#unete"]:focus,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="/#unete"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="/#unete"]:focus,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="#unete"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="#unete"]:focus,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="/#unete"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="/#unete"]:focus,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="#unete"]:hover,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="#unete"]:focus,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="/#unete"]:hover,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="/#unete"]:focus {
    background: #B80710 !important;
    border-color: rgba(255, 255, 255, 0.86) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18) !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="acceso-socios"],
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="area-privada"],
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="acceso-socios"],
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="area-privada"],
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="acceso-socios"],
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="area-privada"] {
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #111827 !important;
    box-shadow: none !important;
}

body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="acceso-socios"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="acceso-socios"]:focus,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="area-privada"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button.adetcam-footer-btn .wp-block-button__link[href*="area-privada"]:focus,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="acceso-socios"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="acceso-socios"]:focus,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="area-privada"]:hover,
body.adetcam-astra-chrome .site-footer .wp-block-button .wp-block-button__link[href*="area-privada"]:focus,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="acceso-socios"]:hover,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="acceso-socios"]:focus,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="area-privada"]:hover,
body.adetcam-astra-chrome .site-footer .adetcam-footer-actions a[href*="area-privada"]:focus {
    background: #f3f4f6 !important;
    border-color: #f3f4f6 !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18) !important;
}


/* --------------------------------------------------------------------------
 * ADETCAM · V7.1.0 · Caja transparencia institucional home afinada
 * --------------------------------------------------------------------------
 * Ajuste visual acotado a la caja de transparencia de la home. Reduce peso,
 * tamaño y apariencia de aviso. No afecta a footer, cabecera, eventos,
 * área privada, recursos, 404 ni menú móvil.
 */
body.adetcam-home-page #adetcam .adetcam-panel {
    display: block;
}

body.adetcam-home-page #adetcam .adetcam-transparency-note {
    position: relative;
    margin-top: clamp(26px, 3.4vw, 38px);
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(250, 250, 255, 0.78), rgba(243, 244, 246, 0.62)),
        radial-gradient(circle at 0 0, rgba(229, 9, 20, 0.035), transparent 36%);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.055);
    color: #111827;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.adetcam-home-page #adetcam .adetcam-transparency-note::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.58), rgba(229, 9, 20, 0.16));
}

body.adetcam-home-page #adetcam .adetcam-transparency-note__label {
    margin: 0 0 12px;
    color: var(--adetcam-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.25;
    text-transform: uppercase;
    opacity: 0.9;
}

body.adetcam-home-page #adetcam .adetcam-transparency-note h3 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 26px;
    line-height: 1.14;
    letter-spacing: -0.02em;
    font-weight: 600;
}

body.adetcam-home-page #adetcam .adetcam-transparency-note p:not(.adetcam-transparency-note__label) {
    max-width: 1120px;
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.62;
    opacity: 0.96;
}

body.adetcam-home-page #adetcam .adetcam-transparency-note__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 11px 17px;
    border: 1px solid rgba(229, 9, 20, 0.22);
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.06);
    color: var(--adetcam-red);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}

body.adetcam-home-page #adetcam .adetcam-transparency-note__link:hover,
body.adetcam-home-page #adetcam .adetcam-transparency-note__link:focus {
    background: var(--adetcam-red);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    body.adetcam-home-page #adetcam .adetcam-transparency-note {
        margin-top: 26px;
        padding: 22px 20px;
        border-radius: 20px;
    }

    body.adetcam-home-page #adetcam .adetcam-transparency-note h3 {
        font-size: 24px;
    }
}

/* --------------------------------------------------------------------------
 * ADETCAM · V7.1.1 · Corrección cabecera fija móvil y estado activo off-canvas
 * --------------------------------------------------------------------------
 * Alcance intencionadamente limitado:
 * - En móvil, elimina el desplazamiento artificial de la cabecera cuando WordPress
 *   mantiene body.admin-bar pero la barra de administración no ocupa espacio visible.
 * - En el menú móvil/off-canvas de Astra, neutraliza solo el estado current/activo
 *   para que los enlaces one-page no aparezcan en rojo por defecto.
 */
@media (max-width: 782px) {
    body.admin-bar.adetcam-astra-chrome {
        --adetcam-adminbar-offset: 0px !important;
    }
}

@media (max-width: 921px) {
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .menu-link,
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current_page_item > .menu-link,
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-ancestor > .menu-link,
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current_page_ancestor > .menu-link,
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-parent > .menu-link,
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current_page_parent > .menu-link {
        color: var(--ast-global-color-3, #111827) !important;
        background: transparent !important;
    }

    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:hover,
    body.adetcam-astra-chrome .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:focus {
        color: var(--ast-global-color-1, #E50914) !important;
    }
}
