/* ==========================================================================
   DEVA SIGORTA — PREMIUM MAGAZINE CSS
   Tüm bileşenler: Header, Ticker, Hero, Kartlar, Sidebar, Widgets, Single Post, Category Sections
   ========================================================================== */

/* ===== HEADER ===== */
.deva-topbar {
    background: linear-gradient(135deg, #0A1F44 0%, #1e3a5f 100%);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.deva-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.deva-topbar__contact {
    display: flex;
    gap: 20px;
}
.deva-topbar__contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.deva-topbar__social {
    display: flex;
    gap: 15px;
}
.deva-topbar__social a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.deva-topbar__social a:hover {
    color: #2563EB;
}

.deva-header {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.deva-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.deva-header__logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.deva-header__logo h1 {
    font-size: 22px;
    font-weight: 800;
    color: #0A1F44;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.deva-header__logo img {
    max-height: 50px;
}
.deva-header__nav {
    flex: 1;
    margin: 0 40px;
}
.deva-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    justify-content: center;
}
.deva-nav-menu a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    padding: 6px 0;
}
.deva-nav-menu a:hover {
    color: #2563EB;
}
.deva-header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.deva-header__search {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.deva-header__search:hover {
    background: #e2e8f0;
}
.deva-header__cta {
    background: linear-gradient(135deg,#2563EB,#1D4ED8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}
.deva-header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235,0.4);
}

/* Theme Toggle Button */
.deva-header__theme-toggle {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.deva-header__theme-toggle:hover {
    background: #e2e8f0;
    transform: scale(1.05);
}

.deva-header__theme-toggle .theme-icon {
    position: absolute;
    transition: all 0.3s;
}

.deva-header__theme-toggle .theme-icon.light {
    opacity: 1;
    transform: translateY(0);
}

.deva-header__theme-toggle .theme-icon.dark {
    opacity: 0;
    transform: translateY(20px);
}

[data-theme="dark"] .deva-header__theme-toggle .theme-icon.light {
    opacity: 0;
    transform: translateY(-20px);
}

[data-theme="dark"] .deva-header__theme-toggle .theme-icon.dark {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .deva-header__theme-toggle {
    background: #334155;
}

/* Mobile Menu Toggle */
.deva-header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.deva-header__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f172a;
    transition: all 0.3s;
    border-radius: 2px;
}

[data-theme="dark"] .deva-header__mobile-toggle span {
    background: #f1f5f9;
}

.mobile-menu-open .deva-header__mobile-toggle span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .deva-header__mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .deva-header__mobile-toggle span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Navigation Menu */
.deva-nav-menu li {
    position: relative;
}

.deva-nav-menu a {
    position: relative;
    padding: 8px 0;
}

.deva-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #00a884);
    transition: width 0.3s ease;
}

.deva-nav-menu a:hover::after {
    width: 100%;
}

.deva-nav-menu a:hover {
    color: #2563EB;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.mobile-menu-open .mobile-nav-overlay {
    display: block;
}

/* Dropdown Menu Styles */
.deva-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .deva-nav-menu .sub-menu {
    background: #1e293b;
    border-color: #334155;
}

.deva-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.deva-nav-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #475569;
    transition: all 0.2s;
}

.deva-nav-menu .sub-menu a:hover {
    background: #f8fafc;
    color: #2563EB;
}

[data-theme="dark"] .deva-nav-menu .sub-menu a {
    color: #94a3b8;
}

[data-theme="dark"] .deva-nav-menu .sub-menu a:hover {
    background: #334155;
    color: #2563EB;
}

/* Mega Menu Support */
.deva-nav-menu .mega-menu {
    position: static;
}

.deva-nav-menu .mega-menu .sub-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.deva-nav-menu .mega-menu:hover .sub-menu {
    transform: translateX(-50%) translateY(0);
}

