/* Special Coverage: native, editable Group/Image/Heading/Paragraph/Button
 * blocks. All page and card presentation stays within the authored root.
 * The existing theme continues to own the site header and footer. */
.np-special-coverage {
    --np-sc-blue: #185699;
    --np-sc-paper: #faf8f5;
    --np-sc-ink: #171717;
    --np-sc-muted: #52575c;
    --np-sc-line: #d8d5ce;
    box-sizing: border-box;
    container-name: np-special-coverage;
    container-type: inline-size;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 0 34px 60px;
    background: var(--np-sc-paper);
    color: var(--np-sc-ink);
    font: 400 16px/1.55 "Source Sans 3", Helvetica, Arial, sans-serif;
    text-align: left;
}
.np-special-coverage *,
.np-special-coverage *::before,
.np-special-coverage *::after {
    box-sizing: border-box;
}
.np-special-coverage :is(.np-sc-intro, .np-sc-grid, .np-sc-card, .np-sc-image, .np-sc-body, .np-sc-meta, .np-sc-actions) {
    max-width: none !important;
    margin: 0 !important;
}
/* Older native Group markup has one extra, non-semantic layout wrapper. */
.np-special-coverage > .wp-block-group__inner-container,
.np-special-coverage :is(.np-sc-intro, .np-sc-grid, .np-sc-card, .np-sc-body, .np-sc-meta) > .wp-block-group__inner-container {
    display: contents;
}
.np-special-coverage .np-sc-intro {
    padding: 0 0 6px;
    border-bottom: 3px solid var(--np-sc-ink);
    margin-bottom: 20px !important;
}
.np-special-coverage .np-sc-title-page {
    max-width: none;
    margin: 0 !important;
    padding: 0;
    color: var(--np-sc-ink);
    font: 700 42px/1.18 Merriweather, Georgia, serif;
    letter-spacing: -.035em;
    text-transform: none;
    overflow-wrap: break-word;
}
.np-special-coverage .np-sc-intro-copy {
    max-width: none !important;
    margin: 8px 0 0 !important;
    padding: 0;
    color: var(--np-sc-muted);
    font: 400 18px/1.6 "Source Sans 3", Helvetica, Arial, sans-serif;
}
.np-special-coverage .np-sc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    padding: 0;
}
.np-special-coverage .np-sc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--np-sc-line);
    border-radius: 4px;
}
.np-special-coverage .np-sc-image {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
}
.np-special-coverage .np-sc-image a {
    display: block;
}
.np-special-coverage .np-sc-image img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 50% 52%;
    border-radius: 0;
    margin: 0;
}
.np-special-coverage .np-sc-image-results img { object-position: 50% 58%; }
.np-special-coverage .np-sc-image-election img { object-position: 62% 56%; }
.np-special-coverage .np-sc-image-storm img { object-position: 60% 50%; }
.np-special-coverage .np-sc-body {
    position: static;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 22px;
}
.np-special-coverage .np-sc-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
    padding: 0;
    margin-bottom: 14px !important;
}
.np-special-coverage .np-sc-type {
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
    color: var(--np-sc-blue);
    font: 700 11px/1.4 "Source Sans 3", Helvetica, Arial, sans-serif;
    letter-spacing: .09em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.np-special-coverage .np-sc-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin: 0 !important;
    padding: 4px 7px;
    background: #e7eff7;
    color: #174b7e;
    border: 0;
    border-radius: 2px;
    font: 700 11px/1.4 "Source Sans 3", Helvetica, Arial, sans-serif;
    letter-spacing: .055em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.np-special-coverage .np-sc-status.is-ended {
    background: #eeece8;
    color: #585858;
}
.np-special-coverage .np-sc-status.is-live {
    background: #b72e33;
    color: #fff;
}
.np-special-coverage .np-sc-status.is-live::before {
    content: "";
    display: block;
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.np-special-coverage .np-sc-card-title {
    max-width: none;
    margin: 0 !important;
    padding: 0;
    color: var(--np-sc-ink);
    font: 700 24px/1.3 Merriweather, Georgia, serif;
    letter-spacing: -.025em;
    text-transform: none;
    overflow-wrap: anywhere;
}
.np-special-coverage .np-sc-description {
    max-width: none;
    margin: 14px 0 0 !important;
    padding: 0;
    color: var(--np-sc-muted);
    font: 400 16px/1.6 "Source Sans 3", Helvetica, Arial, sans-serif;
    overflow-wrap: break-word;
}
.np-special-coverage .np-sc-actions {
    position: static;
    display: flex;
    width: 100%;
    padding: 0;
    margin-top: auto !important;
}
.np-special-coverage .np-sc-link {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0 !important;
}
.np-special-coverage .np-sc-link .wp-block-button__link {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 24px 0 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--np-sc-blue);
    font: 700 15px/1.5 "Source Sans 3", Helvetica, Arial, sans-serif;
    text-align: left;
    text-transform: none;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: break-word;
}
.np-special-coverage .np-sc-link .wp-block-button__link::before {
    content: "\2192";
    order: 1;
    flex: 0 0 auto;
    color: currentColor;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}
/* The native Button remains the sole link. Its pseudo-element enlarges the
 * target without extra JavaScript, duplicated anchors or altered saved URLs. */
.np-special-coverage .np-sc-link .wp-block-button__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 4px;
}
.np-special-coverage .np-sc-card:focus-within {
    outline: 2px solid var(--np-sc-blue);
    outline-offset: 3px;
}
.np-special-coverage .np-sc-link .wp-block-button__link:is(:hover, :focus, :focus-visible, :active) {
    color: var(--np-sc-blue) !important;
    -webkit-text-fill-color: var(--np-sc-blue) !important;
    background: transparent !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.np-special-coverage .np-sc-link .wp-block-button__link:focus-visible {
    outline: 2px solid var(--np-sc-blue);
    outline-offset: 3px;
}
@media (hover: hover) {
    .np-special-coverage .np-sc-card:hover .np-sc-card-title {
        color: var(--np-sc-blue);
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}
/* A single column below 900px keeps each of the three cards equally readable;
 * there is no orphan third card or reduction of the actual body text size. */
@media (max-width: 899px) {
    .np-special-coverage .np-sc-grid { grid-template-columns: 1fr; }
}
/* Container queries measure the root's content box: 832px plus the 68px
 * desktop padding is the same 900px outer-width threshold in the editor. */
@container np-special-coverage (max-width: 831px) {
    .np-special-coverage .np-sc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .np-special-coverage { padding: 0 22px 38px; }
}
@container np-special-coverage (max-width: 620px) {
    .np-special-coverage .np-sc-intro { padding-bottom: 6px; margin-bottom: 20px !important; }
    .np-special-coverage .np-sc-title-page { font-size: 32px; }
    .np-special-coverage .np-sc-intro-copy { font-size: 16px; }
    .np-special-coverage .np-sc-meta { flex-direction: row; align-items: center; gap: 8px 12px; }
}
/* Editor text, image and Button controls stay selectable. */
.editor-styles-wrapper .np-special-coverage .np-sc-link .wp-block-button__link::after,
.block-editor-page .np-special-coverage .np-sc-link .wp-block-button__link::after {
    content: none;
}
