/*
 * Mulla Sadra – osnovni stilovi teme.
 * Pisano iznova za ovu temu. Imena klasa su ista kao u ranijoj temi (typology-*),
 * da postojeći vlastiti CSS (mullasadra.css), Elementor stranice i dodaci rade bez izmjena.
 *
 *  1. Varijable i osnova
 *  2. Tipografija
 *  3. Obrasci i dugmad
 *  4. Mreža
 *  5. Zaglavlje i meni
 *  6. Gornji (zeleni) dio
 *  7. Sadržaj, članci, meta
 *  8. Rasporedi lista (A, C) i paginacija
 *  9. Galerije i pregled slika
 * 10. Widgeti i podnožje
 * 11. Bočni panel
 * 12. WordPress klase i blokovi
 * 13. Prilagođavanje ekranu
 */

/* 1. Varijable i osnova ------------------------------------------------- */

:root {
	--mst-acc: #30a097;
	--mst-txt: #444444;
	--mst-h: #333333;
	--mst-meta: #888888;
	--mst-page-bg: #f8f8f8;
	--mst-box-bg: #ffffff;
	--mst-head-font: "Josefin Sans", sans-serif;
	--mst-body-font: "Noto Sans", sans-serif;
	--mst-header-h: 110px;
}

html {
	box-sizing: border-box;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	font-family: var(--mst-body-font);
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.88;
	color: var(--mst-txt);
	background: var(--mst-page-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
	display: block;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
	vertical-align: middle;
}

iframe,
video,
embed,
object {
	max-width: 100%;
}

svg:not(:root) {
	overflow: hidden;
}

a {
	color: var(--mst-acc);
	text-decoration: underline;
}

a:hover,
a:focus {
	text-decoration: none;
}

a:not([href]):not([tabindex]) {
	color: inherit;
	text-decoration: none;
}

b,
strong {
	font-weight: bolder;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border: 0;
	border-top: 1px solid rgba(68, 68, 68, 0.3);
	margin: 0 0 3.6rem;
}

figure {
	margin: 0 0 1rem;
}

pre,
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

pre {
	white-space: pre-wrap;
	overflow: auto;
	padding: 15px 20px;
	margin: 0 0 3.6rem;
	background: rgba(68, 68, 68, 0.1);
}

[hidden],
template {
	display: none;
}

:focus-visible {
	outline: 2px solid var(--mst-acc);
	outline-offset: 2px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.mst-skip:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 10px;
	top: 10px;
	z-index: 100000;
	padding: 10px 16px;
	background: #fff;
	color: var(--mst-h);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.text-center { text-align: center; }

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* 2. Tipografija ------------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--mst-head-font);
	font-weight: 600;
	color: var(--mst-h);
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 2rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: var(--mst-h);
}

h1, .h1 { font-size: 4.8rem; line-height: 1.2; }
h2, .h2 { font-size: 3.5rem; line-height: 1.25; }
h3, .h3 { font-size: 2.8rem; line-height: 1.3; }
h4, .h4 { font-size: 2.3rem; line-height: 1.35; }
h5, .h5 { font-size: 1.8rem; line-height: 1.5; }
h6, .h6 { font-size: 1.5rem; line-height: 1.4; }

p {
	margin: 0 0 3.6rem;
}

ul,
ol,
dl,
address {
	margin-top: 0;
	margin-bottom: 1rem;
}

address {
	font-style: normal;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}

dt { font-weight: bold; }
dd { margin: 0 0 .5rem; }

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6,
.entry-content .h1, .entry-content .h2, .entry-content .h3,
.entry-content .h4, .entry-content .h5, .entry-content .h6 {
	margin-bottom: 3.6rem;
}

.entry-content ul,
.entry-content ol,
.entry-content dl,
.entry-content address {
	margin-bottom: 3.6rem;
}

.entry-content ul ul,
.entry-content ul ol,
.entry-content ol ul,
.entry-content ol ol {
	margin-bottom: 0;
}

.entry-content ul,
.entry-content ul li { list-style: disc; }

.entry-content ol,
.entry-content ol li { list-style: decimal; }

.entry-content ul li,
.entry-content ol li {
	margin-bottom: 4px;
}

blockquote,
q {
	position: relative;
	display: block;
	margin: 6rem 0;
	padding: 8rem 8rem 7rem;
	text-align: center;
	font-size: 1.8rem;
	line-height: 1.88;
	border: 1px double rgba(0, 0, 0, 0.1);
}

blockquote::before,
q::before {
	content: "\201D";
	position: absolute;
	top: -2rem;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	padding: 12px;
	display: block;
	box-sizing: content-box;
	border-radius: 50%;
	background: var(--mst-acc);
	box-shadow: 0 0 0 10px var(--mst-box-bg);
	color: #fff;
	font-family: var(--mst-head-font);
	font-size: 3.6rem;
	font-weight: 600;
	line-height: 40px;
	text-align: center;
}

blockquote p,
q p {
	margin-bottom: 0;
}

blockquote cite,
q cite {
	display: block;
	opacity: 0.6;
	font-size: 80%;
	margin-top: 2rem;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-top: 1px solid rgba(68, 68, 68, 0.3);
	border-left: 1px solid rgba(68, 68, 68, 0.3);
	margin-bottom: 3.6rem;
	background: transparent;
}

table:last-child {
	margin-bottom: 0;
}

td,
th {
	padding: 10px 15px;
	text-align: left;
	border-bottom: 1px solid rgba(68, 68, 68, 0.3);
	border-right: 1px solid rgba(68, 68, 68, 0.3);
}

/* Linkovi u tekstu */
.entry-content a,
.textwidget a,
.typology-footer .widget p a {
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 1px solid;
	transition: border-bottom 0.1s ease-in-out;
}

.entry-content a:hover,
.textwidget a:hover,
.typology-footer .widget p a:hover {
	border-bottom: 1px solid transparent;
}

/* 3. Obrasci i dugmad --------------------------------------------------- */

button,
input,
select,
textarea {
	font: inherit;
	margin: 0;
	line-height: inherit;
	border-radius: 0;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	resize: vertical;
}

label {
	display: inline-block;
	margin-bottom: .5rem;
}

fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 15px;
	font-size: 1.3rem;
	line-height: 1;
	color: inherit;
	background: #fff;
	border: 1px solid rgba(68, 68, 68, 0.2);
	outline: none;
	vertical-align: baseline;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	border-color: var(--mst-acc);
}

textarea {
	min-height: 200px;
	padding: 15px;
	line-height: 22px;
}

