/* Cro Cure · 2026 navigation refresh.
   Dropdown chevrons are CSS shapes, NEVER FontAwesome private-use characters.
   The colored header styling applies only to the current WP Magazine layout 2.
   Other header layouts receive the chevron fix without a visual overhaul. */

/* FONT-INDEPENDENT MENU ARROWS — applies to all four WP Magazine layouts. */
.main-navigation ul li.menu-item-has-children > a {
    padding-right: 34px;
}
.main-navigation ul li.menu-item-has-children > a::before {
    content: "" !important;
    font-family: inherit !important;
    font-size: 0 !important;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-top: 0;
    border-left: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .16s ease, border-color .16s ease;
    pointer-events: none;
}
.main-navigation ul ul li.menu-item-has-children > a::before {
    right: 17px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
.main-navigation ul > li.menu-item-has-children:hover > a::before,
.main-navigation ul > li.menu-item-has-children:focus-within > a::before {
    transform: translateY(-44%) rotate(225deg);
}
.main-navigation ul ul li.menu-item-has-children:hover > a::before,
.main-navigation ul ul li.menu-item-has-children:focus-within > a::before {
    transform: translateY(-50%) rotate(-45deg);
}

/* LAYOUT TWO — preserve links, menus, options, and custom logo. */
body.cc-header-two header {
    margin-bottom: 62px;
}
body.cc-header-two header .top-info.pri-bg-color {
    background: #170e19 !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
body.cc-header-two header .top-bar {
    position: relative;
    min-height: 0;
    padding: 28px 0 26px !important;
    background-color: #251323;
    background-position: center;
    background-size: cover;
}
body.cc-header-two header .top-bar::before {
    background: linear-gradient(108deg, rgba(24, 11, 22, .95), rgba(51, 22, 40, .93) 65%, rgba(36, 14, 30, .94)) !important;
    opacity: 1 !important;
}
body.cc-header-two header .top-bar > .container,
body.cc-header-two header .main-nav > .container {
    width: calc(100% - 48px);
    max-width: 1160px;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}
body.cc-header-two header .top-bar .top-head-2 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-left: 0;
    margin-right: 0;
}
body.cc-header-two header .top-bar .top-head-2 .logo {
    float: none;
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 420px;
    padding: 0;
}
body.cc-header-two header .top-bar .top-head-2 .advertisement {
    float: none;
    width: auto;
    flex: 0 1 auto;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
body.cc-header-two header .top-bar .top-head-2 .advertisement img {
    max-width: 100%;
    height: auto;
}
body.cc-header-two header .top-bar .site-title {
    margin: 0 0 6px;
    line-height: 1.17;
    max-width: 100%;
    overflow-wrap: normal;
}
body.cc-header-two header .top-bar .site-title a {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    max-width: 100%;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
    font-size: clamp(23px, 2.65vw, 32px) !important;
    font-weight: 750 !important;
    line-height: 1.22;
    letter-spacing: -.037em;
    color: #fff9f7 !important;
    text-decoration: none;
    text-shadow: 0 2px 20px rgba(0,0,0,.11);
}
body.cc-header-two header .top-bar .site-title a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    transform: rotate(45deg);
    border: 3px solid #f0c18a;
    border-radius: 4px;
    background: #ba2858;
    box-shadow: 0 0 0 5px rgba(240,193,138,.1);
}
body.cc-header-two header .top-bar .site-title a:hover {
    color: #f8d5df !important;
}
body.cc-header-two header .top-bar .site-description {
    margin: 7px 0 0 31px;
    color: #e1bcca !important;
    font-size: clamp(12px, 1.25vw, 14px) !important;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: .015em;
}
body.cc-header-two header .top-bar .date-time {
    color: #dbbbc7 !important;
    margin: 5px 0 0 31px;
    font-size: 12px;
}
body.cc-header-two header .top-bar .custom-logo-link img {
    width: auto;
    max-width: min(100%, 340px);
    height: auto;
    object-fit: contain;
}

/* The menu isn't a second purple banner: it continues the plum header. */
body.cc-header-two header .main-nav.nav-two {
    min-height: 62px;
    background: #2b1629 !important;
    border-top: 1px solid rgba(246,206,217,.11);
    border-bottom: 1px solid #d6ab7d;
    box-shadow: 0 8px 24px rgba(37,12,26,.14);
}
body.cc-header-two header .main-nav.nav-two.sticky-header.fix-top {
    background: rgba(38, 17, 34, .98) !important;
    backdrop-filter: blur(12px);
}
body.cc-header-two header .nav-two #primary-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 0;
    margin: 0;
    background: transparent !important;
}
body.cc-header-two header .nav-two #primary-menu > li {
    display: block;
    float: none;
    margin: 0;
    background: transparent;
}
body.cc-header-two header .nav-two #primary-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 11px 18px;
    border-radius: 10px;
    color: #f6e8ef !important;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.38;
    letter-spacing: .005em;
    opacity: 1;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}
