﻿/* =========================================================
HOME FOTOGRÁFICO SIGNATURE — CDM
CSS completo
========================================================= */

:root {
    --cdm-photo-green-950: #001f18;
    --cdm-photo-green-900: #002d22;
    --cdm-photo-green-850: #00372a;
    --cdm-photo-green-800: #003f2f;
    --cdm-photo-green-700: #075d46;
    --cdm-photo-green-500: #0b7a35;

    --cdm-photo-lime: #8bd936;
    --cdm-photo-lime-bright: #a8f247;

    --cdm-photo-paper: #f4f0e7;
    --cdm-photo-soft: #f0f5f1;
    --cdm-photo-white: #ffffff;
    --cdm-photo-text: #4f5f58;

    --cdm-photo-border: rgba(0, 63, 47, .12);
    --cdm-photo-border-light: rgba(255, 255, 255, .13);

    --cdm-photo-shadow: 0 28px 70px rgba(0, 45, 34, .14);
}


/* RESET LOCAL */

.cdm-home-photo {
    width: 100%;

    overflow: hidden;

    background: var(--cdm-photo-white);

    color: var(--cdm-photo-green-900);

    font-family: "Segoe UI", Arial, sans-serif;
}

.cdm-home-photo *,
.cdm-home-photo *::before,
.cdm-home-photo *::after {
    box-sizing: border-box;
}

.cdm-home-photo a {
    text-decoration: none !important;
}

.cdm-photo-shell {
    width: min(1400px, 90%);

    margin: 0 auto;
}


/* TYPOGRAPHY */

.cdm-photo-overline {
    display: inline-block;

    color: var(--cdm-photo-green-500);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.7px;
    text-transform: uppercase;
}

.cdm-photo-overline--lime {
    color: var(--cdm-photo-lime);
}


/* HERO */

.cdm-photo-hero {
    position: relative;

    min-height: 1030px;

    padding: 104px 0 0;

    overflow: hidden;

    background: var(--cdm-photo-green-950);
}

.cdm-photo-hero::after {
    content: "";

    position: absolute;

    left: -8%;
    right: -8%;
    bottom: -100px;

    height: 185px;

    z-index: 2;

    border-radius: 50% 50% 0 0 / 42% 42% 0 0;

    background: var(--cdm-photo-white);
}

.cdm-photo-hero__media {
    position: absolute;
    inset: 0;
}

.cdm-photo-hero__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 56%;

    transform: scale(1.03);
}

.cdm-photo-hero__veil {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 31, 24, .97) 0%,
            rgba(0, 31, 24, .92) 29%,
            rgba(0, 31, 24, .69) 53%,
            rgba(0, 31, 24, .30) 78%,
            rgba(0, 31, 24, .42) 100%),
        linear-gradient(0deg,
            rgba(0, 31, 24, .62) 0%,
            transparent 42%);
}

.cdm-photo-hero__grid {
    position: absolute;
    inset: 0;

    opacity: .12;

    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .08) 1px,
            transparent 1px);

    background-size: 56px 56px;
}

.cdm-home-photo a:hover {
    text-decoration: none !important;
}

.cdm-photo-hero__layout {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 75px;
    align-items: center;
}

.cdm-photo-hero__copy {
    padding-bottom: 175px;
}

.cdm-photo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 29px;

    color: rgba(255, 255, 255, .70);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.cdm-photo-eyebrow span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--cdm-photo-lime);

    box-shadow:
        0 0 0 6px rgba(139, 217, 54, .09);
}

.cdm-photo-hero__copy h1 {
    max-width: 790px;

    margin: 0;

    color: var(--cdm-photo-white);

    font-size: clamp(64px, 7.1vw, 116px);
    font-weight: 820;
    line-height: .85;
    letter-spacing: -6px;
}

.cdm-photo-hero__copy h1 em {
    display: block;

    color: rgba(255, 255, 255, .49);

    font-weight: 340;
}

.cdm-photo-hero__copy h1 strong {
    display: block;

    color: var(--cdm-photo-lime);

    font-weight: 470;
    font-style: italic;
}

.cdm-photo-hero__copy>p {
    max-width: 680px;

    margin: 33px 0 0;

    color: rgba(255, 255, 255, .72);

    font-size: 18px;
    line-height: 1.76;
}

.cdm-photo-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 35px;
}

.cdm-photo-btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 0 22px;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 850;

    transition:
        transform .24s ease,
        box-shadow .24s ease,
        background .24s ease;
}

.cdm-photo-btn:hover {
    transform: translateY(-3px);
}

.cdm-photo-btn--lime {
    background: var(--cdm-photo-lime);

    color: var(--cdm-photo-green-950) !important;

    box-shadow:
        0 18px 40px rgba(139, 217, 54, .17);
}

.cdm-photo-btn--lime:hover {
    background: var(--cdm-photo-lime-bright);
}

.cdm-photo-btn--glass {
    border: 1px solid rgba(255, 255, 255, .24);

    background: rgba(255, 255, 255, .06);

    color: var(--cdm-photo-white) !important;

    backdrop-filter: blur(14px);
}

.cdm-photo-btn--dark {
    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-white) !important;
}

.cdm-photo-hero__principles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;

    margin-top: 51px;
}

.cdm-photo-hero__principles span {
    position: relative;

    padding-left: 13px;

    color: rgba(255, 255, 255, .48);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cdm-photo-hero__principles span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: var(--cdm-photo-lime);
}


/* HERO PANEL */

.cdm-photo-hero__panel {
    position: relative;

    min-height: 540px;

    margin-bottom: 120px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 32px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .14),
            rgba(255, 255, 255, .035));

    backdrop-filter: blur(19px);

    box-shadow:
        0 40px 95px rgba(0, 0, 0, .26);

    transform:
        rotateY(var(--cdm-panel-ry, 0deg)) rotateX(var(--cdm-panel-rx, 0deg));

    transition:
        transform .16s ease-out;
}

.cdm-photo-hero__panel::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -120px;
    top: -100px;

    border: 1px solid rgba(139, 217, 54, .20);
    border-radius: 50%;

    box-shadow:
        0 0 0 60px rgba(139, 217, 54, .018),
        0 0 0 120px rgba(139, 217, 54, .010);
}

.cdm-photo-panel__head {
    position: absolute;

    left: 27px;
    right: 27px;
    top: 23px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgba(255, 255, 255, .58);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cdm-photo-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cdm-photo-live i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--cdm-photo-lime);

    box-shadow:
        0 0 0 5px rgba(139, 217, 54, .09);
}

.cdm-photo-panel__center {
    position: absolute;

    inset: 70px 0 148px;

    display: grid;
    place-items: center;
}

.cdm-photo-panel__ring {
    position: absolute;

    width: 285px;
    height: 285px;

    border: 1px solid rgba(139, 217, 54, .26);
    border-radius: 50%;

    animation:
        cdmPhotoPulse 5s ease-in-out infinite;
}

.cdm-photo-panel__ring--2 {
    width: 208px;
    height: 208px;

    border-color: rgba(255, 255, 255, .18);

    animation-delay: -.8s;
}

.cdm-photo-panel__core {
    position: relative;
    z-index: 2;

    width: 144px;
    height: 144px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cdm-photo-lime);

    color: var(--cdm-photo-green-950);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, .27);
}

.cdm-photo-panel__core small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.cdm-photo-panel__core strong {
    margin-top: 2px;

    font-size: 25px;
}

.cdm-photo-panel__core span {
    margin-top: 2px;

    font-size: 9px;
    font-weight: 750;
}

.cdm-photo-panel__stats {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 23px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cdm-photo-panel__stats>div {
    min-height: 89px;

    padding: 13px;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;

    background: rgba(0, 31, 24, .45);
}

.cdm-photo-panel__stats span,
.cdm-photo-panel__stats small,
.cdm-photo-panel__stats strong {
    display: block;
}

.cdm-photo-panel__stats span {
    color: var(--cdm-photo-lime);

    font-size: 9px;
    font-weight: 900;
}

.cdm-photo-panel__stats small {
    margin-top: 10px;

    color: rgba(255, 255, 255, .40);

    font-size: 7px;
    text-transform: uppercase;
}

.cdm-photo-panel__stats strong {
    margin-top: 3px;

    color: var(--cdm-photo-white);

    font-size: 10px;
}


/* COMMAND */

.cdm-photo-command {
    position: relative;
    z-index: 6;

    min-height: 112px;

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 34px;

    align-items: center;

    margin-top: -118px;

    padding: 22px 26px;

    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 22px;

    background: rgba(255, 255, 255, .93);

    box-shadow:
        0 30px 80px rgba(0, 45, 34, .18);

    backdrop-filter: blur(20px);
}

.cdm-photo-command__intro {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cdm-photo-command__icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-lime);

    font-size: 24px;
}

.cdm-photo-command__intro small,
.cdm-photo-command__intro strong {
    display: block;
}

.cdm-photo-command__intro small {
    color: #829089;

    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.cdm-photo-command__intro strong {
    margin-top: 4px;

    color: var(--cdm-photo-green-950);

    font-size: 15px;
}

.cdm-photo-command__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.cdm-photo-command__links a {
    padding: 10px 13px;

    border: 1px solid var(--cdm-photo-border);
    border-radius: 999px;

    background: var(--cdm-photo-white);

    color: var(--cdm-photo-green-800) !important;

    font-size: 10px;
    font-weight: 800;

    transition:
        background .22s ease,
        color .22s ease,
        transform .22s ease;
}

.cdm-photo-command__links a:hover {
    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-white) !important;

    transform: translateY(-2px);
}


/* TICKER */

.cdm-photo-ticker {
    position: relative;
    z-index: 4;

    padding: 32px 0 28px;

    overflow: hidden;

    background: var(--cdm-photo-white);
}

.cdm-photo-ticker__track {
    width: max-content;

    display: flex;
    align-items: center;
    gap: 34px;

    white-space: nowrap;

    animation:
        cdmPhotoTicker 30s linear infinite;
}

.cdm-photo-ticker__track span {
    color: var(--cdm-photo-green-950);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3.5px;
}

.cdm-photo-ticker__track i {
    color: var(--cdm-photo-lime);

    font-size: 11px;
}

.cdm-home-photo a {
    text-decoration: none !important;
}

.cdm-home-photo a:hover {
    text-decoration: none !important;
}

