/* ═══════════════════════════════════════════════════════════════════
   NEWSCATCHER — Media coverage component
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Page hero ──────────────────────────────────────────────────── */

#newscatcher-hero {
    padding: 120px 0 40px;
    text-align: center;
}

#newscatcher-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 12px;
}

#newscatcher-hero .nc-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

#newscatcher-hero .nc-counter {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

#newscatcher-hero .nc-counter b {
    color: var(--primary);
}

/* ─── Controls bar (hidden — masonry-only, no user controls) ─────── */

.nc-controls {
    display: none !important;
}

.nc-controls-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nc-controls-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Layout switcher */
.nc-layout-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3px;
}

.nc-layout-switcher button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nc-layout-switcher button:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nc-layout-switcher button.active {
    color: var(--white);
    background: var(--primary);
}

.nc-layout-switcher button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Filters */
.nc-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nc-filters button {
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nc-filters button:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.nc-filters button.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.nc-filters button .nc-count {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 700;
}

/* Sort toggle */
.nc-sort {
    display: flex;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.nc-sort button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nc-sort button svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nc-sort button:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.nc-sort button.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

/* Three-dots menu */
.nc-menu-wrap {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.nc-menu-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nc-menu-toggle:hover,
.nc-menu-toggle.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: var(--secondary);
}

.nc-menu-toggle svg {
    width: 18px;
    height: 18px;
}

.nc-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: rgba(29, 29, 27, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nc-menu-dropdown.nc-hidden {
    display: none;
}

.nc-menu-section {
    padding: 8px 10px;
}

.nc-menu-section + .nc-menu-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nc-menu-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.nc-menu-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.nc-menu-toggle-label:hover {
    color: var(--white);
}

.nc-menu-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--secondary);
    cursor: pointer;
}

.nc-col-btns {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 2px;
}

.nc-col-btns button {
    width: 30px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nc-col-btns button:hover { color: var(--white); }
.nc-col-btns button.active { background: var(--secondary); color: var(--white); }

/* Toolbar row */
.nc-toolbar-row {
    gap: 8px;
    justify-content: flex-start;
}

.nc-search {
    position: relative;
    width: 36px;
    min-width: 36px;
    transition: width 0.3s ease, min-width 0.3s ease;
    flex-shrink: 0;
    margin-right: 70px;
}

.nc-search.nc-search-expanded {
    width: 240px;
    min-width: 240px;
}

.nc-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    z-index: 1;
}

.nc-search input,
#nc-search-source {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.2s ease, width 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.nc-search input {
    width: 100%;
    padding-left: 36px;
    padding-right: 30px;
    cursor: pointer;
}

.nc-search.nc-search-expanded input {
    cursor: text;
}

.nc-search input:focus,
#nc-search-source:focus {
    outline: none;
    border-color: var(--secondary);
}

.nc-search input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nc-search.nc-search-expanded input::placeholder {
    opacity: 1;
}

.nc-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.nc-search-clear:hover {
    background: var(--primary);
    color: var(--white);
}

.nc-search-clear.nc-hidden {
    display: none;
}

#nc-search-source {
    flex-shrink: 0;
    max-width: 200px;
    cursor: pointer;
}

#nc-search-source option {
    background: var(--grey-dark);
    color: var(--white);
}

/* ─── Items container ────────────────────────────────────────────── */

.nc-items-wrap {
    padding: 30px 0 60px;
    min-height: 300px;
}

/* ─── Card base ──────────────────────────────────────────────────── */

.nc-item {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nc-item.nc-hidden {
    display: none !important;
}

.nc-item-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
    overflow: hidden;
}

.nc-item-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Icon circle */
.nc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nc-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.nc-icon--instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.nc-icon--facebook {
    background: #1877F2;
}

.nc-icon--tiktok {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nc-icon--article {
    background: rgba(255, 255, 255, 0.1);
}

.nc-icon img,
.nc-scroll-card-icon img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
}

