/* Margarita Arnaoudova – WordPress additions that keep the desktop look of the original template. */

body { margin: 0; background-color: #8f9498; }
.ma-menu-toggle { display: none; }

/* Joom!Fish flags */
#jflanguageselection .rawimages { padding-top: 0.75em; padding-right: 2px; }
#jflanguageselection .rawimages span { margin-left: 5px; }
#jflanguageselection img { border: 0; vertical-align: middle; }

/* Superfish: hover/focus open (the original JS added .sfHover) */
.sf-menu li.sfHover ul, .sf-menu li:focus-within ul { left: 0; top: 2.5em; z-index: 99; }
.sf-menu ul li a { white-space: nowrap; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 10px 10px 0; }
.alignright { float: right; margin: 0 0 10px 10px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 11px; text-align: center; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* [gallery] – thumbnails like Phoca Gallery */
.gallery { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gallery .gallery-item { margin: 0; width: auto; }
.gallery .gallery-icon img { display: block; width: 100px; height: 100px; object-fit: cover; border: 1px solid #ccc; padding: 2px; background: #fff; box-shadow: 2px 2px 3px rgba(0, 0, 0, .25); }
.gallery .gallery-caption { display: none; }

/* [ma_albums] – Phoca Gallery categories view */
.ma-albums { margin: 15px 8px; }
.ma-album { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.ma-album-thumb img { display: block; width: 50px; height: 50px; object-fit: cover; border: 1px solid #ccc; padding: 2px; background: #fff; box-shadow: 2px 2px 3px rgba(0, 0, 0, .3); }
.ma-album-count { color: #999; font-size: 11px; }

.wp-video, .wp-video-shortcode { max-width: 100%; }
.ma-content iframe, .ma-content img { max-width: 100%; }
.ma-content img { height: auto; }

/* <h1> inside the grey bar / article heading: semantic only, looks exactly like the original text */
.ma-h1 { font: inherit; color: inherit; margin: 0; padding: 0; display: inline; letter-spacing: inherit; text-transform: inherit; line-height: inherit; background: none; border: 0; }