/* SECTIONS */

.cdm-photo-section {
    padding: 124px 0;
}

.cdm-photo-section--paper {
    background: var(--cdm-photo-paper);
}

.cdm-photo-section--white {
    background: var(--cdm-photo-white);
}

.cdm-photo-section-head {
    display: grid;
    grid-template-columns: 1fr .55fr;
    gap: 80px;

    align-items: end;

    margin-bottom: 58px;
}

.cdm-photo-section-head--action {
    grid-template-columns: 1fr auto;
}

.cdm-photo-section-head h2 {
    max-width: 830px;

    margin: 12px 0 0;

    color: var(--cdm-photo-green-950);

    font-size: clamp(48px, 5.5vw, 82px);
    line-height: .93;
    letter-spacing: -4px;
}

.cdm-photo-section-head h2 em {
    color: var(--cdm-photo-green-500);

    font-weight: 350;
}

.cdm-photo-section-head>p {
    margin: 0;

    color: var(--cdm-photo-text);

    font-size: 16px;
    line-height: 1.75;
}

.cdm-photo-section-head--light h2 {
    color: var(--cdm-photo-white);
}

.cdm-photo-section-head--light h2 em {
    display: block;

    color: var(--cdm-photo-lime);
}

.cdm-photo-section-head--light>p {
    color: rgba(255, 255, 255, .58);
}


/* BENTO */

.cdm-photo-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 215px;
    gap: 18px;
}

.cdm-photo-bento__card {
    position: relative;

    display: flex;

    overflow: hidden;

    padding: 26px;

    border-radius: 24px;

    color: var(--cdm-photo-green-950) !important;

    transition:
        transform .32s ease,
        box-shadow .32s ease;
}

.cdm-photo-bento__card:hover {
    transform: translateY(-7px);

    box-shadow: var(--cdm-photo-shadow);
}

.cdm-photo-bento__card--wide {
    grid-column: span 7;
    grid-row: span 2;

    padding: 0;
}

.cdm-photo-bento__card--lime {
    grid-column: span 5;

    background: var(--cdm-photo-lime);
}

.cdm-photo-bento__card--green {
    grid-column: span 5;

    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-white) !important;
}

.cdm-photo-bento__card--white {
    grid-column: span 4;

    background: var(--cdm-photo-white);

    border: 1px solid var(--cdm-photo-border);
}

.cdm-photo-bento__card--soft {
    grid-column: span 4;

    background: rgba(255, 255, 255, .56);

    border: 1px solid rgba(0, 63, 47, .08);
}

.cdm-photo-bento__photo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;
}

.cdm-photo-bento__card--wide:hover .cdm-photo-bento__photo {
    transform: scale(1.045);
}

.cdm-photo-bento__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(0deg,
            rgba(0, 31, 24, .93) 0%,
            rgba(0, 31, 24, .60) 48%,
            rgba(0, 31, 24, .08) 100%);
}

.cdm-photo-bento__number {
    position: absolute;

    right: 22px;
    top: 20px;

    z-index: 3;

    color: rgba(0, 45, 34, .34);

    font-size: 10px;
    font-weight: 900;
}

.cdm-photo-bento__card--wide .cdm-photo-bento__number,
.cdm-photo-bento__card--green .cdm-photo-bento__number {
    color: rgba(255, 255, 255, .58);
}

.cdm-photo-bento__content {
    position: relative;
    z-index: 2;

    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cdm-photo-bento__card--wide .cdm-photo-bento__content {
    padding: 34px;
}

.cdm-photo-bento__content--light {
    color: var(--cdm-photo-white);
}

.cdm-photo-bento__content small {
    color: var(--cdm-photo-green-500);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.cdm-photo-bento__content--light small,
.cdm-photo-bento__card--green small {
    color: var(--cdm-photo-lime);
}

.cdm-photo-bento__content h3 {
    max-width: 650px;

    margin: 9px 0 0;

    font-size: 27px;
    line-height: 1.06;
    letter-spacing: -1px;
}

.cdm-photo-bento__card--wide h3 {
    max-width: 550px;

    font-size: clamp(38px, 3.2vw, 52px);
}

.cdm-photo-bento__content p {
    max-width: 570px;

    margin: 12px 0 0;

    color: var(--cdm-photo-text);

    font-size: 13px;
    line-height: 1.57;
}

.cdm-photo-bento__content--light p,
.cdm-photo-bento__card--green p {
    color: rgba(255, 255, 255, .70);
}

.cdm-photo-bento__content strong {
    margin-top: 22px;

    font-size: 11px;
}

.cdm-photo-bento__icon {
    position: absolute;

    right: 26px;
    top: 49px;

    color: rgba(0, 45, 34, .18);

    font-size: 68px;
}

.cdm-photo-bento__icon--outline {
    color: rgba(0, 45, 34, .12);
}


/* MANIFESTO PHOTO */

.cdm-photo-manifesto {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--cdm-photo-green-950);
}

.cdm-photo-manifesto__media {
    position: absolute;
    inset: 0;
}

.cdm-photo-manifesto__media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 58%;
}

.cdm-photo-manifesto__veil {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 31, 24, .97) 0%,
            rgba(0, 31, 24, .90) 42%,
            rgba(0, 31, 24, .55) 72%,
            rgba(0, 31, 24, .68) 100%);
}

.cdm-photo-manifesto__layout {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 80px;

    align-items: center;

    padding: 110px 0;
}

.cdm-photo-manifesto__stamp {
    display: flex;
    flex-direction: column;

    color: rgba(255, 255, 255, .075);

    font-size: clamp(90px, 10vw, 160px);
    font-weight: 900;
    line-height: .64;
    letter-spacing: -8px;
}

.cdm-photo-manifesto__copy h2 {
    margin: 15px 0 0;

    color: var(--cdm-photo-white);

    font-size: clamp(52px, 5.9vw, 88px);
    line-height: .94;
    letter-spacing: -4px;
}

.cdm-photo-manifesto__copy h2 em {
    display: block;

    color: var(--cdm-photo-lime);

    font-weight: 350;
}

.cdm-photo-manifesto__copy p {
    max-width: 690px;

    margin: 27px 0 0;

    color: rgba(255, 255, 255, .68);

    font-size: 16px;
    line-height: 1.8;
}


/* LINKS */

.cdm-photo-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    margin-top: 27px;

    color: var(--cdm-photo-green-700) !important;

    font-size: 11px;
    font-weight: 900;
}

.cdm-photo-arrow-link span {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid currentColor;
    border-radius: 50%;

    transition:
        transform .22s ease;
}

.cdm-photo-arrow-link:hover span {
    transform: translateX(5px);
}

.cdm-photo-arrow-link--light {
    color: var(--cdm-photo-lime) !important;
}


/* RESULTS */

.cdm-photo-results {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 26px;
}

.cdm-photo-result--feature {
    min-height: 560px;

    overflow: hidden;

    display: grid;
    grid-template-rows: 1.03fr .97fr;

    border-radius: 28px;

    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-white) !important;

    box-shadow:
        0 26px 65px rgba(0, 45, 34, .12);
}

.cdm-photo-result__media {
    position: relative;

    overflow: hidden;
}

.cdm-photo-result__media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;
}

.cdm-photo-result--feature:hover .cdm-photo-result__media img {
    transform: scale(1.04);
}

.cdm-photo-result__shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(0deg,
            rgba(0, 31, 24, .62),
            transparent 65%);
}

.cdm-photo-result__index {
    position: absolute;

    left: 27px;
    bottom: 24px;

    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.cdm-photo-result__index span {
    color: var(--cdm-photo-lime);

    font-size: 58px;
    font-weight: 900;
    line-height: .75;
}

.cdm-photo-result__index small {
    color: rgba(255, 255, 255, .72);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.cdm-photo-result__body {
    padding: 34px;
}

.cdm-photo-result__body small {
    color: var(--cdm-photo-lime);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.cdm-photo-result__body h3 {
    margin: 12px 0 0;

    font-size: clamp(32px, 3vw, 46px);
    line-height: 1;
    letter-spacing: -2px;
}

.cdm-photo-result__body p {
    max-width: 600px;

    margin: 18px 0 0;

    color: rgba(255, 255, 255, .59);

    font-size: 13px;
    line-height: 1.65;
}

.cdm-photo-result__body strong {
    display: inline-block;

    margin-top: 28px;

    color: var(--cdm-photo-lime);

    font-size: 11px;
}

.cdm-photo-results__rail {
    display: grid;
    gap: 14px;
}

.cdm-photo-result-row {
    position: relative;

    min-height: 171px;

    overflow: hidden;

    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;

    align-items: center;

    padding: 26px;

    border: 1px solid var(--cdm-photo-border);
    border-radius: 22px;

    background: var(--cdm-photo-soft);

    color: var(--cdm-photo-green-950) !important;

    transition:
        transform .24s ease,
        background .24s ease;
}

.cdm-photo-result-row:hover {
    transform: translateX(5px);

    background: var(--cdm-photo-white);
}

.cdm-photo-result-row>span {
    position: relative;
    z-index: 2;

    color: var(--cdm-photo-green-500);

    font-size: 10px;
    font-weight: 900;
}

.cdm-photo-result-row small,
.cdm-photo-result-row h3,
.cdm-photo-result-row b {
    position: relative;
    z-index: 2;
}

.cdm-photo-result-row small {
    color: #829089;

    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cdm-photo-result-row h3 {
    margin: 6px 0 0;

    font-size: 20px;
    line-height: 1.14;
}

.cdm-photo-result-row b {
    color: var(--cdm-photo-green-500);

    font-size: 20px;
}

.cdm-photo-result-row--photo {
    color: var(--cdm-photo-white) !important;

    border: 0;
}

.cdm-photo-result-row--photo>img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cdm-photo-result-row__photo-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 31, 24, .90),
            rgba(0, 31, 24, .54));
}

.cdm-photo-result-row--photo small {
    color: var(--cdm-photo-lime);
}

.cdm-photo-result-row--photo>span,
.cdm-photo-result-row--photo b {
    color: var(--cdm-photo-lime);
}


/* PROCESS */

.cdm-photo-process {
    padding: 125px 0 105px;

    background:
        radial-gradient(circle at 50% 55%,
            rgba(139, 217, 54, .08),
            transparent 29%),
        var(--cdm-photo-green-950);
}

.cdm-photo-process__diagram {
    position: relative;

    width: min(100%, 1050px);
    min-height: 680px;

    margin: 30px auto 0;
}

.cdm-photo-process__ring {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
}

.cdm-photo-process__ring--1 {
    width: 65%;
    aspect-ratio: 1;
}

.cdm-photo-process__ring--2 {
    width: 47%;
    aspect-ratio: 1;
}

.cdm-photo-process__ring--3 {
    width: 29%;
    aspect-ratio: 1;

    border-color: rgba(139, 217, 54, .22);
}

.cdm-photo-process__core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 165px;
    height: 165px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--cdm-photo-lime);

    color: var(--cdm-photo-green-950) !important;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, .28);
}

