/**
 * Category tabs — spacious layout for Pozitif Reklam
 */

.leversnet-category-section {
    padding: 56px 20px 40px !important;
    background: #f6f6f7 !important;
}

.leversnet-category-section .leversnet-category-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 16px !important;
    max-width: 1200px;
    margin: 0 auto 44px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.leversnet-category-section .category-tab {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    flex: 0 1 130px !important;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 150px !important;
    padding: 22px 14px 18px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.leversnet-category-section .category-tab::before,
.leversnet-category-section .category-tab::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    background: none !important;
    transform: none !important;
    width: 0 !important;
    height: 0 !important;
}

.leversnet-category-section .category-tab:hover::before,
.leversnet-category-section .category-tab:hover::after,
.leversnet-category-section .category-tab.active::before,
.leversnet-category-section .category-tab.active::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    transform: none !important;
    width: 0 !important;
    height: 0 !important;
}

.leversnet-category-section .category-tab:hover {
    background: #ffffff !important;
    border-color: rgba(196, 30, 58, 0.5) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(196, 30, 58, 0.12) !important;
}

.leversnet-category-section .category-tab.active {
    background: #ffffff !important;
    border-color: #c41e3a !important;
    box-shadow: 0 12px 28px rgba(196, 30, 58, 0.16) !important;
    transform: translateY(-2px) !important;
}

.leversnet-category-section .category-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: rgba(196, 30, 58, 0.1) !important;
    color: #c41e3a !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    animation: none !important;
}

.leversnet-category-section .category-icon .leversnet-icon,
.leversnet-category-section .category-icon svg {
    width: 26px !important;
    height: 26px !important;
    display: block;
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    filter: none !important;
    transition: none !important;
}

.leversnet-category-section .category-icon svg [fill="currentColor"],
.leversnet-category-section .category-icon svg circle[fill="currentColor"] {
    fill: currentColor !important;
}

.leversnet-category-section .category-tab:hover .category-icon,
.leversnet-category-section .category-tab.active .category-icon {
    background: #c41e3a !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 14px rgba(196, 30, 58, 0.3) !important;
    animation: none !important;
}

.leversnet-category-section .category-tab:hover .category-icon svg,
.leversnet-category-section .category-tab.active .category-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
}

.leversnet-category-section .category-tab:hover .category-icon svg [fill="currentColor"],
.leversnet-category-section .category-tab.active .category-icon svg [fill="currentColor"],
.leversnet-category-section .category-tab:hover .category-icon svg circle[fill="currentColor"],
.leversnet-category-section .category-tab.active .category-icon svg circle[fill="currentColor"] {
    fill: #ffffff !important;
}

.leversnet-category-section .category-tab h3 {
    margin: 0 !important;
    padding: 0 2px;
    font-family: "Exo", sans-serif;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #2a2a2a !important;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
    transition: color 0.25s ease !important;
}

.leversnet-category-section .category-tab:hover h3,
.leversnet-category-section .category-tab.active h3 {
    color: #c41e3a !important;
}

/* Content area spacing under tabs */
.leversnet-category-section .leversnet-category-content-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 4px !important;
}

.leversnet-category-section .category-display {
    gap: 40px !important;
}

@media (max-width: 1100px) {
    .leversnet-category-section .category-tab {
        flex: 0 1 140px !important;
        width: 140px !important;
        min-width: 140px !important;
    }
}

/* Mobile: hide 8 tab buttons + desktop content; accordion already exists */
@media (max-width: 768px) {
    .leversnet-category-section {
        padding: 36px 12px 28px !important;
    }

    .leversnet-category-section .leversnet-category-tabs {
        display: none !important;
    }

    .leversnet-category-section .leversnet-category-content-wrapper {
        display: none !important;
    }

    .leversnet-category-section .category-accordion {
        display: block !important;
        padding: 0 4px !important;
    }
}
