/**
 * Enggprep.in — AdSense & UX Optimization Stylesheet
 * Version: 1.1.0
 * Purpose: Professional typography, card elevation, responsive tables, AdSense-compliant ad containers, breadcrumb styling
 */

/* ==========================================================================
   1. Typography & Global Polish
   ========================================================================== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #24292e;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e2e8f0;
    color: #1a202c;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

/* ==========================================================================
   2. Post Card Modern Elevation (Archive & Homepage)
   ========================================================================== */
.generate-columns .inside-article,
.blog .inside-article,
.archive .inside-article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.generate-columns .inside-article:hover,
.blog .inside-article:hover,
.archive .inside-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.entry-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.entry-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.entry-title a:hover {
    color: #2563eb !important;
}

.read-more-container .read-more {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #2563eb;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.read-more-container .read-more:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   3. AdSense Compliant Slots (CLS Prevention & Policy Labels)
   ========================================================================== */
.adsense-unit-wrapper {
    margin: 28px 0;
    text-align: center;
    clear: both;
}

.adsense-unit-wrapper::before {
    content: "ADVERTISEMENT";
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.adsense-slot-leaderboard {
    min-height: 90px;
    max-width: 728px;
    margin: 0 auto;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-slot-incontent {
    min-height: 250px;
    max-width: 100%;
    margin: 24px auto;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-slot-sidebar {
    min-height: 250px;
    max-width: 300px;
    margin: 16px auto;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   4. High-Quality Responsive Tables (Recruitment & Notification Data)
   ========================================================================== */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.entry-content table thead th,
.entry-content table th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.entry-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 15px;
}

.entry-content table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.entry-content table tr:hover td {
    background-color: #f1f5f9;
}

/* ==========================================================================
   5. Rank Math Breadcrumbs Polish
   ========================================================================== */
.rank-math-breadcrumb {
    padding: 12px 0;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.rank-math-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.rank-math-breadcrumb a:hover {
    text-decoration: underline;
}

.rank-math-breadcrumb .separator {
    margin: 0 8px;
    color: #94a3b8;
}

/* ==========================================================================
   6. Key Notice & Highlight Boxes
   ========================================================================== */
.info-box, .notice-box {
    padding: 18px 22px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 15px;
}

.warning-box {
    padding: 18px 22px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    color: #92400e;
    font-size: 15px;
}

/* ==========================================================================
   7. Footer Modernization
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding-top: 32px;
    padding-bottom: 24px;
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-info {
    background: transparent !important;
}

.site-info .copyright-bar {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 13.5px;
    color: #94a3b8;
    text-align: center;
}

.site-info .copyright-bar strong {
    color: #f1f5f9;
}

.footer-bar .menu-footer-container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bar .menu-footer-container ul li a {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .generate-columns .inside-article,
    .blog .inside-article,
    .archive .inside-article {
        padding: 16px !important;
        border-radius: 8px;
    }
    .entry-title {
        font-size: 1.2rem !important;
    }
    .entry-content {
        font-size: 16px;
    }
}

/* ==========================================================================
   8. Related Posts Section (Single Post)
   ========================================================================== */
.enggprep-related-posts-section {
    margin: 36px 0 24px 0;
    padding-top: 28px;
    border-top: 2px solid #e2e8f0;
}

.related-posts-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.related-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.related-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
}

.related-cat-pill {
    background: #eff6ff;
    color: #1e40af;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11.5px;
}

.related-date {
    color: #94a3b8;
}

.related-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 14px 0;
    flex-grow: 1;
}

.related-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.related-card-title a:hover {
    color: #2563eb;
}

.related-read-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.related-read-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