.cdm-photo-process__core small {
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.cdm-photo-process__core strong {
    margin-top: 3px;

    font-size: 24px;
}

.cdm-photo-process__core>span {
    margin-top: 8px;

    font-size: 17px;
}

.cdm-photo-process__node {
    position: absolute;

    min-width: 175px;
    max-width: 210px;

    padding: 15px 16px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;

    background: rgba(255, 255, 255, .055);

    color: rgba(255, 255, 255, .84) !important;

    backdrop-filter: blur(12px);

    font-size: 11px;
    font-weight: 760;

    transition:
        transform .24s ease,
        background .24s ease,
        color .24s ease;
}

.cdm-photo-process__node:hover {
    transform: translateY(-4px);

    background: var(--cdm-photo-lime);

    color: var(--cdm-photo-green-950) !important;
}

.cdm-photo-process__node span {
    display: block;

    margin-bottom: 5px;

    color: var(--cdm-photo-lime);

    font-size: 9px;
    font-weight: 900;
}

.cdm-photo-process__node:hover span {
    color: var(--cdm-photo-green-950);
}

.cdm-photo-process__node--1 {
    left: 4%;
    top: 10%;
}

.cdm-photo-process__node--2 {
    right: 3%;
    top: 10%;
}

.cdm-photo-process__node--3 {
    right: 0;
    top: 48%;
}

.cdm-photo-process__node--4 {
    right: 12%;
    bottom: 2%;
}

.cdm-photo-process__node--5 {
    left: 11%;
    bottom: 0;
}

.cdm-photo-process__node--6 {
    left: 0;
    top: 49%;
}


/* CITIZEN */

.cdm-photo-citizen {
    position: relative;

    padding: 135px 0;

    overflow: hidden;

    background: var(--cdm-photo-lime);
}

.cdm-photo-citizen::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: .13;

    background-image:
        radial-gradient(rgba(0, 45, 34, .42) 1px,
            transparent 1px);

    background-size: 13px 13px;

    mask-image:
        linear-gradient(90deg,
            transparent,
            black 50%,
            transparent);
}

.cdm-photo-citizen__layout {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;

    align-items: center;
}

.cdm-photo-citizen__copy h2 {
    margin: 12px 0 0;

    color: var(--cdm-photo-green-950);

    font-size: clamp(63px, 7vw, 108px);
    line-height: .84;
    letter-spacing: -6px;
}

.cdm-photo-citizen__copy h2 em {
    display: block;

    color: var(--cdm-photo-green-500);

    font-weight: 350;
}

.cdm-photo-citizen__copy p {
    max-width: 610px;

    margin: 28px 0 0;

    color: rgba(0, 45, 34, .72);

    font-size: 17px;
    line-height: 1.75;
}

.cdm-photo-citizen__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;

    align-items: center;

    margin-top: 31px;
}

.cdm-photo-citizen__visual {
    position: relative;

    min-height: 430px;
}

.cdm-photo-citizen__word {
    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    color: rgba(0, 45, 34, .11);

    font-size: clamp(92px, 10vw, 165px);
    font-weight: 900;
    line-height: .64;
    letter-spacing: -8px;

    text-align: right;
}

.cdm-photo-citizen__badge {
    position: absolute;

    left: 8%;
    bottom: 10%;

    width: 150px;
    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cdm-photo-green-950);

    box-shadow:
        0 22px 55px rgba(0, 45, 34, .22);
}

.cdm-photo-citizen__badge small {
    color: rgba(255, 255, 255, .54);

    font-size: 9px;
    text-transform: uppercase;
}

.cdm-photo-citizen__badge strong {
    margin-top: 4px;

    color: var(--cdm-photo-lime);

    font-size: 17px;
}


/* NEWS */

.cdm-photo-news {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}

.cdm-photo-news__lead {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    border-radius: 28px;

    color: var(--cdm-photo-white) !important;

    box-shadow:
        0 24px 60px rgba(0, 45, 34, .12);
}

.cdm-photo-news__lead img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .75s ease;
}

.cdm-photo-news__lead:hover img {
    transform: scale(1.04);
}

.cdm-photo-news__shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(0deg,
            rgba(0, 31, 24, .94),
            rgba(0, 31, 24, .10) 70%);
}

.cdm-photo-news__lead-content {
    position: absolute;

    left: 32px;
    right: 32px;
    bottom: 30px;
}

.cdm-photo-news__lead-content small {
    color: var(--cdm-photo-lime);

    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.cdm-photo-news__lead-content h3 {
    max-width: 720px;

    margin: 10px 0 0;

    font-size: clamp(31px, 3.2vw, 48px);
    line-height: 1;
    letter-spacing: -2px;
}

.cdm-photo-news__lead-content strong {
    display: inline-block;

    margin-top: 24px;

    color: var(--cdm-photo-lime);

    font-size: 11px;
}

.cdm-photo-agenda {
    min-height: 500px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border-radius: 28px;

    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-white);
}

.cdm-photo-agenda__head {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.cdm-photo-agenda__head span {
    color: var(--cdm-photo-lime);

    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.cdm-photo-agenda__head strong {
    color: rgba(255, 255, 255, .44);

    font-size: 11px;
}

.cdm-photo-agenda__event {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;

    margin: auto 0;
}

.cdm-photo-agenda__event time {
    min-height: 105px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid rgba(255, 255, 255, .12);
}

.cdm-photo-agenda__event time strong {
    color: var(--cdm-photo-lime);

    font-size: 30px;
}

.cdm-photo-agenda__event time span {
    color: rgba(255, 255, 255, .42);

    font-size: 9px;
}

.cdm-photo-agenda__event small {
    color: rgba(255, 255, 255, .40);

    font-size: 9px;
    text-transform: uppercase;
}

.cdm-photo-agenda__event h3 {
    margin: 7px 0 0;

    color: var(--cdm-photo-white);

    font-size: 23px;
    line-height: 1.1;
}


/* OPEN DATA */

.cdm-photo-open {
    padding: 120px 0;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #003526,
            #001f18);
}

.cdm-photo-open__layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;

    align-items: center;
}

.cdm-photo-open__visual {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;

    background:
        linear-gradient(rgba(139, 217, 54, .055) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(139, 217, 54, .055) 1px,
            transparent 1px);

    background-size: 28px 28px;
}

.cdm-photo-open__zero,
.cdm-photo-open__one {
    position: absolute;

    color: rgba(139, 217, 54, .14);

    font-size: 260px;
    font-weight: 900;
    line-height: 1;
}

.cdm-photo-open__zero {
    left: 9%;
    top: 17%;
}

.cdm-photo-open__one {
    right: 12%;
    bottom: 5%;
}

.cdm-photo-open__scan {
    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 2px;

    background: var(--cdm-photo-lime);

    box-shadow:
        0 0 22px var(--cdm-photo-lime);

    animation:
        cdmPhotoScan 5.5s linear infinite;
}

.cdm-photo-open__copy h2 {
    margin: 13px 0 0;

    color: var(--cdm-photo-white);

    font-size: clamp(48px, 5vw, 76px);
    line-height: .95;
    letter-spacing: -4px;
}

.cdm-photo-open__copy h2 em {
    display: block;

    color: var(--cdm-photo-lime);

    font-weight: 350;
}

.cdm-photo-open__copy p {
    max-width: 650px;

    margin: 25px 0 30px;

    color: rgba(255, 255, 255, .60);

    font-size: 16px;
    line-height: 1.75;
}


/* END */

.cdm-photo-end {
    padding: 110px 0 120px;

    text-align: center;

    background: var(--cdm-photo-white);
}

.cdm-photo-end__seal {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-lime);

    font-size: 14px;
    font-weight: 900;
}

.cdm-photo-end h2 {
    margin: 0;

    color: var(--cdm-photo-green-950);

    font-size: clamp(54px, 6vw, 90px);
    line-height: .9;
    letter-spacing: -5px;
}

.cdm-photo-end h2 em {
    display: block;

    color: var(--cdm-photo-green-500);

    font-weight: 350;
}

