/* Profesor Particular .IO — calendar figure in the guides (tools/build-guide-calendars.js)
 * The image itself carries the design; this only frames it and lays out the
 * download buttons. Mobile first: buttons stack, then sit side by side.
 */
.gcal{margin:var(--ds-space-06,32px) 0;padding:0;}
.gcal picture,.gcal img{display:block;width:100%;height:auto;}
.gcal img{border:1px solid var(--line,#e2e8f0);border-radius:14px;background:#f1f5f9;}
.gcal figcaption{margin-top:var(--ds-space-03,12px);font-size:.875rem;line-height:1.5;color:var(--fg-2,#475569);}
.gcal-actions{display:flex;flex-direction:column;gap:var(--ds-space-03,12px);margin-top:var(--ds-space-04,16px);}
.gcal-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;}
.gcal-actions svg{flex-shrink:0;}
@media (min-width:600px){.gcal-actions{flex-direction:row;}}

/* «Añadir a mi calendario» (1 Nov 2026): one row per community. Mobile first: name and
   dates on top, the three links as full-width tap targets (≥44 px); side by side from 600 px. */
.gcal-add{margin-top:var(--ds-space-06,32px);padding:var(--ds-space-05,20px);border:1px solid #cbd5e1;border-radius:14px;background:#ffffff;}
.gcal-add h3{display:flex;align-items:center;gap:8px;margin:0 0 var(--ds-space-02,6px);font-size:1.125rem;line-height:1.3;color:#0f172a;}
.gcal-add > p{margin:0 0 var(--ds-space-04,16px);font-size:.875rem;line-height:1.5;color:#475569;}
.gcal-add ul{list-style:none;margin:0;padding:0;}
.gcal-add li{display:grid;gap:6px;padding:var(--ds-space-04,16px) 0;border-top:1px solid #e2e8f0;}
.gcal-add li:first-child{border-top:0;padding-top:0;}
.gcal-add-name{font-weight:600;color:#0f172a;}
.gcal-add-when{font-size:.875rem;line-height:1.45;color:#475569;}
.gcal-add-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}
.gcal-add-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f172a;font-size:.875rem;font-weight:600;text-decoration:none;flex:1 1 auto;}
.gcal-add-links a:hover,.gcal-add-links a:focus-visible{border-color:#0f172a;background:#f1f5f9;}
.gcal-add-links a[data-tool="gcal"]{background:#0f172a;border-color:#0f172a;color:#ffffff;}
.gcal-add-links a[data-tool="gcal"]:hover,.gcal-add-links a[data-tool="gcal"]:focus-visible{background:#1e293b;}
@media (min-width:600px){.gcal-add li{grid-template-columns:minmax(140px,1fr) 2fr;column-gap:16px;align-items:start}.gcal-add-links{grid-column:2;}.gcal-add-links a{flex:0 0 auto;}}
