/* ---------------- Start footer.php css -------------------- */
/* --- Footer Main Styles --- */
.site-footer {
    background-color: #1a1a1a; /* Dark Background */
    color: #ffffff;
    padding: 50px 0 30px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    border-top: 3px solid #0073aa; /* Optional: WordPress Blue top border */
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Content Wrapper (Menu + Icons) --- */
.footer-content-wrapper {
    display: flex;
    flex-direction: column; /* Stack Menu and Icons */
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
}

/* Horizontal Menu Styling */
.footer-nav .horizontal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.footer-nav .horizontal-menu li a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-nav .horizontal-menu li a:hover {
    color: #0073aa;
}

/* Social Icons Styling */
.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    color: #fff;
    background-color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: #0073aa;
    transform: translateY(-3px);
    color: #fff;
}

/* --- Bottom Copyright Row --- */
.footer-bottom-row {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 25px;
}

.footer-bottom-row p {
    margin: 0;
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.footer-bottom-row p a {
    color: #0073aa;
    text-decoration: none;
}

.footer-bottom-row p a:hover {
    text-decoration: underline;
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
    .footer-nav .horizontal-menu {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content-wrapper {
        gap: 20px;
    }
}

/* ------------------ End footer.php css -------------------- */
/* --------------------------------------------------------- */
/* --- Start Author card for single page in function css --- */
.author-card-container {
    text-align: center;
    padding: 20px;
    margin: 40px auto;
    background: #ffffff;
    border: 2px solid #ccc;
    border-radius: 15px;
}
.author-card {
display: flex;
flex-direction: column; /* Mobile first: stack vertically */
align-items: center;    /* Center horizontally */
justify-content: center;
}
.author-card-title {
    margin: 0 0 20px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 2px dashed #ccc;
    padding: 0 0 20px 0;
}
.author-card-photo img {
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #0073aa;
    padding: 3px;
    transition: transform 0.3s ease;
}

.author-card-photo img:hover {
    transform: scale(1.05);
}

.author-card-bio {
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 700px;
    text-align: justify;
}

.author-card-socials {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.author-card-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f9f9f9;
    border: 2px solid #ccc;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Social Hover Effects */
.author-card-socials a:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-3px);
}

.author-card-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    background: #f9f9f9;
    border: 2px solid #ccc;
    color: #333;
    padding: 5px 10px;
}

.author-card-btn:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-3px);
}

/* Desktop Styles (768px se bade screens ke liye) */
@media (min-width: 768px) {
    .author-card {
        flex-direction: row; /* Horizontal layout */
        text-align: left;
    }
    
    .author-card-photo img {
        margin-bottom: 0;
        margin-right: 25px;
    }
    
    .author-card-socials {
        justify-content: flex-start;
    }
}
/* --- End Author card for single page in function css --- */
/* ------------------------------------------------------ */
/* --- Common Navigation Buttons (10-8-4 Responsive) --- */
.exam-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.filter-btn {
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #0073aa;
    cursor: pointer;
    background: #fff;
    color: #0073aa;
    transition: 0.3s ease;
    box-sizing: border-box;
    font-weight: 500;
    text-align: center;
    flex: 1 1 calc(10% - 10px); /* Desktop: 10 Buttons */
}

@media (max-width: 992px) {
    .filter-btn { flex: 1 1 calc(12.5% - 10px); } /* Tablet: 8 Buttons */
    .filter-btn { font-size: 14px; }
}

@media (max-width: 600px) {
    .filter-btn { flex: 1 1 calc(25% - 10px); } /* Mobile: 4 Buttons */
    .filter-btn { font-size: 12px; }
}

.filter-btn.active {
    background: #0073aa !important;
    color: #fff !important;
}

/* --- Important Topics & Syllabus List Layout --- */
.posts-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.post-list-title {
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    text-align: center;
    margin-top: 20px;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .posts-list-grid { grid-template-columns: 1fr !important; }
    .post-list-title { font-size: 18px; }
}

.post-item-topic {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-item-syllabus {
    background: #eee;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Common Action Buttons --- */
.exam-action-buttons { margin-top: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.exam-btn-row { display: flex; gap: 8px; }
.btn-row { flex: 1; padding-right: 10px; }
.btn-row a{ text-decoration:none; color:#333; font-weight:600; }
.btn-syllabus { background: #0073aa; color: #fff; text-align: center; padding: 10px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.btn-mcq { background: #0073aa; color: #fff; flex: 1; text-align: center; padding: 8px; border-radius: 4px; text-decoration: none; }
.btn-pdf { background: #27ae60; color: #fff; flex: 1; text-align: center; padding: 8px; border-radius: 4px; text-decoration: none; }
.btn-prev { background: #0073aa; color: #fff; flex: 1; text-align: center; padding: 8px; border-radius: 4px; text-decoration: none; }

/* --- Hover Effects --- */
.exam-action-buttons a:hover {
    background: #dd3333;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}
/* 3. Bulletin Container (The Box) */
.ca-bulletin-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Bulletin Heading (Date/Week/Month) */
.bulletin-heading {
    text-align: center;
    font-size: 18px;
    background: #fff8e1;
    color: #f57c00;
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 700;
    border: 1px solid #ffe082;
}

/* 4. Bulletin List (The Points) */
.ca-bulletin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ca-bulletin-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    transition: background 0.2s;
}

/* Custom Bullet Point Icon */
.ca-bulletin-list li::before {
    content: "➜";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}

.ca-bulletin-list li:last-child {
    border-bottom: none;
}

/* Title and Description Formatting */
.ca-bulletin-list li strong {
    color: #000;
    font-weight: 700;
    font-size: 16.5px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
    background: #fdfdfd;
    border-radius: 10px;
    border: 1px dashed #ccc;
}

/* 6. Responsive Design */
@media (max-width: 600px) {
    .ca-bulletin-container {
        padding: 15px;
    }
    .ca-bulletin-list li {
        font-size: 14px;
    }
}