.typology-button,
.submit,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-block;
	height: 40px;
	min-width: 160px;
	padding: 0 20px;
	font-family: var(--mst-head-font);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 42px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	background: var(--mst-acc);
	border: 1px solid var(--mst-acc);
	outline: none;
	transform: translateY(0);
	transition: all 0.1s ease-in-out;
}

.typology-button:hover,
.submit:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover {
	box-shadow: 0 10px 20px 0 rgba(1, 1, 1, 0.15);
	text-decoration: none;
}

.typology-button:focus,
.submit:focus,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
	box-shadow: 0 3px 7px 0 rgba(1, 1, 1, 0.15);
	text-decoration: none;
}

.typology-button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--mst-h);
	outline-offset: 2px;
}

.button-invert {
	color: var(--mst-acc);
	background: transparent;
}

.typology-button i {
	margin-right: 5px;
}

/* Pretraga */
.typology-search-form {
	position: relative;
}

.typology-button-search {
	margin-top: 1rem;
}

.entry-content .typology-search-form input[type="text"] {
	max-width: 100%;
	margin-right: 1rem;
}

.entry-content .typology-button-search {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	min-width: 100px;
	max-width: 50px;
	margin: 0;
}

.widget .typology-icon-button {
	width: 100%;
}

/* 4. Mreža ------------------------------------------------------------- */

.container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.col-lg-4,
.col-lg-6 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

.col-lg-4 {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

.col-lg-6 {
	flex: 0 0 50%;
	max-width: 50%;
}

.typology-posts {
	display: flex;
	flex-wrap: wrap;
}

/* 5. Zaglavlje i meni --------------------------------------------------- */

.typology-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--mst-header-h);
	z-index: 9001;
}

.typology-header.mst-under {
	z-index: 1000;
}

.admin-bar .typology-header {
	top: 32px;
}

.typology-header .container {
	position: relative;
	height: 100%;
}

.typology-header a {
	text-decoration: none;
}

.slot-l,
.slot-r {
	position: absolute;
	top: 0;
	z-index: 1001;
	display: flex;
	align-items: center;
	height: 100%;
}

.slot-l { left: 15px; }
.slot-r { right: 0; }

.slot-l > div,
.slot-r > nav,
.slot-r > ul {
	display: flex;
}

.typology-site-branding {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.site-title {
	position: relative;
	margin: 0;
	line-height: 1.2;
	text-transform: uppercase;
}

.site-title a {
	color: #fff;
}

.site-title img {
	max-width: 200px;
}

/* Glavni meni i dugmad desno */
.typology-header .typology-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0;
	font-family: var(--mst-head-font);
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
}

.typology-header .typology-nav > li {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	min-height: 4rem;
	padding: 0;
	line-height: 1.3;
}

.typology-header .typology-nav a,
.typology-header .typology-nav > li > span {
	display: block;
	transition: all 0.1s ease-in-out;
}

.typology-header .typology-nav a {
	padding: 16px 14px 13px;
	font-size: 1.1rem;
	line-height: 1;
	color: #fff;
}

.typology-header .typology-nav > li > span {
	padding: 13px 14px;
	line-height: 1.3;
	cursor: pointer;
}

.typology-header .typology-nav i {
	font-size: 1.4rem;
}

.typology-header .typology-nav > .current-menu-item,
.typology-header .typology-nav > .current-menu-parent {
	background: rgba(0, 0, 0, 0.1);
}

.typology-header .typology-nav > li.current-menu-item:hover,
.typology-header .typology-nav > li.current-menu-parent:hover {
	background: transparent;
}

.typology-header .typology-nav > li:hover > a,
.typology-header .typology-nav > li:hover > span,
.typology-header .typology-nav > li.mst-open > span,
.typology-header .typology-nav > li > a:focus-visible,
.typology-header .typology-nav > li > span:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

/* Padajući meniji */
.typology-header .typology-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -9999px;
	z-index: 9999;
	width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
	background: #fff;
	box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease-in-out;
}

.typology-header .typology-nav .sub-menu > li {
	position: relative;
}

.typology-header .typology-nav .sub-menu .sub-menu {
	top: -8px;
}

.typology-header .typology-nav .sub-menu > li:first-child .sub-menu {
	top: 0;
}

