/* ===== MODERN DESKTOP CSS WITH PERFORMANCE OPTIMIZATIONS ===== */

/* CSS Custom Properties for consistent theming */
:root {
    --primary-color: #1c6ed1;
    --secondary-color: #135893;
    --success-color: #43a047;
    --warning-color: #ff6300;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #898989;
    --border-color: #ccc;
    --background-light: #f7f7f7;
    --background-card: #f8f9fc;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --border-radius-small: 4px;
    --transition: all 0.3s ease;
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Layout System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Search Components */
.dekstopsearch { display: none; }
.midsearch { display: block; }

.searchbx {
    border-radius: 25px;
    background: #fff;
    width: 100%;
    border: 2px solid var(--border-color);
    padding: 12px 16px 12px 20px;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.searchbx:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 110, 209, 0.1);
}

.home-search {
    width: 42%;
    position: relative;
}

.hsearch {
    border-radius: var(--border-radius);
    background: #fff;
    width: 100%;
    border: 2px solid var(--border-color);
    padding: 12px 50px 12px 16px;
    font-size: 16px;
    transition: var(--transition);
}

.hsearch:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 110, 209, 0.1);
}

.hsearchbt {
    border: none;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    background: transparent;
    padding: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.hsearchbt:hover {
    color: var(--primary-color);
}

/* Enhanced Typography */
.home-icon { width: 20px !important; height: auto; }
.heading2 { color: var(--primary-color); font-weight: 600; }
.hcategory { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }

/* Modern Card Components */
.showingbx {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--background-light);
    color: var(--text-muted);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-light);
}

