/* --- 1. MISSION IMPACT SECTION --- */
.mission-impact-section {
    padding: 60px 20px;
    background: 
        radial-gradient(circle at top right, rgba(209, 101, 7, 0.05) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(44, 62, 80, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    background-image: 
        linear-gradient(rgba(44, 62, 80, 0.04) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(44, 62, 80, 0.04) 1px, transparent 1px);
    background-size: 30px 30px; /* Reduced for a tighter blueprint look */
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.mission-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5px;
}

.mission-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a4a8e;
    line-height: 1.1;
    margin-bottom: 20px;
}

.mission-title span {
    color: #D16507; /* The brand orange */
}

.mission-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

/* --- 2. CIRCULARS PORTAL SECTION --- */
.circulars-portal-section {
    padding: 50px 0;
    background-color: #ffffff;
}

/* This locks the entire table to a professional width */
.matrix-container {
    max-width: 1100px; /* Adjust this to match your site's main content width */
    margin: 0 auto;    /* Centers the table on the screen */
    padding: 0 20px;
}

/* Year Block & Sage Green Divider */
.year-block {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.division-label-row {
    background-color: #cedba8 !important; /* Sage Green */
    color: #1a4a8e !important;
    font-weight: 700;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Individual Row Styling */
.circular-entry {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes text left and icon right */
    padding: 15px 25px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
}
.circular-entry:last-child {
    border-bottom: none;
}

.entry-no {
    color: #0056b3;
    font-weight: 700;
    min-width: 30px;
    font-size: 1.1rem;
}

.blue-subject-link {
    color: #0056b3; /* Home Page Blue */
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    display: block;
}

.blue-subject-link:hover {
    text-decoration: underline;
}

.ref-text {
    font-size: 0.85rem;
    color: #94a3b8;
    display: block;
    margin-top: 5px;
}

.pdf-download {
    color: #dc3545; /* Red Icon */
    font-size: 1.8rem;
    transition: transform 0.2s ease-in-out;
}

.pdf-download:hover {
    transform: scale(1.2);
}

/* Helper Class */
.mt-4 { margin-top: 1.5rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-title { font-size: 2.2rem; }
    .circular-entry { padding: 15px; }
}



/* Ensure the row is a flex container */
.circular-entry {
    display: flex;
    align-items: center; /* Vertical center alignment */
    justify-content: space-between; /* Pushes content to edges */
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

/* Middle Text Column */
.entry-details {
    flex: 1; /* Takes up all available space between number and icon */
    text-align: left;
}
/* Force the icon link to the right and give it a fixed column width */
.pdf-download {
    margin-left: auto; /* Pushes to the far right */
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/* Animation setup */
.pdf-animated {
    display: inline-block !important; /* Required for transform */
    color: #dc3545;
    font-size: 1.8rem;
    animation: pdfPulse 2s infinite ease-in-out;
}

@keyframes pdfPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 5px rgba(220,53,69,0.3)); }
}

/* 1. Set the row to Flexbox */
.circular-entry {
    display: flex;
    align-items: center;    /* Keeps icon centered with text height */
    justify-content: space-between; 
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    gap: 20px;
}

/* 2. Text column takes all available middle space */
.entry-details {
    flex: 1;                
    text-align: left;
}


/* Vertical Separator (Optional) */
.entry-actions {
    border-left: 1px solid #eee;
    padding-left: 20px;
}

/* 4. Icon Styling & Animation */
.pdf-download i {
    font-size: 1.8rem;
    color: #dc3545;         /* Red from your circular designs */
    display: inline-block !important;
}

.pdf-animated {
    animation: pdfPulse 2s infinite ease-in-out;
}

@keyframes pdfPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 5px rgba(220,53,69,0.3)); }
}