/*
Theme Name: Becoming Image
Theme URI: https://aksioma.org/becoming-image/
Author: Igor Kovacic
Author URI: https://www.applause.hr/
Description: #
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif;
    background-color: #585858;
    color: #000;
}

/*body:not(.front-page)[data-color="2"], body:not(.front-page)[data-color="2"] .menu-container { background-color: #ffe833; }
body:not(.front-page)[data-color="3"], body:not(.front-page)[data-color="3"] .menu-container { background-color: #3381fd; }
body:not(.front-page)[data-color="4"], body:not(.front-page)[data-color="4"] .menu-container { background-color: #ec5d65; }*/

a {
    text-decoration: none;
    color: inherit;
}

/*h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
.langs,
.burger,
.footer__contact {
    font-weight: 700;
}*/

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

h1 {
    font-size: 32px;
    line-height: 1.2;
    /*text-shadow: 0 0 3em red, 0 0 1em red, 0 0 0.5em red;*/
}

/*h2 {
    text-shadow: 0 0 3em red, 0 0 1em red, 0 0 0.5em red;
}*/

h2, h3 {
    line-height: 1.125;
}

hr {
    
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.u-inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 20px;    
}

.header {
	box-shadow: 0 5px 5px rgba(0,0,0,0.5);
	position: relative;
	background-color: #585858;
	z-index: 1020;
}

.menu-container {
	box-shadow: 0 5px 5px rgba(0,0,0,0.5);
}

.header,
#node-1,
#node-2,
#node-3,
#node-4 {
    position: relative;
}

/*
.header:before {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    content: '';
    bottom: 0;
    z-index: -1;
    background: no-repeat url(assets/bg-mobile.webp) 50% 100% / cover;
}

@media screen and (min-width: 768px) {
    .header:before {
        bottom: -100%;
        background-image: url(assets/bg-desktop.webp);
    }
}*/

/*.header {
    overflow: hidden;
    transition: 0.3s color;
}*/

/*body[data-color="1"] .header,
body[data-color="2"] .header {
    color: #fff;
}*/

/*.header__bg {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #efbfc8 url(assets/bg.webp) 50% / cover;
}*/

/*body[data-color="2"] .header__bg { background-image: url(assets/img/02.jpg); }
body[data-color="3"] .header__bg { background-image: url(assets/img/03.jpg); }
body[data-color="4"] .header__bg { background-image: url(assets/img/04.jpg); }

@keyframes movement {
    0% { top: -100%; left: -100% }
    10% { top: -200%; left: -50% }
    25% { top: 0%; left: 0% }
    50% { top: -100%; left: -100% }
    65% { top: 0%; left: -180% }
    70% { top: -200%; left: -200% }
    85% { top: -50%; left: -50% }
    100% { top: -100%; left: -100%; }
}*/

@media screen and (max-width: 1023px) {

    .header {
    }

    .header__inner {
        margin: auto 0;
    }

    /*.header__bg {
        left: -100%;
        top: -100%;
        width: 300%;
        height: 300%;
        animation-name: movement;
        animation-duration: 60s;
        animation-iteration-count: infinite;
    }*/
}

.langs {
    text-align: right;
    margin-bottom: 6px;
}

.langs a {
    opacity: 0.3;
    transition: .3s opacity;
}

.langs a:hover {
    opacity: 1;
}

.logo {
	display: block;
    max-width: 436px;
	margin-inline: auto;
    /*background: url(assets/branding/bi-logo@2x.webp) no-repeat 50% / cover;
	height: 122px;
    margin-inline: auto;
    position: relative;*/
}

.logo svg {
	width: 100%;
	height: auto;
}

/*@media screen and (min-width: 768px) {
    .logo {
        max-width: 800px;
    }
}

.logo svg {
    width: 100%;
    height: auto;
}

.logo__svg-mobile {
    display: none;
}

@media screen and (max-width: 480px) {
    .logo__svg-mobile {
        display: block;
    }
    .logo__svg-desktop {
        display: none;
    }
}*/

