:root {
    --primary-color: #ff3366;
    --primary-gradient: linear-gradient(135deg, #ff3366, #ff6688);
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --border-light: #e2e8f0;
    --radius-premium: 16px;
    --radius-sm: 8px;
    --font-heading: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-main) !important;
}

.tefblog-main-container {
    padding: 40px 0 100px 0;
}

.tefblog-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.tefblog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tefblog-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.tefblog-breadcrumb a:hover {
    color: var(--primary-color);
}

.tefblog-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 32px;
    align-items: start;
}

.tefblog-sidebar-left {
    position: sticky;
    top: 100px;
}

.tefblog-article-content {
    background: #ffffff;
    border-radius: var(--radius-premium);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.tefblog-badge {
    display: inline-block;
    background-color: #ffe6ec;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tefblog-title {
    font-size: 2.2rem;
    line-height: 1.35;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 24px 0;
    letter-spacing: -0.5px;
}

.tefblog-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    margin-bottom: 40px;
}

.tefblog-meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tefblog-author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.tefblog-author-info h6 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 700;
}
.tefblog-author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tefblog-featured-media {
    margin: 0 -40px 40px -40px;
    position: relative;
    overflow: hidden;
}
.tefblog-featured-media img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.tefblog-rich-text {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.9;
}
.tefblog-rich-text p {
    margin-bottom: 28px;
}
.tefblog-rich-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 48px 0 20px 0;
    letter-spacing: -0.3px;
}

.tefblog-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tefblog-sidebar-widget {
    background: #ffffff;
    border-radius: var(--radius-premium);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.tefblog-widget-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--text-color);
    color: var(--text-color);
}

.tefblog-share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.tefblog-share-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-color);
    transition: all 0.2s;
}
.tefblog-share-card i { font-size: 1.1rem; }
.tefblog-share-card.fb i { color: #1877F2; }
.tefblog-share-card.line i { color: #06C755; }
.tefblog-share-card:hover {
    background-color: var(--bg-main);
    transform: translateY(-2px);
}

.tefblog-product-ad {
    text-align: center;
}
.tefblog-product-ad h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}
.tefblog-product-ad p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 20px 0;
}
.tefblog-ad-btn {
    display: block;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.tefblog-ad-btn:hover {
    opacity: 0.9;
}

.tefblog-related-section {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.tefblog-section-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tefblog-section-heading i {
    color: var(--primary-color);
}

.tefblog-related-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tefblog-related-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.tefblog-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.tefblog-related-thumb {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}
.tefblog-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tefblog-related-card:hover .tefblog-related-thumb img {
    transform: scale(1.05);
}

.tefblog-related-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tefblog-related-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.tefblog-related-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tefblog-related-footer {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 1199px) {
    .tefblog-layout-grid {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }
    .tefblog-sidebar-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .tefblog-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tefblog-sidebar-sticky {
        position: static;
    }
    .tefblog-article-content {
        padding: 30px 20px;
    }
    .tefblog-featured-media {
        margin: 0 -20px 30px -20px;
    }
    .tefblog-title {
        font-size: 1.75rem;
    }
}


/* =================================== */
/* BLOG LIST PAGE */

.tefblog-list-header {
    margin-bottom: 35px;
}

.tefblog-list-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.tefblog-list-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

.tefblog-category-widget {
    background: #ffffff;
    border-radius: var(--radius-premium);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.tefblog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tefblog-cat-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.tefblog-cat-list a i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.tefblog-cat-list a:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.tefblog-cat-list a:hover i {
    color: var(--primary-color);
}

.tefblog-cat-list a.active {
    background-color: #ffe6ec;
    color: var(--primary-color);
}

.tefblog-cat-list a.active i {
    color: var(--primary-color);
}

.tefblog-main-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tefblog-archive-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.tefblog-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.tefblog-archive-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.tefblog-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tefblog-archive-card:hover .tefblog-archive-thumb img {
    transform: scale(1.03);
}

.tefblog-archive-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    backdrop-filter: blur(4px);
}

.tefblog-archive-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tefblog-archive-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tefblog-archive-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.tefblog-archive-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.tefblog-archive-title a:hover {
    color: var(--primary-color);
}

.tefblog-archive-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tefblog-readmore-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: gap 0.2s ease;
}

.tefblog-readmore-link:hover {
    gap: 10px;
}

@media (max-width: 1280px) {
    .tefblog-main-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tefblog-list-header h2 {
        font-size: 1.6rem;
    }
    .tefblog-archive-body {
        padding: 20px;
    }
    .tefblog-archive-thumb {
        height: 190px;
    }
}