.cdm-photo-end p {
    margin: 25px 0 0;

    color: #839089;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* BACK TO TOP */

.cdm-photo-backtop {
    position: fixed;

    z-index: 9999;

    right: 22px;
    bottom: 22px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: var(--cdm-photo-green-950);

    color: var(--cdm-photo-white);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, .18);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.cdm-photo-backtop.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* ANIMATIONS */

@keyframes cdmPhotoTicker {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

@keyframes cdmPhotoPulse {

    0%,
    100% {
        transform: scale(.95);
        opacity: .58;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

}

@keyframes cdmPhotoScan {

    0% {
        top: 0;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }

}


/* TABLET */

@media (max-width: 1180px) {

    .cdm-photo-hero {
        min-height: auto;

        padding-top: 86px;
    }

    .cdm-photo-hero__layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cdm-photo-hero__copy {
        padding-bottom: 30px;
    }

    .cdm-photo-hero__panel {
        min-height: 530px;

        margin-bottom: 160px;
    }

    .cdm-photo-command {
        margin-top: -86px;

        grid-template-columns: 1fr;
    }

    .cdm-photo-command__links {
        justify-content: flex-start;
    }

    .cdm-photo-section-head,
    .cdm-photo-manifesto__layout,
    .cdm-photo-results,
    .cdm-photo-citizen__layout,
    .cdm-photo-open__layout {
        grid-template-columns: 1fr;
    }

    .cdm-photo-section-head {
        gap: 28px;
    }

    .cdm-photo-manifesto__stamp {
        display: none;
    }

    .cdm-photo-bento__card--wide {
        grid-column: span 12;
    }

    .cdm-photo-bento__card--lime,
    .cdm-photo-bento__card--green {
        grid-column: span 6;
    }

    .cdm-photo-bento__card--white,
    .cdm-photo-bento__card--soft {
        grid-column: span 4;
    }

}


/* MOBILE */

@media (max-width: 760px) {

    .cdm-photo-shell {
        width: 92%;
    }

    .cdm-photo-hero {
        padding-top: 68px;
    }

    .cdm-photo-hero__image {
        object-position: 65% 50%;
    }

    .cdm-photo-hero__veil {
        background:
            linear-gradient(90deg,
                rgba(0, 31, 24, .96),
                rgba(0, 31, 24, .70));
    }

    .cdm-photo-hero__copy h1 {
        font-size: 55px;
        line-height: .90;
        letter-spacing: -3px;
    }

    .cdm-photo-hero__copy>p {
        font-size: 15px;
    }

    .cdm-photo-hero__panel {
        min-height: 490px;

        margin-bottom: 145px;
    }

    .cdm-photo-panel__stats {
        grid-template-columns: 1fr;
    }

    .cdm-photo-panel__stats>div:nth-child(2),
    .cdm-photo-panel__stats>div:nth-child(3) {
        display: none;
    }

    .cdm-photo-command {
        margin-top: -60px;

        padding: 18px;
    }

    .cdm-photo-command__links {
        gap: 6px;
    }

    .cdm-photo-command__links a {
        font-size: 9px;
    }

    .cdm-photo-section {
        padding: 86px 0;
    }

    .cdm-photo-section-head {
        margin-bottom: 40px;
    }

    .cdm-photo-section-head h2 {
        font-size: 47px;
        letter-spacing: -3px;
    }

    .cdm-photo-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .cdm-photo-bento__card,
    .cdm-photo-bento__card--wide,
    .cdm-photo-bento__card--lime,
    .cdm-photo-bento__card--green,
    .cdm-photo-bento__card--white,
    .cdm-photo-bento__card--soft {
        grid-column: auto;
        grid-row: auto;

        min-height: 270px;
    }

    .cdm-photo-bento__card--wide {
        min-height: 410px;
    }

    .cdm-photo-manifesto {
        min-height: auto;
    }

    .cdm-photo-manifesto__layout {
        padding: 90px 0;
    }

    .cdm-photo-manifesto__copy h2 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .cdm-photo-result--feature {
        min-height: auto;
    }

    .cdm-photo-result__media {
        min-height: 300px;
    }

    .cdm-photo-process {
        padding: 90px 0;
    }

    .cdm-photo-process__diagram {
        min-height: auto;
    }

    .cdm-photo-process__ring {
        display: none;
    }

    .cdm-photo-process__core {
        position: relative;

        left: auto;
        top: auto;

        margin: 0 auto 28px;

        transform: none;
    }

    .cdm-photo-process__node {
        position: relative;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        display: block;

        max-width: none;

        margin: 9px 0;
    }

    .cdm-photo-citizen {
        padding: 90px 0;
    }

    .cdm-photo-citizen__copy h2 {
        font-size: 59px;
        letter-spacing: -4px;
    }

    .cdm-photo-citizen__visual {
        min-height: 280px;
    }

    .cdm-photo-citizen__word {
        font-size: 82px;
    }

    .cdm-photo-news {
        grid-template-columns: 1fr;
    }

    .cdm-photo-open {
        padding: 90px 0;
    }

    .cdm-photo-open__visual {
        min-height: 330px;
    }

    .cdm-photo-open__copy h2 {
        font-size: 49px;
        letter-spacing: -3px;
    }

    .cdm-photo-end {
        padding: 85px 0 95px;
    }

    .cdm-photo-end h2 {
        font-size: 53px;
        letter-spacing: -3px;
    }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .cdm-home-photo *,
    .cdm-home-photo *::before,
    .cdm-home-photo *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}

/* =========================================================
RESPONSIVE REFORZADO — POWER PAGES / TABLET / MÓVIL
Estas reglas se ubican al final para prevalecer sobre estilos previos.
========================================================= */

.cdm-home-photo {
    max-width: 100%;
    overflow-x: clip;
}

.cdm-home-photo img {
    max-width: 100%;
}

.cdm-photo-hero__layout>*,
.cdm-photo-section-head>*,
.cdm-photo-results>*,
.cdm-photo-manifesto__layout>*,
.cdm-photo-citizen__layout>*,
.cdm-photo-open__layout>*,
.cdm-photo-news>* {
    min-width: 0;
}

.cdm-home-photo h1,
.cdm-home-photo h2,
.cdm-home-photo h3,
.cdm-home-photo p,
.cdm-home-photo a,
.cdm-home-photo strong,
.cdm-home-photo small {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {

    .cdm-photo-shell {
        width: min(92%, 760px);
    }

    .cdm-photo-hero {
        min-height: auto;
        padding-top: 72px;
    }

    .cdm-photo-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .cdm-photo-hero__copy {
        padding-bottom: 0;
    }

    .cdm-photo-hero__copy h1 {
        max-width: 100%;
        font-size: clamp(48px, 10.5vw, 76px);
        line-height: .9;
        letter-spacing: -3.5px;
    }

    .cdm-photo-hero__copy>p {
        max-width: 620px;
        font-size: 16px;
    }

    .cdm-photo-hero__panel {
        width: 100%;
        min-height: 470px;
        margin-bottom: 135px;
        transform: none !important;
    }

    .cdm-photo-command {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: -72px;
    }

    .cdm-photo-command__links {
        justify-content: flex-start;
    }

    .cdm-photo-section-head,
    .cdm-photo-section-head--action,
    .cdm-photo-manifesto__layout,
    .cdm-photo-results,
    .cdm-photo-citizen__layout,
    .cdm-photo-open__layout,
    .cdm-photo-news {
        grid-template-columns: minmax(0, 1fr);
    }

    .cdm-photo-section-head--action .cdm-photo-arrow-link {
        justify-self: start;
        margin-top: 0;
    }

    .cdm-photo-bento__card--wide {
        grid-column: span 12;
    }

    .cdm-photo-bento__card--lime,
    .cdm-photo-bento__card--green,
    .cdm-photo-bento__card--white,
    .cdm-photo-bento__card--soft {
        grid-column: span 6;
    }

    .cdm-photo-citizen__visual {
        min-height: 330px;
    }

    .cdm-photo-open__layout {
        gap: 48px;
    }
}

@media (max-width: 640px) {

    .cdm-photo-shell {
        width: calc(100% - 32px);
    }

    .cdm-photo-hero {
        padding-top: 52px;
    }

    .cdm-photo-hero::after {
        bottom: -125px;
        height: 165px;
    }

    .cdm-photo-hero__image {
        object-position: 68% center;
    }

    .cdm-photo-hero__veil {
        background:
            linear-gradient(90deg,
                rgba(0, 31, 24, .97) 0%,
                rgba(0, 31, 24, .88) 55%,
                rgba(0, 31, 24, .70) 100%),
            linear-gradient(0deg,
                rgba(0, 31, 24, .62),
                transparent 45%);
    }

    .cdm-photo-eyebrow {
        margin-bottom: 22px;
        font-size: 9px;
        letter-spacing: 1.25px;
    }

    .cdm-photo-hero__copy h1 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: .92;
        letter-spacing: -2.7px;
    }

    .cdm-photo-hero__copy>p {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.65;
    }

    .cdm-photo-hero__actions {
        align-items: stretch;
        margin-top: 28px;
    }

    .cdm-photo-hero__actions .cdm-photo-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .cdm-photo-hero__principles {
        gap: 8px 16px;
        margin-top: 32px;
    }

    .cdm-photo-hero__panel {
        min-height: 420px;
        margin-bottom: 116px;
        border-radius: 24px;
    }

    .cdm-photo-panel__head {
        left: 18px;
        right: 18px;
        top: 18px;
    }

    .cdm-photo-panel__center {
        inset: 58px 0 128px;
    }

    .cdm-photo-panel__ring {
        width: 230px;
        height: 230px;
    }

    .cdm-photo-panel__ring--2 {
        width: 170px;
        height: 170px;
    }

    .cdm-photo-panel__core {
        width: 118px;
        height: 118px;
    }

    .cdm-photo-panel__core strong {
        font-size: 21px;
    }

    .cdm-photo-panel__stats {
        left: 16px;
        right: 16px;
        bottom: 16px;
        grid-template-columns: 1fr;
    }

    .cdm-photo-panel__stats>div {
        min-height: 74px;
    }

    .cdm-photo-panel__stats>div:nth-child(2),
    .cdm-photo-panel__stats>div:nth-child(3) {
        display: none;
    }

    .cdm-photo-command {
        margin-top: -54px;
        padding: 18px;
        border-radius: 18px;
    }

    .cdm-photo-command__intro {
        align-items: flex-start;
    }

    .cdm-photo-command__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .cdm-photo-command__links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 10px;
        text-align: center;
        white-space: normal;
    }

    .cdm-photo-ticker {
        padding: 24px 0 22px;
    }

    .cdm-photo-section,
    .cdm-photo-process,
    .cdm-photo-citizen,
    .cdm-photo-open {
        padding-top: 74px;
        padding-bottom: 74px;
    }

    .cdm-photo-section-head {
        gap: 20px;
        margin-bottom: 34px;
    }

    .cdm-photo-section-head h2,
    .cdm-photo-manifesto__copy h2,
    .cdm-photo-open__copy h2 {
        font-size: clamp(38px, 11.5vw, 50px);
        line-height: .96;
        letter-spacing: -2.5px;
    }

    .cdm-photo-section-head>p,
    .cdm-photo-manifesto__copy p,
    .cdm-photo-open__copy p {
        font-size: 15px;
    }

    .cdm-photo-bento {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 14px;
    }

    .cdm-photo-bento__card,
    .cdm-photo-bento__card--wide,
    .cdm-photo-bento__card--lime,
    .cdm-photo-bento__card--green,
    .cdm-photo-bento__card--white,
    .cdm-photo-bento__card--soft {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 250px;
        padding: 22px;
    }

    .cdm-photo-bento__card--wide {
        min-height: 380px;
        padding: 0;
    }

    .cdm-photo-bento__card--wide .cdm-photo-bento__content {
        padding: 24px;
    }

    .cdm-photo-bento__card--wide h3 {
        font-size: clamp(31px, 9vw, 42px);
    }

    .cdm-photo-manifesto__layout {
        padding: 76px 0;
    }

    .cdm-photo-result--feature {
        min-height: 0;
        grid-template-rows: 270px auto;
    }

    .cdm-photo-result__media {
        min-height: 0;
    }

    .cdm-photo-result__body {
        padding: 24px;
    }

    .cdm-photo-result__body h3 {
        font-size: clamp(29px, 8vw, 38px);
        letter-spacing: -1.4px;
    }

    .cdm-photo-result-row {
        min-height: 140px;
        grid-template-columns: 28px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 20px;
    }

    .cdm-photo-result-row h3 {
        font-size: 18px;
    }

    .cdm-photo-process__diagram {
        min-height: 0;
    }

    .cdm-photo-process__ring {
        display: none;
    }

    .cdm-photo-process__core {
        position: relative;
        left: auto;
        top: auto;
        width: 142px;
        height: 142px;
        margin: 0 auto 26px;
        transform: none;
    }

    .cdm-photo-process__node {
        position: relative;
        inset: auto !important;
        width: 100%;
        min-width: 0;
        max-width: none;
        display: block;
        margin: 9px 0;
        padding: 15px 16px;
    }

    .cdm-photo-citizen__copy h2 {
        font-size: clamp(46px, 13vw, 62px);
        line-height: .9;
        letter-spacing: -3.5px;
    }

    .cdm-photo-citizen__actions {
        align-items: stretch;
    }

    .cdm-photo-citizen__actions .cdm-photo-btn {
        width: 100%;
    }

    .cdm-photo-citizen__actions .cdm-photo-arrow-link {
        margin-top: 0;
    }

    .cdm-photo-citizen__visual {
        min-height: 230px;
    }

    .cdm-photo-citizen__word {
        right: -6%;
        font-size: clamp(66px, 21vw, 96px);
        letter-spacing: -5px;
    }

    .cdm-photo-citizen__badge {
        left: 0;
        bottom: 6%;
        width: 118px;
        height: 118px;
    }

    .cdm-photo-news__lead,
    .cdm-photo-agenda {
        min-height: 420px;
    }

    .cdm-photo-news__lead-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .cdm-photo-news__lead-content h3 {
        font-size: clamp(28px, 8.5vw, 38px);
    }

    .cdm-photo-agenda {
        padding: 22px;
    }

    .cdm-photo-agenda__event {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
    }

    .cdm-photo-agenda__event h3 {
        font-size: 19px;
    }

    .cdm-photo-open__visual {
        min-height: 270px;
    }

    .cdm-photo-open__zero,
    .cdm-photo-open__one {
        font-size: 190px;
    }

    .cdm-photo-end {
        padding: 72px 0 82px;
    }

    .cdm-photo-end h2 {
        font-size: clamp(40px, 12vw, 54px);
        line-height: .94;
        letter-spacing: -2.8px;
    }

    .cdm-photo-backtop {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {

    .cdm-photo-shell {
        width: calc(100% - 24px);
    }

    .cdm-photo-hero__copy h1 {
        font-size: clamp(39px, 13.8vw, 52px);
        letter-spacing: -2.3px;
    }

    .cdm-photo-eyebrow {
        align-items: flex-start;
    }

    .cdm-photo-command__links {
        grid-template-columns: 1fr;
    }

    .cdm-photo-panel__head {
        font-size: 8px;
    }

    .cdm-photo-live {
        max-width: 145px;
        text-align: right;
    }

    .cdm-photo-section-head h2,
    .cdm-photo-manifesto__copy h2,
    .cdm-photo-open__copy h2 {
        font-size: clamp(35px, 11.7vw, 44px);
        letter-spacing: -2px;
    }

    .cdm-photo-bento__content h3 {
        font-size: 24px;
    }

    .cdm-photo-bento__card--wide h3 {
        font-size: clamp(29px, 9.7vw, 38px);
    }

    .cdm-photo-result-row {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .cdm-photo-result-row b {
        display: none;
    }

    .cdm-photo-citizen__copy h2 {
        font-size: clamp(42px, 14vw, 54px);
    }

    .cdm-photo-open__zero,
    .cdm-photo-open__one {
        font-size: 160px;
    }
}

@media (max-height: 540px) and (orientation: landscape) {

    .cdm-photo-hero {
        padding-top: 40px;
    }

    .cdm-photo-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
        gap: 28px;
    }

    .cdm-photo-hero__copy h1 {
        font-size: clamp(42px, 7vw, 64px);
    }

    .cdm-photo-hero__panel {
        min-height: 390px;
        margin-bottom: 115px;
    }
}


/* =========================================================
   BLOQUE MISIÓN / VISIÓN + RESPONSIVE MÓVIL DEFINITIVO
   ========================================================= */

.cdm-photo-identity {
    position: relative;
    padding: 76px 0 92px;
    background: var(--cdm-photo-white);
}

.cdm-photo-identity__card {
    position: relative;
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(135deg, #f4f0e7 0%, #eef5ef 100%);
    color: var(--cdm-photo-green-950) !important;
    box-shadow: 0 28px 75px rgba(0, 45, 34, .12);
}

.cdm-photo-identity__copy {
    position: relative;
    z-index: 2;
    padding: clamp(42px, 5vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cdm-photo-identity__copy h2 {
    max-width: 760px;
    margin: 13px 0 0;
    font-size: clamp(46px, 5vw, 76px);
    line-height: .94;
    letter-spacing: -4px;
}

.cdm-photo-identity__copy h2 em {
    display: block;
    color: var(--cdm-photo-green-500);
    font-weight: 350;
}

.cdm-photo-identity__copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--cdm-photo-text);
    font-size: 16px;
    line-height: 1.75;
}

.cdm-photo-identity__link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    color: var(--cdm-photo-green-700);
    font-size: 12px;
    font-weight: 900;
}

.cdm-photo-identity__link b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.cdm-photo-identity__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(145deg, var(--cdm-photo-green-950), var(--cdm-photo-green-800));
}

.cdm-photo-identity__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 38px 38px;
}

.cdm-photo-identity__orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(139, 217, 54, .28);
    border-radius: 50%;
}

.cdm-photo-identity__orbit--one {
    width: 330px;
    height: 330px;
}

.cdm-photo-identity__orbit--two {
    width: 230px;
    height: 230px;
    border-color: rgba(255, 255, 255, .18);
}

.cdm-photo-identity__mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cdm-photo-lime);
    color: var(--cdm-photo-green-950);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.cdm-photo-identity__mark small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.cdm-photo-identity__mark strong {
    margin-top: 3px;
    font-size: 22px;
}