/*.logo:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(assets/branding/cloud@2x.png) no-repeat 0 0 / 100% auto;
}

.logo__slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
    transition: 0.2s opacity;
    opacity: 0;
}

.logo__slide:nth-child(1) {
    background-image: url(assets/branding/slide-1@2x.png);
}
.logo__slide:nth-child(2) {
    background-image: url(assets/branding/slide-2@2x.png);
}
.logo__slide:nth-child(3) {
    background-image: url(assets/branding/slide-3@2x.png);
}
.logo__slide:nth-child(4) {
    background-image: url(assets/branding/slide-4@2x.png);
}
body[data-color="1"] .logo__slide:nth-child(1) {
    opacity: 1;
}
body[data-color="2"] .logo__slide:nth-child(2) {
    opacity: 1;
}
body[data-color="3"] .logo__slide:nth-child(3) {
    opacity: 1;
}
body[data-color="4"] .logo__slide:nth-child(4) {
    opacity: 1;
}
.logo__svg-mobile {
    display: none;
}
@media screen and (max-width: 480px) {
    .logo__svg-mobile {
        display: block;
    }
    .logo__svg-desktop {
        display: none;
    }
    .logo:after {
        background-image: url(assets/branding/m-cloud@2x.png);
    }
    .logo__slide:nth-child(1) {
        background-image: url(assets/branding/m-slide-1@2x.png);
    }
    .logo__slide:nth-child(2) {
        background-image: url(assets/branding/m-slide-2@2x.png);
    }
    .logo__slide:nth-child(3) {
        background-image: url(assets/branding/m-slide-3@2x.png);
    }
    .logo__slide:nth-child(4) {
        background-image: url(assets/branding/m-slide-4@2x.png);
    }
}*/

.menu {
    font-size: 19px;
    display: flex;
    list-style: none;
    gap: 10px;
    justify-content: space-between;
	text-transform: uppercase;
}

.menu-item.current-menu-item,
.menu-item.current-menu-parent,
body.single-participant .menu-item-48,
body.single-participant .menu-item-255 {
    text-decoration: underline;
}

.footer__icons {
    display: flex;
    gap: 16px;
    font-size: 20px;
}

.singular,
.archive--category {
    font-size: 18px;
}

/*body:not(.single-participant) .singular h1 {
    font-style: italic;
}*/

.singular > *:not(.sr-only) + *,
.archive > *:not(.sr-only) + *,
.archive__desc > *:not(.sr-only) + * {
    margin-top: 24px;
}

.singular h3 + * {
    margin-top: 0 !important;
}

.singular ol,
.singular ul {
    margin-left: 24px;
}

.singular a,
.archive__desc a {
    text-decoration: underline;
}

.singular figure {
    margin-bottom: 36px;
}

.vertical-list {
    list-style: none;
}

.vertical-list__item + .vertical-list__item {
    margin-top: 24px;
}

.post {
    display: block;
}

.post__title {
    /*font-style: italic;*/
    /*text-shadow: 0 0 3em red, 0 0 1em red, 0 0 0.5em red;*/
	text-transform: uppercase;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: -16px -8px;
}

.grid__item {
    padding: 16px 8px;
    flex: 0 0 50%;
}

.grid--half {
    margin: -16px;
}

.grid--half .grid__item {
    flex: 0 0 50%;
    padding: 16px;
}

.participant,
.publication {
    display: block;
}

.participant__image img,
.publication__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*.participant__image img {
    -webkit-filter: grayscale(100%) contrast(100%);
    filter: grayscale(100%) contrast(100%);
    opacity: 0.5;
    transition: 0.2s opacity;
}

.participant:hover .participant__image img {
    opacity: 1;
}*/

.archive__title {
    font-size: 28px;
}

.participant__title,
.publication__title {
    margin-top: 16px;
    font-size: 20px;
    /*text-shadow: 0 0 3em red, 0 0 1em red, 0 0 0.5em red;*/
}

.wp-slider {
	padding-bottom: 0 !important;
}

/*.gallery-slider__item {
    width: 100%;
    display: none;
    position: relative;
	padding-top: 66.66667%;
}

.gallery--custom-ratio .gallery-slider__item {
	padding-top: 31.296296%;
}*/

.gallery-slider__item:first-child,
.gallery-slider.flickity-enabled .gallery-slider__item {
    display: block;
}

/*.gallery-slider img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	object-fit: cover;
}*/