/* Body */
.nc-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nc-source {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.45);
}

.nc-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.nc-meta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.nc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nc-badge--reel {
    background: rgba(220, 39, 67, 0.25);
    color: #f06;
}

.nc-badge--post {
    background: rgba(217, 160, 200, 0.2);
    color: var(--secondary);
}

.nc-badge--video {
    background: rgba(255, 0, 0, 0.2);
    color: var(--primary);
}

.nc-badge--article {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.nc-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    font-variant-numeric: tabular-nums;
}

/* Open source link */
.nc-open-link {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.nc-open-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nc-open-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* ─── Embed toggle & container ───────────────────────────────────── */

.nc-embed-toggle {
    display: none !important;
}

.nc-embeddable {
    position: relative;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.nc-embed-container {
    display: none;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.nc-embed-open .nc-embed-container {
    display: block;
}

.nc-embed-container iframe,
.nc-embed-container blockquote {
    margin: 0 auto !important;
}

/* ─── OG Preview card (articles) ─────────────────────────────────── */

.nc-type-article .nc-embed-container {
    padding: 0;
}

.nc-og-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--white);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    transition: background 0.2s ease;
}

.nc-og-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.nc-og-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.nc-og-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nc-og-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
}

.nc-og-site {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.nc-og-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-og-desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-og-fallback .nc-og-desc {
    word-break: break-all;
    font-size: 12px;
}

/* Loading spinner */
.nc-og-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.nc-og-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: ncSpin 0.7s linear infinite;
}

@keyframes ncSpin {
    to { transform: rotate(360deg); }
}

/* ─── Image placeholder (broken image fallback) ─────────────────── */

.nc-og-image-placeholder {
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: transparent;
}

/* ─── TikTok fallback link card ──────────────────────────────────── */

.nc-tiktok-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.nc-tiktok-fallback:hover {
    background: rgba(0, 0, 0, 0.5);
}

.nc-tiktok-fallback svg {
    width: 24px;
    height: 24px;
}

/* ─── Item link visibility (embeddable items) ───────────────────── */