.cdm-photo-identity__mark span {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 800;
}

.cdm-photo-identity__word {
    position: absolute;
    right: -18px;
    bottom: 18px;
    color: rgba(255, 255, 255, .07);
    font-size: clamp(62px, 7vw, 112px);
    font-weight: 900;
    letter-spacing: -6px;
}

/* Evita que estilos globales de Bootstrap/Power Pages rompan el ancho local. */
@media (max-width: 900px) {

    .cdm-home-photo,
    .cdm-home-photo section,
    .cdm-home-photo footer,
    .cdm-home-photo .cdm-photo-shell {
        max-width: 100%;
    }

    .cdm-home-photo .cdm-photo-shell {
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .cdm-photo-identity__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .cdm-photo-identity__visual {
        min-height: 330px;
    }
}

@media (max-width: 640px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .cdm-home-photo {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .cdm-home-photo .cdm-photo-shell {
        width: calc(100% - 28px) !important;
        max-width: none !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    .cdm-photo-hero {
        padding-top: 38px;
    }

    .cdm-photo-hero__layout {
        display: block;
    }

    .cdm-photo-hero__copy {
        width: 100%;
    }

    .cdm-photo-hero__copy h1 {
        width: 100%;
        font-size: clamp(39px, 12.6vw, 56px);
        line-height: .94;
        letter-spacing: -2.2px;
        word-break: normal;
        overflow-wrap: normal;
    }

    .cdm-photo-hero__copy h1 em,
    .cdm-photo-hero__copy h1 strong {
        width: 100%;
    }

    .cdm-photo-hero__panel {
        width: 100%;
        min-height: 390px;
        margin-top: 36px;
        margin-bottom: 98px;
    }

    .cdm-photo-command {
        width: 100%;
        margin-top: -48px;
    }

    .cdm-photo-command__intro {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .cdm-photo-command__icon {
        width: 48px;
        height: 48px;
    }

    .cdm-photo-command__links {
        grid-template-columns: 1fr 1fr;
    }

    .cdm-photo-command__links a:last-child {
        grid-column: 1 / -1;
    }

    .cdm-photo-identity {
        padding: 56px 0 66px;
    }

    .cdm-photo-identity__card {
        min-height: 0;
        border-radius: 24px;
    }

    .cdm-photo-identity__copy {
        padding: 34px 24px 38px;
    }

    .cdm-photo-identity__copy h2 {
        font-size: clamp(36px, 10.8vw, 48px);
        line-height: .98;
        letter-spacing: -2.3px;
    }

    .cdm-photo-identity__copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    .cdm-photo-identity__visual {
        min-height: 260px;
    }

    .cdm-photo-identity__orbit--one {
        width: 230px;
        height: 230px;
    }

    .cdm-photo-identity__orbit--two {
        width: 165px;
        height: 165px;
    }

    .cdm-photo-identity__mark {
        width: 112px;
        height: 112px;
    }

    .cdm-photo-identity__mark strong {
        font-size: 17px;
    }

    .cdm-photo-identity__word {
        font-size: 56px;
        letter-spacing: -3px;
    }

    .cdm-photo-section-head h2,
    .cdm-photo-manifesto__copy h2,
    .cdm-photo-open__copy h2,
    .cdm-photo-end h2 {
        word-break: normal;
        overflow-wrap: normal;
    }

    .cdm-photo-bento__card {
        width: 100%;
    }

    .cdm-photo-result-row {
        width: 100%;
    }

    .cdm-photo-citizen__visual {
        overflow: hidden;
    }

    .cdm-photo-citizen__word {
        right: -12px;
        max-width: 100%;
    }

    .cdm-photo-news__lead,
    .cdm-photo-agenda {
        width: 100%;
        min-height: 380px;
    }

    .cdm-photo-open__visual {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .cdm-home-photo .cdm-photo-shell {
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .cdm-photo-hero__copy h1 {
        font-size: clamp(36px, 12vw, 48px);
    }

    .cdm-photo-hero__actions,
    .cdm-photo-citizen__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cdm-photo-command__links {
        grid-template-columns: 1fr;
    }

    .cdm-photo-command__links a:last-child {
        grid-column: auto;
    }

    .cdm-photo-panel__ring {
        width: 205px;
        height: 205px;
    }

    .cdm-photo-panel__ring--2 {
        width: 150px;
        height: 150px;
    }

    .cdm-photo-result-row {
        padding: 18px 16px;
    }

    .cdm-photo-agenda__event {
        grid-template-columns: 52px minmax(0, 1fr);
    }
}


/* =========================================================
RESPONSIVE MÓVIL DEFINITIVO — POWER PAGES
Este bloque debe permanecer AL FINAL del CSS.
Incluye fallback max-device-width para plantillas sin meta viewport.
========================================================= */

/* Aislamiento frente a estilos globales de Bootstrap / Power Pages */
.cdm-home-photo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

.cdm-home-photo,
.cdm-home-photo *,
.cdm-home-photo *::before,
.cdm-home-photo *::after {
    min-width: 0;
}

.cdm-home-photo img,
.cdm-home-photo video,
.cdm-home-photo svg {
    max-width: 100%;
}

@media screen and (max-width: 767px),
screen and (max-device-width: 767px) {

    /* -----------------------------------------------------
       CONTENEDOR GENERAL
    ----------------------------------------------------- */

    .cdm-home-photo {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .cdm-home-photo .cdm-photo-shell {
        width: calc(100% - 32px) !important;
        max-width: none !important;

        margin-left: 16px !important;
        margin-right: 16px !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cdm-home-photo section,
    .cdm-home-photo footer {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .cdm-home-photo h1,
    .cdm-home-photo h2,
    .cdm-home-photo h3,
    .cdm-home-photo p,
    .cdm-home-photo a,
    .cdm-home-photo strong,
    .cdm-home-photo small,
    .cdm-home-photo span {
        max-width: 100%;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .cdm-photo-hero {
        min-height: 0 !important;

        padding:
            54px 0 86px !important;

        background: var(--cdm-photo-green-950);
    }

    .cdm-photo-hero::after {
        display: none !important;
    }

    .cdm-photo-hero__media {
        position: absolute;
        inset: 0;
    }

    .cdm-photo-hero__image {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: 58% center !important;

        transform: none !important;
    }

    .cdm-photo-hero__veil {
        background:
            linear-gradient(180deg,
                rgba(0, 31, 24, .90) 0%,
                rgba(0, 31, 24, .84) 48%,
                rgba(0, 31, 24, .96) 100%) !important;
    }

    .cdm-photo-hero__grid {
        background-size: 38px 38px;
    }

    .cdm-photo-hero__layout {
        display: block !important;

        width: 100%;
    }

    .cdm-photo-hero__copy {
        width: 100% !important;

        padding: 0 !important;
    }

    .cdm-photo-eyebrow {
        display: flex;

        margin-bottom: 20px;

        font-size: 9px;
        letter-spacing: 1.15px;
        line-height: 1.35;
    }

    .cdm-photo-hero__copy h1 {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        font-size: clamp(42px, 12vw, 58px) !important;
        line-height: .92 !important;
        letter-spacing: -2.4px !important;
    }

    .cdm-photo-hero__copy h1 em,
    .cdm-photo-hero__copy h1 strong {
        display: block !important;

        width: auto !important;
    }

    .cdm-photo-hero__copy>p {
        width: 100% !important;
        max-width: 100% !important;

        margin-top: 24px !important;

        font-size: 15px !important;
        line-height: 1.62 !important;
    }

    .cdm-photo-hero__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;

        width: 100% !important;

        margin-top: 26px !important;
    }

    .cdm-photo-hero__actions .cdm-photo-btn {
        width: 100% !important;
        min-height: 50px !important;

        padding: 0 18px !important;
    }

    .cdm-photo-hero__principles {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 12px !important;

        width: 100% !important;

        margin-top: 30px !important;
    }

    .cdm-photo-hero__principles span {
        padding-left: 11px;

        font-size: 8px;
        line-height: 1.35;
    }


    /* -----------------------------------------------------
       PANEL DEL HERO
       En móvil deja de ser una gran tarjeta flotante.
    ----------------------------------------------------- */

    .cdm-photo-hero__panel {
        width: 100% !important;
        min-height: 0 !important;

        margin:
            34px 0 0 !important;

        padding:
            18px 16px 16px !important;

        overflow: hidden !important;

        border-radius: 20px !important;

        transform: none !important;
    }

    .cdm-photo-hero__panel::before {
        width: 180px !important;
        height: 180px !important;

        right: -70px !important;
        top: -65px !important;
    }

    .cdm-photo-panel__head {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;

        display: flex !important;
        flex-wrap: wrap !important;
        gap: 9px !important;

        margin-bottom: 15px !important;
    }

    .cdm-photo-panel__center {
        position: relative !important;

        inset: auto !important;

        min-height: 220px !important;

        display: grid !important;
        place-items: center !important;
    }

    .cdm-photo-panel__ring {
        width: 190px !important;
        height: 190px !important;
    }

    .cdm-photo-panel__ring--2 {
        width: 140px !important;
        height: 140px !important;
    }

    .cdm-photo-panel__core {
        width: 112px !important;
        height: 112px !important;
    }

    .cdm-photo-panel__core strong {
        font-size: 20px !important;
    }

    .cdm-photo-panel__stats {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;

        width: 100% !important;

        margin-top: 8px !important;
    }

    .cdm-photo-panel__stats>div {
        min-height: 0 !important;

        padding: 12px 14px !important;

        display: grid !important;
        grid-template-columns: 30px 78px minmax(0, 1fr) !important;
        gap: 8px !important;

        align-items: center !important;
    }

    .cdm-photo-panel__stats span,
    .cdm-photo-panel__stats small,
    .cdm-photo-panel__stats strong {
        margin: 0 !important;
    }


    /* -----------------------------------------------------
       ACCESOS DESTACADOS
    ----------------------------------------------------- */

    .cdm-photo-hero>.cdm-photo-shell:last-child {
        margin-top: 20px !important;
    }

    .cdm-photo-command {
        position: relative !important;

        display: block !important;

        width: 100% !important;
        min-height: 0 !important;

        margin: 0 !important;

        padding: 18px !important;

        border-radius: 18px !important;
    }

    .cdm-photo-command__intro {
        display: grid !important;
        grid-template-columns: 46px minmax(0, 1fr) !important;
        gap: 12px !important;

        align-items: center !important;
    }

    .cdm-photo-command__icon {
        width: 46px !important;
        height: 46px !important;
    }

    .cdm-photo-command__links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;

        width: 100% !important;

        margin-top: 16px !important;
    }

    .cdm-photo-command__links a {
        width: 100% !important;
        min-height: 44px !important;

        display: flex !important;
        align-items: center !important;

        padding: 0 12px !important;

        border-radius: 10px !important;

        background: var(--cdm-photo-soft);
    }


    /* -----------------------------------------------------
       CINTA
    ----------------------------------------------------- */

    .cdm-photo-ticker {
        padding: 21px 0 !important;
    }

    .cdm-photo-ticker__track {
        gap: 19px !important;
    }

    .cdm-photo-ticker span {
        font-size: 9px !important;
        letter-spacing: 1.35px !important;
    }


    /* -----------------------------------------------------
       MISIÓN Y VISIÓN
    ----------------------------------------------------- */

    .cdm-photo-identity {
        padding:
            54px 0 60px !important;
    }

    .cdm-photo-identity__card {
        display: block !important;

        min-height: 0 !important;

        border-radius: 22px !important;
    }

    .cdm-photo-identity__copy {
        padding:
            30px 22px 32px !important;
    }

    .cdm-photo-identity__copy h2 {
        margin-top: 10px !important;

        font-size: clamp(34px, 10.2vw, 46px) !important;
        line-height: .98 !important;
        letter-spacing: -2px !important;
    }

    .cdm-photo-identity__copy p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .cdm-photo-identity__visual {
        min-height: 240px !important;
    }

    .cdm-photo-identity__orbit--one {
        width: 215px !important;
        height: 215px !important;
    }

    .cdm-photo-identity__orbit--two {
        width: 155px !important;
        height: 155px !important;
    }

    .cdm-photo-identity__mark {
        width: 104px !important;
        height: 104px !important;
    }

    .cdm-photo-identity__mark strong {
        font-size: 16px !important;
    }

    .cdm-photo-identity__word {
        right: 8px !important;
        bottom: 8px !important;

        font-size: 46px !important;
        letter-spacing: -2.5px !important;
    }


    /* -----------------------------------------------------
       ENCABEZADOS DE SECCIÓN
    ----------------------------------------------------- */

    .cdm-photo-section {
        padding:
            66px 0 !important;
    }

    .cdm-photo-section-head,
    .cdm-photo-section-head--action {
        display: block !important;

        margin-bottom: 30px !important;
    }

    .cdm-photo-section-head h2,
    .cdm-photo-manifesto__copy h2,
    .cdm-photo-citizen__copy h2,
    .cdm-photo-open__copy h2,
    .cdm-photo-end h2 {
        width: 100% !important;
        max-width: 100% !important;

        font-size: clamp(37px, 10.5vw, 50px) !important;
        line-height: .98 !important;
        letter-spacing: -2.25px !important;
    }

    .cdm-photo-section-head>p {
        width: 100% !important;
        max-width: 100% !important;

        margin-top: 16px !important;

        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .cdm-photo-section-head--action .cdm-photo-arrow-link {
        display: inline-flex !important;

        margin-top: 18px !important;
    }


    /* -----------------------------------------------------
       BENTO
    ----------------------------------------------------- */

    .cdm-photo-bento {
        display: block !important;

        width: 100% !important;
    }

    .cdm-photo-bento__card,
    .cdm-photo-bento__card--wide,
    .cdm-photo-bento__card--lime,
    .cdm-photo-bento__card--green,
    .cdm-photo-bento__card--white,
    .cdm-photo-bento__card--soft {
        width: 100% !important;
        min-height: 250px !important;

        display: flex !important;

        margin: 0 0 14px !important;

        border-radius: 20px !important;
    }

    .cdm-photo-bento__card--wide {
        min-height: 330px !important;
    }

    .cdm-photo-bento__content {
        left: 20px !important;
        right: 20px !important;
        bottom: 20px !important;
    }

    .cdm-photo-bento__content h3 {
        font-size: 28px !important;
        line-height: 1 !important;
        letter-spacing: -1.25px !important;
    }


    /* -----------------------------------------------------
       MANIFIESTO
    ----------------------------------------------------- */

    .cdm-photo-manifesto {
        min-height: 0 !important;
    }

    .cdm-photo-manifesto__layout {
        display: block !important;

        padding:
            74px 0 !important;
    }

    .cdm-photo-manifesto__stamp {
        display: none !important;
    }

    .cdm-photo-manifesto__copy {
        width: 100% !important;
    }


    /* -----------------------------------------------------
       RESULTADOS
    ----------------------------------------------------- */

    .cdm-photo-results {
        display: block !important;

        width: 100% !important;
    }

    .cdm-photo-result--feature {
        width: 100% !important;
        min-height: 0 !important;

        display: block !important;

        margin-bottom: 14px !important;

        border-radius: 20px !important;
    }

    .cdm-photo-result__media {
        height: 260px !important;
        min-height: 260px !important;
    }

    .cdm-photo-result__body {
        padding: 22px !important;
    }

    .cdm-photo-result__body h3 {
        font-size: 27px !important;
        line-height: 1.02 !important;
        letter-spacing: -1.2px !important;
    }

    .cdm-photo-results__rail {
        display: block !important;
    }

    .cdm-photo-result-row {
        width: 100% !important;
        min-height: 0 !important;

        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 25px !important;
        gap: 10px !important;

        align-items: center !important;

        margin-bottom: 10px !important;

        padding:
            18px 16px !important;

        border-radius: 16px !important;
    }

    .cdm-photo-result-row h3 {
        font-size: 18px !important;
        line-height: 1.12 !important;
    }


    /* -----------------------------------------------------
       MAPA DE PROCESOS
       En móvil no se usa diagrama orbital.
    ----------------------------------------------------- */

    .cdm-photo-process {
        padding:
            70px 0 !important;
    }

    .cdm-photo-process__diagram {
        width: 100% !important;
        min-height: 0 !important;

        margin-top: 22px !important;
    }

    .cdm-photo-process__ring {
        display: none !important;
    }

    .cdm-photo-process__core {
        position: relative !important;

        left: auto !important;
        top: auto !important;

        width: 126px !important;
        height: 126px !important;

        margin:
            0 auto 20px !important;

        transform: none !important;
    }

    .cdm-photo-process__node,
    .cdm-photo-process__node--1,
    .cdm-photo-process__node--2,
    .cdm-photo-process__node--3,
    .cdm-photo-process__node--4,
    .cdm-photo-process__node--5,
    .cdm-photo-process__node--6 {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        display: block !important;

        margin:
            0 0 9px !important;

        padding:
            14px 15px !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       CIUDADANÍA
    ----------------------------------------------------- */

    .cdm-photo-citizen {
        padding:
            70px 0 !important;
    }

    .cdm-photo-citizen__layout {
        display: block !important;
    }

    .cdm-photo-citizen__copy {
        width: 100% !important;
    }

    .cdm-photo-citizen__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;

        width: 100% !important;
    }

    .cdm-photo-citizen__actions a {
        width: 100% !important;
    }

    .cdm-photo-citizen__visual {
        min-height: 245px !important;

        margin-top: 30px !important;

        overflow: hidden !important;
    }

    .cdm-photo-citizen__word {
        position: absolute !important;

        left: 0 !important;
        right: 0 !important;
        top: 12px !important;

        max-width: 100% !important;

        font-size: clamp(52px, 18vw, 76px) !important;
        line-height: .74 !important;
        letter-spacing: -3px !important;

        text-align: center !important;
    }

    .cdm-photo-citizen__badge {
        left: 50% !important;
        bottom: 16px !important;

        width: 112px !important;
        height: 112px !important;

        transform: translateX(-50%) !important;
    }


    /* -----------------------------------------------------
       NOTICIAS / AGENDA
    ----------------------------------------------------- */

    .cdm-photo-news {
        display: block !important;

        width: 100% !important;
    }

    .cdm-photo-news__lead,
    .cdm-photo-agenda {
        width: 100% !important;
        min-height: 360px !important;

        margin-bottom: 14px !important;

        border-radius: 20px !important;
    }

    .cdm-photo-news__lead-content {
        left: 20px !important;
        right: 20px !important;
        bottom: 20px !important;
    }

    .cdm-photo-news__lead-content h3 {
        font-size: 28px !important;
        line-height: 1 !important;
        letter-spacing: -1.25px !important;
    }

    .cdm-photo-agenda {
        min-height: 0 !important;

        padding: 22px !important;
    }

    .cdm-photo-agenda__event {
        grid-template-columns: 58px minmax(0, 1fr) !important;
        gap: 12px !important;
    }


    /* -----------------------------------------------------
       DATOS ABIERTOS
    ----------------------------------------------------- */

    .cdm-photo-open {
        padding:
            70px 0 !important;
    }

    .cdm-photo-open__layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .cdm-photo-open__visual {
        order: 2;

        width: 100% !important;
        min-height: 250px !important;
    }

    .cdm-photo-open__copy {
        order: 1;

        width: 100% !important;
    }


    /* -----------------------------------------------------
       CIERRE
    ----------------------------------------------------- */

    .cdm-photo-end {
        padding:
            68px 0 78px !important;
    }

    .cdm-photo-end__seal {
        width: 58px !important;
        height: 58px !important;
    }

    .cdm-photo-end p {
        font-size: 10px !important;
        letter-spacing: 1px !important;
        line-height: 1.5 !important;
    }


    /* -----------------------------------------------------
       BOTÓN VOLVER ARRIBA
    ----------------------------------------------------- */

    .cdm-photo-backtop {
        right: 14px !important;
        bottom: 14px !important;

        width: 44px !important;
        height: 44px !important;
    }
}


@media screen and (max-width: 430px),
screen and (max-device-width: 430px) {

    .cdm-home-photo .cdm-photo-shell {
        width: calc(100% - 24px) !important;

        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .cdm-photo-hero {
        padding-top: 44px !important;
    }

    .cdm-photo-hero__copy h1 {
        font-size: clamp(38px, 11.8vw, 50px) !important;
        letter-spacing: -2px !important;
    }

    .cdm-photo-hero__principles {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .cdm-photo-panel__stats>div {
        grid-template-columns: 26px 70px minmax(0, 1fr) !important;

        padding:
            10px 11px !important;
    }

    .cdm-photo-identity__copy {
        padding:
            28px 20px 30px !important;
    }

    .cdm-photo-section-head h2,
    .cdm-photo-manifesto__copy h2,
    .cdm-photo-citizen__copy h2,
    .cdm-photo-open__copy h2,
    .cdm-photo-end h2 {
        font-size: clamp(34px, 10.2vw, 44px) !important;
    }

    .cdm-photo-bento__content h3 {
        font-size: 25px !important;
    }

    .cdm-photo-result__media {
        height: 225px !important;
        min-height: 225px !important;
    }

    .cdm-photo-result__body h3 {
        font-size: 24px !important;
    }

    .cdm-photo-news__lead {
        min-height: 330px !important;
    }

    .cdm-photo-news__lead-content h3 {
        font-size: 25px !important;
    }
}


/* Orientación horizontal de teléfonos */
@media screen and (max-height: 520px) and (orientation: landscape),
screen and (max-device-height: 520px) and (orientation: landscape) {

    .cdm-photo-hero {
        min-height: 0 !important;

        padding:
            34px 0 55px !important;
    }

    .cdm-photo-hero__copy h1 {
        font-size: clamp(36px, 7vw, 54px) !important;
    }

    .cdm-photo-hero__panel {
        display: none !important;
    }

    .cdm-photo-command {
        margin-top: 22px !important;
    }
}


/* =========================================================
   HOME · CALENDARIO DE PARTICIPACIÓN
   Réplica visual del calendario del Menú Participa.
========================================================= */

.cdm-photo-citizen-calendar {
    position: relative;
    margin-top: 58px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 8%,
            rgba(139, 217, 54, 0.18),
            transparent 30%),
        linear-gradient(135deg,
            rgba(0, 45, 34, 0.98),
            rgba(0, 63, 47, 0.96));
    box-shadow:
        0 28px 70px rgba(0, 31, 24, 0.22);
}

.cdm-photo-citizen-calendar::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -90px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(139, 217, 54, 0.20);
    border-radius: 50%;
    pointer-events: none;
}

.cdm-photo-citizen-calendar::after {
    content: "";
    position: absolute;
    right: 58px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cdm-photo-citizen-calendar__head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.cdm-photo-citizen-calendar__head>div {
    max-width: 760px;
}

.cdm-photo-citizen-calendar__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--cdm-photo-lime);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cdm-photo-citizen-calendar__eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.cdm-photo-citizen-calendar__head h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1;
    letter-spacing: -2px;
}

.cdm-photo-citizen-calendar__head p {
    max-width: 680px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

.cdm-photo-citizen-calendar__all {
    flex: 0 0 auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(12px);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.cdm-photo-citizen-calendar__all:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 217, 54, 0.50);
    background: rgba(139, 217, 54, 0.12);
}

.cdm-photo-citizen-calendar__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 18px;
}

.cdm-home-calendar,
.cdm-home-events {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(15px);
}

.cdm-home-calendar {
    padding: 22px;
}

.cdm-home-calendar__header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.cdm-home-calendar__header button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.cdm-home-calendar__header button:hover {
    transform: translateY(-2px);
    color: var(--cdm-photo-green-950);
    background: var(--cdm-photo-lime);
}

.cdm-home-calendar__month {
    min-width: 0;
    text-align: center;
}

.cdm-home-calendar__month small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cdm-home-calendar__month strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 18px;
    font-weight: 850;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}

.cdm-home-calendar__week,
.cdm-home-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
}

.cdm-home-calendar__week {
    margin-bottom: 7px;
}

.cdm-home-calendar__week span {
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 850;
    text-align: center;
    text-transform: uppercase;
}

.cdm-home-calendar__day {
    position: relative;
    min-width: 0;
    min-height: 62px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.045);
    font: inherit;
    font-size: 13px;
    font-weight: 750;
}

button.cdm-home-calendar__day {
    cursor: pointer;
}

.cdm-home-calendar__day.is-muted {
    opacity: 0.26;
}

.cdm-home-calendar__day.has-event {
    border-color: rgba(139, 217, 54, 0.42);
    color: #ffffff;
    background:
        linear-gradient(145deg,
            rgba(139, 217, 54, 0.16),
            rgba(139, 217, 54, 0.06));
    box-shadow:
        inset 0 0 0 1px rgba(139, 217, 54, 0.04);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease;
}

.cdm-home-calendar__day.has-event:hover,
.cdm-home-calendar__day.has-event.is-selected {
    transform: translateY(-2px);
    border-color: var(--cdm-photo-lime);
    background: rgba(139, 217, 54, 0.20);
}

.cdm-home-calendar__day.has-event::after {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cdm-photo-lime);
    box-shadow: 0 0 0 4px rgba(139, 217, 54, 0.10);
}

.cdm-home-events {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.cdm-home-events__top {
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.cdm-home-events__top span {
    display: block;
    margin-bottom: 5px;
    color: var(--cdm-photo-lime);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cdm-home-events__top strong {
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
}

.cdm-home-events__list {
    min-height: 210px;
}

.cdm-home-event {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.cdm-home-event:last-child {
    border-bottom: 0;
}

.cdm-home-event__date {
    width: 58px;
    height: 62px;
    display: grid;
    place-content: center;
    border-radius: 14px;
    color: var(--cdm-photo-green-950);
    background: var(--cdm-photo-lime);
    text-align: center;
}

.cdm-home-event__date strong {
    display: block;
    font-size: 22px;
    line-height: 0.95;
}

.cdm-home-event__date span {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cdm-home-event__body {
    min-width: 0;
}

.cdm-home-event__body time {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 800;
}

.cdm-home-event__body h4 {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3;
}

.cdm-home-event__body p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.60);
    font-size: 11px;
    line-height: 1.5;
}

.cdm-home-events__empty {
    min-height: 210px;
    display: grid;
    place-content: center;
    padding: 24px 8px;
    color: rgba(255, 255, 255, 0.54);
    text-align: center;
}

.cdm-home-events__empty strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 15px;
}

@media (max-width: 980px) {

    .cdm-photo-citizen-calendar__head {
        align-items: start;
        flex-direction: column;
    }

    .cdm-photo-citizen-calendar__layout {
        grid-template-columns: 1fr !important;
    }

}

@media (max-width: 767px) {

    .cdm-photo-citizen-calendar {
        margin-top: 36px !important;
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .cdm-photo-citizen-calendar__head {
        display: block !important;
        margin-bottom: 20px !important;
    }

    .cdm-photo-citizen-calendar__head h3 {
        font-size: 30px !important;
        line-height: 1.02 !important;
        letter-spacing: -1.4px !important;
    }

    .cdm-photo-citizen-calendar__head p {
        font-size: 14px !important;
    }

    .cdm-photo-citizen-calendar__all {
        width: 100% !important;
        margin-top: 16px !important;
    }

    .cdm-photo-citizen-calendar__layout {
        display: block !important;
    }

    .cdm-home-calendar {
        padding: 15px !important;
        border-radius: 18px !important;
    }

    .cdm-home-calendar__header {
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
        gap: 8px !important;
    }

    .cdm-home-calendar__header button {
        width: 38px !important;
        height: 38px !important;
    }

    .cdm-home-calendar__month strong {
        font-size: 15px !important;
    }

    .cdm-home-calendar__week,
    .cdm-home-calendar__days {
        gap: 4px !important;
    }

    .cdm-home-calendar__week span {
        font-size: 8px !important;
    }

    .cdm-home-calendar__day {
        min-height: 43px !important;
        border-radius: 9px !important;
        font-size: 11px !important;
    }

    .cdm-home-calendar__day.has-event::after {
        bottom: 5px !important;
        width: 5px !important;
        height: 5px !important;
    }

    .cdm-home-events {
        margin-top: 14px !important;
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .cdm-home-event {
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: 11px !important;
    }

    .cdm-home-event__date {
        width: 52px !important;
        height: 58px !important;
    }

}

@media (max-width: 420px) {

    .cdm-photo-citizen-calendar {
        padding: 16px !important;
    }

    .cdm-home-calendar {
        padding: 12px !important;
    }

    .cdm-home-calendar__week span {
        font-size: 7px !important;
    }

    .cdm-home-calendar__day {
        min-height: 38px !important;
        font-size: 10px !important;
    }

}

/* =========================================================
   ACTUALIDAD · CARRUSEL DE NOTICIAS EN REDES SOCIALES
========================================================= */

.cdm-photo-social {
    position: relative;
    min-width: 0;
    min-height: 500px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 7%, rgba(139, 217, 54, .16), transparent 30%),
        linear-gradient(145deg, #001f18, #003f2f);
    color: var(--cdm-photo-white);
    box-shadow: 0 30px 75px rgba(0, 45, 34, .18);
    isolation: isolate;
}

.cdm-photo-social::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -110px;
    right: -100px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(139, 217, 54, .18);
    border-radius: 50%;
    pointer-events: none;
}

.cdm-photo-social__top {
    position: absolute;
    z-index: 8;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 27px 20px;
    pointer-events: none;
}

.cdm-photo-social__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--cdm-photo-lime);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.cdm-photo-social__heading strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.cdm-photo-social__counter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
}

.cdm-photo-social__counter>span:first-child {
    color: var(--cdm-photo-lime);
}

.cdm-photo-social__counter i {
    width: 25px;
    height: 1px;
    background: rgba(255, 255, 255, .25);
}

.cdm-photo-social__viewport {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
}

.cdm-photo-social__track {
    width: 100%;
    height: 100%;
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: transform 720ms cubic-bezier(.2, .75, .2, 1);
    will-change: transform;
}

.cdm-photo-social__slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    color: #ffffff !important;
}

.cdm-photo-social__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.015);
    transition: transform 1.1s cubic-bezier(.2, .72, .2, 1);
}

.cdm-photo-social__slide:hover .cdm-photo-social__image {
    transform: scale(1.065);
}

.cdm-photo-social__shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 31, 24, .72) 0%, rgba(0, 31, 24, .16) 31%,
            rgba(0, 31, 24, .30) 53%, rgba(0, 31, 24, .96) 100%),
        linear-gradient(90deg, rgba(0, 31, 24, .58), transparent 72%);
}