.typology-header .typology-nav li:hover > .sub-menu,
.typology-header .typology-nav li:focus-within > .sub-menu,
.typology-header .typology-nav li.mst-open > .sub-menu {
	left: 0;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.typology-header .typology-nav .sub-menu li:hover > .sub-menu,
.typology-header .typology-nav .sub-menu li:focus-within > .sub-menu {
	left: 100%;
}

/* Podmeni koji bi izašao iz ekrana otvara se na drugu stranu (klasu dodaje theme.js). */
.typology-header .typology-nav li > ul.typology-rev {
	left: auto !important;
	right: 0;
}

.typology-header .typology-nav .sub-menu li > ul.typology-rev {
	right: 100%;
}

.typology-header .typology-nav .sub-menu a {
	display: block;
	width: 100%;
	height: auto;
	padding: 8px 15px 0 20px;
	line-height: 22px;
	color: var(--mst-txt);
	transition: padding 0.1s ease-in-out;
}

.typology-header .typology-nav .sub-menu > li:first-child > a {
	padding-top: 15px;
}

.typology-header .typology-nav .sub-menu > li:last-child > a {
	padding-bottom: 15px;
}

.typology-header .typology-nav .sub-menu li:only-of-type > a {
	padding: 15px 15px 15px 20px;
}

.typology-header .typology-nav .sub-menu > li:hover > a,
.typology-header .typology-nav .sub-menu > li > a:focus-visible {
	padding-left: 25px;
	padding-right: 15px;
}

.typology-header .typology-nav .sub-menu a:hover,
.typology-header .typology-nav .sub-menu .current-menu-item > a,
.typology-header .typology-nav .sub-menu .current-menu-ancestor > a {
	color: var(--mst-acc);
}

.typology-header .typology-nav .sub-menu > li.menu-item-has-children > a::after {
	content: "\f105";
	font-family: "FontAwesome";
	float: right;
	margin-left: 7px;
	font-size: 10px;
	opacity: 0.5;
}

/* Pretraga i društvene mreže u zaglavlju (otvaraju se prema lijevo) */
.typology-header .typology-actions-list > li > .sub-menu {
	left: auto;
	right: -9999px;
	text-transform: none;
	font-family: var(--mst-body-font);
	font-weight: 400;
}

.typology-header .typology-actions-list > li:hover > .sub-menu,
.typology-header .typology-actions-list > li:focus-within > .sub-menu,
.typology-header .typology-actions-list > li.mst-open > .sub-menu {
	left: auto;
	right: 0;
}

.typology-header .typology-action-search > .sub-menu {
	padding: 20px;
	font-size: 1.6rem;
	line-height: 1.88;
}

.typology-header .typology-action-search > .sub-menu > li > form {
	text-align: left;
}

.typology-header .typology-action-search .typology-button-search {
	font-size: 1.1rem;
	padding: 0 20px;
	color: #fff;
	line-height: 42px;
}

.typology-action-button.typology-action-sidebar {
	display: inline-block;
}

/* Društvene mreže */
.typology-soc-menu {
	list-style: none;
	margin: 0;
	padding: 10px 20px;
}

.typology-soc-menu li {
	margin-top: 5px;
	transition: all 0.15s ease-in-out;
}

.typology-soc-menu li:hover {
	padding-left: 5px;
}

.typology-header .typology-nav .typology-soc-menu li a,
.typology-soc-menu li a {
	position: relative;
	display: block;
	padding: 0;
	font-size: 1.4rem;
	text-decoration: none;
	text-align: left;
	color: var(--mst-txt);
}

.typology-soc-menu li a .typology-social-name {
	display: inline-block;
	vertical-align: top;
	padding: 6px 14px;
	line-height: 1.2;
}

.typology-soc-menu li a::before {
	display: inline-block;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	font-family: "FontAwesome";
	font-size: 13px;
	line-height: 25px;
	text-align: center;
	color: #fff;
	background: #aaa;
}

.typology-soc-menu li a[href*="facebook."]::before { content: "\f09a"; background-color: #3b5998; }
.typology-soc-menu li a[href*="instagram."]::before { content: "\f16d"; background-color: #3f729b; }
.typology-soc-menu li a[href*="youtube."]::before { content: "\f16a"; background-color: #c4302b; }
.typology-soc-menu li a[href*="twitter."]::before,
.typology-soc-menu li a[href*="x.com"]::before { content: "\f099"; background-color: #55acee; }
.typology-soc-menu li a[href*="linkedin."]::before { content: "\f0e1"; background-color: #0e76a8; }
.typology-soc-menu li a[href*="soundcloud."]::before { content: "\f1be"; background-color: #f50; }
.typology-soc-menu li a[href*="telegram."]::before,
.typology-soc-menu li a[href*="t.me"]::before { content: "\f2c6"; background-color: #2ca5e0; }
.typology-soc-menu li a[href*="whatsapp."]::before { content: "\f232"; background-color: #25d366; }
.typology-soc-menu li a[href*="vimeo."]::before { content: "\f194"; background-color: #1ab7ea; }
.typology-soc-menu li a[href*="/feed"]::before,
.typology-soc-menu li a[href*="/rss"]::before { content: "\f09e"; background-color: #fa9b39; }
.typology-soc-menu li a[href*="mailto:"]::before,
.typology-soc-menu li a[href*="@"]::before { content: "\f0e0"; background-color: #aaa; }

/* 6. Gornji (zeleni) dio ------------------------------------------------ */

.typology-cover {
	position: relative;
	overflow: hidden;
	min-height: 240px;
	text-align: center;
	color: #fff;
	background: var(--mst-acc);
}

.typology-cover-empty {
	height: 209px;
	min-height: 209px;
}

.typology-cover .entry-title,
.typology-cover .entry-title a,
.typology-cover h1,
.typology-cover h2,
.typology-cover h3,
.typology-cover .meta-item,
.typology-cover .meta-item a,
.typology-cover .meta-item span {
	color: #fff;
}

.typology-cover .entry-title,
.typology-cover h1 {
	font-size: 6.4rem;
	line-height: 1.2;
	margin-bottom: 2rem;
}

.typology-cover .entry-title a {
	text-decoration: none;
	display: inline-block;
	transition: all 0.2s ease-in-out;
}

.typology-cover .entry-title:hover a {
	text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	transform: translateY(-2px);
}

.typology-cover .entry-footer {
	margin-top: 2rem;
}

.typology-cover .typology-button {
	color: var(--mst-acc);
	background: #fff;
	border: 1px solid #fff;
}

.typology-cover .button-invert {
	color: #fff;
	background: transparent;
}

.typology-slider-wrapper-fixed,
.typology-cover-wrap {
	position: relative;
	width: 100%;
	height: 100%;
}

.typology-slider-wrapper {
	position: relative;
	z-index: 50;
	height: 100%;
}

.typology-cover-item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 155px 0 215px;
	background: transparent;
}

.cover-item-container {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 950px;
	min-height: 445px;
	margin: 0 auto;
}

.typology-cover-overlay::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: var(--mst-acc);
}

.typology-cover-img {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}

.typology-cover-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.typology-cover .entry-header {
	margin-bottom: 2.6rem;
}

/* Gornji dio stoji, a bijeli okvir sa sadržajem klizi preko njega (theme.js). */
.mst-cover-fixed [data-mst-fix] {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

/* 7. Sadržaj, članci, meta ---------------------------------------------- */

.typology-fake-bg {
	position: relative;
	z-index: 9000;
	background: var(--mst-page-bg);
}

.typology-section {
	position: relative;
	display: block;
	width: 95%;
	max-width: 1170px;
	margin: 0 auto 10rem;
	padding: 16rem 0 15rem;
	background: var(--mst-box-bg);
	box-shadow: 0 30px 50px 0 rgba(1, 1, 1, 0.15);
}

.typology-fake-bg .typology-section:first-child {
	top: -99px;
	z-index: 900;
	margin-bottom: 0;
}

.typology-section > *:last-child {
	margin-bottom: 0;
}

.typology-section .section-head:first-child {
	margin-top: -4rem;
}

.section-content {
	max-width: 720px;
	margin: 0 auto 12rem;
}

.single .typology-section:first-child .section-content,
.section-content-page,
.section-content.section-content-a {
	max-width: 720px;
}

.section-content-c {
	max-width: 840px;
	padding-top: 4rem;
}

.section-content-c .typology-posts {
	align-items: center;
}

.section-head {
	margin-bottom: 8rem;
}

.section-title {
	position: relative;
	padding-bottom: 4rem;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.typology-archive-title::after {
	content: "\22C5";
	position: relative;
	top: -1.5px;
	margin: 0 5px;
}

.archive-desc {
	margin-top: 32px;
	text-align: center;
}

.typology-post {
	position: relative;
	margin-bottom: 9rem;
	padding-bottom: 10rem;
}

.typology-post::after,
.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 50px;
	height: 1px;
	margin-left: -25px;
	background: rgba(51, 51, 51, 0.2);
}

.typology-post:last-child::after {
	display: none;
}

.typology-post:last-child {
	padding-bottom: 0;
}

.single .typology-single-post::after,
.page .typology-single-post::after {
	display: none;
}

.page .section-content .typology-single-post,
.single .section-content .typology-single-post {
	width: 100%;
	margin-bottom: 0;
	padding-bottom: 0;
}

.entry-header,
.entry-footer {
	position: relative;
	z-index: 2;
}

.entry-header {
	margin-bottom: 2.6rem;
}

.entry-title {
	margin-bottom: 0;
	word-wrap: break-word;
}

.entry-title a {
	text-decoration: none;
	transition: all 0.15s ease-in-out;
}

.entry-title a:hover {
	color: var(--mst-acc);
}

.typology-layout-a .entry-title a,
.typology-layout-c .entry-title a {
	display: block;
}

.entry-footer {
	margin-top: 3rem;
}

.entry-footer .typology-button {
	margin-right: 1.5rem;
}

.post-letter {
	position: absolute;
	top: 50%;
	left: -9rem;
	z-index: 1;
	font-family: var(--mst-head-font);
	font-weight: 600;
	font-size: 26rem;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.07);
	text-transform: uppercase;
	transform: translate(0, -50%);
	user-select: none;
	pointer-events: none;
}

/* Meta podaci */
.entry-meta {
	margin-top: 0.8rem;
}

.meta-item {
	display: inline-table;
	vertical-align: top;
	margin-right: 15px;
	font-size: 1.3rem;
	color: var(--mst-meta);
	text-transform: none;
}

.meta-item span,
.meta-item a {
	color: var(--mst-meta);
}

.meta-item a {
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 1px solid transparent;
	transition: border-bottom 0.1s ease-in-out;
}

.meta-item a:hover {
	color: var(--mst-h);
	border-bottom: 1px solid;
}

.meta-item::after {
	content: "/";
	position: relative;
	right: -7px;
}

.meta-item:last-child::after {
	display: none;
}

/* Istaknuta slika */
.typology-featured-image {
	position: relative;
	display: inline-block;
	margin-bottom: 3.6rem;
	padding: 0 !important;
	border: none !important;
}

.typology-featured-image::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease-in-out;
}

a.typology-featured-image:hover::after {
	opacity: 0.2;
}

.single .typology-single-post .typology-featured-image::after,
.page .typology-single-post .typology-featured-image::after {
	display: none;
}

.wp-caption-text {
	margin-top: 1rem;
	font-size: 1.3rem;
	text-align: center;
}

/* Video u tekstu (YouTube, Vimeo): puna širina kolone, omjer 16:9 */
.typology-single-post .entry-content > iframe,
.typology-single-post .entry-content > p > iframe,
.typology-single-post .entry-content .wp-block-embed iframe,
.typology-single-post .entry-content .mst-video iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

.mst-media-post .entry-content > iframe:first-child,
.mst-media-post .entry-content > p:first-child > iframe,
.mst-media-post .entry-content > .wp-block-embed:first-child {
	margin-bottom: 3.6rem;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Oznake i stranice teksta */
.entry-tags {
	margin-bottom: 3.6rem;
}

.entry-tags a,
.widget_tag_cloud a,
.wp-block-tag-cloud a {
	display: inline-block;
	vertical-align: top;
	height: 30px;
	margin: 0 2px 7px 0;
	padding: 9px 20px;
	font-size: 12px !important;
	line-height: 1;
	color: var(--mst-txt);
	background: rgba(0, 0, 0, 0.07);
	border: none;
}

.entry-tags a {
	margin-right: 15px;
}

.entry-tags a:hover,
.widget_tag_cloud a:hover,
.wp-block-tag-cloud a:hover {
	color: var(--mst-acc);
	border: none;
}

.entry-content .entry-tags:first-child {
	margin-top: 6rem;
}

.typology-link-pages {
	display: block;
	margin-bottom: 3.6rem;
}

.typology-link-pages a,
.typology-link-pages > span {
	display: inline-block;
	min-width: 40px;
	height: 40px;
	margin: 0 4px;
	padding-bottom: 0;
	font-size: 1.1rem;
	line-height: 40px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--mst-h);
	border: 1px solid var(--mst-h) !important;
	transition: all 0.1s ease-in-out;
}

.typology-link-pages > span {
	color: #fff;
	background: var(--mst-h);
}

.typology-link-pages a:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px 0 rgba(1, 1, 1, 0.15);
}

/* Dijeljenje ispod članka */
.mst-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	clear: both;
	margin: 1rem 0 0;
	padding-top: 2.4rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mst-share-label {
	margin-right: 6px;
	font-family: var(--mst-head-font);
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--mst-meta);
}

.mst-share-btn,
.entry-content .mst-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-width: 0;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	font-size: 15px;
	line-height: 1;
	color: var(--mst-meta);
	background: transparent;
	text-decoration: none;
	transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out, background 0.15s ease-in-out;
}

.mst-share-btn:hover,
.mst-share-btn:focus-visible {
	color: #fff;
	background: var(--mst-acc);
	border-color: var(--mst-acc);
	box-shadow: none;
}

.mst-share-msg {
	font-size: 1.3rem;
	color: var(--mst-acc);
}

/* Ako je dodatak Meks Easy Social Share još uključen, njegova dugmad se ne prikazuju (tema ima svoja). */
.typology-section .meks_ess {
	display: none !important;
}

/* 404 */
.error404 .typology-post {
	margin-bottom: 0;
	padding-bottom: 0;
}

.error404 .typology-post::after {
	display: none;
}

.error404 .typology-search-form {
	max-width: 420px;
	margin-top: 4rem;
}

/* Vrh lista (breadcrumb) */
.typology-ad {
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.typology-ad-top {
	margin-top: -50px;
	margin-bottom: 100px;
}

/* Komentari (ako su za članak uključeni) */
.comment-form label {
	margin-bottom: 10px;
	font-size: 1.4rem;
	line-height: 1;
}

.comment-respond {
	width: 100%;
	margin-bottom: 0;
}

.comment-form {
	position: relative;
}

.comment-reply-title {
	float: right;
}

.typology-comments {
	margin-bottom: 5rem;
}

.comment-form p {
	margin-bottom: 5px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	float: left;
	width: 33.33%;
	margin-bottom: 20px;
	padding: 0 15px 0 0;
}

.comment-form-url {
	padding: 0;
}

.comment-form-cookies-consent {
	clear: both;
	font-size: 1.4rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
	position: relative;
	top: 2px;
	margin-right: 8px;
}

.form-submit {
	clear: both;
	display: inline-block;
	margin-top: 25px;
}

.comment-list {
	clear: both;
	list-style: none;
	margin: 8rem 0 0;
	padding: 0;
}

.comment-list li {
	list-style: none;
}

.comment-list .children {
	margin-left: 98px;
	padding: 0;
}

.comment-list .avatar {
	float: left;
	margin-right: 15px;
	border-radius: 50%;
}

.comment-list .says {
	display: none;
}

.comment-author .fn {
	font-family: var(--mst-head-font);
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	color: var(--mst-h);
}

.comment-list .comment-metadata {
	margin-bottom: 12px;
	font-size: 12px;
	line-height: 20px;
}

.comment-metadata a {
	text-decoration: none;
	color: var(--mst-meta);
}

.comment-content {
	margin-left: 95px;
}

.comment-content p {
	margin-bottom: 1.3rem;
}

.reply {
	margin-left: 95px;
	font-size: 1.4rem;
}

.comment-reply-link {
	text-decoration: none;
}

.comment-body {
	margin-bottom: 6rem;
}

@media (max-width: 680px) {
	.comment-form-author,
	.comment-form-email,
	.comment-form-url {
		float: none;
		width: 100%;
		padding: 0;
	}

	.comment-content,
	.reply,
	.comment-list .children {
		margin-left: 0;
	}
}

/* 8. Rasporedi lista i paginacija --------------------------------------- */

/* Raspored A */
.typology-layout-a {
	width: 100%;
}

.typology-layout-a.typology-post:last-child {
	margin-bottom: 0;
}

.typology-layout-a .entry-content p:last-child {
	margin-bottom: 0;
}

/* Raspored C */
.typology-layout-c.typology-post {
	display: flex;
	justify-content: center;
	margin: 0 0 15rem;
	padding: 0 60px;
}

.typology-layout-c.typology-post::after {
	display: none;
}

.typology-layout-c.post-image-on {
	display: block;
	margin: 0 0 7rem;
}

.typology-layout-c.post-image-on .entry-title {
	font-size: 1.8rem;
}

.typology-layout-c .typology-featured-image {
	margin-bottom: 1.8rem;
}

.typology-layout-c .entry-header {
	margin-bottom: 0;
}

.layout-odd .typology-layout-c:nth-last-of-type(-n+2),
.layout-even .typology-layout-c:last-child {
	margin-bottom: 0;
}

/* Paginacija: "Učitaj još" i brojevi stranica */
.typology-pagination {
	position: relative;
	width: 100%;
	margin-top: 5rem;
	padding: 0;
	text-align: center;
}

.typology-pagination .navigation {
	position: relative;
	display: block;
	max-width: 720px;
	margin: 0 auto;
}

.typology-pagination a,
.typology-pagination span.page-numbers {
	display: inline-block;
	font-family: var(--mst-head-font);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 39px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--mst-h);
	border: 1px solid var(--mst-h);
	transform: translateY(0);
	transition: all 0.1s ease-in-out;
}

.typology-pagination a:hover {
	box-shadow: 0 10px 20px 0 rgba(1, 1, 1, 0.15);
}

.typology-pagination .page-numbers {
	min-width: 40px;
	margin: 0 4px;
}

.typology-pagination .current,
.typology-pagination [data-mst-more] {
	color: #fff;
	background: var(--mst-h);
	border-color: transparent;
}

.typology-pagination .dots {
	min-width: 1px;
	border-color: transparent;
}

.typology-pagination [data-mst-more] {
	min-width: 160px;
	padding: 0 20px;
}

/* Kad JavaScript radi, prikazuje se samo dugme "Učitaj još". */
.js .typology-pagination .mst-pages {
	display: none;
}

.no-js .typology-pagination [data-mst-more] {
	display: none;
}

.typology-pagination .mst-pages {
	display: block;
	margin-top: 2rem;
}

.typology-pagination.mst-loading [data-mst-more] {
	opacity: 0.5;
	pointer-events: none;
}

/* 9. Galerije i pregled slika ------------------------------------------- */

.gallery {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	margin: 0;
}

.entry-content .gallery {
	margin-bottom: 3.6rem;
}

.gallery-item {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 2px 2px 0;
	text-align: center;
	vertical-align: top;
}

.gallery-columns-2 .gallery-item { flex: 0 0 50%; max-width: 50%; }
.gallery-columns-3 .gallery-item { flex: 0 0 33.33%; max-width: 33.33%; }
.gallery-columns-4 .gallery-item { flex: 0 0 25%; max-width: 25%; }
.gallery-columns-5 .gallery-item { flex: 0 0 20%; max-width: 20%; }
.gallery-columns-6 .gallery-item { flex: 0 0 16.66%; max-width: 16.66%; }
.gallery-columns-7 .gallery-item { flex: 0 0 14.28%; max-width: 14.28%; }
.gallery-columns-8 .gallery-item { flex: 0 0 12.5%; max-width: 12.5%; }
.gallery-columns-9 .gallery-item { flex: 0 0 11.11%; max-width: 11.11%; }

.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	padding-right: 0;
}

.gallery .gallery-icon {
	display: inline-block;
	height: 100%;
	max-width: 100%;
}

.gallery-icon img {
	height: 100%;
	margin: 0 auto;
	object-fit: cover;
}

.gallery-caption {
	display: none;
}

.entry-content .gallery a,
.entry-content .wp-block-gallery a {
	padding: 0;
	border: none;
}

.gallery .gallery-item a::after {
	content: "\f0b2";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 5;
	width: 59px;
	height: 59px;
	margin: -31px 0 0 -31px;
	border-radius: 50%;
	font-family: "FontAwesome";
	font-size: 18px;
	line-height: 61px;
	text-align: center;
	color: var(--mst-h);
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 3px 5px 0 rgba(0, 1, 1, 0.1);
	opacity: 0;
	transition: all 0.2s ease-in-out;
}

.gallery-columns-4 .gallery-item a::after,
.gallery-columns-5 .gallery-item a::after,
.gallery-columns-6 .gallery-item a::after,
.gallery-columns-7 .gallery-item a::after {
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	font-size: 16px;
	line-height: 40px;
}

.gallery-columns-8 .gallery-item a::after,
.gallery-columns-9 .gallery-item a::after {
	display: none;
}

.gallery .gallery-item a:hover::after,
.gallery .gallery-item a:focus-visible::after {
	opacity: 1;
}

/* Galerija s jednom kolonom: jedna slika i strelice (theme.js) */
.gallery-columns-1 {
	position: relative;
	display: block;
}

.gallery-columns-1 .gallery-item {
	padding: 0;
}

.mst-slider .gallery-item {
	display: none;
}

.mst-slider .gallery-item.mst-active {
	display: block;
}

.mst-slider-nav {
	position: absolute;
	top: 50%;
	z-index: 6;
	width: 40px;
	min-width: 0;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: none;
	border-radius: 50%;
	font-size: 13px;
	line-height: 40px;
	color: var(--mst-h);
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 3px 5px 0 rgba(0, 1, 1, 0.1);
}

.mst-slider-nav:hover {
	background: #fff;
}

.mst-slider-prev { left: 30px; }
.mst-slider-next { right: 30px; }

/* Pregled slika preko cijelog ekrana */
.mst-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 70px;
	background: rgba(11, 11, 11, 0.9);
}

.mst-lb[hidden] {
	display: none;
}

.mst-lb figure {
	position: relative;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
}

.mst-lb img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	margin: 0 auto;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.mst-lb figcaption {
	margin-top: 10px;
	font-size: 1.3rem;
	line-height: 1.4;
	color: #ccc;
}

.mst-lb-btn {
	position: absolute;
	width: 40px;
	min-width: 0;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	font-size: 14px;
	line-height: 40px;
	color: var(--mst-h);
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 3px 5px 0 rgba(0, 1, 1, 0.1);
}

.mst-lb-btn:hover,
.mst-lb-btn:focus-visible {
	background: #fff;
}

.mst-lb-prev { left: 24px; top: 50%; margin-top: -20px; }
.mst-lb-next { right: 24px; top: 50%; margin-top: -20px; }
.mst-lb-close { right: 24px; top: 20px; font-size: 22px; }

.mst-lb-count {
	position: absolute;
	right: 70px;
	bottom: 14px;
	font-size: 12px;
	color: #ccc;
}

/* 10. Widgeti i podnožje ------------------------------------------------ */

.widget {
	max-width: 300px;
	margin: 0 auto 5rem;
	font-size: 1.4rem;
}

.widget:only-of-type {
	margin-bottom: 0;
}

.widget-title {
	line-height: 1.2;
	text-transform: uppercase;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul ul {
	margin-top: 1rem;
}

.widget ul li {
	position: relative;
	margin-bottom: 1.2rem;
	padding-left: 2rem;
	line-height: 1.5;
	color: var(--mst-txt);
}

.widget a {
	text-decoration: none;
	color: var(--mst-txt);
	transition: color 0.2s ease-in-out;
}

.widget a:hover {
	color: var(--mst-acc);
}

.widget .textwidget a {
	color: var(--mst-acc);
}

.widget_nav_menu ul li::before,
.widget_recent_entries ul li::before,
.widget_recent_comments ul li::before,
.widget_meta ul li::before,
.widget_pages ul li::before,
.widget_categories ul li::before,
.widget_archive ul li::before,
.widget_rss ul li::before,
.typology-responsive-menu ul li::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 0;
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--mst-acc);
	user-select: none;
}

.widget .post-date {
	display: block;
	font-size: 1.4rem;
	color: var(--mst-meta);
}

.widget table,
.widget table td,
.widget table th {
	border-color: rgba(68, 68, 68, 0.3);
}

.widget p:last-child {
	margin-bottom: 0;
}

.widget select {
	width: 100%;
}

/* Widget "Društvene mreže" (okrugle ikonice) */
.mst-social-widget {
	text-align: center;
}

.widget ul.mst-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.widget ul.mst-social li {
	margin: 0;
	padding: 0;
}

.widget ul.mst-social li::before {
	display: none;
}

.widget .mst-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 16px;
	color: #fff;
	transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.widget .mst-social a:hover,
.widget .mst-social a:focus-visible {
	color: #fff;
	opacity: 0.85;
	transform: translateY(-2px);
}

/* Podnožje */
.typology-footer {
	padding: 0;
	color: #aaa;
	background: var(--mst-page-bg);
}

.typology-footer .container {
	max-width: 1270px;
	justify-content: center;
}

.typology-footer .typology-footer-sidebar {
	margin-bottom: 50px;
	padding-left: 50px;
	padding-right: 50px;
}

.typology-footer .container > .typology-footer-sidebar {
	margin-bottom: 8rem;
}

.typology-footer h1,
.typology-footer h2,
.typology-footer h3,
.typology-footer h4,
.typology-footer h5,
.typology-footer h6 {
	color: #aaa;
}

.typology-footer a,
.typology-footer .widget .textwidget a {
	color: var(--mst-meta);
}

/* 11. Bočni panel ------------------------------------------------------- */

.typology-sidebar {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	display: block;
	width: 407px;
	max-width: 100%;
	height: 100%;
	padding: 160px 0 0;
	overflow: auto;
	overscroll-behavior: contain;
	background: var(--mst-box-bg);
	visibility: hidden;
	transform: translate3d(437px, 0, 0);
	transition: transform 0.2s ease, visibility 1ms linear 0.2s;
}

.typology-sidebar-open .typology-sidebar {
	visibility: visible;
	transform: translate3d(0, 0, 0);
	box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease, visibility 0s;
}

.admin-bar .typology-sidebar {
	top: 32px;
	height: calc(100% - 32px);
}

.typology-sidebar-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9998;
	display: block;
	width: 100%;
	height: calc(100% + 60px);
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease-in-out, visibility 0s linear 0.25s;
}

.typology-sidebar-open .typology-sidebar-overlay {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease-in-out;
}

.typology-lock {
	overflow: hidden !important;
}

.typology-sidebar-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 110px;
	padding: 0;
	background: var(--mst-acc);
}

.typology-sidebar-header-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 300px;
	height: 100%;
	margin: 0 auto;
}

