/* WordPress extras on top of the 2022 visual identity */

.navbar-brand .custom-logo-link img,
.navbar-brand img {
    width: 65%;
    height: auto;
}

#footer .footer-legal .menu,
#footer .footer-legal .list-inline {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

#footer .footer-legal .menu li,
#footer .footer-legal .list-inline li {
    display: inline-block;
    margin: 0 8px;
}

.navbar .navbar-nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.navbar .navbar-nav > li > a,
.navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    text-transform: uppercase;
    font-family: 'Lato', Ubuntu, sans-serif;
    font-weight: 700;
    padding: 20px 15px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    text-decoration: none;
    opacity: 0.85;
}

.navbar-nav .nav-item.current-menu-item > .nav-link,
.navbar-nav .nav-item.current_page_item > .nav-link {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Accordion chevrons without Font Awesome 4 */
#zasto-mi .why-choose-row .why-choose-col .panel-title > a:before {
    content: "" !important;
    font-family: inherit !important;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-135deg);
    margin-left: 12px;
    flex-shrink: 0;
    padding: 0 !important;
    float: none !important;
}

#zasto-mi .why-choose-row .why-choose-col .panel-title > a.collapsed:before {
    content: "" !important;
    transform: rotate(45deg);
}

.bsnav-mobile .navbar-nav > li > a,
.bsnav-mobile .navbar-nav .nav-link {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .navbar .navbar-nav {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Page / legal content */
.page-intro,
.archive-intro {
    background: linear-gradient(155deg, rgba(254, 223, 67, 1), rgba(230, 37, 51, 1));
    padding: 75px 0;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
}

.page-intro h1,
.archive-intro h1 {
    font-weight: 700;
    font-size: 36px;
    margin: 0;
}

.content-wrap {
    padding: 50px 0 70px;
}

.content-wrap .entry-content,
.content-wrap .partner-profile-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.content-wrap .entry-content h2,
.content-wrap .entry-content h3,
.content-wrap .entry-content h4 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.content-wrap .entry-content a {
    color: #e62533;
}

.wp-block-image img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

.partners-pitch {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 40px;
}

.partners-pitch p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.partners-pitch-actions {
    margin-top: 22px;
}

.partners-pitch-actions .pricing-cta-btn,
.partners-pitch-actions .btn-brand {
    margin: 0 8px 8px;
    vertical-align: middle;
}

.pricing-cta-btn {
    background-color: #e62533;
    color: #ffffff !important;
    border-radius: 25px;
    padding: 10px 22px;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease-in-out;
}

.pricing-cta-btn:hover {
    background-color: #c51d29;
    color: #ffffff !important;
    text-decoration: none;
}

#contact .contact-button button,
#contact .contact-button .btn {
    border: 1px solid #e62533;
    border-radius: 25px;
    background-color: #ffffff;
    text-transform: uppercase;
    color: #e62533;
    padding: 10px 20px;
    font-weight: 400;
    transition: .3s ease-in-out;
    cursor: pointer;
}

#contact .contact-button button:hover,
#contact .contact-button .btn:hover {
    background-color: #e62533;
    color: #ffffff;
}

#contact-form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

#contact-form-status.is-success {
    color: #1b7a3a;
}

#contact-form-status.is-error {
    color: #e62533;
}

/* Novosti cards */
.blog-row .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-row .card-title a {
    color: inherit;
    text-decoration: none;
}

/* Partners */
.partners-home {
    padding: 50px 0 30px;
    background: #fffaf6;
}

.partners-home h2 {
    text-align: center;
    font-weight: 300;
    font-size: 36px;
    margin-bottom: 30px;
}

.partners-home h2 span {
    font-weight: 700;
}

.partner-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    height: 100%;
    transition: .3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    border-color: #e62533;
    box-shadow: 0 0.5rem 1rem rgba(230, 37, 51, 0.12);
}