.gallery-slider__item,
.gallery-slider img {
	width: 100%;
}

.gallery-slider .wp-element-caption {
	margin-top: 4px;
	height: 19px;
}

@media screen and (max-width: 781px) {

	.gallery-slider .wp-element-caption {
		margin-left: 20px;
	}
}

body .flickity-viewport {
    width: 100%;
}

body .flickity-button {
	background-color: transparent;
	color: #fff;
	opacity: 0.65;
	transition: opacity 0.2s;
}

body .flickity-button:hover {
	background-color: transparent;
	opacity: 1;
}

body .flickity-prev-next-button {
	height: 64px;
	width: 64px;
	top: 50%;
}

body .flickity-prev-next-button.previous {
	left: 20px;
}

body .flickity-prev-next-button.next {
	right: 20px;
}

.wp-block-button__link {
    background-color: #000;
    display: inline-block;
    margin-top: 6px;
    border-radius: 0;
	margin-right: 6px;
    color: #fff;
    padding: 16px 32px;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: background-color 0.2s;
    position: relative;
    z-index: 10;
}

.wp-block-button__link:before {
    position: absolute;
    content: '';
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transform: translate(10px, 10px);
    transition: transform 0.3s;
    border: 2px solid #000;
}

.archive__desc .wp-block-button__link {
    margin: 54px 0 44px !important;
}

.wp-block-button__link:hover:before {
    transform: translate(0, 0);
}

.c-accordion__title:after {
    color: inherit;
}

.logo-group > * {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; 
}

.meta__icon {
    font-size: 0.5em;
    margin-right: 2px;
    display: inline-block;
    line-height: 2;
    vertical-align: middle;
}

.meta__item:last-child {
	text-transform: uppercase;
}

.meta__item a {
    text-decoration: underline;
}

.wp-block-separator {
    border: 0;
    height: 1px;
    background: #000;
}

.wp-block-columns {
	display: flex;
    gap: 0 !important;
    width: 100%;
    margin-bottom: 36px;
}

.wp-block-column a {
    text-decoration: none;
}

.footer__contact a {
    text-decoration: underline;
}

.partner-logo-group {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.partner-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.partner-logo--small img {
    height: 21px;
}

@media screen and (max-width: 781px) {

    .menu {
        padding: 6px 20px;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    .gallery-slider {
        margin-left: -20px;
        margin-right: -20px;
    }

    .footer__icons {
        margin-top: 16px;
    }

    .grid--half {
        display: block;
    }

    .wp-block-column {
        padding: 10px 0 40px;
    }

    .wp-block-column:first-child {
        padding-top: 0;
    }

    .wp-block-column:last-child {
        padding-bottom: 0;
    }

    .wp-block-column + .wp-block-column {
        border-top: 2px solid #000;
    }
}

@media screen and (min-width: 782px) {

    h1 {
        font-size: 46px;
    }

    .u-inner {
        padding: 36px 40px;
    }

    .menu-container {
        position: sticky;
        top: -1px;
        z-index: 1000;
        background-color: #585858;
        /*margin-top: 36px;*/
    }
    
    .menu-container.is-pinned {
    }

    .admin-bar .menu-container {
        /*padding-top: 43px;*/
		top: 32px;
    }

    .participant {
        position: sticky;
        top: 70px;
    }

    .admin-bar .participant {
        top: 110px;
    }

    .menu a:hover {
        text-decoration: underline;
    }

    .singular,
    .archive--category {
        font-size: 22px;
    }

    .vertical-list__item + .vertical-list__item {
        margin-top: 36px;
    }

    .wp-block-column {
        padding: 0 20px 0;
        display: flex;
    }

    .wp-block-column:first-child {
        padding-left: 0;
    }

    .wp-block-column:last-child {
        padding-right: 0;
    }

    .wp-block-column + .wp-block-column {
        border-left: 2px solid #000;
    }

    /*.wp-block-column > * {
        margin-top: auto;
    }*/

    .footer__row--flex {
        display: flex;
        justify-content: space-between;
    }

    body .flickity-prev-next-button.previous {
    	left: 40px;
    }

    body .flickity-prev-next-button.next {
    	right: 40px;
    }

    .grid__item {
        flex: 0 0 25%;
    }

    .langs {
        margin-bottom: -20px;
        position: relative;
        z-index: 100;
    }
}

@media screen and (min-width: 1080px) {

    .menu {
        font-size: 24px;
    }
}

@media screen and (min-width: 1200px) {

    .menu {
        font-size: 28px;
    }
}

.wp-image-90 {
	width: 100%;
}

.wp-embed-aspect-4-3 .wp-block-embed__wrapper,
.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	padding-bottom: 75%;
}

.wp-embed-aspect-4-3 iframe,
.wp-embed-aspect-16-9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-element-caption {
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    padding-left: 25px;
}

.participant .wp-element-caption {
    margin-top: 4px;
}

.wp-element-caption:before {
    content: '';
    background: no-repeat url(assets/img/camera.svg) 0 0;
    width: 17px;
    height: 14px;
    position: absolute;
    top: 50%;
    margin-top: -7px;
    left: 0;
}

/* GALLERY FIXES 20230419 */
.wp-slider {
    padding-bottom: 32px;
    position: relative;
}

.wp-slider .blocks-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 15px;
	text-transform: uppercase;
}

