.main-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 1000;
}

.header-row {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    white-space: nowrap;
    font-size: 29px;
    font-weight: 800;
    color: #222;
}

.logo-domain {
    font-weight: 400;
}

.desktop-nav {
    flex: 1;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    min-height: 72px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.main-menu > li > a:hover {
    background: #f7f7f7;
}

.menu-arrow {
    font-size: 10px;
    margin-left: 3px;
}

/* DROPDOWN */

.main-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 230px;
    margin: 0;
    padding: 7px 0;

    list-style: none;

    background: #fff;

    border: 1px solid #e3e3e3;
    border-radius: 8px;

    box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

.main-menu li:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li > a {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 11px 15px;

    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li > a:hover {
    background: #f5f5f5;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 10px;
}

/* SUBMENU 2. NIVO */

.dropdown-submenu > .dropdown-menu {
    top: -7px;
    left: 100%;
}

/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 12px;

    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.publish-button {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 16px;

    border-radius: 8px;

    background: #222;
    color: #fff;

    text-decoration: none;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;

    background: none;
    border: 0;

    font-size: 23px;
}

/* MOBILE MENU */

.mobile-menu {
    display: none;

    border-top: 1px solid #eee;

    padding: 10px 0 15px;
}

.mobile-menu-row {
    display: flex;
    align-items: center;
}

.mobile-menu-link {
    flex: 1;

    padding: 12px 5px;

    color: #333;
    text-decoration: none;

    font-weight: 600;
}

.mobile-submenu-toggle {
    width: 45px;
    height: 42px;

    border: 0;
    background: transparent;
}

.mobile-submenu {
    display: none;

    padding-left: 18px;

    border-left: 2px solid #eee;
    margin-left: 8px;
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu a {
    display: block;

    padding: 10px;

    color: #555;
    text-decoration: none;
}

.mobile-account-links {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
}

.mobile-account-links a {
    display: block;

    padding: 10px 5px;

    color: #333;
    text-decoration: none;

    font-weight: 600;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .desktop-nav {
        display: none;
    }

    .header-row {
        min-height: 64px;
    }

    .header-actions {
        margin-left: auto;
    }

    .login-link {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu.open {
        display: block;
    }

}

@media (max-width: 480px) {

    .site-logo {
        font-size: 24px;
    }

    .publish-button {
        padding: 9px 11px;
        font-size: 13px;
    }

}

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            background: #f5f6f8;
            color: #222;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* HEADER */
        .site-header {
            background: #fff;
            border-bottom: 1px solid #e7e7e7;
        }

        .header-inner {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .brand {
            font-size: 30px;
            font-weight: 800;
            letter-spacing: -1px;
        }

        .brand span {
            font-weight: 400;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header-link {
            padding: 10px 14px;
            border-radius: 8px;
            font-weight: 600;
        }

        .header-link:hover {
            background: #f1f1f1;
        }

        .btn-objavi {
            background: #222;
            color: #fff;
            padding: 11px 18px;
            border-radius: 8px;
            font-weight: 700;
        }

        /* INTRO */
        .intro {
            text-align: center;
            padding: 50px 0 26px;
        }

        .intro h1 {
            margin: 0;
            font-size: 38px;
            line-height: 1.15;
        }

        .intro p {
            margin: 12px 0 0;
            font-size: 18px;
            color: #666;
        }

        /* 3 GLAVNE KARTICE */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            margin-bottom: 30px;
        }

        .feature-card {
            background: #fff;
            border: 1px solid #e2e2e2;
            border-radius: 14px;
            min-height: 210px;
            padding: 28px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            transition: .2s ease;
            box-shadow: 0 3px 12px rgba(0,0,0,.04);
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0,0,0,.09);
        }

        .feature-card-icon {
            width: 74px;
            height: 74px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 38px;
            margin-bottom: 18px;
            background: #f4f4f4;
        }

        .feature-card-title {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .feature-card-text {
            color: #666;
            font-size: 15px;
            line-height: 1.45;
        }

        /* HERO / LOGO BOX */
        .fieldbox {
            background: #fff;
            border: 1px solid #e3e3e3;
            border-radius: 14px;
            min-height: 220px;
            padding: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin-bottom: 30px;
        }

        .main-logo-text {
            font-size: 48px;
            font-weight: 800;
            letter-spacing: -2px;
            margin-bottom: 12px;
        }

        .main-logo-text span {
            font-weight: 400;
        }

        .fade-text {
            opacity: 0;
            transition: opacity .5s ease;
            font-size: 20px;
            color: #666;
            min-height: 30px;
        }

        .fade-text.show {
            opacity: 1;
        }

        /* SEARCH */
        .search-box {
            background: #fff;
            border: 1px solid #e3e3e3;
            border-radius: 14px;
            padding: 22px;
            margin-bottom: 30px;
        }

        .search-row {
            display: flex;
            gap: 10px;
        }

        .search-row input {
            flex: 1;
            min-height: 50px;
            border: 1px solid #ccc;
            border-radius: 9px;
            padding: 0 16px;
            font-size: 16px;
        }

        .search-row button {
            border: 0;
            background: #222;
            color: #fff;
            min-width: 130px;
            padding: 0 22px;
            border-radius: 9px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
        }

        /* REKLAMA */
        .section-bar {
            background: #eceff2;
            border-radius: 8px 8px 0 0;
            padding: 10px 15px;
            font-weight: 700;
        }

        .ad-box {
            min-height: 120px;
            background: #fff;
            border: 1px solid #e3e3e3;
            border-top: 0;
            border-radius: 0 0 8px 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #999;
            margin-bottom: 30px;
        }

        /* FOOTER */
        .site-footer {
            margin-top: 30px;
            background: #fff;
            border-top: 1px solid #e5e5e5;
            padding: 25px 0;
            text-align: center;
            color: #777;
            font-size: 14px;
        }

        @media (max-width: 767px) {

            .header-inner {
                min-height: 64px;
            }

            .brand {
                font-size: 24px;
            }

            .header-link {
                display: none;
            }

            .btn-objavi {
                padding: 9px 12px;
                font-size: 14px;
            }

            .intro {
                padding: 32px 0 20px;
            }

            .intro h1 {
                font-size: 28px;
            }

            .intro p {
                font-size: 16px;
            }

            .feature-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .feature-card {
                min-height: 150px;
                flex-direction: row;
                text-align: left;
                justify-content: flex-start;
                padding: 20px;
            }

            .feature-card-icon {
                flex: 0 0 62px;
                width: 62px;
                height: 62px;
                margin: 0 17px 0 0;
                font-size: 31px;
            }

            .feature-card-title {
                font-size: 20px;
            }

            .main-logo-text {
                font-size: 36px;
            }

            .search-row {
                flex-direction: column;
            }

            .search-row button {
                min-height: 48px;
            }
        }
		
		
		/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    margin-top: 50px;
    padding-top: 45px;
    color: #555;
}

.footer-main {
    padding-bottom: 35px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 28px;
    font-weight: 800;

    color: #222;
    text-decoration: none;
}

.footer-logo:hover,
.footer-logo:focus {
    color: #222;
    text-decoration: none;
}

.footer-logo span {
    font-weight: 400;
}

.footer-description {
    max-width: 310px;

    font-size: 14px;
    line-height: 1.7;

    color: #777;
}

.footer-title {
    margin-bottom: 15px;

    font-size: 14px;
    font-weight: 700;

    color: #222;

    text-transform: uppercase;
    letter-spacing: .4px;
}

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: #111;
    text-decoration: none;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    min-height: 70px;

    border-top: 1px solid #eeeeee;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #777;
}

.footer-copyright strong {
    color: #333;
}

.footer-social {
    display: flex;
    align-items: center;

    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;

    border: 1px solid #e1e1e1;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #555;
    text-decoration: none;

    transition: all .2s ease;
}

.footer-social a:hover {
    background: #222;
    border-color: #222;
    color: #fff;

    text-decoration: none;
}


/* =========================================================
   FOOTER MOBILE
========================================================= */

@media (max-width: 767px) {

    .main-footer {
        margin-top: 35px;
        padding-top: 30px;
    }

    .footer-brand-column {
        margin-bottom: 30px;
    }

    .footer-column {
        margin-bottom: 25px;
    }

    .footer-bottom {
        padding: 20px 0;

        flex-direction: column;
        align-items: flex-start;
    }

}

/* =========================================================
   AUTH / REGISTER / LOGIN
========================================================= */

.auth-page {
    min-height: 650px;
    padding: 55px 0 70px;
    background: #f7f8fa;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
}

.auth-box {
    width: 100%;
    max-width: 480px;

    background: #fff;

    border: 1px solid #e8e8e8;
    border-radius: 14px;

    padding: 35px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, .05);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f2f3f5;

    font-size: 25px;
    color: #222;
}

.auth-header h1 {
    margin: 0 0 7px;

    font-size: 26px;
    font-weight: 700;

    color: #222;
}

.auth-header p {
    margin: 0;

    color: #777;
    font-size: 14px;
}

.auth-form label {
    font-weight: 600;
    color: #333;

    margin-bottom: 7px;
}

.auth-optional {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    height: 48px;

    padding-left: 44px;

    border: 1px solid #ddd;
    border-radius: 8px;

    box-shadow: none;

    font-size: 14px;
}

.auth-input:focus {
    border-color: #999;

    box-shadow: none;
}

.auth-input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

    color: #999;
}

.auth-password-input {
    padding-right: 45px;
}

.auth-password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    background: none;
    border: 0;

    padding: 5px;

    color: #777;

    cursor: pointer;
}

