/*
Theme Name: Decoded
Template: hello-elementor
Author: Child Theme Configurator
Version: 1.0.0.19
Updated: 2026-04-15 00:00:00

*/

.elementor-post-info__terms-list a {
    border-radius: 15px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
}

a[href*="/category/culture"],
.facetwp-facet-categories .fs-option[data-value="culture"].selected {
    background: var(--e-global-color-09cae97) !important;
}

a[href*="/category/business"],
.facetwp-facet-categories .fs-option[data-value="business"].selected {
    background: var(--e-global-color-dd36f95) !important;
}

a[href*="/category/opinion"],
.facetwp-facet-categories .fs-option[data-value="opinion"].selected {
    background: var(--e-global-color-4de0bf6) !important;
}

a[href*="/category/news"],
.facetwp-facet-categories .fs-option[data-value="news"].selected {
    background: var(--e-global-color-3113d97) !important;
}

a[href*="/category/politics"],
.facetwp-facet-categories .fs-option[data-value="politics"].selected {
    background: var(--e-global-color-primary) !important;
}

a[href*="/category/culture"]:hover,
a[href*="/category/business"]:hover,
a[href*="/category/opinion"]:hover,
a[href*="/category/news"]:hover,
a[href*="/category/politics"]:hover {
    background-color: var(--e-global-color-accent) !important;
    color: white !important;
}

/* -------------------------------------------------------
   FacetWP Categories facet – horizontal pill-button style
   [facetwp facet="categories"]  (fSelect type)
------------------------------------------------------- */

/* Always show the dropdown (override fSelect hide-by-default) */
.facetwp-facet-categories .fs-wrap,
.facetwp-facet-categories .fs-dropdown {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    width: auto !important;
    min-width: 0 !important;
}

/* Hide the label/trigger and the search box */
.facetwp-facet-categories .fs-label-wrap,
.facetwp-facet-categories .fs-search {
    display: none !important;
}

/* Lay out the option list as a flex row */
.facetwp-facet-categories .fs-list,
.fs-dropdown .fs-options {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Base pill style */
.facetwp-facet-categories .fs-option {
    border-radius: 20px;
    padding: 4px 14px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #07081E;
    background-color: #ECECEC;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

/* Selected / active pill */
.facetwp-facet-categories .fs-option.chosen {
    background: #ffffff !important;
    color: #0d1117 !important;
    border-color: #ffffff !important;
}

/* Hover on unselected pills */
.facetwp-facet-categories .fs-option:not(.chosen):hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
}

.decoded-featured-swiper {
    position: relative;
}

.decoded-featured-swiper .decoded-swiper-nav {
    position: absolute;
    left: 18vw;
    bottom: 0px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 18px;
}

@media screen and (min-width:768px) and (max-width:1400px) {
    .decoded-featured-swiper .decoded-swiper-nav {
        bottom: -100px !important;
    }
}

/* arrows */
.decoded-featured-swiper .decoded-swiper-btn {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.25s ease;
    background: #252639;
    color: #A2D1FB;
}

/* active (blue) */
.decoded-featured-swiper .decoded-swiper-next {
    background: #163FF1;
    color: #fff;
    box-shadow: 0px 3px 50px #A2D1FBA3;
}

.decoded-featured-swiper .decoded-swiper-btn:hover {
    transform: translateY(-2px);
}

/* fraction */
.decoded-featured-swiper .decoded-swiper-fraction {
    color: #fff;
    font-size: 16px;
    font-weight: medium;
}

.decoded-featured-swiper .decoded-swiper-fraction .total {
    opacity: 0.6;
}

/* hide default */
.decoded-featured-swiper .swiper-pagination,
.decoded-featured-swiper .elementor-swiper-button {
    display: none !important;
}

/* responsive */
@media (max-width: 1024px) {
    .decoded-featured-swiper .decoded-swiper-nav {
        left: 40px;
        bottom: 25px;
    }

    .decoded-featured-swiper .decoded-swiper-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .decoded-featured-swiper .decoded-swiper-fraction {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .decoded-featured-swiper .decoded-swiper-nav {
        left: 0px;
        bottom: 20px;
    }

    .decoded-featured-swiper .decoded-swiper-btn {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .decoded-featured-swiper .decoded-swiper-fraction {
        font-size: 22px;
    }
}

.topics-archive .elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

/* κοινό style για όλα */
.topics-archive .elementor-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
}

/* αριθμοί */
.topics-archive .elementor-pagination a.page-numbers:not(.prev):not(.next),
.topics-archive .elementor-pagination span.page-numbers.current {
    min-width: 44px;
    padding: 0 14px;
    color: #fff;
    background: transparent;
}

/* active page */
.topics-archive .elementor-pagination span.page-numbers.current {
    background: rgba(255, 255, 255, 0.14);
}

/* dots */
.topics-archive .elementor-pagination .page-numbers.dots {
    min-width: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0 2px;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

/* arrows */
.topics-archive .elementor-pagination .page-numbers.prev,
.topics-archive .elementor-pagination .page-numbers.next {
    width: 44px;
    min-width: 44px;
    height: 44px;
    font-size: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* δεξί βελάκι active */
.topics-archive .elementor-pagination .page-numbers.next {
    background: #2450ff;
    box-shadow: 0 0 24px rgba(36, 80, 255, 0.6);
}

/* disabled prev */
.topics-archive .elementor-pagination span.page-numbers.prev {
    opacity: 0.9;
}

/* custom chevrons */
.topics-archive .elementor-pagination .page-numbers.prev::before,
.topics-archive .elementor-pagination .page-numbers.next::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
}

.topics-archive .elementor-pagination .page-numbers.prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.topics-archive .elementor-pagination .page-numbers.next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

/* hover */
.topics-archive .elementor-pagination a.page-numbers:hover {
    opacity: 0.9;
}

/** Menu **/
body.menu-open .creative-menu-overlay {
    border-radius: 50px;
    clip-path: inset(0 round 50px);
}