/* ─── Dagensnytt Poll Banner ─── */

/* Ytre wrapper */
.dnqb-banner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 48px 0;
    box-sizing: border-box;
    padding: 0 16px;
}

/* Annonse-merking */
.dnqb-ad-label {
    width: 100%;
    max-width: 580px;
    text-align: right;
    font-size: 0.7rem;
    color: #aaa;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
    padding-right: 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Poll-container */
.dnqb-poll {
    background: #fff;
    border: 2px solid #e63946;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(0,0,0,.12);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 580px;
    width: 100%;
    box-sizing: border-box;
}

.dnqb-inner {
    padding: 36px 36px 32px;
    box-sizing: border-box;
}

/* Spørsmålstekst */
.dnqb-poll-question {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1d2327;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.45;
}

/* Premie-header øverst i poll-steget */
.dnqb-poll-prize-header {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px solid #f5c842;
    border-radius: 14px;
    padding: 0 0 12px;
    text-align: center;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(245,200,66,.3);
}

/* Premiebilde i poll-headeren (side 1) */
.dnqb-poll-prize-image-wrap {
    width: 100%;
    line-height: 0;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.dnqb-poll-prize-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

/* Tekst-label under bildet */
.dnqb-poll-prize-label {
    padding: 10px 16px 0;
    font-size: .92rem;
    font-weight: 800;
    color: #c0392b;
    letter-spacing: .01em;
    line-height: 1.3;
}

/* Fallback: ingen bilde – vis kun tekst med original padding */
.dnqb-poll-prize-header:not(:has(.dnqb-poll-prize-image-wrap)) {
    padding: 10px 16px;
}
.dnqb-poll-prize-header:not(:has(.dnqb-poll-prize-image-wrap)) .dnqb-poll-prize-label {
    padding: 0;
}

/* Hint under spørsmål (beholdes for bakoverkompatibilitet, men brukes ikke lenger) */
.dnqb-poll-hint {
    display: none;
}

/* Svaralternativer */
.dnqb-poll-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dnqb-poll-btn {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 600;
    color: #1d2327;
    cursor: pointer;
    text-align: left;
    transition: background .15s, border-color .15s, transform .1s;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    min-height: 48px;
    text-transform: none;
    letter-spacing: normal;
}
.dnqb-poll-btn:hover:not(:disabled) {
    background: #e8f4fd;
    border-color: #2271b1;
    transform: translateX(3px);
}
.dnqb-poll-btn.dnqb-poll-selected {
    background: #e8f4fd;
    border-color: #2271b1;
    color: #1d2327;
}
.dnqb-poll-btn.dnqb-poll-voted {
    cursor: default;
    opacity: 0.7;
}
.dnqb-poll-btn:disabled { cursor: default; }

/* ─── Resultatvisning ─── */
.dnqb-results-header {
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: #e63946;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
}

.dnqb-poll-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

.dnqb-result-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Rad-header: label + prosent side om side */
.dnqb-result-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.dnqb-result-label {
    font-size: .95rem;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.3;
    flex: 1;
}

.dnqb-result-row.dnqb-result-chosen .dnqb-result-label {
    color: #e63946;
    font-weight: 800;
}

.dnqb-result-pct {
    font-size: 1.05rem;
    font-weight: 800;
    color: #555;
    min-width: 40px;
    text-align: right;
    flex-shrink: 0;
}

.dnqb-result-row.dnqb-result-chosen .dnqb-result-pct {
    color: #e63946;
}

/* Søyle-beholder */
.dnqb-result-bar-track {
    width: 100%;
    background: #f0f0f0;
    border-radius: 99px;
    height: 28px;
    overflow: hidden;
    position: relative;
}

.dnqb-result-bar {
    height: 100%;
    border-radius: 99px;
    background: #c8d8e8;
    transition: width .75s cubic-bezier(.4,0,.2,1);
    min-width: 4px;
    position: relative;
}

/* Fargeskala basert på plassering */
.dnqb-result-row:nth-child(1) .dnqb-result-bar { background: #4a90d9; }
.dnqb-result-row:nth-child(2) .dnqb-result-bar { background: #5ba85b; }
.dnqb-result-row:nth-child(3) .dnqb-result-bar { background: #e8a020; }
.dnqb-result-row:nth-child(4) .dnqb-result-bar { background: #9b59b6; }
.dnqb-result-row:nth-child(5) .dnqb-result-bar { background: #e67e22; }

/* Valgt svar: rød søyle */
.dnqb-result-row.dnqb-result-chosen .dnqb-result-bar {
    background: #e63946 !important;
    box-shadow: 0 2px 8px rgba(230,57,70,.35);
}

/* Stemmetall inne i søylen */
.dnqb-result-bar-count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .75rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s .5s;
}
.dnqb-result-bar-count.dnqb-count-visible {
    opacity: 1;
}
/* Hvis søylen er for smal, vis tallet utenfor */
.dnqb-result-bar.dnqb-bar-narrow .dnqb-result-bar-count {
    right: auto;
    left: calc(100% + 6px);
    color: #555;
}

.dnqb-results-total {
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
    color: #666;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* ─── CTA-seksjon ─── */
.dnqb-cta-section {
    margin-top: 24px;
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}

/* CTA-knapp under svaralternativer på side 1 */
.dnqb-poll-cta-below {
    margin-top: 18px;
}

.dnqb-cta-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin-bottom: 18px;
}

/* Skillelinje over resultater */
.dnqb-results-divider {
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 20px 0 14px;
    position: relative;
}
.dnqb-results-divider::before,
.dnqb-results-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28%;
    height: 1px;
    background: #e0e0e0;
}
.dnqb-results-divider::before { left: 0; }
.dnqb-results-divider::after  { right: 0; }

/* CTA-seksjon er nå alltid under resultater */
.dnqb-step-results .dnqb-cta-section {
    margin-top: 24px;
}

/* Premie-kort */
.dnqb-cta-prize-card {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px solid #f5c842;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.dnqb-cta-prize-card::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    background: rgba(245,200,66,.15);
    border-radius: 50%;
}

.dnqb-cta-prize-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    color: #7a5800;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px;
}

.dnqb-cta-prize-headline {
    font-size: 1.15rem;
    line-height: 1.35;
    color: #1d2327;
    margin-bottom: 4px;
}

.dnqb-prize-text {
    color: #c0392b;
    font-size: 1.18rem;
    font-weight: 900;
}

.dnqb-cta-prize-sub {
    font-size: .78rem;
    color: #888;
    margin-top: 4px;
}

/* Premiebilde i CTA-kortet */
.dnqb-cta-prize-image-wrap {
    margin: 10px auto 12px;
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
    line-height: 0;
}

.dnqb-cta-prize-image {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Hoved-CTA-knapp */
.dnqb-btn {
    display: block;
    width: 100%;
    padding: 20px 24px;
    border: none;
    border-radius: 14px;
    font-size: 1.22rem;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: .02em;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
}
.dnqb-btn:active { transform: scale(.96) !important; box-shadow: 0 2px 8px rgba(220,50,50,.3) !important; }

/* Puls-animasjon for glow-ring */
@keyframes dnqb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(220,50,50,.55), 0 8px 28px rgba(220,50,50,.45); }
    60%  { box-shadow: 0 0 0 10px rgba(220,50,50,0), 0 8px 28px rgba(220,50,50,.45); }
    100% { box-shadow: 0 0 0 0 rgba(220,50,50,0), 0 8px 28px rgba(220,50,50,.45); }
}

/* Shimmer-sweep */
@keyframes dnqb-shimmer {
    0%   { left: -100%; }
    100% { left: 140%; }
}

.dnqb-btn-cta {
    background: linear-gradient(135deg, #e8192c 0%, #ff4d4d 50%, #e8192c 100%);
    background-size: 200% 200%;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
    animation: dnqb-pulse 1.8s ease-out infinite;
    transition: transform .12s, filter .12s;
}

/* Shimmer-stripe */
.dnqb-btn-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    animation: dnqb-shimmer 2.4s ease-in-out infinite;
    pointer-events: none;
}

/* Nedre glow-stripe */
.dnqb-btn-cta::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 3px;
    background: rgba(255,255,255,.35);
    border-radius: 0 0 14px 14px;
    pointer-events: none;
}

.dnqb-btn-cta:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px) scale(1.01);
}