.auth-password-toggle:hover {
    color: #222;
}

.auth-help {
    margin-top: 6px;

    font-size: 12px;
    color: #999;
}

.auth-terms {
    margin: 20px 0;
}

.auth-terms label {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    font-weight: 400;
    font-size: 13px;

    color: #666;
}

.auth-terms input {
    margin-top: 3px;
}

.auth-terms a {
    color: #222;
    font-weight: 600;
}

.auth-submit {
    width: 100%;
    height: 48px;

    background: #222;
    color: #fff;

    border: 0;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;

    transition: all .2s ease;
}

.auth-submit:hover,
.auth-submit:focus {
    background: #000;
    color: #fff;
}

.auth-submit i {
    margin-right: 6px;
}

.auth-footer {
    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid #eee;

    text-align: center;

    font-size: 14px;
    color: #777;
}

.auth-footer a {
    color: #222;
    font-weight: 600;
}


/* =========================================================
   AUTH MOBILE
========================================================= */

@media (max-width: 767px) {

    .auth-page {
        padding: 25px 0 45px;
    }

    .auth-box {
        padding: 25px 20px;

        border-radius: 10px;
    }

    .auth-header h1 {
        font-size: 23px;
    }

}

/* =========================================================
   VERIFY EMAIL
========================================================= */