/* BURGER 20230419 */

.burger {
	display: flex;
	padding: 20px;
	font-size: 21px;
	align-items: center;
	gap: 8px;
}

.burger__icon {
	width: 24px;
	height: 10px;
	position: relative;
}

.burger__icon:before,
.burger__icon:after {
	width: 100%;
	height: 2px;
	background-color: #000;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
}

.burger__icon:after {
	top: auto;
	bottom: 0;
}

.burger-visible .burger__icon:before {
	transform: rotate(30deg);
	top: 50%;
	margin-top: -1px;
}

.burger-visible .burger__icon:after {
	transform: rotate(-30deg);
	bottom: 50%;
	margin-bottom: -1px;
}

@media screen and (max-width: 781px) {
	.menu-container {
		display: none;
	}

    .menu {
        overflow-x: initial;
		background: #000;
		color: #fff;
		padding: 20px;
		flex-wrap: wrap;
	}

	.menu li {
		flex: 0 0 48%;
	}

	.burger-visible .menu-container {
		display: block;
	}
}

@media screen and (min-width: 782px) {
	.burger {
		display: none;
	}
}

/* STICKYNAV 20230419 */

@media screen and (min-width: 782px) {
	.menu-container {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	    /*background: url(assets/img/background.png) 0 0 / 100% auto;*/
	    /*background-color: #cab6d4;*/
		padding: 12px 0;
	}

	.menu {
		max-width: 1280px;
		padding: 0 40px;
		margin: 0 auto;
	}
}

/* ADDING EXTRA ITEMS TO NAV */

@media screen and (min-width: 768px) {
    .menu { font-size: 16px; line-height: 30px; }
    .home-icon a { display: block; width: 32px; height: 32px; text-indent: -9999px; overflow: hidden; background: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI4IiB2aWV3Qm94PSIwIDAgMzIgMjgiIHdpZHRoPSIzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYgLjU4NTc4NjQ0IDE1LjcwNzEwNjggMTUuNzA3MTA2NzYtMS40MTQyMTM2IDEuNDE0MjEzNi00LjI5My00LjI5MzMyMDQuMDAwMTA2OCAxNC41ODYyMTM2aC0yMGwtLjAwMDEwNjc4LTE0LjU4NjIxMzYtNC4yOTI3ODY0NCA0LjI5MzMyMDQtMS40MTQyMTM1Ni0xLjQxNDIxMzZ6bTAgMi44MjkyMTM1Ni04LjAwMDEwNjc4IDcuOTk4Nzg2NC4wMDAxMDY3OCAxNC41ODYyMTM2aDE2bC0uMDAwMTA2OC0xNC41ODYyMTM2eiIvPjwvc3ZnPg==") no-repeat 50%; }
}
@media screen and (min-width: 1200px) {
    .menu { font-size: 18px; }
}

.vertical-list__item--separator {
    background-color: #000;
    color: #fff;
    padding: 12px;
}

.footer__row--flex {
    padding-top: 16px;
    border-top: 2px solid #000;
}

a.post {
  text-decoration: underline;
}