body.cc-header-two header .nav-two #primary-menu > li.menu-item-has-children > a {
    padding-right: 34px;
}
body.cc-header-two header .nav-two #primary-menu > li:hover > a,
body.cc-header-two header .nav-two #primary-menu > li:focus-within > a,
body.cc-header-two header .nav-two #primary-menu > li.current-menu-item > a,
body.cc-header-two header .nav-two #primary-menu > li.current-menu-ancestor > a {
    background: rgba(239,193,139,.12);
    color: #ffdfb5 !important;
}
body.cc-header-two header .nav-two #primary-menu > li > a:focus-visible,
body.cc-header-two header .nav-two #primary-menu ul a:focus-visible,
body.cc-header-two header .nav-two .menu-toggle:focus-visible {
    outline: 2px solid #efc18b;
    outline-offset: 2px;
}
body.cc-header-two header .nav-two .main-navigation ul ul.sub-menu,
body.cc-header-two header .nav-two .main-navigation ul ul.children {
    background: #301b2d !important;
    border: 1px solid rgba(239,193,139,.23);
    border-radius: 11px;
    box-shadow: 0 20px 40px rgba(14,5,12,.28);
    padding: 6px;
}
body.cc-header-two header .nav-two #primary-menu ul a {
    color: #f7eaf0 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    line-height: 1.5;
    padding: 11px 29px 11px 14px;
    border-radius: 7px;
}
body.cc-header-two header .nav-two #primary-menu ul a:hover,
body.cc-header-two header .nav-two #primary-menu ul li:focus-within > a {
    background: rgba(239,193,139,.14) !important;
    color: #ffdfb5 !important;
}
body.cc-header-two header .nav-two #primary-menu ul li:hover {
    background: transparent;
}

/* This archive's breadcrumb should no longer feel like an unrelated white strip. */
body.cc-header-two.tag-cro-escort .breadcrumbs {
    min-height: 46px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid #f2e7e9;
    background: #fdf9fa;
    font-size: 13px;
    line-height: 1.5;
    color: #8f7a86;
}
body.cc-header-two.tag-cro-escort .breadcrumbs > .container {
    width: calc(100% - 48px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
}
body.cc-header-two.tag-cro-escort .breadcrumbs a {
    color: #68344a;
    font-weight: 650;
}
body.cc-header-two.tag-cro-escort .breadcrumbs a:hover {
    color: #b22756;
}
body.tag-cro-escort #cro-escort-profili,
body.tag-cro-escort #cro-escort-gradovi,
body.tag-cro-escort #cro-escort-izbor,
body.tag-cro-escort #cro-escort-pitanja {
    scroll-margin-top: 92px;
}

@media (max-width: 767px) {
    /* WP Magazine swaps to hamburger navigation at this breakpoint. */
    .main-navigation ul li.menu-item-has-children > a::before,
    .main-navigation ul ul li.menu-item-has-children > a::before {
        right: 17px;
        top: 50%;
        transform: translateY(-70%) rotate(45deg);
    }
    body.cc-header-two header { margin-bottom: 57px; }
    body.cc-header-two header .top-bar { padding: 22px 0 20px !important; }
    body.cc-header-two header .top-bar > .container,
    body.cc-header-two header .main-nav > .container,
    body.cc-header-two.tag-cro-escort .breadcrumbs > .container {
        width: calc(100% - 32px);
    }
    body.cc-header-two header .top-bar .top-head-2 .logo { flex-basis: 100%; }
    body.cc-header-two header .top-bar .site-title a { font-size: clamp(21px, 5.6vw, 27px) !important; gap: 12px; }
    body.cc-header-two header .top-bar .site-title a::before { width: 12px; height: 12px; flex-basis: 12px; }
    body.cc-header-two header .top-bar .site-description { margin-left: 25px; }
    body.cc-header-two header .main-nav.nav-two { min-height: 57px; }
    body.cc-header-two header .nav-two .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 45px;
        margin: 5px 0;
        background: rgba(255,255,255,.075);
        border: 1px solid rgba(239,193,139,.24);
        border-radius: 9px;
    }
    body.cc-header-two header .nav-two #nav-icon { margin: 10px auto; }
    body.cc-header-two header .nav-two #nav-icon span { height: 2px; background: #ffe3ca; border-radius: 3px; }
    body.cc-header-two header .nav-two #primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 16px 16px;
        gap: 1px;
        background: #291626 !important;
        box-shadow: 0 18px 26px rgba(22,7,17,.22);
        border-top: 1px solid rgba(239,193,139,.19);
        max-height: min(75vh, 600px);
        overflow-y: auto;
    }
    body.cc-header-two header .nav-two .main-navigation.toggled #primary-menu {
        display: block;
    }
    body.cc-header-two header .nav-two #primary-menu > li { width: 100%; }
    body.cc-header-two header .nav-two #primary-menu > li > a {
        width: 100%;
        min-height: 44px;
        padding: 11px 16px;
        font-size: 14px !important;
    }
    body.cc-header-two header .nav-two #primary-menu > li.menu-item-has-children > a { padding-right: 37px; }
    body.cc-header-two header .nav-two .main-navigation ul ul.sub-menu,
    body.cc-header-two header .nav-two .main-navigation ul ul.children {
        position: static;
        width: 100%;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 11px;
        border-radius: 0;
        background: #352034 !important;
        overflow: hidden;
    }
    body.cc-header-two header .nav-two #primary-menu ul a { min-height: 42px; }
    body.cc-header-two.tag-cro-escort .breadcrumbs { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .main-navigation ul li.menu-item-has-children > a::before,
    body.cc-header-two header .nav-two #primary-menu > li > a { transition: none; }
}
