/* AyudaGlobal 2.12.0 - Comunidad de Galería */
.ag-social-container{max-width:860px;margin-inline:auto}.ag-social-card{background:var(--card-bg,#fff);border:1px solid rgba(100,120,140,.22);border-radius:18px;overflow:hidden;box-shadow:0 10px 32px rgba(0,0,0,.06)}.ag-social-author{display:flex;gap:12px;align-items:center;padding:16px 20px}.ag-social-author small,.ag-social-comment small{display:block;color:#667588;font-size:.8rem}.ag-social-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e5edf8;color:#1b4579;font-weight:700}.ag-social-picture{background:#101c2a;display:flex;justify-content:center;align-items:center}.ag-social-picture img{display:block;width:100%;max-height:72vh;object-fit:contain}.ag-social-content,.ag-social-actions{padding:16px 20px}.ag-social-content h1{font-size:clamp(1.2rem,3vw,1.8rem);margin:0 0 10px}.ag-social-content p{overflow-wrap:anywhere}.ag-social-actions{border-top:1px solid rgba(100,120,140,.2)}.ag-social-reactions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:22px}.ag-social-reactions form{margin:0}.ag-reaction{width:100%;min-height:52px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;padding:8px 5px;background:#f1f5fa;color:#20344b;border:1px solid #dbe4ee;border-radius:11px;font:inherit;font-size:.88rem;cursor:pointer;text-align:center}.ag-reaction span{font-weight:700}.ag-reaction.is-active{background:#e1efff;border-color:#2873bd;color:#114a85}.ag-social-comment-form{display:grid;gap:10px;margin:12px 0 22px}.ag-social-comment-form textarea,.ag-social-report textarea{width:100%;box-sizing:border-box;border:1px solid #b4c1d0;border-radius:9px;padding:11px;font:inherit}.ag-social-comment-form button{justify-self:start}.ag-social-comments{display:grid;gap:12px;margin:18px 0}.ag-social-comment{padding:14px;background:#f5f7fa;border-radius:12px;overflow-wrap:anywhere;color:#25374b}.ag-social-comment p{margin:8px 0 0;white-space:normal}.ag-social-report{margin-top:25px}.ag-social-report form{display:grid;gap:12px;padding:12px 0}.ag-social-report button{justify-self:start}.ag-gallery-photo{display:block}.ag-gallery-photo img{display:block;width:100%;height:100%;object-fit:contain}.ag-gallery-card{min-width:0}.ag-gallery-info h3{font-size:.95rem;margin:0}.ag-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:900px){.ag-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){.ag-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ag-social-page{padding:12px 0}.ag-social-container{width:100%;padding-inline:10px;box-sizing:border-box}.ag-social-card{border-radius:12px}.ag-social-author,.ag-social-content,.ag-social-actions{padding:12px}.ag-social-picture img{max-height:65dvh}.ag-reaction{font-size:.75rem;min-height:58px}.ag-social-reactions{gap:5px}}

/* Compartir: controles accesibles y adaptables */
.ag-share-wrap{padding:1rem 1.2rem;border-top:1px solid rgba(100,116,139,.18)}.ag-share-button{min-height:44px;max-width:100%;white-space:normal}.ag-share-feedback{font-size:.88rem;margin:.5rem 0;color:inherit}.ag-share-feedback:empty{display:none}.ag-share-fallback:not([hidden]){display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.65rem}.ag-share-fallback .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}@media(max-width:560px){.ag-share-wrap{padding:.85rem}.ag-share-button{width:100%}.ag-share-fallback .btn{flex:1 1 calc(50% - .55rem);font-size:.88rem}}

/* 2.12.2: herramientas compactas bajo la fotografía */
.ag-owner-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:7px 14px;border-bottom:1px solid rgba(100,116,139,.15)}
.ag-owner-tools form{margin:0}.ag-icon-tool{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7e1ec;border-radius:10px;background:#f6f9fc;color:#21446b;text-decoration:none;font-size:1.35rem;line-height:1;cursor:pointer}.ag-icon-tool:hover,.ag-icon-tool:focus-visible{background:#e4effb;outline-offset:2px}.ag-icon-delete{color:#a92c36}.ag-icon-delete:hover{background:#ffeded}.ag-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.ag-owner-tools{padding:6px 10px}.ag-icon-tool{width:40px;height:40px}}

/* 2.12.3: tres acciones discretas en una fila, justo debajo de la imagen */
.ag-publication-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:9px 16px;border-bottom:1px solid rgba(100,116,139,.14);min-height:54px;box-sizing:border-box}
.ag-publication-toolbar form{margin:0;display:flex}
.ag-publication-toolbar .ag-share-wrap{padding:0;border:0;margin:0}
.ag-publication-toolbar .ag-icon-tool{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-radius:11px;background:#f5f8fc;border:1px solid #dbe4ee;color:#244a71;box-sizing:border-box;line-height:1;cursor:pointer;text-decoration:none}
.ag-publication-toolbar .ag-icon-tool svg{display:block;flex-shrink:0}
.ag-publication-toolbar .ag-icon-tool:hover{background:#e7f0fb;border-color:#b7cee6}
.ag-publication-toolbar .ag-icon-tool:focus-visible{outline:3px solid #307cc1;outline-offset:2px}
.ag-publication-toolbar .ag-icon-delete{color:#a62b39;background:#fff7f7;border-color:#f2d8dd}
.ag-publication-toolbar .ag-icon-delete:hover{background:#ffebee;border-color:#e7a7b1}
.ag-publication-toolbar .ag-icon-share{color:#176b61;background:#f2faf8;border-color:#cfe8e2}
.ag-publication-toolbar .ag-icon-share:hover{background:#e0f4ef;border-color:#9bd5c7}
.ag-share-details{padding:0 16px}.ag-share-details .ag-share-feedback{margin:0}.ag-share-details .ag-share-feedback:not(:empty){padding:8px 0}.ag-share-details .ag-share-fallback:not([hidden]){padding:0 0 12px;margin-top:4px}
@media(max-width:650px){.ag-publication-toolbar{padding:7px 12px;gap:8px;min-height:52px}.ag-publication-toolbar .ag-icon-tool{width:40px;height:40px}.ag-share-details{padding:0 12px}}
