/* ==================================================
   Nuclear Fancy Pants Edition™ -- NUCLEAR+++
   File: /wp-content/themes/kadence-child/archive.css
   Description: Blog archive page styles - NUCLEAR+++
   Last Edited: 2026-05-01
   ================================================== */

/* ----------------------------------------
   Base
   ---------------------------------------- */

body.amai-archive {
    background: #0E0A08;
    color: #FAFAF9;
    font-family: 'DM Sans', system-ui, sans-serif;
    margin: 0;
    padding: 0;
}

body.amai-archive .amai-nav {
    border-bottom: 1px solid #2C2420;
    background: #0E0A08;
}

body.amai-archive .amai-nav__link {
    color: #78716C;
}

body.amai-archive .amai-nav__link:hover {
    color: #FAFAF9;
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */

.arc-hero {
    padding: 64px 6% 0;
    overflow: hidden;
}

.arc-ticker {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 40px;
}

.arc-ticker__inner {
    display: inline-flex;
    animation: arc-ticker 18s linear infinite;
}

.arc-ticker__item {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 64px;
    color: transparent;
    -webkit-text-stroke: 1.5px #3D3530;
    text-transform: uppercase;
    letter-spacing: -2px;
    padding-right: 40px;
    flex-shrink: 0;
    line-height: 1;
}

.arc-ticker__item--lit {
    -webkit-text-stroke: 0;
    color: #D97757;
}

@keyframes arc-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.arc-hero__main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: flex-end;
    padding-bottom: 48px;
    border-bottom: 1px solid #2C2420;
}

.arc-hero__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #D97757;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arc-hero__label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: #D97757;
    display: inline-block;
    flex-shrink: 0;
}

.arc-hero__title {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #FAFAF9;
    margin: 0;
}

.arc-hero__title em {
    color: #D97757;
    font-style: normal;
}

.arc-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
}

.arc-stat__num {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: #FAFAF9;
    line-height: 1;
}

.arc-stat__label {
    font-size: 11px;
    color: #78716C;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* ----------------------------------------
   Category strip
   ---------------------------------------- */

.arc-cat-strip {
    display: flex;
    border-bottom: 1px solid #2C2420;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.arc-cat-strip::-webkit-scrollbar {
    display: none;
}

.arc-cat {
    padding: 14px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6B5E57;
    border-right: 1px solid #2C2420;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s;
    position: relative;
}

.arc-cat:hover {
    color: #D97757;
    text-decoration: none;
}

.arc-cat--active {
    color: #D97757;
    background: #1C1410;
}

.arc-cat--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #D97757;
}

/* ----------------------------------------
   Bento grid
   ---------------------------------------- */

.arc-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1px;
    background: #2C2420;
}

.arc-cell {
    background: #0E0A08;
    transition: background 0.15s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.arc-cell:hover {
    background: #1C1410;
    text-decoration: none;
}

/* ----------------------------------------
   Featured cell
   ---------------------------------------- */

.arc-cell--feat {
    grid-column: span 7;
    grid-row: span 2;
    padding: 0;
}

.arc-feat__img {
    height: 280px;
    background: linear-gradient(160deg, #2C1810 0%, #5C3020 40%, #D97757 100%);
    position: relative;
    overflow: hidden;
}

.arc-feat__img--no-image {
    background: linear-gradient(160deg, #1C1410 0%, #3D2415 40%, #5C3020 100%);
}

.arc-feat__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.arc-feat__deco {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(55deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 14px);
}

.arc-feat__reading {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    color: #D4CFC9;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
}

.arc-feat__num {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 72px;
    line-height: 1;
    color: rgba(217, 119, 87, 0.2);
    position: absolute;
    bottom: 8px;
    right: 20px;
    user-select: none;
}

.arc-feat__body {
    padding: 24px 28px 28px;
}

.arc-feat__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.arc-feat__title {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #FAFAF9;
    line-height: 1.25;
    margin-bottom: 10px;
}

.arc-feat__exc {
    font-size: 13px;
    color: #78716C;
    line-height: 1.6;
}

.arc-feat__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 12px;
    color: #6B5E57;
}

.arc-feat__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #D97757;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.arc-feat__sep {
    color: #2C2420;
}

.arc-feat__cta {
    color: #D97757;
    font-weight: 600;
}

/* ----------------------------------------
   Numbered list cell
   ---------------------------------------- */

.arc-cell--list {
    grid-column: span 5;
    grid-row: span 2;
    padding: 28px;
    cursor: default;
}

.arc-cell--list:hover {
    background: #0E0A08;
}

.arc-list__header {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #44403C;
    margin-bottom: 20px;
}

.arc-list__item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #1C1410;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.arc-list__item:last-child {
    border-bottom: none;
}

.arc-list__item:hover .arc-list__title {
    color: #FAFAF9;
}

.arc-list__num {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #2C2420;
    line-height: 1;
    flex-shrink: 0;
    width: 32px;
    user-select: none;
}

.arc-list__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.arc-list__title {
    font-size: 13px;
    font-weight: 600;
    color: #D4CFC9;
    line-height: 1.35;
    transition: color 0.15s;
}

.arc-list__date {
    font-size: 11px;
    color: #A8A29E;
    margin-top: 6px;
}