.popularbx {
    border: 1px solid var(--border-color);
    background: #fff !important;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.popularbx:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

/* Enhanced List Components */
.list-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 16px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.list-detail:hover {
    box-shadow: var(--shadow-medium);
}

.list-detailtop { margin-top: 8px !important; }
.list-detail p { margin: 8px 0 0 0; }

.list-detaill {
    border: 1px solid var(--border-color);
    flex: 0 0 120px;
    margin: 0 20px 0 0;
    padding: 16px;
    border-radius: var(--border-radius);
    background: var(--background-card);
    box-shadow: var(--shadow-light);
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-detailr {
    flex: 1;
    padding: 0 16px;
    min-width: 0;
}

/* Enhanced Button System */
.btn, .listbt, .ftrbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    font-size: 14px;
}

.getpricing {
    background: var(--secondary-color) !important;
    color: white;
}

.getpricing:hover {
    background: #000 !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Status Indicators */
.tick {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

.greentick {
    background: var(--success-color);
    color: #fff;
    border-radius: 50%;
    padding: 4px 6px;
    font-size: 12px;
}

.fheading {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    padding: 8px 12px;
    font-weight: 600;
}

/* Enhanced Navigation */
.listmenunav {
    background: var(--background-light);
    box-shadow: var(--shadow-light);
    padding: 16px 0;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.listmenunav ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.listmenunav ul li {
    list-style: none;
    padding: 0 24px;
    border-right: 1px solid var(--border-color);
}

.listmenunav ul li:last-child {
    border-right: none;
}

.listmenunav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    display: block;
}

.listmenunav ul li a:hover,
.listmenunav ul li a:active {
    color: var(--primary-color);
}

/* Enhanced Sidebar Navigation */
.section-nav {
    padding-left: 0;
    border-left: 3px solid var(--primary-color);
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.section-nav a {
    text-decoration: none;
    font-size: 16px;
    padding: 12px 16px;
    color: var(--text-primary);
    transition: var(--transition);
    display: block;
    border-radius: var(--border-radius-small);
    margin: 4px 8px;
}

.section-nav li.active > a {
    color: var(--primary-color);
    background: rgba(28, 110, 209, 0.1);
    font-weight: 600;
}

.section-nav ul li a:hover,
.section-nav ul li a:focus {
    color: var(--primary-color);
    background: rgba(28, 110, 209, 0.05);
}

/* Enhanced Tables */
.listdetailtable {
    width: 100%;
    font-size: 14px;
    color: var(--text-secondary);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.listdetailtable tr td {
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    padding: 16px;
    vertical-align: top;
}

.listdetailtable tr:last-child td {
    border-bottom: none;
}

.listdetailtable tr td:last-child {
    border-right: none;
}

.hometable {
    font-weight: 600;
    width: 100%;
    border-collapse: collapse;
}

.hometable td {
    border: none !important;
    padding: 12px 0;
}

.hometable td a {
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.hometable td a:hover {
    color: var(--primary-color);
}

.hometable tr {
    border-bottom: 2px solid var(--primary-color);
}

.hometable tr:last-child {
    border-bottom: none;
}

/* Enhanced Content Areas */
.listdetailbx {
    border: 1px solid var(--border-color);
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: var(--shadow-light);
}

.listdetailbx p {
    text-align: justify;
    line-height: 1.7;
}

.alterbx {
    box-shadow: var(--shadow-medium);
    padding: 24px;
    border-radius: var(--border-radius);
    background: #fff;
    margin-bottom: 24px;
    transition: var(--transition);
}

.alterbx:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Pricing Components */
.listpricingbx {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding-bottom: 16px;
    background: #fff;
    box-shadow: var(--shadow-light);
}

.lprice-title {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 16px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.lpriceinn {
    font-size: 2rem;
    font-weight: 700;
    padding: 20px 8px;
    text-align: center;
    color: var(--primary-color);
}

/* Utility Classes */
.m-b-0 { margin-bottom: 0 !important; }
.m-t-0 { margin-top: 0 !important; }
.m-b-10 { margin-bottom: 16px; }
.m-t-20 { margin-top: 32px; }

.ratingreview {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.viewpr { color: var(--primary-color); }
.showmre { color: var(--primary-color); font-weight: 600; }
.wreview { color: var(--warning-color); }
.gtick { color: var(--success-color); }

/* Text Utilities */
.text {
    position: relative;
    color: var(--text-primary);
}

.text-concat {
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 4.8em;
    line-height: 1.2em;
    text-align: justify;
}

.text.ellipsis::after {
    content: " ...";
    position: absolute;
    right: -12px;
    bottom: 4px;
    background: #fff;
    padding-left: 4px;
}

/* Background Utilities */
.bglightgrey {
    background: var(--background-light);
    padding: 24px 0 48px 0;
    border-radius: var(--border-radius);
}

.btm-border {
    background: linear-gradient(90deg, var(--primary-color) 41%, var(--border-color) 41%);
    height: 2px;
    padding: 0;
    border-radius: 1px;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .dekstopsearch { display: block; }
    .midsearch { display: none; }
    
    .container {
        padding: 0 16px;
    }
    
    .list-detail {
        flex-direction: column;
        gap: 16px;
    }
    
    .list-detaill {
        flex: none;
        margin: 0 0 16px 0;
        max-width: 100%;
    }
    
    .list-detailr {
        padding: 0;
    }
    
    .listmenunav ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .listmenunav ul li {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0;
    }
    
    .listmenunav ul li:last-child {
        border-bottom: none;
    }
    
    .listmenunav ul li a {
        padding: 12px 16px;
    }
    
    .home-search {
        width: 100%;
    }
    
    .listdetailtable td {
        width: 100%;
        display: block;
        padding: 12px 16px !important;
        border-right: none !important;
    }
    
    .section-nav {
        margin-bottom: 24px;
    }
    
    .alterbx {
        padding: 16px;
    }
    
    .lpriceinn {
        font-size: 1.5rem;
        padding: 16px 8px;
    }
}

/* Performance Optimizations */
.list-detail,
.alterbx,
.popularbx {
    contain: layout style;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Management */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== NEW ENHANCED SECTIONS STYLING ===== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.hero-search-input:focus {
    outline: none;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.hero-search-btn {
    position: absolute;
    right: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Featured Sections */
.featured-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-image {
    position: relative;
    height: 180px;
    background: var(--background-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.gem-badge, .new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.new-badge {
    background: var(--warning-color);
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 16px;
}

.star.filled {
    color: #ffc107;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-height: 36px;
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--text-secondary);
    color: white;
    border-color: var(--text-secondary);
}

/* Article Section */
.article-section {
    background: var(--background-light);
    padding: 60px 0;
    margin: 60px 0;
    border-radius: var(--border-radius);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--background-card);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
}

.article-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-content {
    padding: 24px;
}

.article-title {
    margin-bottom: 1rem;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.article-author {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--secondary-color);
}

.article-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    min-height: 52px;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Enhanced Categories Section */
.categories-section {
    margin: 60px 0;
}

.categories-container {
    margin-top: 40px;
}

.category-group {
    margin-bottom: 50px;
}

.group-header {
    margin-bottom: 30px;
    text-align: center;
}

.group-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-section {
    margin-bottom: 40px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.category-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.category-card .card-title {
    margin-bottom: 1rem;
}

.category-card .card-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.category-card .card-title a:hover {
    color: var(--primary-color);
}

.category-card .card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.category-card .card-footer {
    margin-top: auto;
}

/* Page Header */
.page-header {
    text-align: center;
    margin: 40px 0 60px 0;
    padding: 40px 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-description-section {
    margin: 60px 0;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.pg_desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .featured-grid,
    .article-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .featured-section,
    .article-section {
        padding: 40px 0;
        margin: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-content,
    .article-content {
        padding: 16px;
    }
    
    .page-header {
        padding: 20px;
        margin: 20px 0 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
}

/* ===== TECH PAGE ENHANCED SECTIONS STYLING ===== */

/* Related Links Section */
.related-links-section {
    margin: 60px 0;
    padding: 40px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.related-link-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-color: #1c6ed1;
}

.related-link-card .card-icon {
    flex: 0 0 40px;
    height: 40px;
    background: #1c6ed1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 16px;
}

.related-link-card .card-content {
    flex: 1;
    min-width: 0;
}

.related-link-card .card-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.related-link-card .card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.related-link-card .card-title a:hover {
    color: #1c6ed1;
}

.related-link-card .card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.related-link-card .card-arrow {
    flex: 0 0 24px;
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
}

.related-link-card:hover .card-arrow {
    color: #1c6ed1;
    transform: translateX(4px);
}

.related-links-footer {
    text-align: center;
    margin-top: 40px;
}

/* Tech Page Blog Section */
.tech-page-blog-section {
    margin: 60px 0;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.tech-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tech-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.blog-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.tech-blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1c6ed1, #0056b3);
    color: white;
    font-size: 2.5rem;
}

.blog-card-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.blog-card-title a:hover {
    color: #1c6ed1;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.blog-card-author {
    color: #999;
    font-size: 0.85rem;
}

.blog-read-more {
    color: #1c6ed1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #0056b3;
}

.tech-blog-footer {
    text-align: center;
    margin-top: 40px;
}

/* Skip Link Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1c6ed1;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced Tech Page Layout */
.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.main-content {
    flex: 1;
    min-width: 0;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-content {
    flex: 0 0 320px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-content h1 {
    color: #1c6ed1;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
}

.short-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1c6ed1;
}

.page-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.page-description p {
    margin-bottom: 1.5rem;
}

.page-description h2,
.page-description h3,
.page-description h4 {
    color: #1c6ed1;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-description ul,
.page-description ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-description li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for Tech Pages */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar-content {
        flex: none;
        position: static;
        max-height: none;
        order: -1;
    }
    
    .main-content,
    .sidebar-content {
        padding: 20px;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
    
    .short-description {
        font-size: 1rem;
        padding: 16px;
    }
    
    .related-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-link-card {
        padding: 16px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-content,
    .sidebar-content {
        padding: 16px;
    }
    
    .related-link-card {
        padding: 12px;
    }
    
    .blog-card-content {
        padding: 16px;
    }
    
    .related-links-section,
    .tech-page-blog-section {
        margin: 40px 0;
        padding: 30px 0;
    }
}

/* Print Styles */
@media print {
    .searchbx,
    .hsearch,
    .hsearchbt,
    .listmenunav,
    .section-nav,
    .hero-section,
    .article-section,
    .related-links-section,
    .tech-page-blog-section {
        display: none;
    }
    
    .list-detail,
    .alterbx,
    .popularbx,
    .featured-card,
    .category-card,
    .related-link-card,
    .tech-blog-card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-content {
        position: static;
        max-height: none;
    }
}