.deva-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.deva-search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.deva-search-overlay__inner {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}
.deva-search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}
.deva-search-overlay form {
    display: flex;
    gap: 10px;
}
.deva-search-overlay input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    background: #fff;
}
.deva-search-overlay button {
    padding: 18px 30px;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .deva-header__nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        margin: 0;
        padding: 30px;
        z-index: 998;
        overflow-y: auto;
    }
    
    [data-theme="dark"] .deva-header__nav {
        background: #0f172a;
    }
    
    .mobile-menu-open .deva-header__nav {
        display: block;
    }
    
    .deva-header__nav .deva-nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .deva-header__nav .deva-nav-menu li {
        border-bottom: 1px solid #e2e8f0;
    }
    
    [data-theme="dark"] .deva-header__nav .deva-nav-menu li {
        border-color: #334155;
    }
    
    .deva-header__nav .deva-nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
    }
    
    .deva-header__nav .deva-nav-menu a::after {
        display: none;
    }
    
    .deva-header__mobile-toggle {
        display: flex;
    }
    
    .deva-topbar__contact {
        display: none;
    }
}
@media (max-width: 768px) {
    .deva-header__logo h1 {
        font-size: 20px;
    }
    
    .deva-header__actions {
        gap: 8px;
    }
    
    .deva-header__search,
    .deva-header__theme-toggle {
        width: 36px;
        height: 36px;
    }
}

/* ===== TICKER ===== */
.deva-ticker {
    background: #0A1F44;
    border-bottom: 2px solid #2563EB;
    height: 36px;
    overflow: hidden;
}
.deva-ticker__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}
.deva-ticker__label {
    background: #2563EB;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    padding-right: 24px;
    flex-shrink: 0;
}
.deva-ticker__track {
    flex: 1;
    overflow: hidden;
    padding: 0 20px;
}
.deva-ticker__content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}
.deva-ticker__content:hover { animation-play-state: paused; }
.deva-ticker__content a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.deva-ticker__content a:hover { color: #34d399; }
.deva-ticker__sep { color: #2563EB; font-size: 18px; line-height: 1; }
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HERO - Modern ===== */
.deva-hero {
    padding: 10px 0 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.deva-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(10, 31, 68, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.deva-hero__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    position: relative;
    z-index: 1;
}

/* Main Hero Card */
.deva-hero__main {
    position: relative;
    display: block;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}

.deva-hero__main:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.deva-hero__main:hover .deva-hero__img img {
    transform: scale(1.08);
}

.deva-hero__img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.deva-hero__img img,
.deva-hero__img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.deva-hero__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1F44 0%, #1e3a5f 50%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deva-hero__ph-text {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.deva-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 31, 68, 0.95) 0%,
        rgba(10, 31, 68, 0.7) 30%,
        rgba(10, 31, 68, 0.3) 60%,
        transparent 100%
    );
}

.deva-hero__badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #2563EB, #00a884);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 200, 151, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 200, 151, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0, 200, 151, 0.6); }
}

.deva-hero__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
}

.deva-hero__meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.deva-hero__title {
    color: #fff;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 12px;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.deva-hero__excerpt {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.deva-hero__author {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.deva-hero__avatar {
    font-size: 1.1rem;
}

.deva-hero__read-time {
    margin-left: auto;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 12px;
}