.cdm-photo-social__network {
    position: absolute;
    z-index: 6;
    top: 84px;
    left: 27px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 5px 11px 5px 6px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(0, 31, 24, .44);
    color: rgba(255, 255, 255, .88);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.cdm-photo-social__network-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cdm-photo-lime);
    color: var(--cdm-photo-green-950);
    font-size: 8px;
    font-weight: 950;
}

.cdm-photo-social__content {
    position: absolute;
    z-index: 6;
    right: 28px;
    bottom: 78px;
    left: 28px;
}

.cdm-photo-social__content small {
    display: block;
    margin-bottom: 9px;
    color: var(--cdm-photo-lime);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.cdm-photo-social__content h3 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 2.15vw, 35px);
    font-weight: 780;
    line-height: 1.03;
    letter-spacing: -1.45px;
}

.cdm-photo-social__meta {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .86);
    font-size: 10px;
    font-weight: 850;
}

.cdm-photo-social__meta b {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 50%;
    color: var(--cdm-photo-lime);
    font-size: 12px;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.cdm-photo-social__slide:hover .cdm-photo-social__meta b {
    transform: translate(3px, -3px);
    background: var(--cdm-photo-lime);
    color: var(--cdm-photo-green-950);
}

.cdm-photo-social__footer {
    position: absolute;
    z-index: 9;
    right: 25px;
    bottom: 24px;
    left: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    pointer-events: none;
}

.cdm-photo-social__dots,
.cdm-photo-social__controls {
    display: flex;
    align-items: center;
    gap: 7px;
    pointer-events: auto;
}

.cdm-photo-social__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
    cursor: pointer;
    transition: width 240ms ease, background 240ms ease, transform 240ms ease;
}

