/* Brand theme overrides & supplemental tokens */
:root {
    --brand-red:        #d4380d;
    --brand-wine:       #9a3412;
    --brand-orange:     #d4380d;
    --brand-orange-deep: #7c1d0a;
    --gold:             #c18b2f;
    --gold-light:       #f0c96a;
}

/* ── Breaking ticker overrides ── */
.breaking-ticker {
    border-radius: 0;            /* full width feel */
    margin-top: 0;
}

/* ── Section news-grid card polish ── */
.section-news-grid .story-card .kicker,
.archive-grid .story-card .kicker {
    margin: 0;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0; margin: 0;
}

.pagination .page-item .page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-weight: 800; font-size: 14px;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: .45; pointer-events: none;
}

/* ── Kolorob custom pagination (kolorob-pagination) ── */
.kolorob-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin: 28px 0;
}

.kpag-btn,
.kpag-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid #ddd5c8;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    color: #17120f;
    background: #fff;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
    cursor: pointer;
    line-height: 1;
}

/* Arrow buttons — slightly wider */
.kpag-btn { padding: 0 12px; }

.kpag-btn:hover,
.kpag-page:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(212,56,13,.22);
}

/* Active page */
.kpag-page--active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
    pointer-events: none;
}

/* Disabled prev/next */
.kpag-btn--disabled {
    opacity: .38;
    pointer-events: none;
    cursor: default;
}

/* Ellipsis dots */
.kpag-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 38px;
    color: #8a7b6c;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .05em;
}

/* ── Responsive social in top strip (already styled in app.css,
       this block handles edge-case overrides) ── */
@media (max-width: 640px) {
    .top-strip .social-icons {
        display: none;   /* hide on very small screens to save space */
    }
}

/* ══════════════════════════════════════════════════════
   Static Pages — Feedback / Careers / Advertise / Legal
══════════════════════════════════════════════════════ */

/* Info cards grid (feedback intro, perks) */
.static-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.static-info-card {
    background: #fff;
    border: 1px solid #e8dfd0;
    border-top: 3px solid var(--brand-red);
    border-radius: 10px;
    padding: 22px 18px;
}
.static-info-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.static-info-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #172033;
    margin-bottom: 8px;
}
.static-info-card p {
    font-size: 14px;
    color: #5a6577;
    line-height: 1.65;
}

/* Forms */
.static-form { display: grid; gap: 18px; }
.static-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .static-form-row { grid-template-columns: 1fr; } }
.static-form .form-group { display: grid; gap: 6px; }
.static-form label { font-size: 13px; font-weight: 700; color: #344054; }
.static-form input,
.static-form select,
.static-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #172033;
    transition: border-color .15s;
    box-sizing: border-box;
}
.static-form input:focus,
.static-form select:focus,
.static-form textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(var(--brand-red-rgb, 185,28,28), .08);
}
.static-form textarea { resize: vertical; min-height: 120px; }
.form-err { font-size: 12px; color: #b42318; font-weight: 600; }
.static-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: var(--brand-red);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity .15s;
}
.static-form-btn:hover { opacity: .88; }

/* Star rating */
.star-rating-wrap {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    width: fit-content;
}
.star-rating-wrap input[type="radio"] { display: none; }
.star-rating-wrap label {
    font-size: 28px;
    color: #d0d5dd;
    cursor: pointer;
    transition: color .1s;
    font-weight: normal;
}
.star-rating-wrap input:checked ~ label,
.star-rating-wrap label:hover,
.star-rating-wrap label:hover ~ label {
    color: #f59e0b;
}

/* Success banner */
.form-success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 20px;
}
.form-success-banner svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: #16a34a;
}

/* Open positions table */
.positions-table { display: grid; }
.positions-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.2fr;
    padding: 10px 14px;
    background: #f4f0eb;
    border-radius: 8px 8px 0 0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #8a7b6c;
}
.positions-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.2fr;
    padding: 12px 14px;
    border-bottom: 1px solid #e8dfd0;
    font-size: 14px;
    color: #344054;
    align-items: center;
}
.positions-row:last-child { border-bottom: none; }
.pos-role { font-weight: 800; color: #172033; }
.pos-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
@media (max-width: 600px) {
    .positions-header { grid-template-columns: 1fr 1fr; }
    .positions-header span:nth-child(3),
    .positions-header span:nth-child(4),
    .positions-row span:nth-child(3),
    .positions-row span:nth-child(4) { display: none; }
    .positions-row { grid-template-columns: 1fr 1fr; }
}

/* Advertise stats */
.ad-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
@media (max-width: 640px) { .ad-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.ad-stat-card {
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
    color: #fff;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}
.ad-stat-card strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 6px;
}
.ad-stat-card span {
    font-size: 13px;
    opacity: .85;
}

/* Ad options grid */
.ad-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.ad-option-card {
    border: 1.5px solid #e8dfd0;
    border-radius: 10px;
    padding: 16px;
}
.ad-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}
.ad-option-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: #172033;
    flex: 1;
}
.ad-size-badge {
    font-size: 11px;
    padding: 3px 8px;
    background: #f4f0eb;
    color: #8a7b6c;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
}
.ad-option-card p {
    font-size: 13px;
    color: #5a6577;
    line-height: 1.6;
}

/* Legal / disclaimer sections */
.legal-page { padding: 0; }
.legal-section {
    padding: 22px 28px;
    border-bottom: 1px solid #e8dfd0;
}
.legal-section:last-child { border-bottom: none; }
.legal-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: #172033;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3px solid var(--brand-red);
}
.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #344054;
}