/* Side Stories - Modern */
.deva-hero__sub {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.deva-hero__sub-item {
    display: flex;
    background: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.deva-hero__sub-item:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #2563EB;
}

.deva-hero__sub-img {
    width: 110px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.deva-hero__sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deva-hero__sub-item:hover .deva-hero__sub-img img {
    transform: scale(1.1);
}

.deva-hero__sub-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1F44, #1e3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 800;
}

.deva-hero__sub-info {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.deva-hero__sub-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.deva-hero__sub-item:hover h3 {
    color: #2563EB;
}

.deva-hero__sub-time {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== TAGS ===== */
.deva-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
}
.deva-tag--red { background: #ef4444; color: #fff; }
.deva-tag--green { background: #2563EB; color: #fff; }
.deva-tag--blue { background: #3b82f6; color: #fff; }
.deva-tag--orange { background: #f59e0b; color: #fff; }
.deva-tag--purple { background: #8b5cf6; color: #fff; }

/* ===== MAIN CONTENT AREA - Mobile First ===== */
.deva-content {
    padding: 10px 0 20px;
    background: #f8fafc;
}

.deva-content__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: start;
}

@media (min-width: 1024px) {
    .deva-content {
        padding: 15px 0 25px;
    }
    .deva-content__layout {
        grid-template-columns: 1fr 320px;
        gap: 35px;
    }
}

/* ===== POST GRID - Mobile First ===== */
.deva-post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .deva-post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .deva-post-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

.deva-post-grid--list {
    grid-template-columns: 1fr;
    gap: 20px;
}

.deva-post-grid--list .deva-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
}

.deva-post-grid--list .deva-card__img-link {
    height: 180px;
    margin-bottom: 0;
}

.deva-post-grid--list .deva-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deva-post-grid--list .deva-card__title {
    font-size: 1.2rem;
}

.deva-post-grid--list .deva-card__excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.deva-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.deva-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.deva-card__body {
    padding: 20px;
}

.deva-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.deva-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.deva-btn-primary {
    background: #0A1F44;
    color: #fff;
    padding: 8px 16px;
}

.deva-btn-primary:hover {
    background: #2563EB;
    color: #fff;
}

.deva-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
}

.deva-btn-secondary:hover {
    background: #e2e8f0;
    color: #0A1F44;
}

.deva-btn-secondary.bookmarked {
    background: #ecfdf5;
    color: #2563EB;
    border-color: #2563EB;
}

/* View Toggle Bar */
.view-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.view-btn {
    background: none;
    border: 2px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
}

.view-btn.active {
    background: #0A1F44;
    color: white;
    border-color: #0A1F44;
}

.view-btn:hover:not(.active) {
    border-color: #2563EB;
    color: #2563EB;
}

.deva-post-count {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #0A1F44;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2563EB;
    transform: translateY(-3px);
}

/* ===== CATEGORY BLOCKS ===== */
.deva-cat-block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.deva-cat-block__title {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    padding-left: 12px;
    border-left: 4px solid var(--cat-color, #2563EB);
    margin: 0;
}
.deva-cat-block__more {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
}
.deva-cat-block__more:hover { color: #2563EB; }
.deva-cat-block__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}
.deva-cat-block__grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== CARDS - Modern ===== */
.deva-card--featured {
    grid-row: span 3;
}

.deva-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.deva-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #2563EB;
}

.deva-card__img-link {
    display: block;
    height: 220px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-radius: 16px 16px 0 0;
}

.deva-card__img-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 68, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.deva-card:hover .deva-card__img-link::after {
    opacity: 1;
}

.deva-card__img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.deva-card:hover .deva-card__img-link img {
    transform: scale(1.1);
}

.deva-card__img-link .deva-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

/* Quick View Button on Card */
.quick-view-btn-card {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #0A1F44;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.deva-card:hover .quick-view-btn-card {
    opacity: 1;
    transform: scale(1);
}

.quick-view-btn-card:hover {
    background: #2563EB;
    color: white;
    transform: scale(1.1) !important;
}

[data-theme="dark"] .quick-view-btn-card {
    background: rgba(30, 41, 59, 0.95);
    color: #f1f5f9;
}

.deva-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.deva-card:hover .deva-card__img { transform: scale(1.04); }
.deva-card__img-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.deva-card__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
}
.deva-card__title a { color: #1e293b; text-decoration: none; }
.deva-card__title a:hover { color: #2563EB; }
.deva-card--compact .deva-card__title { font-size: 0.88rem; }
.deva-card--tile .deva-card__title { font-size: 0.88rem; }
.deva-card__excerpt { font-size: 0.9rem; color: #64748b; line-height: 1.55; margin-bottom: 10px; }
.deva-card__meta, .deva-card__date { font-size: 0.78rem; color: #94a3b8; }
.deva-card--compact { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 12px; border-radius: 4px; }
.deva-card--tile { background: #fff; border-radius: 6px; overflow: hidden; padding: 0 0 12px; }
.deva-card--tile .deva-card__body { padding: 0 12px; }

/* ===== SIDEBAR / WIDGETS - Mobile First ===== */
.deva-content__sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .deva-content__sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .deva-content__sidebar {
        display: block;
        position: sticky;
        top: 90px;
    }
}
.deva-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .deva-widget {
        padding: 25px;
        margin-bottom: 25px;
    }
}

.deva-widget:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.deva-widget__title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0A1F44;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2563EB;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deva-widget__list { list-style: none; padding: 0; margin: 0; counter-reset: popular; }
.deva-widget__list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.deva-widget__list-item:last-child { border-bottom: none; }

.deva-widget__list-item:hover {
    background: #f8fafc;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 8px;
}

.deva-widget__num {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: #0A1F44;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.deva-widget__list-item:first-child .deva-widget__num {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: scale(1.1);
}

.deva-widget__list-item:nth-child(2) .deva-widget__num {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.deva-widget__list-item:nth-child(3) .deva-widget__num {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.deva-widget__list-item a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s;
}

.deva-widget__list-item a:hover { color: #2563EB; }

.deva-widget__links { list-style: none; padding: 0; margin: 0; }
.deva-widget__links li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.deva-widget__links li:last-child { border-bottom: none; }

.deva-widget__links li:hover {
    background: #f8fafc;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 8px;
}

.deva-widget__links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deva-widget__links a::before {
    content: '→';
    color: #2563EB;
    font-weight: 900;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.deva-widget__links a:hover {
    color: #2563EB;
}

.deva-widget__links a:hover::before {
    transform: translateX(5px);
}

/* Newsletter Widget */
.deva-widget--newsletter {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.deva-widget--newsletter p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.deva-newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.deva-newsletter-form input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(0, 200, 151, 0.1);
}

.deva-newsletter-form button {
    width: 100%;
    padding: 12px 20px;
}

/* ===== LATEST POSTS - Modern ===== */
.deva-latest {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 40px 0;
    position: relative;
}

@media (min-width: 1024px) {
    .deva-latest {
        padding: 50px 0;
    }
}

.deva-latest::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.deva-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0A1F44;
    border-left: 5px solid #2563EB;
    padding-left: 20px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.deva-latest__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.deva-latest__item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.deva-latest__item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-8px);
    border-color: #2563EB;
}

.deva-latest__img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.deva-latest__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 68, 0.15) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.deva-latest__item:hover .deva-latest__img::after {
    opacity: 1;
}

.deva-latest__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.deva-latest__item:hover .deva-latest__img img {
    transform: scale(1.1);
}

.deva-latest__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deva-latest__info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s;
}

.deva-latest__item:hover h4 {
    color: #2563EB;
}

.deva-latest__info span {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .deva-content__layout { grid-template-columns: 1fr; }
    .deva-content__sidebar { position: static; }
    .deva-latest__grid { grid-template-columns: repeat(2, 1fr); }
    .deva-cat-block__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .deva-post-grid { grid-template-columns: repeat(2, 1fr); }
    .deva-post-grid--list .deva-card { grid-template-columns: 180px 1fr; }
}
@media (max-width: 768px) {
    .deva-hero__grid { grid-template-columns: 1fr; }
    .deva-hero__main { height: 300px; }
    .deva-hero__sub { display: none; }
    .deva-cat-block__grid { grid-template-columns: 1fr; }
    .deva-cat-block--featured { grid-row: auto; }
    .deva-latest__grid { grid-template-columns: 1fr; }
    .deva-cat-block__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .deva-ticker__label { display: none; }
    .deva-post-grid { grid-template-columns: 1fr; }
    .deva-post-grid--list .deva-card { grid-template-columns: 1fr; }
    .deva-post-grid--list .deva-card__img-link { height: 200px; }
    .view-toggle { gap: 6px; }
    .view-btn { padding: 6px 12px; font-size: 0.8rem; }
}

/* ===== SINGLE POST PAGE - Mobile First ===== */
.single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0 40px;
    align-items: start;
}

@media (min-width: 1024px) {
    .single-layout {
        grid-template-columns: 1fr 300px;
        gap: 50px;
        padding: 40px 0 60px;
    }
}

.single-article {
    min-width: 0;
}

.single-header { margin-bottom: 30px; }

.single-category {
    display: inline-block;
    background: #2563EB;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 14px;
}

.single-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.single-meta .meta-author-avatar img { border-radius: 50%; }
.meta-info { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-size: 0.9rem; font-weight: 800; color: #0f172a; }
.post-date { font-size: 0.8rem; color: #94a3b8; }

.single-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.single-thumbnail img { width: 100%; height: auto; display: block; }

.single-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #374151;
}
.single-content h2 { font-size: 1.7rem; font-weight: 900; color: #0f172a; margin: 40px 0 16px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.single-content h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; margin: 30px 0 12px; }
.single-content p { margin-bottom: 20px; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-content li { margin-bottom: 8px; }
.single-content strong { color: #0f172a; }
.single-content a { color: #2563EB; text-decoration: underline; }
.single-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.9rem; }
.single-content th { background: #0f172a; color: #fff; padding: 10px 14px; text-align: left; font-size: 0.8rem; font-weight: 700; }
.single-content td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; }
.single-content tr:nth-child(even) td { background: #f8fafc; }

/* Expert Note & Key Takeaway */
.single-content .expert-note {
    background: #ecfdf5;
    border-left: 4px solid #2563EB;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-size: 0.95rem;
    color: #065f46;
}
.single-content .key-takeaway {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-size: 0.95rem;
    color: #78350f;
}

/* Table of Contents */
.devasigorta-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.devasigorta-toc h4 { font-size: 0.85rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: #0f172a; margin-bottom: 12px; }
.devasigorta-toc ul { list-style: none; padding: 0; margin: 0; }
.devasigorta-toc li { padding: 5px 0; }
.devasigorta-toc a { font-size: 0.9rem; color: #475569; text-decoration: none; transition: color 0.2s; }
.devasigorta-toc a:hover { color: #2563EB; }
.toc-level-3 { padding-left: 16px !important; }
.toc-level-3 a { font-size: 0.85rem; }

/* Tags */
.single-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.tag-pill { background: #f1f5f9; color: #475569; font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-decoration: none; transition: all 0.2s; }
.tag-pill:hover { background: #2563EB; color: #fff; }

/* Author Bio */
.author-bio-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}
.author-bio-avatar img { border-radius: 50%; flex-shrink: 0; }
.author-bio-text { display: flex; flex-direction: column; gap: 4px; }
.author-bio-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #2563EB; }
.author-bio-text strong { font-size: 1rem; color: #0f172a; }
.author-bio-text p { font-size: 0.9rem; color: #64748b; line-height: 1.6; margin: 4px 0 0; }

/* Single Sidebar */
.single-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }

/* AI Bot Link */
.ai-bot-link {
    margin-bottom: 20px;
}

.btn-ai-bot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0A1F44, #1e3a5f);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-ai-bot:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 31, 68, 0.2);
    border-color: #2563EB;
}

.btn-ai-bot svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-quote-box {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    padding: 24px;
    border-radius: 10px;
    text-align: center;
}
.sqb-icon { font-size: 2.5rem; margin-bottom: 10px; }
.sidebar-quote-box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.sidebar-quote-box p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.sqb-btn { display: block; background: #2563EB; color: #fff; text-align: center; padding: 12px; border-radius: 6px; font-weight: 800; font-size: 0.9rem; text-decoration: none; transition: background 0.2s; }
.sqb-btn:hover { background: #34d399; }

.sidebar-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; }
.sidebar-widget__title { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: #0f172a; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; }

.sidebar-popular-list { list-style: none; padding: 0; margin: 0; counter-reset: items; }
.sidebar-popular-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e2e8f0; }
.sidebar-popular-list li:last-child { border-bottom: none; }
.spl-num { font-size: 11px; font-weight: 900; color: #fff; background: #cbd5e1; width: 24px; height: 24px; border-radius: 4px; display: grid; place-items: center; flex-shrink: 0; }
.sidebar-popular-list li:first-child .spl-num { background: #ef4444; }
.sidebar-popular-list li:nth-child(2) .spl-num { background: #f97316; }
.sidebar-popular-list a { font-size: 0.85rem; font-weight: 600; color: #334155; text-decoration: none; line-height: 1.35; }
.sidebar-popular-list a:hover { color: #2563EB; }

.sidebar-cats { list-style: none; padding: 0; margin: 0; }
.sidebar-cats li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a { font-size: 0.9rem; font-weight: 600; color: #475569; text-decoration: none; display: flex; justify-content: space-between; }
.sidebar-cats a:hover { color: #2563EB; }

@media (max-width: 1024px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
}
@media (max-width: 768px) {
    .single-title { font-size: 1.7rem; }
    .single-content { font-size: 1rem; }
}

/* ===== CATEGORY SECTIONS - Modern ===== */
.deva-category-section {
    padding: 60px 0;
    margin: 40px 0;
    position: relative;
}

.deva-category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.deva-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--cat-color, #2563EB), transparent) 1;
}

.deva-category-title {
    font-size: 24px;
    font-weight: 800;
    color: #0A1F44;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .deva-category-title {
        font-size: 32px;
        gap: 15px;
    }
}

.deva-category-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

@media (min-width: 768px) {
    .deva-category-icon {
        font-size: 36px;
    }
}

.deva-category-more {
    font-size: 14px;
    font-weight: 700;
    color: #2563EB;
    text-decoration: none;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(0,200,151,0.1), rgba(0,200,151,0.05));
    border: 2px solid rgba(0,200,151,0.3);
    border-radius: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deva-category-more:hover {
    background: linear-gradient(135deg, #2563EB, #00a884);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 200, 151, 0.3);
    border-color: #2563EB;
}

.deva-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .deva-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .deva-category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.deva-cat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.deva-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--cat-color, #2563EB);
}

.deva-cat-card__img {
    display: block;
    height: 200px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.deva-cat-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 68, 0.2) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.deva-cat-card:hover .deva-cat-card__img::after {
    opacity: 1;
}

.deva-cat-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.deva-cat-card:hover .deva-cat-card__img img {
    transform: scale(1.1);
}

.deva-cat-card__ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    background: linear-gradient(135deg, #0A1F44, #1e3a5f);
}

.deva-cat-card__body {
    padding: 25px;
}

.deva-cat-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
}

.deva-cat-card__title a {
    color: #0A1F44;
    text-decoration: none;
    transition: color 0.3s;
}

.deva-cat-card__title a:hover {
    color: #2563EB;
}
.deva-cat-card__excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}
.deva-cat-card__date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}
.deva-cat-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}
@media (max-width: 1024px) {
    .deva-category-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 768px) {
    .deva-category-section {
        padding: 30px 0;
    }
    .deva-category-title {
        font-size: 22px;
    }
    .deva-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f172a;
    color: #fff;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand-col {
    padding-right: 20px;
}
.footer-logo {
    display: flex;
    gap: 4px;
    text-decoration: none;
    margin-bottom: 20px;
}
.footer-logo__deva {
    font-size: 28px;
    font-weight: 900;
    color: #2563EB;
}
.footer-logo__sigorta {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}
.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: #2563EB;
    transform: translateY(-3px);
}
.footer-links-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}
.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-col li {
    margin-bottom: 12px;
}
.footer-links-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links-col a:hover {
    color: #2563EB;
}
.footer-contact-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}
.footer-contact-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom__links {
    display: flex;
    gap: 20px;
}
.footer-bottom__links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
}
.footer-bottom__links a:hover {
    color: #2563EB;
}

/* ===== NEW PREMIUM SECTIONS ===== */

/* Statistics Section */
.deva-stats {
    background: linear-gradient(135deg, #0A1F44 0%, #1e3a5f 100%);
    padding: 50px 0;
    margin: 0;
}

@media (min-width: 1024px) {
    .deva-stats {
        padding: 60px 0;
    }
}

.deva-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.deva-stat-item {
    text-align: center;
    color: white;
}

.deva-stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563EB, #00a884);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.deva-stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Featured Tags Bar */
.deva-tags-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    z-index: 100;
}

.deva-tags__wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.deva-tags__label {
    font-weight: 700;
    color: #0A1F44;
    font-size: 0.95rem;
    white-space: nowrap;
}

.deva-tags__list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.deva-tag-pill {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.deva-tag-pill:hover {
    border-color: #2563EB;
    color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,200,151,0.15);
}

/* Testimonials Section */
.deva-testimonials {
    padding: 50px 0;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

@media (min-width: 1024px) {
    .deva-testimonials {
        padding: 60px 0;
    }
}

.deva-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deva-testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
    position: relative;
}

.deva-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.deva-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: #2563EB;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.deva-testimonial__stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.deva-testimonial__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 25px;
    font-style: italic;
}

.deva-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deva-testimonial__avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2563EB, #00a884);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.deva-testimonial__author strong {
    display: block;
    color: #0A1F44;
    font-weight: 700;
}

.deva-testimonial__author span {
    font-size: 0.85rem;
    color: #64748b;
}

/* Trust Badges Section */
.deva-trust-badges {
    background: #0A1F44;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.deva-trust__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.deva-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.deva-trust__icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.deva-trust__text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Dark Mode Support for New Sections */
[data-theme="dark"] .deva-tags-bar {
    background: rgba(15, 23, 42, 0.95);
    border-color: #334155;
}

[data-theme="dark"] .deva-tags__label {
    color: #f1f5f9;
}

[data-theme="dark"] .deva-tag-pill {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .deva-testimonials {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

[data-theme="dark"] .deva-testimonial-card {
    background: #1e293b;
}

[data-theme="dark"] .deva-testimonial__text {
    color: #cbd5e1;
}

[data-theme="dark"] .deva-testimonial__author strong {
    color: #f1f5f9;
}

/* Responsive for New Sections */
@media (max-width: 1024px) {
    .deva-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deva-tags-bar {
        position: static;
    }
}

@media (max-width: 768px) {
    .deva-testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .deva-testimonial-card {
        padding: 25px;
    }
    
    .deva-trust__grid {
        gap: 20px;
    }
    
    .deva-trust__item {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .deva-tags__wrapper {
        gap: 15px;
    }
    
    .deva-tag-pill {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563EB;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,200,151,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #00a884;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===== MOBILE TOUCH & ACCESSIBILITY ===== */

/* Minimum touch target size for mobile (44px) */
@media (hover: none) and (pointer: coarse) {
    .deva-nav-menu a,
    .deva-card__img-link,
    .deva-tag-pill,
    .deva-btn,
    .deva-category-more,
    .deva-cat-quick__item {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Larger touch targets for mobile navigation */
    .deva-header__mobile-toggle {
        width: 44px;
        height: 44px;
    }
    
    /* Increase spacing for touch on mobile */
    .deva-post-grid {
        gap: 24px;
    }
    
    .deva-card__actions {
        gap: 12px;
    }
    
    .deva-card__actions .deva-btn {
        min-height: 44px;
        padding: 12px 20px;
    }
}

/* Remove hover effects on touch devices */
@media (hover: none) {
    .deva-card:hover,
    .deva-cat-card:hover,
    .deva-testimonial-card:hover {
        transform: none;
    }
    
    .deva-tag-pill:hover,
    .deva-cat-quick__item:hover {
        transform: none;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .deva-ticker__content {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .deva-card,
    .deva-widget,
    .deva-cat-card {
        border: 2px solid currentColor;
    }
}

/* Safe area support for notched phones */
@supports (padding-top: env(safe-area-inset-top)) {
    .deva-header {
        padding-top: max(12px, env(safe-area-inset-top));
    }
    
    .mobile-nav-wrap {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

/* Print styles */
@media print {
    .deva-header,
    .deva-ticker,
    .deva-content__sidebar,
    .deva-trust-badges,
    .back-to-top,
    .mobile-nav-wrap {
        display: none !important;
    }
    
    .deva-hero,
    .deva-content,
    .deva-stats,
    .deva-testimonials {
        padding: 20px 0;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        opacity: 0.7;
    }
}