.cdm-photo-social__dot.is-active {
    width: 25px;
    background: var(--cdm-photo-lime);
}

.cdm-photo-social__button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(0, 31, 24, .46);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    backdrop-filter: blur(10px);
    transition: transform 200ms ease, border-color 200ms ease,
        background 200ms ease, color 200ms ease;
}

.cdm-photo-social__button:hover {
    transform: translateY(-2px);
    border-color: var(--cdm-photo-lime);
    background: var(--cdm-photo-lime);
    color: var(--cdm-photo-green-950);
}

.cdm-photo-social__progress {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.cdm-photo-social__progress span {
    width: 0;
    height: 100%;
    display: block;
    background: var(--cdm-photo-lime);
}

.cdm-photo-social.is-playing .cdm-photo-social__progress span {
    animation: cdmSocialProgress var(--cdm-social-duration, 6500ms) linear forwards;
}

@keyframes cdmSocialProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .cdm-photo-social {
        width: 100% !important;
        min-height: 430px !important;
        margin-bottom: 14px !important;
        padding: 0 !important;
        border-radius: 20px !important;
    }

    .cdm-photo-social__top {
        padding: 20px 19px 16px !important;
    }

    .cdm-photo-social__network {
        top: 72px !important;
        left: 19px !important;
    }

    .cdm-photo-social__content {
        right: 19px !important;
        bottom: 76px !important;
        left: 19px !important;
    }

    .cdm-photo-social__content h3 {
        font-size: 26px !important;
        line-height: 1.02 !important;
        letter-spacing: -1.1px !important;
    }

    .cdm-photo-social__footer {
        right: 18px !important;
        bottom: 21px !important;
        left: 19px !important;
    }
}

@media (max-width: 430px) {
    .cdm-photo-social {
        min-height: 405px !important;
    }

    .cdm-photo-social__counter {
        display: none !important;
    }

    .cdm-photo-social__content h3 {
        font-size: 23px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cdm-photo-social__track,
    .cdm-photo-social__image,
    .cdm-photo-social__meta b,
    .cdm-photo-social__button,
    .cdm-photo-social__dot {
        transition: none !important;
    }

    .cdm-photo-social__progress span {
        animation: none !important;
    }
}