.dnqb-btn-emoji {
    display: inline-block;
    font-style: normal;
}

/* ─── Selvstendig lykkehjul-widget ─── */
.dnqb-wheel-standalone-wrapper .dnqb-inner {
    text-align: center;
    padding: 28px 24px 24px;
}

.dnqb-wheel-standalone-headline {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1d2327;
    margin-bottom: 18px;
    line-height: 1.3;
}

.dnqb-wheel-standalone {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #e8192c;
    box-shadow: 0 4px 20px rgba(232,25,44,.12);
    overflow: hidden;
}

/* ─── Lykkehjul (delt) ─── */
.dnqb-wheel-section {
    text-align: center;
    margin-top: 4px;
}

.dnqb-wheel-prompt {
    font-size: 1rem;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 14px;
}

.dnqb-wheel-container {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.dnqb-wheel-canvas {
    display: block;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    max-width: 100%;
    height: auto;
}

.dnqb-wheel-pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #e8192c;
    text-shadow: 0 2px 6px rgba(0,0,0,.3);
    line-height: 1;
    z-index: 2;
}

.dnqb-btn-spin {
    background: linear-gradient(135deg, #e8192c 0%, #ff4d4d 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 22px 32px;
    box-shadow: 0 6px 20px rgba(232,25,44,.45);
    animation: dnqb-pulse 1.8s ease-out infinite;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}
.dnqb-btn-spin:hover {
    filter: brightness(1.1);
    transform: translateY(-2px) scale(1.02);
}
.dnqb-btn-spin:disabled {
    animation: none;
    opacity: .7;
    cursor: default;
    transform: none;
}

.dnqb-wheel-result {
    margin-top: 16px;
    animation: dnqb-fadein .5s ease;
}

@keyframes dnqb-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dnqb-wheel-result-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2ecc71;
    margin-bottom: 14px;
    padding: 12px 16px;
    background: #f0fff4;
    border: 2px solid #2ecc71;
    border-radius: 10px;
}

