/*
Theme Name: Customer Job Protal
Theme URI: https://www.sarkarilok.in/
Author: Your Name
Author URI: https://www.sarkarilok.in/
Description: Custom theme for Online Job Portal with header links and footer quick links.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: customer-job-protal
*/

/* Basic resets */
body { margin:0; font-family: Arial, sans-serif; background:#f7f7f9; color:#222; }
a { color:#0a58ca; text-decoration:none; }
a:hover { text-decoration:underline; }

/* Top notification bar */
.top-notification-bar { background:#28a745; color:#fff; padding:8px 0; text-align:center; font-size:14px; }
.notification-content { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }
.notification-icon { font-size:16px; }
.notification-link { color:#fff; background:rgba(255,255,255,0.2); padding:4px 12px; border-radius:4px; font-weight:600; }
.notification-link:hover { background:rgba(255,255,255,0.3); text-decoration:none; }

header.site-header { background:#0d1b2a; color:#fff; padding:12px 24px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.site-branding { display:flex; align-items:center; gap:12px; }
.site-logo { font-size:20px; font-weight:700; background:#1b263b; padding:8px 14px; border-radius:6px; letter-spacing:.5px; display:flex; flex-direction:column; line-height:1.2; }
.logo-main { font-size:18px; font-weight:700; }
.logo-tagline { font-size:10px; opacity:0.8; font-weight:400; }
.primary-nav ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:18px; }
.primary-nav a { color:#e0e6ed; font-weight:600; font-size:14px; }
.primary-nav a:hover { color:#fff; }

footer.site-footer { background:#0d1b2a; color:#e0e6ed; padding:40px 24px 16px; margin-top:64px; }
.footer-widgets { display:grid; gap:32px; grid-template-columns:repeat(3,1fr); margin-bottom:32px; }
.footer-col h4 { margin:0 0 12px; font-size:15px; text-transform:uppercase; letter-spacing:.5px; color:#fff; }
.footer-col ul { list-style:none; margin:0; padding:0; }
.footer-col li { margin:6px 0; }
.footer-col a { color:#cbd5e1; font-size:14px; }
.footer-col a:hover { color:#fff; }
.social-links { display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.social-links a { background:#1b263b; color:#fff; padding:8px; border-radius:4px; font-size:16px; text-decoration:none; }
.social-links a:hover { background:#2563eb; }
.site-disclaimer { font-size:12px; line-height:1.5; border-top:1px solid #1b263b; padding-top:14px; margin-bottom:16px;text-align:center; }
.site-disclaimer p { margin:0 0 12px; }
.site-info { text-align:center; font-size:12px; color:#94a3b8; }
.site-info p { margin:4px 0; }

main.site-main { max-width:1200px; margin:0 auto; padding:0; }
.card { background:#fff; padding:24px; border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,.06); }

/* Landing Page Styles */
.landing-page { padding:0; margin:0; }

/* Hero Section */
.hero-section { background:linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color:#fff; padding:60px 24px; text-align:center; }
.hero-content h1 { font-size:48px; margin:0 0 16px; font-weight:700; text-shadow:2px 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size:20px; margin:0 0 40px; opacity:0.9; }
.hero-stats { display:flex; justify-content:center; gap:60px; flex-wrap:wrap; }
.stat-item { text-align:center; }
.stat-number { display:block; font-size:32px; font-weight:700; color:#ffd700; }
.stat-label { font-size:14px; text-transform:uppercase; letter-spacing:1px; opacity:0.8; }

/* Updates Ticker */
.updates-ticker { background:#dc3545; color:#fff; padding:12px 0; display:flex; align-items:center; }
.ticker-label { background:#b02a37; padding:8px 16px; font-weight:600; font-size:14px; white-space:nowrap; }
.ticker-content { flex:1; overflow:hidden; }
.ticker-content marquee { font-size:14px; }

/* Content Grids */
.main-content-grid, .secondary-content-grid, .tertiary-content-grid, .additional-content-grid {
    display:grid; grid-template-columns:1fr 1fr; gap:24px; padding:24px; max-width:1200px; margin:0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.connect-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.connect-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.connect-list .label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
}

/* Section Cards */
.section-card { background:#fff; border-radius:12px; box-shadow:0 4px 16px rgba(0,0,0,0.1); overflow:hidden; }
.section-header { background:#f8f9fa; padding:16px 20px; border-bottom:2px solid #e9ecef; display:flex; justify-content:space-between; align-items:center; }
.section-header h2 { margin:0; font-size:18px; color:#2c3e50; font-weight:600; }
.view-all { color:#007bff; font-weight:600; font-size:14px; text-decoration:none; }
.view-all:hover { text-decoration:underline; }

/* Job Lists */
.job-list, .call-list, .result-list, .apply-list, .gujarat-job-list, .yojana-list, .paper-list { padding:20px; }
.job-item, .call-item, .result-item, .apply-item, .gujarat-job-item, .yojana-item, .paper-item {
    display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px solid #f0f0f0;
}
.job-item:last-child, .call-item:last-child, .result-item:last-child, .apply-item:last-child, .gujarat-job-item:last-child, .yojana-item:last-child, .paper-item:last-child { border-bottom:none; }

.job-emoji, .call-emoji { font-size:24px; flex-shrink:0; }
.job-details, .call-details, .result-details, .apply-details, .gujarat-job-details, .yojana-details, .paper-details { flex:1; }
.job-details h3, .call-details h3, .result-details h3, .apply-details h3, .gujarat-job-details h3, .yojana-details h3, .paper-details h3 {
    margin:0 0 6px; font-size:14px; font-weight:600; color:#2c3e50; line-height:1.4;
}
.job-details p, .call-details p, .result-details p, .apply-details p, .gujarat-job-details p, .yojana-details p, .paper-details p {
    margin:0 0 4px; font-size:13px; color:#666; line-height:1.3;
}
.job-date, .call-date, .result-date, .apply-deadline, .gujarat-job-date, .yojana-date, .paper-year {
    font-size:11px; color:#999; font-style:italic;
}
.apply-deadline { color:#dc3545; font-weight:600; }


/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 { font-size:32px; }
    .hero-content p { font-size:16px; }
    .hero-stats { gap:30px; }
    .stat-number { font-size:24px; }
    
    .main-content-grid, .secondary-content-grid, .tertiary-content-grid, .additional-content-grid {
        grid-template-columns:1fr; padding:16px;
    }
    
    .updates-ticker { flex-direction:column; text-align:center; }
    
    .top-notification-bar { font-size:12px; padding:6px 0; }
    .notification-content { flex-direction:column; gap:8px; }
}

@media (max-width: 480px) {
    .hero-section { padding:40px 16px; }
    .hero-content h1 { font-size:28px; }
    .hero-stats { gap:20px; }
    .section-header { padding:12px 16px; }
    .section-header h2 { font-size:16px; }
    .job-list, .call-list, .result-list, .apply-list, .gujarat-job-list, .yojana-list, .paper-list { padding:16px; }
}

/* Additional styling for better marugujarat.in similarity */
.section-card:hover { box-shadow:0 6px 20px rgba(0,0,0,0.15); transition:box-shadow 0.3s ease; }

/* Highlight important jobs */
.job-item:first-child, .call-item:first-child, .result-item:first-child, .apply-item:first-child {
    background:#f8f9ff; border-left:4px solid #007bff;
}

/* Add notification badges */
.section-header h2:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Improve job item hover effects */
.job-item:hover, .call-item:hover, .result-item:hover, .apply-item:hover, .gujarat-job-item:hover, .yojana-item:hover, .paper-item:hover {
    background:#f8f9fa; cursor:pointer; transition:background 0.2s ease;
}

/* Add loading states */
.section-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.section-card.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .primary-nav ul { gap:10px; }
  header.site-header { flex-wrap:wrap; }
  .site-logo { font-size:16px; }
}

/* Responsive navigation */
.menu-toggle { display:none; background:transparent; border:0; color:#e0e6ed; font-size:20px; cursor:pointer; }
.menu-toggle:focus { outline:2px solid #fff; }
.nav-list { display:flex; gap:18px; align-items:center; margin:0; padding:0; }
.nav-list li { list-style:none; }

@media (max-width: 880px) {
  .menu-toggle { display:inline-flex; align-items:center; gap:8px; }
  .primary-nav { width:100%; }
    /* Use max-height to hide/show so display changes don't conflict with inline styles */
    .nav-list { display:flex; flex-direction:column; gap:8px; padding:12px 0; max-height:0; overflow:hidden; transition: max-height 260ms ease-in-out, opacity 200ms ease-in-out; opacity:0; }
    .nav-list.open { max-height:1000px; opacity:1; }
  header.site-header { padding:12px 16px; }
}

/* Footer responsiveness */
.footer-widgets { grid-template-columns:repeat(3,1fr); }
@media (max-width: 1200px) {
  .footer-widgets { grid-template-columns:repeat(3,1fr);justify-content: space-around;grid-gap:0px; }
}
@media (max-width: 880px) {
  .footer-widgets { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 520px) {
  .footer-widgets { grid-template-columns:1fr; }
  .footer-col { margin-bottom:24px; }
}

/* small utility */
.screen-reader-text { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Landing Page Styles */
.landing-page { margin: 0; padding: 0; }

/* Hero Section */
.hero-section { background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%); color: #fff; padding: 60px 20px; text-align: center; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 16px; font-weight: 700; }
.hero-content p { font-size: 1.2rem; margin-bottom: 32px; opacity: 0.9; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; }
.stat-label { display: block; font-size: 0.9rem; opacity: 0.8; }

/* Updates Ticker */
.updates-ticker { background: #ff5722; color: #fff; padding: 12px 0; display: flex; align-items: center; }
.ticker-label { background: #d84315; padding: 8px 16px; font-weight: 600; white-space: nowrap; }
.ticker-content { flex: 1; overflow: hidden; }

/* Content Grids */
.main-content-grid, .secondary-content-grid, .tertiary-content-grid, .additional-content-grid {
    display: grid; gap: 24px; padding: 32px 20px; max-width: 1200px; margin: 0 auto;
}
.main-content-grid { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); }
.secondary-content-grid, .tertiary-content-grid, .additional-content-grid { 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
}

/* Section Cards */
.section-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.1); overflow: hidden; }
.section-header { background: #f8f9fa; padding: 16px 20px; border-bottom: 1px solid #e9ecef; display: flex; justify-content: space-between; align-items: center; }
.section-header h2 { margin: 0; font-size: 1.3rem; color: #2c3e50; }
.view-all { color: #1976d2; font-weight: 600; text-decoration: none; }
.view-all:hover { text-decoration: underline; }

/* Post Items */
.post-list { padding: 20px; }
.post-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.post-item:last-child { border-bottom: none; }
.post-emoji { font-size: 1.5rem; flex-shrink: 0; }
.post-details h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.3; }
.post-details h3 a { color: #2c3e50; text-decoration: none; }
.post-details h3 a:hover { color: #1976d2; }
.post-details p { margin: 0 0 8px; font-size: 0.9rem; color: #666; line-height: 1.4; }
.post-date { font-size: 0.8rem; color: #999; }

/* Featured Posts */
.featured-post { background: #fff3e0; border-left: 4px solid #ff9800; padding-left: 16px; }

/* Data Tables */
.table-container { padding: 0; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #e0e0e0; }
.data-table th { background-color: #f5f7fa; color: #333; font-weight: 600; position: sticky; top: 0; }
.data-table tbody tr:hover { background-color: #f9f9f9; }
.data-table a { color: #0a58ca; text-decoration: none; font-weight: 500; }
.data-table a:hover { text-decoration: underline; }

/* Status Badge */
.status-badge { display: inline-block; padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-expired { background-color: #ffebee; color: #d32f2f; }
.status-urgent { background-color: #fff3e0; color: #e65100; }
.status-upcoming { background-color: #e8f5e9; color: #2e7d32; }

/* Action Buttons */
.action-button {color: #fff!important; display: inline-block; padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.2s; }
.download-button { background-color: #1976d2; color: white; }
.download-button:hover { background-color: #1565c0; color: white; text-decoration: none; }
.key-button { background-color: #ff9800; color: white; }
.key-button:hover { background-color: #f57c00; color: white; text-decoration: none; }
.final-key { background-color: #4caf50; }
.final-key:hover { background-color: #388e3c; }

/* Archive Page Styles */
.archive-page { margin-bottom: 40px; }
.archive-header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #fff; padding: 40px 24px; margin-bottom: 30px; }
.archive-title { margin: 0; font-size: 32px; font-weight: 700; text-align: center; }
.archive-description { text-align: center; margin-top: 10px; }
.archive-content { padding: 20px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }

/* Archive Post List */
.archive-posts { display: flex; flex-direction: column; gap: 24px; }
.archive-post { padding: 24px; border-bottom: 1px solid #e0e6ed; }
.archive-post:last-child { border-bottom: none; }
.archive-post-title { margin: 0 0 12px; font-size: 20px; }
.archive-post-meta { font-size: 14px; color: #6c757d; margin-bottom: 12px;padding: 5px 5px;background: #eaebeb;border-radius: 5px }
.archive-post-excerpt { font-size: 15px; line-height: 1.6; color: #4b5563; margin-bottom: 16px; }
.read-more { font-weight: 600; color: #0a58ca; font-size: 14px; }

/* Pagination */
.pagination { display: flex; justify-content: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e6ed; }
.pagination a, .pagination span { display: inline-block; padding: 8px 16px; margin: 0 4px; border-radius: 4px; color: #0a58ca; background: #f0f2f5; text-decoration: none; font-size: 14px; }
.pagination a:hover { background: #e0e6ed; }
.pagination .current { background: #0a58ca; color: #fff; }
.pagination .dots { background: transparent; }
.pagination .prev, .pagination .next { font-weight: 600; }

/* Content Template Styles */
.content-post-item { 
    background: #fff; 
    border-radius: 10px; 
    box-shadow: 0 2px 12px rgba(0,0,0,0.1); 
    overflow: hidden; 
    margin-bottom: 30px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.content-post-item:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); 
}

/* Post Thumbnail */
.post-thumbnail { 
    position: relative; 
    overflow: hidden; 
}

.content-featured-image { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.post-thumbnail:hover .content-featured-image { 
    transform: scale(1.05); 
}

/* Content Post Header */
.content-post-header { 
    padding: 20px; 
    border-bottom: 1px solid #f0f0f0; 
}

.content-post-meta { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 15px; 
    font-size: 13px; 
    flex-wrap: wrap; 
}

.content-post-meta > span { 
    background: #f8f9fa; 
    padding: 5px 12px; 
    border-radius: 15px; 
    color: #495057; 
    font-weight: 500; 
}

.content-post-meta a { 
    color: #495057; 
    text-decoration: none; 
}

.content-post-meta a:hover { 
    color: #007bff; 
}

.content-post-title { 
    font-size: 1.4rem; 
    margin: 0; 
    line-height: 1.3; 
    font-weight: 600; 
}

.content-post-title a { 
    color: #2c3e50; 
    text-decoration: none; 
}

.content-post-title a:hover { 
    color: #007bff; 
}

/* Content Options */
.content-post-options { 
    display: flex; 
    gap: 8px; 
    margin-top: 15px; 
    flex-wrap: wrap; 
}

.content-option-badge { 
    padding: 6px 12px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 600; 
    color: #fff; 
    background: #6c757d; 
}

.content-option-badge.featured { background: #ffc107; color: #000; }
.content-option-badge.latest { background: #007bff; }
.content-option-badge.call-letter { background: #28a745; }
.content-option-badge.admit-card { background: #17a2b8; }
.content-option-badge.result { background: #dc3545; }
.content-option-badge.apply-online { background: #6f42c1; }
.content-option-badge.gujarat-job { background: #fd7e14; }
.content-option-badge.gujarati-yojana { background: #20c997; }
.content-option-badge.question-paper { background: #e83e8c; }

/* Content Body */
.content-post-body { 
    padding: 20px; 
}

.single-featured-image { 
    margin-bottom: 30px; 
    text-align: center; 
}

.single-post-image { 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); 
}

.content-excerpt { 
    font-size: 15px; 
    line-height: 1.6; 
    color: #555; 
}

/* Content Page Links */
.content-page-links { 
    display: flex; 
    gap: 8px; 
    margin-top: 20px; 
    padding-top: 15px; 
    border-top: 1px solid #f0f0f0; 
}

.content-page-number { 
    background: #007bff; 
    color: #fff; 
    padding: 6px 12px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-size: 14px; 
}

.content-page-number:hover { 
    background: #0056b3; 
}

/* Content Post Footer */
.content-post-footer { 
    background: #f8f9fa; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid #e9ecef; 
}

.content-meta-info { 
    display: flex; 
    gap: 15px; 
    font-size: 13px; 
    color: #6c757d; 
}

.content-read-more { 
    background: #007bff; 
    color: #fff; 
    padding: 8px 16px; 
    border-radius: 20px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 14px; 
    transition: background 0.3s ease; 
}

.content-read-more:hover { 
    background: #0056b3; 
    text-decoration: none; 
    color: #fff; 
}

/* Responsive Content Template */
@media (max-width: 768px) {
    .content-post-header { padding: 15px; }
    
    .content-post-body { padding: 15px; }
    
    .content-post-title { font-size: 1.2rem; }
    
    .content-post-meta { gap: 10px; }
    
    .content-post-footer { 
        flex-direction: column; 
        gap: 15px; 
        align-items: flex-start; 
    }
    
    .content-meta-info { justify-content: space-between; width: 100%; }
}

@media (max-width: 480px) {
    .content-post-meta { flex-direction: column; gap: 8px; }
    
    .content-post-options { gap: 6px; }
    
    .content-featured-image { height: 150px; }
}

/* Blog Listing Styles */
.blog-listing-page { max-width: 800px; margin: 0 auto; padding: 20px; }

.posts-container { background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); overflow: hidden; }

.blog-post-item { 
    padding: 30px; 
    border-bottom: 1px solid #e9ecef; 
}

.blog-post-item:last-child { border-bottom: none; }

.post-item-header .post-meta { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 15px; 
    font-size: 13px; 
    flex-wrap: wrap; 
}

.post-item-header .post-meta span { 
    background: #f8f9fa; 
    padding: 5px 12px; 
    border-radius: 15px; 
    color: #495057; 
    font-weight: 500; 
}

.post-item-header .post-meta a { 
    color: #495057; 
    text-decoration: none; 
}

.post-item-header .post-meta a:hover { 
    color: #007bff; 
}

.entry-title { 
    font-size: 1.6rem; 
    margin: 0 0 20px; 
    line-height: 1.3; 
}

.entry-title a { 
    color: #2c3e50; 
    text-decoration: none; 
    font-weight: 600; 
}

.entry-title a:hover { 
    color: #007bff; 
}

.entry-content { 
    font-size: 15px; 
    line-height: 1.6; 
    color: #555; 
    margin-bottom: 20px; 
}

.post-item-footer { 
    display: flex; 
    justify-content: flex-end; 
}

.read-more-link { 
    background: #007bff; 
    color: #fff; 
    padding: 8px 20px; 
    border-radius: 20px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 14px; 
    transition: background 0.3s ease; 
}

.read-more-link:hover { 
    background: #0056b3; 
    text-decoration: none; 
    color: #fff; 
}

.post-separator { 
    border: none; 
    height: 1px; 
    background: #e9ecef; 
    margin: 0; 
}

/* Pagination Styles */
.posts-pagination { 
    text-align: center; 
    margin-top: 30px; 
    padding: 20px; 
}

.posts-pagination .page-numbers,
.posts-pagination ul { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    flex-wrap: wrap; 
}

.posts-pagination .page-numbers li,
.posts-pagination .page-numbers { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 10px 15px; 
    margin: 0; 
    background: #f8f9fa; 
    color: #495057; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    min-width: 40px; 
    height: 40px; 
    border: 1px solid #dee2e6; 
}

.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current,
.posts-pagination .page-numbers li:hover a,
.posts-pagination .page-numbers li.current a { 
    background: #007bff; 
    color: #fff; 
    text-decoration: none; 
    border-color: #007bff; 
    transform: translateY(-1px); 
    box-shadow: 0 2px 4px rgba(0,123,255,0.2); 
}

.posts-pagination .page-numbers.dots,
.posts-pagination .page-numbers li.dots { 
    background: transparent; 
    color: #6c757d; 
    border: none; 
    cursor: default; 
}

.posts-pagination .page-numbers.prev,
.posts-pagination .page-numbers.next,
.posts-pagination .page-numbers li.prev a,
.posts-pagination .page-numbers li.next a { 
    font-weight: 600; 
    padding: 10px 20px; 
}

.posts-pagination .page-numbers li a { 
    color: inherit; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    height: 100%; 
}

/* Search Results Page Styles */
.search-results-page { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
}

.search-results-header { 
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
    border-radius: 12px; 
    padding: 30px; 
    margin-bottom: 30px; 
    text-align: center; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

.search-results-title { 
    font-size: 1.8rem; 
    color: #2c3e50; 
    margin: 0 0 10px; 
    font-weight: 600; 
}

.search-results-count { 
    color: #6c757d; 
    font-size: 14px; 
    margin: 0 0 20px; 
}

.search-again h3 { 
    font-size: 1.1rem; 
    color: #495057; 
    margin: 20px 0 15px; 
}

.search-results-content { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    overflow: hidden; 
}

.search-posts-container { 
    padding: 0; 
}

.search-pagination { 
    padding: 20px; 
    border-top: 1px solid #e9ecef; 
    text-align: center; 
}

.search-pagination ul { 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    flex-wrap: wrap; 
}

.search-pagination li { 
    margin: 0; 
}

.search-pagination a,
.search-pagination span { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 8px 12px; 
    background: #f8f9fa; 
    color: #495057; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    min-width: 36px; 
    height: 36px; 
}

.search-pagination a:hover,
.search-pagination .current { 
    background: #007bff; 
    color: #fff; 
    text-decoration: none; 
}

/* No Search Results */
.no-search-results { 
    padding: 50px 30px; 
    text-align: center; 
}

.no-results-icon { 
    font-size: 4rem; 
    margin-bottom: 20px; 
    opacity: 0.5; 
}

.no-search-results h2 { 
    font-size: 1.5rem; 
    color: #2c3e50; 
    margin: 0 0 15px; 
}

.no-search-results p { 
    color: #6c757d; 
    font-size: 16px; 
    margin: 0 0 30px; 
    line-height: 1.6; 
}

.search-suggestions { 
    background: #f8f9fa; 
    border-radius: 8px; 
    padding: 25px; 
    margin: 30px 0; 
    text-align: left; 
    max-width: 400px; 
    margin-left: auto; 
    margin-right: auto; 
}

.search-suggestions h3 { 
    font-size: 1.1rem; 
    color: #495057; 
    margin: 0 0 15px; 
    text-align: center; 
}

.search-suggestions ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.search-suggestions li { 
    padding: 8px 0; 
    color: #495057; 
    position: relative; 
    padding-left: 20px; 
}

.search-suggestions li:before { 
    content: '✓'; 
    position: absolute; 
    left: 0; 
    color: #28a745; 
    font-weight: bold; 
}

.popular-posts { 
    background: #fff; 
    border: 1px solid #dee2e6; 
    border-radius: 8px; 
    padding: 25px; 
    text-align: left; 
    max-width: 400px; 
    margin: 30px auto 0; 
}

.popular-posts h3 { 
    font-size: 1.1rem; 
    color: #495057; 
    margin: 0 0 15px; 
    text-align: center; 
}

.popular-posts-list { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.popular-posts-list li { 
    padding: 8px 0; 
    border-bottom: 1px solid #f0f0f0; 
}

.popular-posts-list li:last-child { 
    border-bottom: none; 
}

.popular-posts-list a { 
    color: #495057; 
    text-decoration: none; 
    font-size: 14px; 
    line-height: 1.4; 
}

.popular-posts-list a:hover { 
    color: #007bff; 
    text-decoration: underline; 
}

/* Responsive Search Results */
@media (max-width: 768px) {
    .search-results-page { padding: 10px; }
    
    .search-results-header { padding: 20px; }
    
    .search-results-title { font-size: 1.5rem; }
    
    .no-search-results { padding: 30px 20px; }
    
    .search-suggestions, .popular-posts { margin-left: 0; margin-right: 0; }
}

@media (max-width: 480px) {
    .search-results-title { font-size: 1.3rem; }
    
    .no-results-icon { font-size: 3rem; }
    
    .search-pagination ul { gap: 4px; }
    
    .search-pagination a, .search-pagination span { padding: 6px 10px; font-size: 14px; }
}

/* Search Form Styles */
.search-form { 
    max-width: 400px; 
    margin: 20px auto; 
}

.search-form-wrapper { 
    display: flex; 
    background: #fff; 
    border: 2px solid #dee2e6; 
    border-radius: 25px; 
    overflow: hidden; 
    transition: border-color 0.3s ease; 
}

.search-form-wrapper:focus-within { 
    border-color: #007bff; 
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1); 
}

.search-field { 
    flex: 1; 
    padding: 12px 20px; 
    border: none; 
    background: transparent; 
    font-size: 14px; 
    color: #495057; 
}

.search-field:focus { 
    outline: none; 
}

.search-field::placeholder { 
    color: #6c757d; 
}

.search-submit { 
    background: #007bff; 
    color: #fff; 
    border: none; 
    padding: 12px 20px; 
    cursor: pointer; 
    transition: background 0.3s ease; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

/* Advanced search toggle */
.toggle-advanced { background:#f1f3f5; border:0; padding:0 14px; cursor:pointer; font-size:14px; display:flex; align-items:center; }
.toggle-advanced:hover { background:#e9ecef; }

/* Advanced panel */
.advanced-filters { background:#fff; border:1px solid #dee2e6; border-radius:12px; padding:16px 18px 6px; margin-top:12px; box-shadow:0 2px 8px rgba(0,0,0,0.05); }
.filters-grid { display:grid; gap:14px 20px; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }
.filter-group { display:flex; flex-direction:column; gap:6px; }
.filter-group label { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; color:#495057; }
.filter-group input, .filter-group select { padding:8px 10px; border:1px solid #ced4da; border-radius:6px; font-size:13px; background:#f8f9fa; }
.filter-group input:focus, .filter-group select:focus { outline:0; border-color:#007bff; background:#fff; box-shadow:0 0 0 2px rgba(0,123,255,0.15); }

/* Live search results */
.live-search-results { position:relative; background:#fff; border:1px solid #dee2e6; border-radius:12px; margin-top:10px; padding:4px; box-shadow:0 8px 28px rgba(0,0,0,0.08); max-width:640px; width:100%; font-size:14px; }
.live-result-item { display:flex; justify-content:space-between; align-items:center; padding:8px 12px; border-radius:8px; text-decoration:none; color:#212529; background:#fff; transition:background .18s ease; }
.live-result-item:hover, .live-result-item:focus { background:#f1f5f9; outline:none; }
.live-result-item .title { font-weight:600; line-height:1.2; }
.live-result-item .date { font-size:11px; font-weight:500; color:#6c757d; margin-left:12px; }
.live-result-item.no-results { justify-content:center; font-style:italic; color:#6c757d; }

@media (max-width:600px){
    .filters-grid { grid-template-columns:1fr 1fr; }
    .live-search-results { font-size:13px; }
}

/* Mobile-friendly search tweaks */
@media (max-width:480px){
    .search-form { max-width: 100%; margin: 12px; }
    .search-field { padding:14px 12px; font-size:16px; }
    .search-submit { padding:12px 14px; }
    .toggle-advanced { padding:10px; }
    .advanced-filters { padding:12px; }
    .filters-grid { grid-template-columns:1fr; }
    .live-search-results { left: 12px !important; right: 12px !important; width: calc(100% - 24px) !important; border-radius:10px; }
    .live-result-item { padding:12px; font-size:15px; }
}

/* ensure live results overlay doesn't cover sticky header on small screens */
@media (max-width:880px){
    .live-search-results { z-index: 1100; }
}

.search-submit:hover { 
    background: #0056b3; 
}

.search-icon { 
    font-size: 14px; 
}

/* No Posts Found */
.no-posts-found { 
    text-align: center; 
    background: #fff; 
    padding: 60px 40px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
}

.no-posts-found h1 { 
    font-size: 2rem; 
    color: #6c757d; 
    margin-bottom: 20px; 
}

.no-posts-found p { 
    font-size: 16px; 
    color: #666; 
    margin-bottom: 30px; 
}

/* Responsive Blog Listing */
@media (max-width: 768px) {
    .blog-listing-page { padding: 10px; }
    
    .blog-post-item { padding: 20px; }
    
    .entry-title { font-size: 1.4rem; }
    
    .post-item-header .post-meta { gap: 10px; }
    
    .posts-pagination .page-numbers { padding: 8px 12px; margin: 0 3px; }
}

@media (max-width: 480px) {
    .entry-title { font-size: 1.2rem; }
    
    .post-item-header .post-meta { flex-direction: column; gap: 8px; }
}

/* Enhanced Post Footer */
.enhanced-post-footer { 
    background: #f8f9fa; 
    border-radius: 12px; 
    padding: 30px; 
    margin: 40px 0; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

.post-tags-section { 
    margin-bottom: 25px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid #dee2e6; 
}

.tags-label { 
    font-weight: 600; 
    color: #495057; 
    display: block; 
    margin-bottom: 10px; 
}

.tag-link { 
    background: #e9ecef; 
    color: #495057; 
    padding: 6px 14px; 
    border-radius: 18px; 
    text-decoration: none; 
    font-size: 13px; 
    margin-right: 10px; 
    margin-bottom: 8px; 
    display: inline-block; 
    transition: all 0.3s ease; 
}

.tag-link:hover { 
    background: #007bff; 
    color: #fff; 
    text-decoration: none; 
    transform: translateY(-1px); 
}

/* Social Share Section */
.social-share-section .share-label { 
    font-weight: 600; 
    color: #495057; 
    margin-bottom: 15px; 
    display: block; 
}

.share-buttons { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
}

.share-button { 
    background: #6c757d; 
    color: #fff; 
    padding: 12px; 
    border-radius: 50%; 
    text-decoration: none; 
    font-size: 18px; 
    width: 48px; 
    height: 48px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
}

.share-button:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    text-decoration: none; 
}

.share-button.facebook { background: #1877f2; }
.share-button.facebook:hover { background: #166fe5; }
.share-button.twitter { background: #000; }
.share-button.twitter:hover { background: #0d8bd9; }
.share-button.whatsapp { background: #25d36661; }
.share-button.whatsapp:hover { background: #1ebe57; }
.share-button.telegram { background: #0088cc4f; }
.share-button.telegram:hover { background: #0074b3; }
.share-button.email { background: #ea43355c; }
.share-button.email:hover { background: #d33b2c; }

/* Enhanced Related Posts */
.related-posts-section { 
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
    border-radius: 12px; 
    padding: 35px; 
    margin: 40px 0; 
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); 
}

.related-title { 
    font-size: 1.6rem; 
    color: #2c3e50; 
    margin: 0 0 30px; 
    font-weight: 600; 
    text-align: center; 
    position: relative; 
}

.related-title:after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px; 
    background: linear-gradient(135deg, #007bff, #28a745); 
    margin: 10px auto 0; 
    border-radius: 2px; 
}

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

.related-post-item { 
    background: #fff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 3px 12px rgba(0,0,0,0.1); 
    transition: all 0.3s ease; 
}

.related-post-item:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 6px 25px rgba(0,0,0,0.15); 
}

.related-post-thumbnail { 
    position: relative; 
    overflow: hidden; 
}

.related-post-image { 
    width: 100%; 
    height: 160px; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.related-post-thumbnail:hover .related-post-image { 
    transform: scale(1.1); 
}

.related-post-content { 
    padding: 20px; 
}

.related-post-item h4 { 
    margin: 0 0 12px; 
    font-size: 16px; 
    line-height: 1.4; 
    font-weight: 600; 
}

.related-post-item h4 a { 
    color: #2c3e50; 
    text-decoration: none; 
}

.related-post-item h4 a:hover { 
    color: #007bff; 
}

.related-excerpt { 
    font-size: 14px; 
    color: #666; 
    margin: 0 0 15px; 
    line-height: 1.5; 
}

.related-date { 
    font-size: 12px; 
    color: #999; 
    font-style: italic; 
    font-weight: 500; 
}

.no-related-posts { 
    text-align: center; 
    color: #6c757d; 
    font-style: italic; 
    grid-column: 1 / -1; 
}

.no-related-posts a { 
    color: #007bff; 
    text-decoration: none; 
    font-weight: 600; 
}

.no-related-posts a:hover { 
    text-decoration: underline; 
}

/* Comments Section */
.comments-section { 
    background: #fff; 
    border-radius: 12px; 
    padding: 30px; 
    margin: 40px 0; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .enhanced-post-footer { padding: 20px; }
    
    .share-buttons { justify-content: center; }
    
    .related-posts-section { padding: 25px; }
    
    .related-posts-grid { grid-template-columns: 1fr; }
    
    .share-button { width: 44px; height: 44px; font-size: 16px; }
}

@media (max-width: 480px) {
    .post-tags-section { margin-bottom: 20px; }
    
    .tag-link { margin-right: 6px; margin-bottom: 6px; padding: 4px 10px; }
    
    .related-title { font-size: 1.4rem; }
    
    .share-button { width: 40px; height: 40px; font-size: 14px; }
}

/* Single Post Page Styles */
.single-post-page { max-width: 800px; margin: 0 auto; padding: 20px; }

.single-post-article { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
    overflow: hidden; 
    margin-bottom: 40px; 
}

/* Post Header */
.single-post-header { 
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
    padding: 30px; 
    border-bottom: 3px solid #dee2e6; 
}

.post-meta-info { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
    font-size: 14px; 
}

.post-meta-info > span { 
    background: #fff; 
    padding: 6px 12px; 
    border-radius: 20px; 
    color: #495057; 
    font-weight: 500; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.post-meta-info a { color: #495057; text-decoration: none; }
.post-meta-info a:hover { color: #007bff; }

.single-post-title { 
    font-size: 2.2rem; 
    color: #2c3e50; 
    margin: 0 0 20px; 
    line-height: 1.3; 
    font-weight: 700; 
}

/* Post Extra Options */
.post-extra-options { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
    margin-top: 20px; 
}

.post-option-badge { 
    padding: 8px 16px; 
    border-radius: 25px; 
    font-size: 13px; 
    font-weight: 600; 
    color: #fff; 
    background: #6c757d; 
}

.post-option-badge.featured { background: #ffc107; color: #000; }
.post-option-badge.latest { background: #007bff; }
.post-option-badge.call-letter { background: #28a745; }
.post-option-badge.admit-card { background: #17a2b8; }
.post-option-badge.result { background: #dc3545; }
.post-option-badge.apply-online { background: #6f42c1; }
.post-option-badge.gujarat-job { background: #fd7e14; }
.post-option-badge.gujarati-yojana { background: #20c997; }
.post-option-badge.question-paper { background: #e83e8c; }

.job-label { 
    background: #fff3cd; 
    color: #856404; 
    padding: 6px 12px; 
    border-radius: 4px; 
    font-weight: 600; 
    border-left: 4px solid #ffc107; 
}

.start-date { color: #28a745; border-left: 3px solid #28a745; }
.end-date { color: #dc3545; border-left: 3px solid #dc3545; }

.days-left { 
    font-weight: 700; 
    padding: 8px 16px !important; 
    border-radius: 20px !important; 
}
.days-left.normal { background: #d4edda; color: #155724; }
.days-left.urgent { background: #f8d7da; color: #721c24; }
.days-left.expired { background: #f5c6cb; color: #721c24; }

/* Post Content */
.single-post-content { 
    padding: 40px; 
    line-height: 1.8; 
    font-size: 16px; 
    color: #333; 
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 { 
    color: #2c3e50; 
    margin: 30px 0 15px; 
    font-weight: 600; 
}

.single-post-content h2 { font-size: 1.5rem; border-bottom: 2px solid #e9ecef; padding-bottom: 10px; }
.single-post-content h3 { font-size: 1.3rem; }
.single-post-content h4 { font-size: 1.1rem; }

.single-post-content p { margin: 0 0 20px; }

.single-post-content ul,
.single-post-content ol { 
    margin: 0 0 20px 20px; 
    padding-left: 20px; 
}

.single-post-content li { margin: 8px 0; }

.single-post-content blockquote { 
    background: #f8f9fa; 
    border-left: 4px solid #007bff; 
    margin: 20px 0; 
    padding: 20px; 
    font-style: italic; 
}

.single-post-content img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    margin: 20px 0; 
}

.single-post-content table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 20px 0; 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

.single-post-content table th,
.single-post-content table td { 
    padding: 12px; 
    border: 1px solid #dee2e6; 
    text-align: left; 
}

.single-post-content table th { 
    background: #f8f9fa; 
    font-weight: 600; 
}

/* Page Links */
.page-links { 
    display: flex; 
    gap: 10px; 
    margin-top: 30px; 
    padding-top: 20px; 
    border-top: 1px solid #dee2e6; 
}

.page-number { 
    background: #007bff; 
    color: #fff; 
    padding: 8px 12px; 
    border-radius: 4px; 
    text-decoration: none; 
}

.page-number:hover { background: #0056b3; }

/* Post Footer */
.single-post-footer { 
    background: #f8f9fa; 
    padding: 30px; 
    border-top: 1px solid #dee2e6; 
}

.post-tags { 
    margin-bottom: 30px; 
}

.tags-label { 
    font-weight: 600; 
    color: #495057; 
}

.tag-link { 
    background: #e9ecef; 
    color: #495057; 
    padding: 4px 12px; 
    border-radius: 15px; 
    text-decoration: none; 
    font-size: 13px; 
    margin-right: 8px; 
    display: inline-block; 
    margin-bottom: 5px; 
}

.tag-link:hover { 
    background: #007bff; 
    color: #fff; 
    text-decoration: none; 
}

/* Social Share */
.social-share { 
    border-top: 1px solid #dee2e6; 
    padding-top: 20px; 
}

.share-label { 
    font-weight: 600; 
    color: #495057; 
    margin-bottom: 15px; 
    display: block; 
}

.share-buttons { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
}

.share-button { 
    background: #6c757d; 
    color: #fff; 
    padding: 10px; 
    border-radius: 50%; 
    text-decoration: none; 
    font-size: 18px; 
    width: 45px; 
    height: 45px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
}

.share-button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    text-decoration: none; 
}

.share-button.facebook { background: #1877f2; }
.share-button.twitter { background: #000; }
.share-button.whatsapp { background: #25d36661; }
.share-button.telegram { background: #0088cc4f; }
.share-button.email { background: #ea43355c; }

/* Post Navigation */
.post-navigation { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin: 40px 0; 
}

.nav-link { 
    background: #fff; 
    border: 1px solid #dee2e6; 
    border-radius: 8px; 
    padding: 20px; 
    text-decoration: none; 
    color: #495057; 
    transition: all 0.3s ease; 
    display: block; 
}

.nav-link:hover { 
    border-color: #007bff; 
    box-shadow: 0 4px 12px rgba(0,123,255,0.1); 
    text-decoration: none; 
    color: #007bff; 
}

.nav-direction { 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    display: block; 
    margin-bottom: 8px; 
    opacity: 0.7; 
}

.nav-title { 
    font-size: 15px; 
    font-weight: 500; 
    line-height: 1.4; 
    display: block; 
}

.nav-next { text-align: right; }

/* Related Posts */
.related-posts { 
    background: #f8f9fa; 
    border-radius: 12px; 
    padding: 30px; 
    margin-top: 40px; 
}

.related-title { 
    font-size: 1.5rem; 
    color: #2c3e50; 
    margin: 0 0 25px; 
    font-weight: 600; 
    text-align: center; 
}

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

.related-post-item { 
    background: #fff; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
    transition: transform 0.3s ease; 
}

.related-post-item:hover { transform: translateY(-5px); }

.related-post-item h4 { 
    margin: 0 0 12px; 
    font-size: 16px; 
    line-height: 1.4; 
}

.related-post-item h4 a { 
    color: #2c3e50; 
    text-decoration: none; 
}

.related-post-item h4 a:hover { 
    color: #007bff; 
}

.related-excerpt { 
    font-size: 14px; 
    color: #666; 
    margin: 0 0 12px; 
    line-height: 1.5; 
}

.related-date { 
    font-size: 12px; 
    color: #999; 
    font-style: italic; 
}

/* No Post Found */
.no-post-found { 
    text-align: center; 
    background: #fff; 
    padding: 60px 40px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
}

.no-post-found h1 { 
    font-size: 2rem; 
    color: #dc3545; 
    margin-bottom: 20px; 
}

.no-post-found p { 
    font-size: 16px; 
    color: #666; 
    margin-bottom: 30px; 
}

.back-home-button { 
    background: #007bff; 
    color: #fff; 
    padding: 12px 30px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-block; 
    transition: background 0.3s ease; 
}

.back-home-button:hover { 
    background: #0056b3; 
    text-decoration: none; 
    color: #fff; 
}

/* Responsive Single Post */
@media (max-width: 768px) {
    .single-post-page { padding: 10px; }
    
    .single-post-title { font-size: 1.8rem; }
    
    .single-post-header, .single-post-content, .single-post-footer { padding: 20px; }
    
    .post-meta-info { gap: 10px; }
    
    .post-extra-options { gap: 8px; }
    
    .post-navigation { grid-template-columns: 1fr; }
    
    .nav-next { text-align: left; }
    
    .share-buttons { justify-content: center; }
    
    .related-posts-grid { grid-template-columns: 1fr; }
    
    .single-post-content { font-size: 15px; }
}

@media (max-width: 480px) {
    .single-post-title { font-size: 1.5rem; }
    
    .post-meta-info { flex-direction: column; gap: 8px; }
    
    .share-button { width: 40px; height: 40px; font-size: 16px; }
}

/* Mobile: make content images display full-width (edge-to-edge inside viewport) */
@media (max-width: 768px) {
    .single-post-content img,
    .content-post-body img,
    .entry-content img,
    .single-post-image,
    .content-featured-image {
        width: calc(100% + 40px); /* extend to counter container padding */
        max-width: none;
        margin-left: -20px;
        margin-right: -20px;
        display: block;
        height: auto;
        box-shadow: none; /* reduce visual clipping on small screens */
        border-radius: 6px;
    }
    /* ensure featured image container spacing looks correct */
    .single-featured-image { margin-bottom: 15px; }
}

@media (max-width: 480px) {
    .single-post-content img,
    .content-post-body img,
    .entry-content img,
    .single-post-image,
    .content-featured-image {
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 4px;
    }
}

/* Responsive Landing Page */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .main-content-grid, .secondary-content-grid, .tertiary-content-grid, .additional-content-grid {
        grid-template-columns: 1fr; padding: 20px 10px;
    }
    .updates-ticker { flex-direction: column; align-items: stretch; }
    .ticker-label { text-align: center; }
    
    /* Responsive tables */
    .data-table th, .data-table td { padding: 8px; }
    .action-button { padding: 4px 8px; font-size: 12px; }
}
