/**
 * Blog genel sayfası — hero + bindirmeli panel (platformlar dizini mantığı).
 */
.orvix-blog-index-page {
    --orvix-blog-panel-overlap: 2.25rem;
    position: relative;
    z-index: 8;
    width: 100%;
    margin-top: calc(-1 * var(--orvix-blog-panel-overlap));
    padding: 0 0 clamp(1.25rem, 2vw, 1.75rem);
    background: transparent;
    box-sizing: border-box;
    isolation: isolate;
}

.orvix-front-shell .orvix-front-shell__main:has(.orvix-blog-index-page) {
    align-items: stretch !important;
    justify-content: flex-start;
    width: 100%;
    background: var(--orvix-home-section-bg, #f4f6f8);
}

html[data-bs-theme="dark"] .orvix-front-shell .orvix-front-shell__main:has(.orvix-blog-index-page) {
    background: var(--orvix-home-section-bg, #0b0d12);
}

.orvix-blog-index-page > .fdh-shell {
    width: 100%;
}

.orvix-blog-index-page__panel {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 1.75rem 1.75rem 1.35rem 1.35rem;
    padding: clamp(1.25rem, 2.4vw, 1.75rem) clamp(1rem, 2vw, 1.45rem) clamp(1.35rem, 2.5vw, 1.85rem);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(17, 24, 39, 0.06);
    overflow: visible;
}

html[data-bs-theme="dark"] .orvix-blog-index-page__panel {
    background: #151821;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.orvix-blog-index-page__below {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    padding: 0.25rem 0 2rem;
    background: var(--orvix-home-section-bg, #f4f6f8);
    box-sizing: border-box;
}

html[data-bs-theme="dark"] .orvix-blog-index-page__below {
    background: var(--orvix-home-section-bg, #0b0d12);
}

.orvix-front-shell__main:has(.orvix-blog-index-page__below) {
    background: var(--orvix-home-section-bg, #f4f6f8);
}

html[data-bs-theme="dark"] .orvix-front-shell__main:has(.orvix-blog-index-page__below) {
    background: var(--orvix-home-section-bg, #0b0d12);
}

.orvix-blog-index-page__filter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
}

.orvix-blog-index-page__clear-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--bs-primary, #3762ea) 32%, transparent);
    background: transparent;
    color: var(--bs-primary, #3762ea);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.orvix-blog-index-page__clear-filter:hover,
.orvix-blog-index-page__clear-filter:focus-visible {
    background: color-mix(in srgb, var(--bs-primary, #3762ea) 12%, transparent);
    border-color: color-mix(in srgb, var(--bs-primary, #3762ea) 42%, transparent);
    color: var(--bs-primary, #3762ea);
}

.orvix-blog-index-page__clear-filter i {
    font-size: 0.95rem;
    line-height: 1;
}

.orvix-blog-list {
    margin-top: 0.35rem;
}

.orvix-blog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: start;
}

@media (min-width: 768px) {
    .orvix-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .orvix-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.orvix-blog-card {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    align-self: start;
    justify-self: stretch;
}

.orvix-blog-thumb {
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

html[data-bs-theme="dark"] .orvix-blog-thumb {
    background: rgba(255, 255, 255, 0.06);
}

.orvix-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orvix-blog-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.06));
}

html[data-bs-theme="dark"] .orvix-blog-ph {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
}

.orvix-blog-ph::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--orvix-blog-path-pattern, none);
    background-repeat: repeat;
    background-size: 4.35rem 4.35rem;
    background-position: center top;
    opacity: 0.11;
    pointer-events: none;
}

.orvix-blog-ph i {
    position: relative;
    z-index: 1;
    font-size: 2.1rem;
    color: color-mix(in srgb, var(--bs-body-color) 40%, transparent);
}

.orvix-blog-meta {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--bs-body-color) 66%, transparent);
    background: #d6d5e545;
    border-radius: 18px;
    padding: 0.45rem 0.7rem;
}

.orvix-blog-meta .r {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.orvix-blog-meta i {
    color: color-mix(in srgb, var(--bs-body-color) 55%, transparent);
    font-size: 1.05rem;
}

.orvix-blog-title {
    margin: 0.6rem 0 0.35rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.18;
    font-size: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.orvix-blog-ex {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: color-mix(in srgb, var(--bs-body-color) 70%, transparent);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.orvix-blog-index-page__pagination {
    margin-top: 1.35rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .orvix-blog-index-page {
        --orvix-blog-panel-overlap: 2rem;
    }
}