/* Sticky mobile */
.dnqb-sticky-wrapper {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 0;
}
.dnqb-sticky-wrapper .dnqb-banner-wrapper {
    padding: 0;
    margin: 0;
}
.dnqb-sticky-wrapper .dnqb-poll {
    border-radius: 16px 16px 0 0;
    margin: 0;
    max-width: 100%;
    border-bottom: none;
}
.dnqb-mobile-only { display: none; }
@media (max-width: 768px) {
    .dnqb-mobile-only { display: block; }
}

/* ─── Responsivt ─── */
@media (max-width: 640px) {
    .dnqb-banner-wrapper { padding: 0 12px; margin: 36px 0; }
    .dnqb-inner { padding: 28px 20px 24px; }
    .dnqb-poll-question { font-size: 1.08rem; }
    .dnqb-btn { padding: 16px 20px; font-size: 1.05rem; }
}
@media (max-width: 400px) {
    .dnqb-banner-wrapper { padding: 0 8px; margin: 28px 0; }
    .dnqb-inner { padding: 22px 14px 20px; }
    .dnqb-poll-question { font-size: 1rem; }
    .dnqb-poll-btn { font-size: .93rem; padding: 13px 14px; }
    .dnqb-btn { font-size: 1rem; padding: 15px 16px; }
}

/* ===== Forside / kategori-sider ===== */
.dnqb-archive-banner-wrap {
    /* grid-column styres av tabloid.css — quiz som kolonne, ikke fullbredde */
    width: 100%;
    clear: both;
    margin: 0;
}
.dnqb-archive-banner-wrap .dnqb-banner-wrapper {
    margin: 0 auto;
    max-width: 700px;
    padding: 0 16px;
}
@media (max-width: 600px) {
    .dnqb-archive-banner-wrap { margin: 0; }
}

/* ═══════════════════════════════════════════════
   SCRATCH-KORT (Slot 2) – Premie-promotering
   ═══════════════════════════════════════════════ */

.dnqb-scratch-card {
    background: linear-gradient(160deg, #c0392b 0%, #e74c3c 40%, #f39c12 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 580px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    /* Gi kortet en fast min-høyde slik at folien kan strekke seg over hele */
    min-height: 380px;
}
/* Innhold er alltid synlig under folien */
.dnqb-scratch-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Premiebilde */
.dnqb-scratch-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.dnqb-scratch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dnqb-scratch-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.0) 50%, rgba(192,57,43,.65) 100%);
    display: flex;
    align-items: flex-end;
    padding: 10px 14px;
}
.dnqb-scratch-tag {
    background: #f1c40f;
    color: #7d3c00;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Tekstseksjon */
.dnqb-scratch-body {
    padding: 18px 20px 22px;
    text-align: center;
    color: #fff;
}
.dnqb-scratch-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
    margin-bottom: 6px;
}
.dnqb-scratch-prize-text {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.dnqb-scratch-sub {
    font-size: .8rem;
    opacity: .85;
    margin-bottom: 20px;
}

/* Folie-lag: dekker HELE kortet via position absolute */
.dnqb-scratch-foil {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
    background: repeating-linear-gradient(
        120deg,
        #f1c40f 0px,
        #f39c12 10px,
        #f1c40f 20px,
        #e67e22 30px,
        #f1c40f 40px
    );
    background-size: 80px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 16px;
    animation: dnqb-foil-shimmer 2.5s ease-in-out infinite;
    transition: opacity .5s ease, transform .5s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}
.dnqb-scratch-foil.dnqb-foil-scratched {
    animation: dnqb-scratch-reveal 0.7s cubic-bezier(.4,0,.2,1) forwards !important;
    pointer-events: none;
}
@keyframes dnqb-scratch-reveal {
    0%   { clip-path: inset(0 0 0 0 round 16px); opacity: 1; }
    60%  { clip-path: inset(0 0 0 85% round 16px); opacity: 1; }
    100% { clip-path: inset(0 0 0 100% round 16px); opacity: 0; }
}
.dnqb-scratch-foil-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}
.dnqb-scratch-foil-icon {
    font-size: 2.8rem;
    line-height: 1;
    animation: dnqb-foil-bounce 1.6s ease-in-out infinite;
}
.dnqb-scratch-foil-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #7d3c00;
    text-shadow: 0 1px 3px rgba(255,255,255,.5);
    letter-spacing: .02em;
}
.dnqb-scratch-foil-text {
    font-size: 1rem;
    font-weight: 900;
    color: #7d3c00;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(255,255,255,.4);
    animation: dnqb-foil-pulse 1.4s ease-in-out infinite;
    background: rgba(255,255,255,.25);
    padding: 6px 20px;
    border-radius: 20px;
    border: 2px dashed rgba(125,60,0,.4);
}
.dnqb-scratch-foil-hint {
    font-size: .8rem;
    color: rgba(125,60,0,.75);
    font-weight: 600;
}