.nc-embeddable .nc-item-link {
    display: none;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nc-headers-visible .nc-embeddable .nc-item-link {
    display: flex;
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT: GRID
   ═══════════════════════════════════════════════════════════════════ */

.nc-layout-grid .nc-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.nc-layout-grid .nc-item-link {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 16px;
}

.nc-layout-grid .nc-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nc-layout-grid .nc-body {
    gap: 6px;
}

.nc-layout-grid .nc-title {
    font-size: 15px;
    -webkit-line-clamp: 3;
}

.nc-layout-grid .nc-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    margin-top: 4px;
}

.nc-layout-grid .nc-open-link {
    position: absolute;
    top: 12px;
    right: 12px;
}

.nc-layout-grid .nc-item-link {
    position: relative;
}

/* Social cards get accent top border */
.nc-layout-grid .nc-type-instagram .nc-item-link { border-top: 3px solid #dc2743; }
.nc-layout-grid .nc-type-facebook .nc-item-link  { border-top: 3px solid #1877F2; }
.nc-layout-grid .nc-type-tiktok .nc-item-link    { border-top: 3px solid #69C9D0; }

/* Headers hidden in grid */
.nc-layout-grid .nc-group-header { display: none !important; }
.nc-layout-grid .nc-date-header  { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT: MASONRY
   ═══════════════════════════════════════════════════════════════════ */

.nc-layout-masonry .nc-items {
    columns: 1;
    column-gap: 16px;
}

.nc-layout-masonry .nc-item {
    break-inside: avoid;
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
}

.nc-layout-masonry .nc-item-link {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 12px;
}

.nc-layout-masonry .nc-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nc-layout-masonry .nc-title {
    font-size: 14px;
    -webkit-line-clamp: 4;
}

/* Social items get extra padding for visual weight */
.nc-layout-masonry .nc-type-instagram .nc-item-link,
.nc-layout-masonry .nc-type-facebook .nc-item-link,
.nc-layout-masonry .nc-type-tiktok .nc-item-link {
    padding: 28px 20px;
    border-left: 3px solid;
}

.nc-layout-masonry .nc-type-instagram .nc-item-link { border-left-color: #dc2743; }
.nc-layout-masonry .nc-type-facebook .nc-item-link  { border-left-color: #1877F2; }
.nc-layout-masonry .nc-type-tiktok .nc-item-link    { border-left-color: #69C9D0; }

.nc-layout-masonry .nc-meta {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.nc-layout-masonry .nc-group-header { display: none !important; }
.nc-layout-masonry .nc-date-header  { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT: TIMELINE
   ═══════════════════════════════════════════════════════════════════ */

.nc-layout-timeline .nc-items {
    position: relative;
    padding-left: 50px;
}

/* Vertical line */
.nc-layout-timeline .nc-items::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), rgba(255,255,255,0.1));
}

/* Date header */
.nc-layout-timeline .nc-date-header {
    position: relative;
    padding: 20px 0 12px;
    margin-bottom: 8px;
}

.nc-layout-timeline .nc-date-header span {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.nc-layout-timeline .nc-date-header::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--grey-dark);
}

/* Timeline items */
.nc-layout-timeline .nc-item {
    position: relative;
    margin-bottom: 12px;
}

.nc-layout-timeline .nc-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    z-index: 1;
}

.nc-layout-timeline .nc-item:hover::before {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 8px rgba(217, 160, 200, 0.4);
}

.nc-layout-timeline .nc-type-instagram::before { background: #dc2743; border-color: #dc2743; }
.nc-layout-timeline .nc-type-facebook::before  { background: #1877F2; border-color: #1877F2; }
.nc-layout-timeline .nc-type-tiktok::before    { background: #69C9D0; border-color: #69C9D0; }

.nc-layout-timeline .nc-item-link {
    padding: 14px 16px;
    gap: 12px;
}

/* Time label via pseudo-element (reads data-time attribute) */
.nc-layout-timeline .nc-item::after {
    content: attr(data-time);
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    font-variant-numeric: tabular-nums;
    width: 50px;
    text-align: right;
    pointer-events: none;
}

/* Hide group headers in timeline, show date headers */
.nc-layout-timeline .nc-group-header { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT: COMPACT (Scrolling Columns)
   ═══════════════════════════════════════════════════════════════════ */

/* Hide regular items and headers in compact */
.nc-layout-compact .nc-items        { display: none; }
.nc-layout-compact .nc-group-header { display: none !important; }
.nc-layout-compact .nc-date-header  { display: none !important; }

/* ─── Scroll wrap ───────────────────────────────────────────────── */

.nc-scroll-wrap {
    display: none;
}

.nc-layout-compact .nc-scroll-wrap {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-height: 740px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

/* ─── Scroll column ─────────────────────────────────────────────── */

.nc-scroll-col {
    flex: 1;
    max-width: 340px;
    overflow: hidden;
}

.nc-scroll-col-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    animation: ncScrollUp var(--scroll-dur, 15s) linear infinite;
}

.nc-scroll-col:hover .nc-scroll-col-inner {
    animation-play-state: paused;
}

@keyframes ncScrollUp {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* ─── Scroll card ───────────────────────────────────────────────── */

.nc-scroll-card {
    display: block;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background 0.25s ease;
    cursor: pointer;
    user-select: none;
}

.nc-scroll-card:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4),
                0 10px 10px -5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

/* Card accent border by type */
.nc-scroll-card[data-type="instagram"] { border-top: 3px solid #dc2743; }
.nc-scroll-card[data-type="facebook"]  { border-top: 3px solid #1877F2; }
.nc-scroll-card[data-type="tiktok"]    { border-top: 3px solid #69C9D0; }
.nc-scroll-card[data-type="article"]   { border-top: 3px solid var(--secondary); }

/* Card content */
.nc-scroll-card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 20px;
}

.nc-scroll-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nc-scroll-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease;
}

.nc-scroll-card:hover .nc-scroll-card-icon {
    box-shadow: 0 0 0 3px rgba(217, 160, 200, 0.3);
}

.nc-scroll-card-icon svg {
    width: 18px;
    height: 18px;
}

.nc-scroll-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nc-scroll-card-source {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.nc-scroll-card-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    line-height: 1.3;
}

/* ─── Scroll card embed preview ────────────────────────────────── */

.nc-scroll-card-embed {
    margin: -28px -24px 16px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.nc-scroll-card-embed:empty {
    display: none;
}

.nc-scroll-card-embed img {
    width: 100%;
    display: block;
}

.nc-scroll-card-embed iframe {
    display: block;
}

.nc-scroll-card-embed .nc-og-loading {
    padding: 30px 20px;
}

.nc-scroll-card--embedded {
    cursor: pointer;
}

/* Empty state for scroll view */
.nc-scroll-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    width: 100%;
}

/* ─── Scroll responsive ─────────────────────────────────────────── */

@media (max-width: 1023px) {
    .nc-scroll-col:nth-child(3) {
        display: none;
    }
}

@media (max-width: 767px) {
    .nc-scroll-col:nth-child(n+2) {
        display: none;
    }

    .nc-scroll-col {
        max-width: 100%;
    }
}

/* ─── Load more ──────────────────────────────────────────────────── */

.nc-load-more-wrap {
    text-align: center;
    padding: 30px 0;
}

#nc-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    background: transparent;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

#nc-load-more:hover {
    background: var(--primary);
    border-color: var(--primary);
}

#nc-load-more.nc-hidden {
    display: none;
}

/* ─── Empty state ────────────────────────────────────────────────── */

.nc-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 15px;
    display: none;
}

.nc-empty.nc-visible {
    display: block;
}

/* ─── Fade-in animation ──────────────────────────────────────────── */

@keyframes ncFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nc-item.nc-animate {
    animation: ncFadeIn 0.35s ease forwards;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .nc-layout-grid .nc-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .nc-layout-masonry .nc-items {
        columns: 2;
    }

}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    #newscatcher-hero {
        padding: 140px 0 50px;
    }

    #newscatcher-hero h1 {
        font-size: 48px;
    }

    .nc-controls {
        margin: 0 -40px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .nc-layout-grid .nc-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .nc-layout-masonry .nc-items {
        columns: 2;
        column-gap: 20px;
    }

    .nc-layout-timeline .nc-items {
        padding-left: 120px;
    }

    .nc-layout-timeline .nc-item::after {
        display: block;
    }

}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
    .nc-layout-grid .nc-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .nc-layout-masonry .nc-items {
        columns: 2;
    }
}

/* Small mobile — timeline time labels hidden */
@media (max-width: 767px) {
    .nc-layout-timeline .nc-item::after {
        display: none;
    }

    .nc-layout-timeline .nc-items {
        padding-left: 36px;
    }

    .nc-layout-timeline .nc-items::before {
        left: 10px;
    }

    .nc-layout-timeline .nc-item::before {
        left: -30px;
        width: 8px;
        height: 8px;
    }

    .nc-layout-timeline .nc-date-header::before {
        left: -31px;
        width: 12px;
        height: 12px;
    }

    .nc-controls {
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .nc-controls-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .nc-layout-switcher {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nc-filters {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .nc-toolbar-row {
        flex-wrap: wrap;
    }

    .nc-search.nc-search-expanded {
        width: 100%;
        min-width: 100%;
    }

    #nc-search-source {
        max-width: 100%;
        flex: 1;
    }
}
