/*
Theme Name:     #EuropeForUs
Description:    WordPress tema
Version:        1.0
Author:         RTL - Mihovil Radaus
Author URI:     https://www.rtl.hr/
License:        GNU General Public License v2 or later
*/

/* CSS Reset */
html { margin: 0; padding: 0; border: 0; }

body,
div,
span,
object,
iframe,
h1, h2, h3, h4, h5, h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl, dt, dd,
ol, ul, li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    list-style: none;
}

/* Body setup */
body {
    font-family: "din-2014", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    text-align: left;
    background-color: #16243c;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    position: relative;

    left: 0;
    transition: left 0.3s;
}

body.admin-bar {
    padding-top: 32px;
}

#wpadminbar {
    top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

a:hover { color: #0088fc; }

.animate {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

b,
strong { font-weight: 900; }

i,
em { font-style: italic; }

:focus { outline: none; }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.center { text-align: center; }
.right  { text-align: right;  }
.right > * { display: inline-block; }

h1, h2, h3 {
    font-weight: bold;
    line-height: 1.3em;
    margin: 0.5em 0;
}

h1 { font-size: 36px; }

h2 { font-size: 26px; }

h3 {
    font-size: 18px;
    font-family: "din-2014-narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.meta {
    font-size: 18px;
    font-family: "din-2014-narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.main-container {
    overflow-x: hidden;
    position: relative;
}

.page-container {
    padding: 40px 0;
}

.single .page-container {
    padding: 40px 0 0;
}

.container {
    max-width: 1260px;
    padding-left: 30px !important;
    padding-right: 30px !important;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.container-short {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 30px;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after { clear: both; }
.cf { *zoom: 1; /* IE 6/7 only */ }

.left  { float: left; }
.right { float: right; }

.half        { width: 50%; }
.third       { width: 33.33%; }
.fourth      { width: 25%; }
.fifth       { width: 20%; }
.sixth       { width: 16.65%; }
.two-thirds  { width: 66.66%; }
.three-fourths { width: 75%; }

.alignright { text-align: right; }

.retina { zoom: 0.5; }

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

.marginfix { margin: 0 -15px; }

.center {
    text-align: center;
    margin: 0 auto;
}

.section-title {
    font-family: "din-2014-narrow", sans-serif;
    font-size: 36px;
    color: rgba(255,255,255,0.2) !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: normal;
}

.ursula {
    margin-bottom: -80px;
}

.no-posts .title-404 {
    position: absolute;
    width: 50%;
    top: 200px;
    right: 0;
}

.title-404 h1 {
    font-size: 72px;
}

.title-404 h2 {
    font-size: 36px;
}
    /* Header & Navigation */
.header {
    position: relative;
    height: 110px;
    background-color: #16243c;
}

.header .nethr-logo {
    position: absolute;
    top: 20px;
    left: 30px;
}

.nethr-logo svg { width: 125px; }

.nethr-logo svg .st1 { transition: fill 0.4s ease; }

.footer .nethr-logo {
    position: relative;
    bottom: -5px;
    margin-right: 10px;
}

.footer .nethr-logo svg {
    width: 185px;
}

.footer .nethr-logo svg .st1 { fill: #fff; }

.nethr-logo svg:hover .st1 { fill: #f15b24; }

.header .main-logo {
    margin: 22px auto 0;
    position: relative;
    z-index: 100;
    display: inline-block;
}

.header .main-logo svg { width: 192px; }

.header .main-logo svg .st1 { transition: fill 0.4s ease; }

.header .main-logo svg:hover .st1 { fill: #2b9bfa; }

.header .menu-bar {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 125px;
    height: 30px;
}

.header .menu-action { position: relative; }

.header .menu-action .bar {
    width: 22px;
    height: 2px;
    background-color: #0088fc;
    position: absolute;
    top: 5px;
    right: 0;

    transition: .3s;
}

.header .menu-action .bar-2 {
    top: 14px;
    width: 30px;
}

.header .menu-action .bar-3 { top: 23px; }

.header .menu-action label {
    position: absolute;
    top: 0;
    right: 40px;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.header .menu-bar:hover { cursor: pointer; }

.header .menu-bar:hover label { opacity: 1; }

.menu-bar.active .bar {
    background-color: white;
}

.menu-bar.active .bar-2 { display: none; }

.menu-bar.active .bar-1 {
    transform: rotate(45deg);
    top: 14px;
}

.menu-bar.active .bar-3 {
    transform: rotate(-45deg);
    top: 14px;
}

.sub-menu {
    position: fixed;
    z-index: 200;
    top: 0;
    right: -350px;
    height: 100vh;
    width: 350px;
    background-color: #231830;
    box-shadow: inset 30px 0px 50px rgba(0, 0, 0, 0.3);

    transition: right 0.3s;
}

.admin-bar .sub-menu {
    top: 32px;
}

.sub-menu-container {
    position: relative;
    padding: 40px 30px;
}

.sub-menu label {
    font-family: "din-2014-narrow", sans-serif;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    margin-top: 30px;
    margin-bottom: 15px;
    display: block;
}

.sub-menu .menu a {
    display: block;
    padding: 5px 0;
}

.sub-menu .item-1 {
    border-bottom: 1px solid rgba(1,1,1,0.8);
    padding-bottom: 30px;
}

.sub-menu .item-2 {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-container {
    background-color: #120620;
    border-radius: 30px;
    margin-top: -30px;
    margin-bottom: -30px;
}

body.menu-active {
    left: -350px;
}

body.menu-active .sub-menu {
    right: 0px;
}

.category-menu {
    padding: 10px 0 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.category-menu li   { display: inline-block; }
.category-menu li a { display: block; padding: 0 15px; }

/* Load more button */
#load-more {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px; /* modern pill look */
    padding: 16px 36px;
    background-color: #0a7aff;
    color: #ffffff;
    font-family: "din-2014-narrow", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 8px 24px rgba(10, 122, 255, 0.35);
}

/* Hover */
#load-more:hover {
    background-color: #0066e6;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(10, 122, 255, 0.45);
}

/* Active (click) */
#load-more:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(10, 122, 255, 0.3);
}

/* Loading / disabled state */
#load-more.is-loading,
#load-more:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: 0 6px 18px rgba(10, 122, 255, 0.25);
}

/* Center wrapper spacing */
.center #load-more {
    margin: 40px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Article Grid */
.article {
    position: relative;
    color: white;
}

.article h3 {
    border-bottom: 2px solid #0a7aff;
    display: inline-block;
    padding-top: 15px;
    color: white;
}

.article h1, .article h2 {
    color: white !important;
}

.article-g1 {
    padding: 0 15px 15px;
}

.article-g1 .article-thumb {
    float: left;
    margin-right: 30px;
}

.article-g1 .article-text { padding-top: 15px; }

.article-g2 {
    padding: 15px;
}

.article .overtitle,
.article .excerpt {
    color: white;
}

.article-grid-2 .article-g1 {
    padding: 15px 0 15px 15px;
    max-width: 905px;
    width: 100%;
}

.article-grid-2 .article-g1 .article-thumb {
    max-width: 588px;
}

.article-grid-2 .article-g1 h1 {
    font-size: 32px;
}

.article-g2 h2 {
    font-size: 26px;
}

.article-thumb img {
    width: 100%;
}

    /* Page Breaks & CTA */
.votf-container {
    background: #8F0A29;
    background: linear-gradient(320deg, rgba(143, 10, 41, 1) 0%, rgba(159, 12, 47, 1) 100%);
    margin: 50px auto;
}

.votf-container .custom-title {
    font-size: 48px;
    line-height: 1.1em;
}

.votf-container .custom-title span {
    display: block;
    position: relative;
}

.votf-container .custom-title span .ico {
    position: absolute;
    width: 104px;
    height: auto;
    top: -58px;
    left: 140px;
}

.votf-container .custom-title img {
    margin-left: -14px;
}

.votf-container .custom-overtitle {
    font-size: 22px;
    letter-spacing: 0.2em;
}

.votf-container .break-grafik {
    position: absolute;
    left: -15px;
    bottom: 0;
    width: 360px;
}

.votf-container .container {
    min-height: 520px;
}

.votf-container .break-content {
    margin-left: 350px;
}

.votf-container .break-text {
    max-width: 300px;
    position: absolute;
    bottom: 50px;
}

.break-articles {
    position: relative;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-left: 370px;
    background-color: rgba(1,1,1,0.2);
    top: 35px;
    padding: 25px;
    width: 200%;
    border-top-left-radius: 35px;
}

.article-placeholder,
.article-podcast{
    padding: 15px;
}

.article-placeholder > div {
    margin: 9px 0;
    position: relative;
    overflow: hidden;

    /* shimmer pozadina */
    background: linear-gradient(
            100deg,
            #9d0c2e 40%,
            #b8153a 50%,
            #9d0c2e 60%
    );
    background-size: 200% 100%;
    animation: placeholder-shimmer 5s linear infinite;
}

.article-podcast .article-text {
    width: 328px;
}

/* Animacija: pomiče gradient preko elementa */
@keyframes placeholder-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Poštuj korisnike koji ne žele animacije */
@media (prefers-reduced-motion: reduce) {
    .article-placeholder > div {
        animation: none;
        background: #9d0c2e;
    }
}


.article-placeholder .thumb {
    width: 328px;
    height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

.article-placeholder .overtitle {
    height: 20px;
    width: 130px;
    margin: 26px 0;
}

.article-placeholder .title {
    height: 26px;
    width: 230px;
}

.article-placeholder .title-1 { width: 180px; }
.article-placeholder .title-3 { width: 140px; }

.article-placeholder .thumb span {
    display: block;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5em;
    color: rgba(1,1,1,0.3);
    font-family: "din-2014-narrow", sans-serif;
    font-size: 24px;
    font-weight: bold;
}

    /* Single */
.single h1,
.single h2,
.single h3 { color: #0a111a; }

.single-head {
    padding: 120px 0 200px;
    background: #242423 url("assets/img/bg-single.png") no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    margin-bottom: -200px;
    margin-top: -42px;
}

.single-head h3 {
    font-size: 24px;
    border-bottom: 2px solid #0a7aff;
    display: inline-block;
    color: white;
}

.single-head h1 {
    font-size: 48px;
    color: white;
}

.single-content {
    font-size: 20px;
    padding-top: 30px;
    font-weight: 500;
}

.single-content p {
    line-height: 1.6em;
    margin: 1.6em auto;
    max-width: 880px;
    letter-spacing: 0.01em;
}

.single-content h1,
.single-content h2,
.single-content h3 {
    font-size: 32px;
    margin: 2em auto 0em;
    max-width: 880px;
    color: white;
    letter-spacing: 0.01em;
}

.single-content h1 span,
.single-content h2 span,
.single-content h3 span {
    position: relative;
    z-index: 2;
}

.single-content h2 span:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    background-color: #3e9aff;
    bottom: 10px;
    left: 0;
    z-index: -1;
}

.single-content figcaption {
    text-align: center;
    font-size: 16px;
    margin: 5px auto 0;
    letter-spacing: 0.02em;
}

.single-thumb .meta {
    font-size: 14px;
    flex-direction: row-reverse;
    opacity: 0.5;
    margin-top: 10px;
}

.single-content .wp-block-columns {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
}

.single-content .wp-block-image img {
    margin: 0 auto;
}

.single-content ul,
.single-content ol {
    margin: -20px auto 30px;
    max-width: 880px;
}

.single-content ul li {
    list-style-type: disc;
    margin-left: 20px;
}

.single-content ol { counter-reset: item; }

.single-content ol li {
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 0 0 0 1em;
    list-style-type: none;
    counter-increment: item;
    text-indent: -2em;
}

.single-content ol li:before {
    display: inline-block;
    width: 1em;
    padding-right: 0.5em;
    font-weight: bold;
    text-align: right;
    content: counter(item) ".";
}

.single-content .meta {
    max-width: 880px;
    margin: 0 auto 50px;
    position: relative;
    padding-bottom: 20px;
}

.single-content .meta > div {
    padding-right: 10px;
}

.single-content .meta > div span { font-weight: bold;}

.single-content .meta .date {
    opacity: 0.7;
}

.single-content .meta:after {
    content: "";
    width: 100px;
    height: 2px;
    background-color: #3e9aff;
    position: absolute;
    bottom: 0;
    left: 0;
}

.single-content .wp-block-pullquote {
    margin: 0 ;
    overflow-wrap: break-word;
    padding: 2em 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.single-content .wp-block-pullquote:after {
    content: "“";
    display: block;
    position: absolute;
    font-weight: bold;
    font-size: 402px;
    color: #3e9aff;
    top: -120px;
    z-index: -1;
    width: 100%;
    left: 95px;
    text-align: left;
    opacity: 0.2;
}

.single-content .wp-block-pullquote p {
    margin: 0 auto;
}

.single-content .wp-block-pullquote cite {
    font-size: 0.7em;
    font-style: normal;
    margin: 12px 0 0 0;
}

.single-content .content a {
    border-bottom: 2px solid #0a7aff;
    font-weight: bold;
    background-color: transparent;
}

.single-content .content a:hover { background-color: #0a7aff; }

.single-content .sharedaddy {
    max-width: 880px;
    margin: 0 auto;
}

.video-thumb,
.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-thumb iframe,
.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive YouTube embed wrapper */
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* modern, simplest */
    overflow: hidden;
    border-radius: 12px; /* opcionalno */
}

/* If browser doesn't support aspect-ratio, this still works fine in most modern cases.
   If želiš 100% fallback i za ultra-stare browsere, reci pa ti dam padding-top varijantu. */

.video-embed iframe,
.video-embed embed,
.video-embed object {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Form */
form {
    max-width: 660px;
    margin: 0 auto 35px;
    background-color: white;
    padding: 30px;
}

form input {
    display: block;
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 18px;
    color: #000;
}

form textarea {
    width: 100%;
    padding: 15px 15px;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 18px;
    border: 1px solid #ddd;
}

form input[type="checkbox"] {
    display: inline;
    width: auto;
    margin: 3px 3px 3px 0px;
}

.wpcf7-list-item { margin: 0; }

.cf7b-row p {
    margin: 0.5em auto;
    font-size: 16px;
    color: #666;
}

.wpcf7-spinner {
    display: block;
    margin: 5px auto;
}

/* More articles */
.more-articles {
    background-color: #1e132b;
    padding: 70px 0 40px;
}

.more-articles .article-grid { padding: 0 0; }

.footer {
    background-color: #16243c;
    padding: 90px 0 60px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 70px;
}

.footer .nethr-logo {
    width: 200px;
    margin-top: -15px;
}

.footer .third br { display: none; }

.footer .partner > * { display: inline-block; }

.footer .partner img {
    top: 8px;
    position: relative;
}

.footer .partner img.podravka {
    width: 130px;
    bottom: -10px;
}

.footer .partner img.coolinarika {
    width: 140px;
    bottom: -2px;
}

/* Responsive */
@media only screen and (max-width: 480px) {

    body.admin-bar {
        padding-top: 46px;
    }

    .video-container { height: 100%; }

    .video-container video {
        width: 270%;
        left: -70%;
    }

    .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .container-short { padding: 0; }

    h1 { font-size: 32px; }

    h2 { font-size: 22px; }

    .half,
    .third,
    .fifth,
    .fourth,
    .two-thirds,
    .three-fourths { width: 100%; }

    .single-head {
        padding: 120px 30px 135px;
        margin-bottom: -130px;
        background-attachment: scroll;
    }


    .single-thumb {
        margin-left: -15px;
        margin-right: -15px;
    }

    .single-thumb .meta { padding: 0 15px; }

    .single-content h1,
    .single-content h2,
    .single-content h3 {
        font-size: 32px;
        line-height: 1.2em;
        margin: 0.5em 0 0;
    }

    .single-content p { margin: 1.3em 0; }

    .single-content .wp-block-image,
    .single-content .wp-block-jetpack-tiled-gallery {
        margin-left: -30px;
        margin-right: -30px;
    }

    .single-content .slick-slider {
        width: 100vw;
        margin-left: -30px;
    }

    .wp-block-oacs-slider .blocks-gallery-image,
    .wp-block-oacs-slider .blocks-gallery-item { margin: 0 !important; }

    .wp-block-image { max-width: none; }

    .footer .third br { display: block; }

    .footer {
        text-align: center;
        line-height: 30px;
    }

    .footer .alignright {
        text-align: center;
        padding-top: 20px;
    }


    .footer .partner {
        justify-content: center;
        display: block;
    }

    .footer .partner img { margin: 15px auto; }

    .footer .partner > * { display: block; }

    .menu-bar .meta { display: none; }

    .header .main-logo {
        bottom: -10px;
    }

    .header .main-logo svg {
        width: 175px;
    }

    .header .nethr-logo g {
        display: none;
    }

    .header .menu-bar {
        width: 50px;
    }

    .header .menu-bar.active {
        position: fixed;
        right: 30px;
        z-index: 300;
    }

    .single-head {
        padding: 80px 30px 135px;
    }

    .single-head h3 {
        font-size: 22px;
    }

    .single-head h1 {
        font-size: 32px;
    }

    .single-thumb img {
        max-width: none;
        width: auto;
        margin: 0 -15px;
    }

    .single-content .wp-block-embed {
        margin: 2.5em -30px;
    }

    .single-content .wp-block-jetpack-image-compare {
        margin: 0 -30px;
    }


    .article-g1 .article-thumb {
        float: none;
        margin: 0 -30px;
    }

    .article-g1 .article-text {
        margin: 0 -30px;
        padding: 15px 30px 30px;
        background-color: #1e132b;
    }

    .article-grid .article-g2 {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 15px;
    }

    .article-grid .article-g2:last-child {
        border-bottom: none;
    }

    .votf-container {
        margin: 0 auto 25px;
    }

    .votf-container .break-grafik {
        display: none;
    }

    .votf-container .break-content {
        margin: 0;
    }

    .votf-container .break-text {
        position: relative;
        max-width: none;
        top: 40px;
    }

    .break-articles {
        margin: 40px -30px 0;
        border-radius: 0;
        padding-bottom: 50px;
        width: auto;
        display: block;
    }

    .break-articles .article {
        padding: 15px 0 15px;
    }

    .break-articles .article-thumb {
        float: left;
        width: 140px;
        margin-right: 15px;
    }

    .break-articles .article-text {
        width: auto;
        margin-top: -10px;
    }

    .break-articles .article-text h3 {
        padding-top: 0;
        font-size: 12px;
        border-bottom: none;
        margin: 0;
    }

    .break-articles .article-text h2 {
        font-size: 17px;
        margin: 0;
        line-height: 1.1em;
    }

    .article-placeholder .thumb {
        width: 140px;
        height: 93px;
        float: left;
        margin-right: 15px;
    }

    .article-placeholder .thumb span {
        font-size: 16px;
    }

    .article-placeholder .overtitle {
        height: 12px;
        width: 90px;
        margin: 0px 0 12px;
    }

    .article-placeholder .title {
        height: 17px;
    }

    .article-placeholder .title-1 { width: 120px; }
    .article-placeholder .title-2 { width: 150px; }
    .article-placeholder .title-3 { width: 60px; margin-bottom: 0; }


    .no-posts {
        display: flex;
        flex-direction: column;
    }

    .ursula {
        margin-bottom: -80px;
    }

    .no-posts .title-404 {
        position: static;
        width: 100%;
        top: 200px;
        right: 0;
    }

    .title-404 h1 {
        font-size: 56px;
    }

    .title-404 h2 {
        font-size: 24px;
    }

    .has-large-font-size {
        font-size: 26px !important;
    }

}