@keyframes dnqb-foil-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

@keyframes dnqb-foil-shimmer {
    0%, 100% { background-position: 0 0; }
    50%       { background-position: 60px 30px; }
}
@keyframes dnqb-foil-pulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.06); opacity: .8; }
}

/* CTA-knapp under folien */
.dnqb-scratch-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Responsivt for scratch-kort */
@media (max-width: 640px) {
    .dnqb-scratch-image-wrap { height: 170px; }
    .dnqb-scratch-prize-text { font-size: 1.05rem; }
}

/* ============================================================
   MonoSurveys CTA - vises under poll-resultater
   ============================================================ */
.dnqb-mono-cta {
    margin-top: 16px;
    padding: 18px 20px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    border-radius: 14px;
    text-align: center;
    color: #fff;
}
.dnqb-mono-cta-icon { font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.dnqb-mono-cta-headline { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: #ffd700; }
.dnqb-mono-cta-text { font-size: 0.9rem; line-height: 1.5; color: #e0e0e0; margin-bottom: 14px; }
.dnqb-mono-cta-text strong { color: #ffd700; }
.dnqb-mono-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 13px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(255,215,0,.4);
    transition: transform .15s ease, box-shadow .15s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.dnqb-mono-cta-btn:hover, .dnqb-mono-cta-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,.55);
    color: #1a1a2e !important;
    text-decoration: none !important;
}
.dnqb-mono-cta-sub { font-size: .75rem; color: #aaa; margin-top: 10px; }
/*
 * Dagensnytt QuizBanner – trygg arkivlayout
 *
 * Quizmoduler som settes inn i forsidens/kategoriens CSS-grid skal alltid
 * starte på en separat, fullbredde rad. Uten dette blir de behandlet som
 * vanlige gridceller og kan legge seg side om side med eller over innhold.
 */
body.home .loop.loop-grid > .dnqb-archive-banner-wrap,
body.category .loop.loop-grid > .dnqb-archive-banner-wrap,
body.archive .loop.loop-grid > .dnqb-archive-banner-wrap {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    clear: both;
    align-self: stretch;
    justify-self: stretch;
    margin: 20px 0 24px !important;
    z-index: 1;
}

body.home .loop.loop-grid > .dnqb-archive-banner-wrap .dnqb-banner-wrapper,
body.category .loop.loop-grid > .dnqb-archive-banner-wrap .dnqb-banner-wrapper,
body.archive .loop.loop-grid > .dnqb-archive-banner-wrap .dnqb-banner-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto !important;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    body.home .loop.loop-grid > .dnqb-archive-banner-wrap,
    body.category .loop.loop-grid > .dnqb-archive-banner-wrap,
    body.archive .loop.loop-grid > .dnqb-archive-banner-wrap {
        margin: 16px 0 20px !important;
    }
}

@media (max-width: 480px) {
    body.home .loop.loop-grid > .dnqb-archive-banner-wrap,
    body.category .loop.loop-grid > .dnqb-archive-banner-wrap,
    body.archive .loop.loop-grid > .dnqb-archive-banner-wrap {
        margin: 14px 0 18px !important;
    }

    body.home .loop.loop-grid > .dnqb-archive-banner-wrap .dnqb-banner-wrapper,
    body.category .loop.loop-grid > .dnqb-archive-banner-wrap .dnqb-banner-wrapper,
    body.archive .loop.loop-grid > .dnqb-archive-banner-wrap .dnqb-banner-wrapper {
        padding-left: 8px;
        padding-right: 8px;
    }
}