/* ----------------------------------------
   Small cards row
   ---------------------------------------- */

.arc-cell--sm {
    grid-column: span 4;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.arc-sm__img {
    height: 130px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.arc-sm__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.arc-sm__deco {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 10px);
}

.arc-sm__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.arc-sm__accent {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.arc-sm__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.arc-sm__title {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #FAFAF9;
    line-height: 1.3;
    margin-bottom: 10px;
    flex: 1;
}

.arc-sm__meta {
    font-size: 11px;
    color: #A8A29E;
}

.arc-sm__read {
    font-size: 11px;
    font-weight: 700;
    color: #D97757;
    margin-top: 12px;
    display: block;
    text-decoration: none;
}

/* ----------------------------------------
   Wide horizontal cards row
   ---------------------------------------- */

.arc-cell--wide {
    grid-column: span 4;
    padding: 22px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.arc-wide__img {
    width: 110px;
    height: 82px;
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.arc-wide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.arc-wide__deco {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 10px);
}

.arc-wide__body {
    flex: 1;
    min-width: 0;
}

.arc-wide__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.arc-wide__title {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #FAFAF9;
    line-height: 1.3;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-wide__meta {
    font-size: 11px;
    color: #A8A29E;
}

.arc-wide__cta {
    color: #D97757;
    font-weight: 600;
}

/* ----------------------------------------
   Gradient placeholder classes
   ---------------------------------------- */

.grad-a { background: linear-gradient(135deg, #2C1810, #D97757); }
.grad-b { background: linear-gradient(135deg, #1C2A3A, #378ADD); }
.grad-c { background: linear-gradient(135deg, #1C1C3A, #7F77DD); }
.grad-d { background: linear-gradient(135deg, #3A1C1C, #D85A30); }
.grad-e { background: linear-gradient(135deg, #1C2C1C, #3B6D11); }
.grad-f { background: linear-gradient(135deg, #2A1C3A, #534AB7); }

/* ----------------------------------------
   Footer bar and pagination
   ---------------------------------------- */

.arc-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6%;
    border-top: 1px solid #2C2420;
}

.arc-footer-bar__count {
    font-size: 12px;
    color: #6B5E57;
}

.arc-pages {
    display: flex;
    gap: 4px;
    align-items: center;
}

.arc-pg {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #6B5E57;
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.15s;
    line-height: 1;
}

.arc-pg:hover {
    color: #D4CFC9;
    text-decoration: none;
}

.arc-pg--active {
    border-color: #D97757;
    color: #D97757;
    font-weight: 700;
}

.arc-pg--active:hover {
    color: #D97757;
}

.arc-pg--dots {
    cursor: default;
    letter-spacing: 1px;
    width: auto;
    padding: 0 4px;
}

.arc-pg--dots:hover {
    color: #6B5E57;
}

.arc-pg--prev,
.arc-pg--next {
    width: auto;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
}

.arc-pg--prev {
    margin-right: 4px;
}

.arc-pg--next {
    margin-left: 4px;
}

/* ----------------------------------------
   Empty state
   ---------------------------------------- */

.arc-empty {
    padding: 80px 40px;
    text-align: center;
    color: #6B5E57;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ----------------------------------------
   CTA band
   ---------------------------------------- */

.arc-cta {
    padding: 56px 6%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    border-top: 1px solid #2C2420;
}

.arc-cta__title {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: #FAFAF9;
    line-height: 1.2;
    margin: 0;
}

.arc-cta__title em {
    color: #D97757;
    font-style: normal;
}

.arc-cta__btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ----------------------------------------
   Footer overrides for dark bg
   ---------------------------------------- */

body.amai-archive .amai-footer {
    background: #0E0A08;
    border-top: 1px solid #2C2420;
}

body.amai-archive .amai-footer__heading {
    color: #44403C;
}

body.amai-archive .amai-footer__tagline {
    color: #44403C;
}

body.amai-archive .amai-footer__link {
    color: #6B5E57;
}

body.amai-archive .amai-footer__link:hover {
    color: #D4CFC9;
}

body.amai-archive .amai-footer__bottom {
    color: #44403C;
    border-top-color: #1C1410;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */

@media (max-width: 900px) {
    .arc-hero__title {
        font-size: 38px;
    }

    .arc-ticker__item {
        font-size: 48px;
    }

    .arc-cell--feat {
        grid-column: span 12;
        grid-row: span 1;
    }

    .arc-cell--list {
        grid-column: span 12;
        grid-row: span 1;
    }

    .arc-cell--sm {
        grid-column: span 6;
    }

    .arc-cell--wide {
        grid-column: span 6;
    }

    .arc-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .arc-cta__btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .arc-hero {
        padding: 40px 20px 0;
    }

    .arc-hero__main {
        grid-template-columns: 1fr;
    }

    .arc-hero__stats {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 28px;
    }

    .arc-ticker__item {
        font-size: 36px;
    }

    .arc-hero__title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .arc-cell--sm {
        grid-column: span 12;
    }

    .arc-cell--wide {
        grid-column: span 12;
    }

    .arc-footer-bar {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        align-items: flex-start;
    }

    .arc-cta {
        padding: 40px 20px;
    }

    .arc-cta__title {
        font-size: 24px;
    }
}