/* Bölüm arka plan SVG deseni — mask/renk inline style ile (section_pattern.php) */

.hive-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hive-section > .container {
    position: relative;
    z-index: 1;
}

.hive-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Desenli bölüm kartları — açık tema: opak beyaz */
html:not(.dark-mode) section.hive-section.bg-zebra .content-card,
html:not(.dark-mode) section.hive-section.bg-zebra .product-card,
html:not(.dark-mode) .hive-section .content-card,
html:not(.dark-mode) .hive-section .product-card,
html:not(.dark-mode) section.bg-zebra .content-card,
html:not(.dark-mode) section.bg-zebra .product-card,
html:not(.dark-mode) section.bg-white .content-card,
html:not(.dark-mode) section.bg-white .product-card {
    position: relative;
    z-index: 1;
    isolation: isolate;
    border-radius: var(--border-radius-base, 8px) !important;
    box-shadow: none !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    transition: border-color 0.2s ease !important;
}

html:not(.dark-mode) section.hive-section.bg-zebra .content-card:hover,
html:not(.dark-mode) section.hive-section.bg-zebra .product-card:hover,
html:not(.dark-mode) .hive-section .content-card:hover,
html:not(.dark-mode) .hive-section .product-card:hover,
html:not(.dark-mode) section.bg-zebra .content-card:hover,
html:not(.dark-mode) section.bg-zebra .product-card:hover,
html:not(.dark-mode) section.bg-white .content-card:hover,
html:not(.dark-mode) section.bg-white .product-card:hover {
    box-shadow: none !important;
    border-color: rgba(15, 23, 42, 0.14) !important;
    filter: none !important;
    transform: none !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.hive-section .content-card h3,
.hive-section .content-card h3:hover,
.hive-section .content-card .cms-card-title,
.hive-section .content-card .cms-card-title:hover,
.hive-section .content-card .cms-card-title-inner,
section.bg-zebra .content-card h3,
section.bg-zebra .content-card h3:hover,
section.bg-white .content-card h3,
section.bg-white .content-card h3:hover,
.hive-section .content-card:hover h3,
.hive-section .content-card:hover .cms-card-title,
.hive-section .content-card:hover p,
.hive-section .content-card:hover span,
.hive-section .content-card:hover .text-primary,
.hive-section .content-card:hover .content-card__cta-text,
.hive-section .content-card:hover .content-card__cta-arrow {
    filter: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

html:not(.dark-mode) section.hive-section.bg-zebra .content-card > a > div:first-child,
html:not(.dark-mode) section.hive-section.bg-zebra .content-card > a > div:last-child,
html:not(.dark-mode) .hive-section .content-card > a > div:first-child,
html:not(.dark-mode) .hive-section .content-card > a > div:last-child,
html:not(.dark-mode) .hive-section .product-card > a > div:first-child,
html:not(.dark-mode) .hive-section .product-card > a > div:last-child,
html:not(.dark-mode) section.bg-zebra .content-card > a > div:first-child,
html:not(.dark-mode) section.bg-zebra .content-card > a > div:last-child,
html:not(.dark-mode) section.bg-white .content-card > a > div:first-child,
html:not(.dark-mode) section.bg-white .content-card > a > div:last-child {
    background-color: #ffffff;
}
.hive-section .content-card > a.flex-col > div:first-child,
.hive-section .product-card > a.flex-col > div:first-child,
section.bg-zebra .content-card > a.flex-col > div:first-child,
section.bg-white .content-card > a.flex-col > div:first-child {
    border-radius: var(--border-radius-base, 8px) var(--border-radius-base, 8px) 0 0;
    overflow: hidden;
}

.hive-section .content-card img,
.hive-section .product-card img {
    border-radius: 0 !important;
}

.hive-section .content-card__cta-row {
    justify-content: flex-start;
    gap: 0.35rem;
}

.hive-section .content-card__cta-arrow {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Karanlık tema — token zemin; beyaz gövde / soluk metin patlamasın */
html.dark-mode .hive-section .content-card,
html.dark-mode .hive-section .product-card,
html.dark-mode section.hive-section.bg-zebra .content-card,
html.dark-mode section.hive-section.bg-zebra .product-card {
    background: var(--cz-bg, var(--cd-bg, #19243a)) !important;
    background-color: var(--cz-bg, var(--cd-bg, #19243a)) !important;
    border-color: var(--cz-border, rgba(255, 255, 255, 0.12)) !important;
    box-shadow: none !important;
}

html.dark-mode .hive-section .content-card > a > div:first-child,
html.dark-mode .hive-section .content-card > a > div:last-child,
html.dark-mode .hive-section .product-card > a > div:first-child,
html.dark-mode .hive-section .product-card > a > div:last-child {
    background-color: transparent !important;
}
