/* Ogallery Footer – static styles. Values come from the CSS variables printed inline from the settings. */
.ogallery-footer,.ogallery-footer *,.ogallery-footer *::before,.ogallery-footer *::after{box-sizing:border-box}
.ogallery-footer{
	position:relative;clear:both;display:flex;align-items:center;width:100%;
	min-height:var(--ogf-minh,0px);padding:var(--ogf-pad-y,20px) 0;
	background:var(--ogf-bg,#fbfbfb);border-top:var(--ogf-border,none);
	color:var(--ogf-color,#595a5c);font-family:var(--ogf-font,inherit);font-size:var(--ogf-fs,12.8px);
	font-weight:var(--ogf-fw,400);text-transform:var(--ogf-tt,uppercase);letter-spacing:var(--ogf-ls,2.5px);line-height:var(--ogf-lh,1.6);
}
.og-footer__inner{width:100%;max-width:var(--ogf-max,none);margin-inline:auto;padding-inline:var(--ogf-pad-x,20px)}
.og-footer__cols{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;column-gap:var(--ogf-gap,0px);row-gap:0}

.og-fcol{display:flex;align-items:var(--ogf-ay,center);justify-content:var(--ogf-ax,center);text-align:var(--ogf-ta,center);min-width:0}
.og-fcol__inner{display:flex;flex-direction:column;align-items:var(--ogf-ax,center);gap:var(--ogf-igap,8px);max-width:100%;min-width:0}
.og-fcol--img-below .og-fcol__inner{flex-direction:column-reverse}
.og-fcol--img-start .og-fcol__inner{flex-direction:row;align-items:center}
.og-fcol--img-end .og-fcol__inner{flex-direction:row-reverse;align-items:center}
.og-fcol__text{min-width:0;overflow-wrap:break-word}
.og-fcol__text p{margin:0}
.og-fcol__text p+p{margin-top:.5em}
.og-fcol__media{line-height:0;max-width:100%}
.og-fcol__img{display:block;max-width:100%;height:auto}

/* Links: normal / hover+focus / active (pressed or current page) */
.ogallery-footer a{color:var(--ogf-link,#828284);text-decoration:var(--ogf-td,none);transition:color var(--ogf-dur,200ms) ease}
.ogallery-footer a:hover,.ogallery-footer a:focus-visible{color:var(--ogf-link-h,#595a5c);text-decoration:var(--ogf-td-h,none)}
.ogallery-footer a:active,.ogallery-footer a[aria-current="page"],.ogallery-footer a.is-active{color:var(--ogf-link-a,#3a3b3d)}
.ogallery-footer a:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Optional: keep the footer at the bottom of short pages (body class added by the plugin). */
body.og-footer-push{min-height:100vh;display:flex;flex-direction:column}
body.og-footer-push>.ogallery-footer{margin-top:auto}

@media (prefers-reduced-motion:reduce){.ogallery-footer a{transition:none}}