.typology-sidebar-header .site-title img {
	max-height: 110px;
}

.typology-sidebar-close {
	position: relative;
	right: -10px;
	width: auto;
	min-width: 0;
	height: auto;
	padding: 10px;
	font-size: 1.6rem;
	line-height: 1;
	color: #fff;
	background: transparent;
	border: none;
	opacity: 0.5;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.typology-sidebar-close:hover,
.typology-sidebar-close:focus,
.typology-sidebar-close:focus-visible {
	opacity: 1;
	box-shadow: none;
}

/* Meni u panelu (kada glavni meni ne stane u zaglavlje) */
.typology-responsive-menu {
	display: none;
}

.mst-nav-collapsed-on .typology-responsive-menu {
	display: block;
}

.typology-responsive-menu .typology-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.typology-responsive-menu .typology-nav li {
	position: relative;
	margin-bottom: 1.2rem;
	padding-left: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.typology-responsive-menu .typology-nav li::before {
	display: none;
}

.typology-responsive-menu .typology-nav li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.typology-responsive-menu .typology-nav a {
	display: block;
	padding-bottom: 12px;
	padding-right: 32px;
	text-transform: none;
}

.typology-responsive-menu .typology-nav .sub-menu {
	display: none;
	margin-top: 0;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.typology-responsive-menu .typology-nav .active > .sub-menu {
	display: block;
}

.typology-responsive-menu .typology-nav .sub-menu a {
	padding-left: 20px;
}

.typology-nav-widget-acordion {
	position: absolute;
	top: -4px;
	right: -5px;
	width: 32px;
	min-width: 0;
	height: 31px;
	padding: 0;
	font-size: 18px;
	line-height: 31px;
	text-align: center;
	color: var(--mst-txt);
	background: transparent;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}

.typology-nav-widget-acordion:hover {
	box-shadow: none;
}

.typology-responsive-menu .menu-item-has-children.active > .typology-nav-widget-acordion {
	transform: rotate(-180deg);
}

/* Stavka menija koja otvara panel nije link na drugu stranicu. */
.typology-main-navigation .typology-action-sidebar > a {
	cursor: pointer;
}

/* 12. WordPress klase i blokovi ----------------------------------------- */

.aligncenter,
.alignnone {
	clear: both;
	display: block;
	max-width: 100%;
	margin: 0 auto 3.6rem;
}

.alignright {
	display: inline;
	float: right;
	max-width: 100%;
	margin: 0.75rem 0 2.6rem 5rem;
}

.alignleft {
	display: inline;
	float: left;
	max-width: 100%;
	margin: 0.75rem 5rem 2.6rem 0;
}

.wp-caption {
	max-width: 100%;
}

.wp-block-image figcaption,
.wp-block-audio figcaption {
	margin: 8px 0 0;
	font-size: 1.3rem;
	text-align: center;
	color: var(--mst-txt);
}

.wp-block-image .alignleft { margin-right: 30px; }
.wp-block-image .alignright { margin-left: 30px; }

.wp-block-separator {
	border-color: rgba(68, 68, 68, 0.3);
}

.wp-block-button__link {
	height: auto;
	line-height: 24px;
	padding: 9px 24px 6px;
}

.entry-content .wp-block-button__link {
	border-bottom: 1px solid var(--mst-acc);
}

.has-small-font-size { font-size: 1.3rem; }
.has-normal-font-size { font-size: 1.6rem; }
.has-large-font-size { font-size: 2.2rem; }
.has-huge-font-size { font-size: 2.9rem; }

.mejs-container {
	margin-bottom: 3.6rem;
}

.mejs-container button {
	min-width: 0;
}

.more-link {
	display: none;
}

.sticky .entry-title a::before {
	content: "\f08d";
	margin-right: 10px;
	font-family: "FontAwesome";
	font-size: 80%;
	line-height: 1;
}

/* 13. Prilagođavanje ekranu --------------------------------------------- */

@media (max-width: 1366px) {
	.typology-cover:not(.typology-cover-empty):not(.mst-cover-front) {
		height: calc(100vh + 99px);
	}

	.typology-cover:not(.typology-cover-empty):not(.mst-cover-front) .typology-cover-item {
		min-height: 100vh;
	}
}

@media (max-width: 1260px) {
	.typology-section {
		width: 93%;
	}

	.typology-header .container {
		max-width: 93%;
	}

	.slot-l { left: 0; }
	.slot-r { right: -15px; }
}

@media (max-width: 1100px) {
	.cover-item-container { max-width: 850px; }
}

@media (max-width: 1024px) {
	.typology-post {
		margin-bottom: 7rem;
		padding-bottom: 8rem;
	}

	.post-letter { left: -7rem; }

	.section-head { margin-bottom: 6rem; }

	.typology-section {
		margin-bottom: 8rem;
		padding: 10rem 14% 11rem;
	}

	.cover-item-container { max-width: 750px; }

	.typology-cover .entry-title,
	.typology-cover h1 {
		font-size: 5.4rem !important;
	}

	.typology-layout-c.typology-post { padding: 0 10px; }

	.typology-footer .widget { font-size: 1.2rem !important; }
}

@media (max-width: 1000px) {
	.typology-cover .entry-title,
	.typology-cover h1 {
		font-size: 4.8rem !important;
	}

	.cover-item-container { max-width: 650px; }

	.entry-footer .typology-button { min-width: 145px; }
}

@media (max-width: 800px) {
	.cover-item-container { max-width: 610px; }

	.typology-header .container { max-width: 90%; }

	.typology-section { width: 90%; }

	.entry-meta { line-height: 1.5; }

	.typology-footer .col-lg-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	h1, .h1 { font-size: 4rem !important; }
	h2, .h2 { font-size: 3.6rem !important; }
	h3, .h3 { font-size: 3.2rem !important; }
	h4, .h4 { font-size: 2.8rem !important; }
	h5, .h5, .typology-layout-c .h4 { font-size: 2.4rem !important; }
	h6, .h6 { font-size: 2rem !important; }
	.h6.section-title { font-size: 1.5rem !important; line-height: 1.6; }

	.typology-pagination {
		min-height: 40px;
	}

	blockquote,
	q {
		padding: 7rem 7rem 6rem;
		font-size: 1.8rem;
	}

	.alignleft,
	.alignright,
	.aligncenter {
		display: block;
		float: none;
		clear: both;
		max-width: 100%;
		margin: 0 auto 3.6rem;
	}

	.typology-layout-a .post-letter,
	.typology-single-post .post-letter {
		display: none;
	}

	.typology-post .entry-footer {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}

	.typology-post .entry-footer .typology-button {
		flex: 1;
		width: auto;
		min-width: auto;
	}

	.entry-footer .typology-button:last-child { margin-right: 0; }

	.typology-layout-c.typology-post { margin-bottom: 10rem; }

	.typology-sidebar-close { opacity: 1; }
}

@media (max-width: 782px) {
	.admin-bar .typology-header,
	.admin-bar .typology-sidebar {
		top: 46px;
	}
}

@media (max-width: 680px) {
	:root { --mst-header-h: 75px; }

	.typology-section {
		width: 100%;
		margin-bottom: 4rem;
		padding: 7rem 10%;
		box-shadow: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	.typology-fake-bg .typology-section:first-child {
		top: 0 !important;
	}

	.section-content { margin: 0 auto 5rem; }
	.section-head { margin-bottom: 4rem; }

	.typology-posts .typology-post {
		margin-bottom: 3rem;
		padding-bottom: 4rem;
	}

	p { margin: 0 0 2rem; }

	blockquote,
	q {
		margin: 3rem 0;
		padding: 3rem 3rem 2.4rem;
	}

	.entry-tags,
	.mejs-container,
	pre {
		margin-bottom: 2rem;
	}

	.typology-footer .col-lg-4 {
		flex: 0 0 100%;
		max-width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}

	.typology-footer .container {
		padding: 0 20%;
	}

	.typology-footer .container > .typology-footer-sidebar {
		padding: 20px;
	}

	.cover-item-container {
		max-width: 80%;
		height: auto;
	}

	.typology-cover .entry-title,
	.typology-cover h1 {
		font-size: 4.2rem !important;
	}

	h1, .h1 { font-size: 4.2rem !important; }
	h2, .h2 { font-size: 3.6rem !important; }
	h3, .h3 { font-size: 3rem !important; }
	h4, .h4, .typology-layout-c .h4 { font-size: 2.4rem !important; }
	h5, .h5 { font-size: 2rem !important; }
	h6, .h6 { font-size: 1.6rem !important; }

	.entry-content h1, .entry-content h2, .entry-content h3,
	.entry-content h4, .entry-content h5, .entry-content h6,
	.entry-content .h1, .entry-content .h2, .entry-content .h3,
	.entry-content .h4, .entry-content .h5, .entry-content .h6 {
		margin-bottom: 2rem;
	}

	.typology-cover-empty {
		height: 75px !important;
		min-height: 75px !important;
	}

	.section-content-c { padding-top: 5rem; }

	.section-content-c .typology-posts { align-items: initial; }

	.typology-layout-c.typology-post { margin: 0 0 4rem; }

	.layout-even .typology-layout-c:last-child,
	.layout-odd .typology-layout-c:nth-last-of-type(-n+2) {
		margin: 0 0 4rem;
		padding-bottom: 4rem;
	}

	.typology-layout-c .h4 { font-size: 2rem !important; }
}

@media (max-width: 620px) {
	.col-lg-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.typology-section .section-head:first-child { margin-top: 0; }

	.typology-footer .container > div { margin-top: 2rem; margin-bottom: 0; }

	.typology-footer .container > .typology-footer-sidebar {
		margin-bottom: 0;
		padding: 0;
	}

	.section-content-c { padding-top: 3rem; }

	.typology-layout-c.typology-post:last-child { margin: 0; }

	.typology-post .entry-footer { flex-direction: column; }

	.typology-post .entry-footer .typology-button {
		margin-right: 0;
		margin-bottom: 1.5rem;
	}

	.typology-header li.typology-actions-button,
	.typology-header li.typology-action-button {
		width: 4rem;
	}
}

@media (max-width: 480px) {
	.typology-section {
		width: 100%;
		margin-bottom: 2rem;
		padding: 2.8rem 8% 4rem;
	}

	.typology-header .container { max-width: 83%; }

	.typology-sidebar-header {
		height: 75px;
		padding: 0 40px;
	}

	.typology-sidebar {
		max-width: 320px;
		padding: 100px 40px 40px;
	}

	.entry-footer .typology-button {
		width: 100%;
		min-width: auto;
		margin-right: 0;
	}

	.section-title { padding-bottom: 3rem; }

	.section-head {
		margin-top: 1rem !important;
		margin-bottom: 3rem;
	}

	.typology-footer .container { padding: 0 5%; }

	.widget,
	.widget:only-of-type {
		margin-bottom: 4rem;
	}

	.typology-cover .entry-title,
	.typology-cover h1 {
		font-size: 2.7rem !important;
	}

	h1, .h1 { font-size: 2.7rem !important; }
	h2, .h2 { font-size: 2.5rem !important; }

	.entry-content a,
	.textwidget a,
	.typology-footer .widget a {
		padding-bottom: 2px;
	}

	h3, .h3 { font-size: 2.3rem !important; }
	h4, .h4, .typology-layout-c .h4 { font-size: 2rem !important; }
	h5, .h5 { font-size: 1.8rem !important; }
	h6, .h6 { font-size: 1.6rem !important; }

	.typology-pagination {
		margin-top: 4rem;
	}

	.typology-pagination .page-numbers {
		min-width: 32px;
		margin: 0 1px;
	}

	.entry-header { margin-bottom: 1.6rem; }

	blockquote,
	q {
		padding: 4rem 4rem 3rem;
		line-height: 3rem;
	}

	.entry-content .typology-button-search,
	.widget .typology-icon-button {
		position: relative;
		top: 10px;
		right: 0;
		min-width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.entry-content address,
	.entry-content dl,
	.entry-content ol,
	.entry-content ul {
		margin-bottom: 1rem;
	}

	.section-content-c { max-width: 300px; }

	.mst-share-label { display: none; }

	.typology-cover .entry-header { margin-bottom: 0; }

	.typology-cover:not(.typology-cover-empty):not(.mst-cover-front) {
		height: 100vh;
	}

	.typology-cover-item {
		min-height: 100%;
		padding: 1px 0;
	}

	/* Na malom ekranu glavni meni je uvijek u bočnom panelu. */
	.typology-header .mst-main-nav { display: none; }
	.typology-responsive-menu { display: block; }

	.entry-content h1, .entry-content h2, .entry-content h3,
	.entry-content h4, .entry-content h5, .entry-content h6 {
		word-break: break-word;
	}

	.mst-lb { padding: 50px 10px; }
	.mst-lb-prev { left: 8px; }
	.mst-lb-next { right: 8px; }
	.mst-lb-close { right: 8px; top: 8px; }
}

@media (max-width: 320px) {
	body { font-size: 1.4rem !important; }

	.typology-sidebar-header { padding: 0 40px; }

	.typology-sidebar {
		max-width: 100%;
		padding: 100px 30px 40px;
	}

	.meta-item { font-size: 1.2rem !important; }

	.cover-item-container { max-width: 70%; }

	.typology-cover .entry-title,
	.typology-cover h1 {
		font-size: 2.4rem !important;
		line-height: 1.4;
	}

	p { margin: 0 0 2.2rem; }

	h1, .h1 { font-size: 2.4rem !important; }
	h2, .h2 { font-size: 2.2rem !important; }
	h3, .h3 { font-size: 2rem !important; }
	h4, .h4, .typology-layout-c .h4 { font-size: 1.8rem !important; }
	h5, .h5 { font-size: 1.6rem !important; }
	h6, .h6 { font-size: 1.4rem !important; }

	.widget,
	.widget:only-of-type { margin-bottom: 3rem; }

	.typology-section { padding: 2.6rem 8% 4rem; }


}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
