/* Container */
.newsletter-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif; /* Adjust to match theme */
}

.nam-section-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: #0032a0;
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1em;
    color: #555;
    max-width: 900px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Grid Layout */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Card Styling */
.entry-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 0;
    padding-right: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Rollup Logic */
.entry-card.is-rollup {
    grid-column: 1 / -1; /* Full Width */
    background-color: #fff;
    border-left: 5px solid #0032a0;
}

.entry-card.is-rollup .entry-header {
    height: 2em;
    align-items: center;
    margin-bottom: 12px;
}

.entry-card.is-rollup .graphic-container {
    height: 2em;
    padding: 0;
    align-items: center;
}

.entry-card.is-rollup .graphic-container img {
    max-height: 32px;
}

.rollup-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0032a0;
    font-weight: 700;
    font-size: 0.95rem;
}

.rollup-add-caption {
    white-space: nowrap;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    height: 60px;
}

/* Graphic Area */
.graphic-container {
    max-width: 83%;
    height: 4em;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 5px;
    background: #fff;
}

.graphic-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #0032a0;
}

.entry-body {
    
    padding-left: 20px;
    padding-right:20px;
font-size:1.01em;
}


/* Rollup Sub-items */
.rollup-items-container {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rollup-parent-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.rollup-parent-control {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.rollup-instruction {
    font-weight: 600;
    margin: 0;
    color: #0032a0;
    font-size: 1rem;
}

.rollup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.rollup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: #1f2f46;
    background: #fff;
    border: 1px solid #d6ddeb;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
}

.rollup-item span {
    line-height: 1.3;
}

.rollup-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #0032a0;
    cursor: pointer;
    min-width: 22px;
    background: #fff;
    border: 1px solid #8897b6;
    border-radius: 4px;
}

/* Committees layout */
.committee-card {
    position: relative;
    overflow: hidden;
}

.committee-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.committee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.committee-graphic {
    max-width: 78%;
    height: 3.5em;
    display: flex;
    align-items: center;
    padding: 0;
}

.committee-graphic img {
    max-height: 52px;
    object-fit: contain;
}

.committee-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0032a0;
    font-weight: 700;
    font-size: 0.92rem;
}

.committee-add-icon.is-active {
    box-shadow: 0 0 0 3px rgba(0, 153, 51, 0.2);
}

.committee-add-caption {
    white-space: nowrap;
}

.committee-body {
    padding: 0 16px 12px 16px;
}

.committee-name {
    margin: 6px 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2f46;
}

.taskforce-toggle {
    border: 1px solid #cbd6e2;
    background: #f8fbff;
    color: #0032a0;
    font-weight: 700;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.taskforce-toggle .chevron {
    font-size: 0.85rem;
}

.taskforce-panel {
    margin: 0 12px 12px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.taskforce-panel.rollup-items-container {
    margin-top: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.taskforce-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.taskforce-select-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.small-select-all {
    width: 30px;
    height: 30px;
}