.partner-card img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    margin-bottom: 14px;
    object-fit: contain;
}

.partner-card.tier-zlatni img {
    max-height: 110px;
}

.partner-card .partner-name {
    font-weight: 700;
    margin-bottom: 6px;
    color: #000;
}

.partner-card a.partner-name {
    text-decoration: none;
}

.partner-badge {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 25px;
    margin-bottom: 10px;
    font-weight: 700;
    border: 2px solid transparent;
}

.partner-badge-lg {
    font-size: 13px;
    padding: 8px 18px;
    margin-bottom: 18px;
}

.badge-zlatni {
    background: #fedf43;
    color: #1a1a1a;
    border-color: #e6c520;
}

.badge-srebrni {
    background: #e8eaed;
    color: #222;
    border-color: #b0b4b8;
}

.badge-broncani {
    background: #c47a3a;
    color: #ffffff;
    border-color: #a05f28;
}

.partner-back {
    color: #e62533;
    text-decoration: none;
    font-weight: 700;
}

.partner-back:hover {
    color: #c51d29;
    text-decoration: underline;
}

.partner-offer {
    font-size: 14px;
    color: #e62533;
    font-weight: 700;
    margin-top: 8px;
}

.bronze-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 0 10px;
}

.bronze-strip a img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity .2s;
}

.bronze-strip a:hover img {
    opacity: 1;
}

.partners-tier {
    margin-bottom: 50px;
}

.partners-tier h2 {
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.partners-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    color: #444;
}

/* 404 */
.error-404 {
    padding: 80px 0;
    text-align: center;
}

.error-404 h1 {
    font-weight: 700;
    margin-bottom: 16px;
}

.btn-brand {
    border: 1px solid #e62533;
    border-radius: 25px;
    background-color: #ffffff;
    text-transform: uppercase;
    color: #e62533;
    padding: 10px 20px;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
    transition: .3s ease-in-out;
}

.btn-brand:hover {
    background-color: #e62533;
    color: #ffffff;
    text-decoration: none;
}

/* Cookie banner */
.pp-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid rgba(241, 112, 60, 0.35);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 20px 22px;
    max-width: 920px;
    margin: 0 auto;
    display: none;
}

.pp-cookie.is-open {
    display: block;
}

.pp-cookie p {
    margin: 0 0 14px;
    font-size: 15px;
    color: #333;
}

.pp-cookie a {
    color: #e62533;
}

.pp-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pp-cookie-actions button {
    border-radius: 25px;
    padding: 8px 18px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
}

.pp-cookie-accept {
    background: #e62533;
    color: #fff;
    border-color: #e62533;
}

.pp-cookie-reject {
    background: #fff;
    color: #e62533;
    border-color: #e62533;
}

.pp-cookie-customize {
    background: #f1703c;
    color: #fff;
}

.pp-cookie-details {
    display: none;
    margin-top: 12px;
    font-size: 14px;
}

.pp-cookie-details.is-open {
    display: block;
}

.pp-cookie-settings-link {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9990;
    font-size: 12px;
    background: #f1703c;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 25px;
    text-decoration: none;
}

.pp-cookie-settings-link:hover {
    color: #fff !important;
    text-decoration: none;
}

#footer .footer-email,
#footer .footer-email a {
    color: #ffffff;
}

#footer .footer-email a {
    text-decoration: underline;
}

#zasto-mi .pp-email {
    text-transform: none;
    color: #e62533;
    font-weight: 700;
    text-decoration: none;
}

#footer .footer-legal a {
    color: #ffffff;
    margin: 0 8px;
    text-decoration: underline;
}

#footer .footer-legal {
    margin-top: 12px;
}

.alignwide,
.alignfull {
    max-width: 100%;
}

.post-bottom {
    margin-top: 32px;
}

@media (max-width: 767px) {
    .page-intro h1,
    .archive-intro h1,
    .partners-home h2 {
        font-size: 26px;
    }
}