.verify-box {
    text-align: center;
}

.verify-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}

.verify-success {
    background: #e9f8ef;
    color: #28a745;
}

.verify-error {
    background: #fdecec;
    color: #dc3545;
}

.verify-message {
    max-width: 360px;

    margin: 10px auto 0;

    line-height: 1.7;

    color: #666;
}

.verify-actions {
    margin-top: 28px;
}

.verify-actions .auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.verify-actions .auth-submit:hover,
.verify-actions .auth-submit:focus {
    text-decoration: none;
}

/* =========================================================
   LOGIN
========================================================= */

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.auth-label-row label {
    margin-bottom: 7px;
}

.auth-forgot-link {
    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 600;

    color: #666;
    text-decoration: none;
}

.auth-forgot-link:hover,
.auth-forgot-link:focus {
    color: #222;
    text-decoration: none;
}

/* =========================================================
   USER MENU
========================================================= */

.user-menu {
    position: relative;
}

.user-menu-button {
    height: 42px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 10px;

    background: transparent;

    border: 0;

    color: #333;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.user-menu-button:hover,
.user-menu-button:focus {
    color: #000;
    outline: none;
}

.user-menu-button > .fa-chevron-down {
    font-size: 10px;
    color: #888;
}

.user-avatar {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #222;
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

.user-menu .user-dropdown {
    right: 0;
    left: auto;

    min-width: 210px;

    padding: 7px 0;

    border: 1px solid #e5e5e5;
    border-radius: 9px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.user-menu:hover > .user-dropdown,
.user-menu:focus-within > .user-dropdown {
    display: block;
}

.user-dropdown li a {
    padding: 10px 16px;

    display: flex;
    align-items: center;

    gap: 10px;

    color: #444;

    text-decoration: none;

    font-size: 14px;
}

.user-dropdown li a:hover {
    background: #f7f7f7;
    color: #111;
}

.user-dropdown li a i {
    width: 17px;

    text-align: center;

    color: #777;
}

.user-dropdown-divider {
    height: 1px;

    margin: 6px 0;

    background: #eee;
}

.user-dropdown .logout-link {
    color: #b42318;
}

.user-dropdown .logout-link i {
    color: #b42318;
}


/* =========================================================
   MOBILE USER
========================================================= */

.mobile-user-info {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 5px;

    margin-bottom: 5px;

    border-bottom: 1px solid #eee;
}

.mobile-user-info > div {
    min-width: 0;
}

.mobile-user-info strong {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #222;
}

.mobile-user-info span:not(.user-avatar) {
    display: block;

    margin-top: 2px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 12px;
    color: #888;
}

.mobile-account-links .mobile-logout {
    color: #b42318;
}


/* =========================================================
   USER MENU MOBILE
========================================================= */

@media (max-width: 767px) {

    .user-menu {
        display: none;
    }

}