*{box-sizing:border-box}body{margin:0;font:16px/1.65 'Segoe UI',Arial,sans-serif;color:#343434;background:#fff}a{color:#ed6816}.container{max-width:1180px;margin:0 auto;padding:0 24px}.narrow{max-width:850px}.site-header{background:#fff;text-align:center;padding:16px 20px 0}.site-header img{width:125px;height:auto;max-height:95px;object-fit:contain}.block-white{background:#fff}.block-gray{background:#ededed}.intro{text-align:center;padding:12px 0 34px}.intro h1{color:#f28b00;font:700 2rem Georgia,serif;margin:0 0 16px}.rich p{margin:0 0 14px}.rich h2,.rich h3{margin:18px 0 8px}.rich a{overflow-wrap:anywhere}.works{padding:38px 0 48px}.works h2,.bio h2{text-align:center;font-size:2rem;margin:0 0 24px}.work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.work-card{background:#fff;border:1px solid #ddd;display:flex;flex-direction:column;min-width:0}.work-card>a{display:block;background:#f8f8f8}.work-card img{display:block;width:100%;height:330px;object-fit:contain}.work-body{padding:18px;flex:1;display:flex;flex-direction:column}.work-body h3{color:#ef8300;margin:0 0 8px;font-size:1.2rem}.work-body .rich{flex:1}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.actions a{background:#ff6816;color:white;text-decoration:none;padding:8px 13px;border-radius:4px;font-size:.9rem}.actions a.paypal{background:#fff;color:#17457a;border:1px solid #c8d4e4}.paypal-mark{font-weight:900;font-style:italic;letter-spacing:-.5px;font-size:.85rem;color:#0070ba}.empty{text-align:center}.bio{padding:42px 0 50px}.bio-grid{display:grid;grid-template-columns:1fr 300px;gap:35px;align-items:center}.bio-grid:not(:has(img)){grid-template-columns:1fr}.bio-grid h2{text-align:left}.bio-grid>img{width:100%;max-height:330px;object-fit:contain}.site-footer{background:#303030;color:#f7f7f7;text-align:center;padding:52px 0 30px}.site-footer h2{font-size:clamp(1.6rem,3.3vw,2.6rem);margin:0 0 4px}.footer-subtitle{color:#999;letter-spacing:.22em;font-size:.85rem;text-transform:uppercase;margin:0 0 32px}.socials{display:flex;justify-content:center;gap:24px;margin:0 0 48px}.socials a{color:#fff;display:inline-flex}.socials svg{width:30px;height:30px}.legal{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;color:#aaa;letter-spacing:.07em;font-size:.78rem;text-transform:uppercase}.legal span+span:before{content:'|';margin-right:12px;color:#777}.legal a{color:#ddd;text-decoration:none}@media(max-width:850px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bio-grid{grid-template-columns:1fr}.bio-grid>img{max-width:360px;margin:auto}}@media(max-width:560px){.work-grid{grid-template-columns:1fr}.work-card img{height:290px}.intro{padding-bottom:24px}.works,.bio{padding:28px 0}.legal{display:block}.legal span{display:block;margin:6px 0}.legal span+span:before{display:none}}

/* Retrato opcional bajo el nombre */
.artist-portrait{display:block;width:auto;max-width:min(100%,360px);max-height:360px;height:auto;object-fit:contain;margin:0 auto 22px;border-radius:3px}

/* Enlace opcional de la sección inferior */
.bio-cta{text-align:center;padding-top:18px}.bio-cta a{display:inline-block;background:#ff6816;color:#fff;text-decoration:none;border-radius:6px;padding:12px 22px;font-weight:600}.bio-cta a:hover{background:#dc5309}

/* Portal ArtCloud: navegación compacta */
.artist-nav{background:#e9e9e9;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px clamp(16px,4vw,48px);min-height:64px}.artist-brand img{display:block;width:63px;max-height:48px;object-fit:contain}.artist-nav nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.artist-nav nav>a,.artist-pages-menu summary{font-size:.8rem;font-weight:700;letter-spacing:.06em;color:#444;text-decoration:none;cursor:pointer}.artist-pages-menu{position:relative}.artist-pages-links{position:absolute;right:0;top:100%;z-index:10;min-width:180px;background:#fff;border:1px solid #ddd;box-shadow:0 8px 20px #0002;padding:8px}.artist-pages-links a{display:block;padding:6px 9px;color:#444;text-decoration:none}.artist-pages-links a:hover{background:#f2f2f2}@media(max-width:600px){.artist-nav{align-items:flex-start}.artist-nav nav{gap:12px}}

/* Barra centrada: logotipo fijo a la izquierda y enlaces horizontales desplazables */
.artist-nav{display:grid;grid-template-columns:76px minmax(0,1fr) 76px;align-items:center;gap:12px;padding:8px clamp(12px,3vw,42px)}
.artist-brand{justify-self:start}.artist-nav-spacer{width:76px}.artist-nav nav{display:flex;justify-content:safe center;align-items:center;flex-wrap:nowrap;gap:clamp(12px,2vw,28px);min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;white-space:nowrap;padding:8px 4px}
.artist-nav nav>a{flex:0 0 auto}.artist-nav nav>a[aria-current="page"]{color:#e86a16;border-bottom:2px solid currentColor}
.footer-brand{margin:8px auto 24px;text-align:center}.footer-brand img{width:min(160px,45vw);height:auto;max-height:90px;object-fit:contain}.footer-brand a{display:inline-block}
@media(max-width:600px){.artist-nav{grid-template-columns:55px minmax(0,1fr) 55px;gap:5px;padding:7px 10px}.artist-brand img{width:48px}.artist-nav-spacer{width:55px}.artist-nav nav{gap:14px}}

/* Ajustes: logo a la derecha, navegación centrada y logo de footer tamaño icono */
.artist-nav .artist-brand{grid-column:3;justify-self:end}
.artist-nav .artist-nav-spacer{grid-column:1;grid-row:1}
.artist-nav nav{grid-column:2;grid-row:1}
.footer-brand{margin:0 auto 24px;text-align:center}
.footer-brand img{width:30px;height:30px;max-height:30px;object-fit:contain}
.socials{margin-bottom:16px}

/* Logo footer: tamaño fijo equivalente a iconos sociales */
.site-footer .footer-brand,.site-footer .footer-brand a{display:flex;justify-content:center;align-items:center}
.site-footer .footer-brand img{display:block!important;width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain!important}

/* Logo ArtCloud integrado en la misma fila de iconos sociales */
.site-footer .socials{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px;margin-bottom:16px}
.site-footer .socials .footer-brand-inline{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px}
.site-footer .socials .footer-brand-inline img{display:block;width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain}

/* Corrección final: preservar proporciones originales del logotipo horizontal */
.site-footer .socials .footer-brand-inline{width:85px;height:auto;flex:0 0 85px;align-self:center}
.site-footer .socials .footer-brand-inline img{display:block;width:85px!important;height:auto!important;max-width:85px!important;max-height:54px!important;object-fit:contain!important}

/* Footer ArtCloud: tamaño controlado y proporciones naturales */
.site-footer .socials>a.footer-brand-inline{flex:0 0 54px!important;width:54px!important;max-width:54px!important;height:34px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important}
.site-footer .socials>a.footer-brand-inline>img{width:54px!important;max-width:54px!important;height:auto!important;max-height:34px!important;object-fit:contain!important}

/* Super Admin: imagen de fondo opcional, sin alterar el header original */
.artist-nav.artist-nav-custom{background-color:#303030;background-image:none;background-size:cover;background-position:center;min-height:105px}
.artist-nav.artist-nav-custom nav>a{color:#fff;text-shadow:0 1px 3px #000a}
.artist-nav.artist-nav-custom nav>a[aria-current="page"]{color:#ffb16f}
@media(max-width:600px){.artist-nav.artist-nav-custom{min-height:95px}}

/* Super Admin: controles de encuadre por artista */
.artist-nav.artist-nav-custom{background-size:var(--artist-header-size,cover);background-position:var(--artist-header-position,center);background-repeat:no-repeat;min-height:var(--artist-header-height,105px)}
@media(max-width:600px){.artist-nav.artist-nav-custom{min-height:var(--artist-header-height,105px)}}

/* Super Admin: tamaño y desplazamiento fino del logo (sin alterar el valor original 100%). */
.artist-nav .artist-brand{position:relative;transform:translate(var(--artist-logo-x,0px),var(--artist-logo-y,0px));max-width:none;z-index:2}
.artist-nav .artist-brand img{width:calc(63px * var(--artist-logo-scale,1));max-width:none;max-height:none;height:auto;object-fit:contain}
@media(max-width:600px){.artist-nav .artist-brand img{width:calc(48px * var(--artist-logo-scale,1))}}

/* Super Admin: tipografía y colores opcionales del menú por artista. */
.artist-nav nav>a{font-family:var(--artist-menu-font,inherit)}
.artist-nav:not(.artist-nav-custom) nav>a{color:var(--artist-menu-color,#444)}
.artist-nav.artist-nav-custom nav>a{color:var(--artist-menu-color,#fff)}
.artist-nav nav>a[aria-current="page"],.artist-nav.artist-nav-custom nav>a[aria-current="page"]{color:var(--artist-menu-active-color,#e86a16)}
.artist-nav.artist-nav-custom nav>a[aria-current="page"]{color:var(--artist-menu-active-color,#ffb16f)}

/* Color de relleno del encabezado, solo cuando se usa una imagen personalizada. */
.artist-nav.artist-nav-custom{background-color:var(--artist-header-bg,#303030)}
/* Segundo logotipo opcional a la izquierda, sin desplazar la navegación central. */
.artist-nav .artist-nav-spacer{display:flex;align-items:center;justify-content:flex-start;position:relative;overflow:visible}
.artist-nav .artist-left-logo{display:block;width:calc(63px * var(--artist-left-scale,1));max-width:none;height:auto;max-height:none;object-fit:contain;transform:translate(var(--artist-left-x,0px),var(--artist-left-y,0px));position:relative;z-index:2}
@media(max-width:600px){.artist-nav .artist-left-logo{width:calc(48px * var(--artist-left-scale,1))}}

/* Posición horizontal del logo personal en todo el ancho del header.
   La posición porcentual se refiere al ancho completo, no a la columna izquierda. */
.artist-nav:has(.artist-left-logo[data-position="true"]){position:relative}
.artist-nav:has(.artist-left-logo[data-position="true"]) .artist-nav-spacer{position:static}
.artist-nav .artist-left-logo[data-position="true"]{
 position:absolute;left:var(--artist-left-position,0%);top:50%;
 transform:translate(calc(-1 * var(--artist-left-position,0%) + var(--artist-left-x,0px)),calc(-50% + var(--artist-left-y,0px)));
 z-index:3;
}


/* ArtCloud 3K/1 — galería principal. Reglas encapsuladas: no afectan portal,
   coleccion.php ni páginas personalizadas. No modifica ajustes del Super Admin. */
.ac-home .intro{padding:clamp(30px,5vw,64px) 0 clamp(36px,5vw,64px)}
.ac-home .intro h1{font-size:clamp(2rem,4vw,3.15rem);line-height:1.18;letter-spacing:-.025em;margin-bottom:22px}
.ac-home .intro .rich{max-width:72ch;margin:0 auto;text-align:left;line-height:1.85;overflow-wrap:anywhere}
.ac-home .intro .artist-portrait{max-width:min(100%,340px);max-height:420px;margin-bottom:28px}
.ac-home .works{padding:clamp(36px,5vw,70px) 0 clamp(48px,6vw,80px)}
.ac-home .works h2,.ac-home .bio h2{font-size:clamp(1.65rem,2.7vw,2.35rem);line-height:1.25;letter-spacing:-.015em;margin-bottom:30px}
.ac-home .work-grid{gap:clamp(16px,2.4vw,30px);align-items:stretch}
.ac-home .work-card{border:1px solid #dedede;border-radius:8px;overflow:hidden;box-shadow:0 3px 14px #0000000b;transition:box-shadow .2s ease,transform .2s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ac-home .work-card:hover{box-shadow:0 10px 26px #00000018;transform:translateY(-3px)}}
.ac-home .work-card>a{display:flex;align-items:center;justify-content:center;min-height:0;aspect-ratio:4/3;padding:clamp(12px,2vw,24px);background:#f8f8f7}
.ac-home .work-card>a img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
.ac-home .work-body{padding:clamp(18px,2vw,25px);gap:4px}
.ac-home .work-body h3{font-size:clamp(1.12rem,1.6vw,1.35rem);line-height:1.35;overflow-wrap:anywhere}
.ac-home .work-body .rich{line-height:1.65;overflow-wrap:anywhere}
.ac-home .work-body .rich p:last-child{margin-bottom:0}
.ac-home .work-body>p{margin:4px 0 10px}
.ac-home .work-body>p a{display:inline-block;font-size:.78rem;letter-spacing:.08em;text-underline-offset:3px}
.ac-home .actions{margin-top:auto;padding-top:18px;gap:10px}
.ac-home .actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;line-height:1.35;text-align:center;border-radius:6px;font-weight:600}
.ac-home .actions a:focus-visible,.ac-home .work-card>a:focus-visible,.ac-home .bio-cta a:focus-visible{outline:3px solid #175c8b;outline-offset:3px}
.ac-home .bio{padding:clamp(40px,6vw,78px) 0}
.ac-home .bio-grid{gap:clamp(24px,5vw,64px);align-items:start}
.ac-home .bio-grid>div{min-width:0;overflow-wrap:anywhere}
.ac-home .bio-grid>img{max-height:430px;border-radius:5px}
.ac-home .bio-grid h2{text-align:left;margin-bottom:22px}
.ac-home .bio-grid .rich{line-height:1.85}
.ac-home .bio-cta{padding-top:26px}
@media(max-width:850px){.ac-home .bio-grid{gap:24px}.ac-home .bio-grid>img{max-width:min(100%,420px)}}
@media(max-width:560px){.ac-home .intro{padding:28px 0 38px}.ac-home .intro .rich{text-align:left}.ac-home .works{padding:36px 0 46px}.ac-home .work-grid{gap:20px}.ac-home .work-card>a{aspect-ratio:5/4;padding:18px}.ac-home .work-card img{height:100%}.ac-home .work-body{padding:20px}.ac-home .bio{padding:42px 0}.ac-home .actions a{min-height:44px}}
@media(prefers-reduced-motion:reduce){.ac-home .work-card{transition:none}}

/* ArtCloud: acceso administrativo discreto, independiente del tema. */
.ac-footer-last{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:8px;max-width:1180px;margin:0 auto;padding:0 12px;box-sizing:border-box}
.ac-footer-last>p,.ac-footer-last>.legal{grid-column:2;min-width:0;overflow-wrap:anywhere}
.ac-footer-last>a.ac-footer-feather{grid-column:3;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#c8ab72!important;text-decoration:none;background:none;border:0;box-shadow:none;justify-self:end}
.ac-footer-feather:hover,.ac-footer-feather:focus-visible{color:#f3dba2!important;filter:drop-shadow(0 0 5px #c8ab72)}
.ac-footer-feather:focus-visible{outline:2px solid #c8ab72;outline-offset:2px}
@media(max-width:560px){.ac-footer-last{grid-template-columns:minmax(0,1fr) 44px;padding:0;gap:4px}.ac-footer-last>p,.ac-footer-last>.legal{grid-column:1}.ac-footer-last>a.ac-footer-feather{grid-column:2}}

/* 3O.3e.2: institutional header, scoped to public artist navigation */
.artist-nav.aah-public{position:relative;isolation:isolate;overflow:hidden}.artist-nav.aah-public nav{position:relative;z-index:4}.artist-nav.aah-public nav>a{color:var(--artist-menu-color,var(--aah-link,#fff))!important}.artist-nav.aah-public nav>a[aria-current="page"]{color:var(--artist-menu-active-color,var(--aah-fg,#c8ab72))!important}.artist-nav.aah-public .artist-brand{position:absolute;left:var(--aah-pos,100%);top:50%;transform:translate(calc(-1 * var(--aah-pos,100%)),-50%);z-index:2;width:80px;max-width:80px}.artist-nav.aah-public .artist-brand img{width:80px;max-width:100%;max-height:48px;object-fit:contain}.artist-nav.aah-public .artist-brand:focus-visible{outline:2px solid white}.artist-nav.aah-public .artist-brand:hover{z-index:5}@media(max-width:600px){.artist-nav.aah-public .artist-brand{width:48px;max-width:48px}.artist-nav.aah-public .artist-brand img{width:48px}}

.artist-nav.aah-public .artist-brand{transform:translate(calc(-1 * var(--aah-pos,100%) + var(--aah-dx,0px)),calc(-50% + var(--aah-dy,0px)))}.artist-nav.aah-public .artist-brand img{width:100%}
