/* ABC Geek Fair — visual growth layer */
:root {
    --abc-ink: #10131f;
    --abc-ink-soft: #1a2030;
    --abc-blue: #1267d8;
    --abc-cyan: #18c7e8;
    --abc-red: #ff3c4b;
    --abc-yellow: #ffc83d;
    --abc-paper: #f7f9fc;
    --abc-muted: #637087;
    --abc-line: rgba(16, 19, 31, .1);
    --abc-radius: 24px;
    --abc-shadow: 0 22px 60px rgba(16, 19, 31, .14);
}

body {
    background: var(--abc-paper);
    color: var(--abc-ink);
}

#header .navbar {
    border: 0;
    box-shadow: 0 8px 28px rgba(16, 19, 31, .1);
}

#header .nav-container,
#header .nav-top-container {
    position: relative;
    z-index: 2;
}

#header .navbar-brand img {
    object-fit: contain;
    max-width: 150px;
    max-height: 54px;
    width: auto;
    height: auto;
}

#header .mobile-logo img,
#header .nav-mobile-logo img { max-width: 150px; max-height: 48px; width: auto; height: auto; object-fit: contain; }

#header .nav-desktop > .row,
#header .nav-desktop .navbar-collapse {
    display: flex;
    align-items: center;
}

#header .nav-desktop .navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

#header .nav-desktop .abc-nav-feature a,
#header .nav-mobile .abc-nav-feature a {
    background: linear-gradient(135deg, var(--abc-red), #ff6b4d);
    border-radius: 999px;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: .01em;
    padding: 10px 16px;
    box-shadow: 0 8px 18px rgba(255, 60, 75, .24);
}

#header .nav-desktop .abc-nav-feature a:hover,
#header .nav-mobile .abc-nav-feature a:hover {
    transform: translateY(-2px);
}

.abc-growth-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 72px 0 56px;
    background: radial-gradient(circle at 12% 14%, rgba(24, 199, 232, .25), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(255, 60, 75, .2), transparent 25%),
        linear-gradient(135deg, #111625 0%, #172543 58%, #0f1726 100%);
    color: #fff;
}

.abc-growth-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(255,255,255,.18);
    z-index: 0;
}

.abc-growth-hero .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    grid-template-areas: "copy brand";
    gap: 56px;
    align-items: center;
    direction: ltr;
}

.abc-growth-hero .hero-grid > .abc-reveal { grid-area: copy; }

.abc-growth-hero .hero-copy,
.abc-growth-hero h1,
.abc-growth-hero .abc-hero-actions,
.abc-growth-hero .abc-hero-points { text-align: left; }

.abc-hero-brand {
    position: relative;
    display: grid;
    min-height: 390px;
    place-items: center;
    isolation: isolate;
    grid-area: brand;
    transform: translateY(-24px);
}

.abc-brand-panel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    animation: abc-brand-float 6s ease-in-out infinite;
}

.abc-brand-panel img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(0,0,0,.32));
}

.abc-brand-panel span {
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.abc-brand-glow {
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,61,.46), rgba(24,199,232,.12) 42%, transparent 70%);
    filter: blur(5px);
    animation: abc-brand-glow 4s ease-in-out infinite alternate;
}

.abc-brand-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    transform: rotate(-22deg);
}

.abc-brand-orbit-one { width: 320px; height: 150px; animation: abc-brand-orbit-one 10s linear infinite; }
.abc-brand-orbit-two { width: 420px; height: 210px; border-color: rgba(24,199,232,.24); transform: rotate(32deg); animation: abc-brand-orbit-two 13s linear infinite; }

@keyframes abc-brand-float { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes abc-brand-glow { from { opacity: .58; transform: scale(.88); } to { opacity: 1; transform: scale(1.14); } }
@keyframes abc-brand-orbit-one { to { transform: rotate(338deg); } }
@keyframes abc-brand-orbit-two { to { transform: rotate(-328deg); } }

.abc-eyebrow,
.abc-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--abc-cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.abc-eyebrow::before,
.abc-section-kicker::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 99px;
    background: var(--abc-red);
}

.abc-growth-hero h1 {
    max-width: 720px;
    margin: 0 0 20px;
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .98;
}

.abc-growth-hero h1 span {
    color: var(--abc-yellow);
}

.abc-growth-hero .hero-copy {
    max-width: 600px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.65;
}

.abc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.abc-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.abc-button:hover,
.abc-button:focus-visible {
    transform: translateY(-3px);
}

.abc-button-primary {
    background: linear-gradient(135deg, var(--abc-yellow), #ff9d38);
    color: #171521 !important;
    box-shadow: 0 12px 24px rgba(255, 200, 61, .24);
}

.abc-button-ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
}

.abc-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.abc-hero-points span::before {
    content: "✓";
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    place-items: center;
    border-radius: 50%;
    background: rgba(24, 199, 232, .18);
    color: var(--abc-cyan);
}

.abc-hero-stage {
    position: relative;
    min-height: 530px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
    transform: rotate(2deg);
}

.abc-hero-stage::before {
    content: "AO VIVO • ABC GEEK FAIR";
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(16, 19, 31, .55);
    color: var(--abc-yellow);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.abc-event-lockup {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
    border-radius: 20px;
    background: radial-gradient(circle at 70% 20%, rgba(255,200,61,.22), transparent 22%), linear-gradient(145deg, #245891, #12203a 62%, #101625);
}

.abc-event-kicker,
.abc-event-line {
    color: var(--abc-cyan);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.abc-event-lockup strong {
    display: block;
    margin: 24px 0;
    color: #fff;
    font-size: clamp(74px, 10vw, 126px);
    font-weight: 950;
    letter-spacing: -.1em;
    line-height: .72;
    text-shadow: 7px 7px 0 rgba(255,60,75,.8);
}

.abc-event-lockup strong em {
    color: var(--abc-yellow);
    font-style: normal;
    text-shadow: 7px 7px 0 rgba(18,103,216,.85);
}

.abc-event-line { color: rgba(255,255,255,.76); }

.abc-hero-poster {
    position: relative;
    overflow: hidden;
    height: 486px;
    border-radius: 20px;
    background: linear-gradient(145deg, #2d5b9d, #132542 60%, #0e1626);
}

.abc-hero-poster::before {
    content: "";
    position: absolute;
    inset: 0 0 42%;
    background: radial-gradient(circle at 60% 35%, rgba(255, 200, 61, .24), transparent 25%),
        linear-gradient(155deg, rgba(24, 199, 232, .2), rgba(17, 22, 37, .8));
}

.abc-hero-character {
    position: absolute;
    top: 74px;
    left: 50%;
    width: 176px;
    height: 250px;
    border: 12px solid rgba(255, 255, 255, .12);
    border-bottom: 0;
    border-radius: 54% 54% 20% 20%;
    background: linear-gradient(135deg, #ff3c4b 0 42%, #1b2134 42% 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    transform: translateX(-50%);
}

.abc-hero-character::after {
    content: "✦";
    position: absolute;
    top: 70px;
    left: 50%;
    color: #fff;
    font-size: 74px;
    transform: translateX(-50%);
}

.abc-hero-poster .poster-band {
    position: absolute;
    right: 0;
    bottom: 126px;
    left: 0;
    padding: 13px 18px;
    background: #13131a;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .08em;
}

.abc-hero-poster .poster-info {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: #fff;
}

.abc-hero-poster .poster-info strong {
    color: var(--abc-yellow);
    font-size: 34px;
    line-height: .9;
}

.abc-hero-poster .poster-info span {
    max-width: 150px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
    text-transform: uppercase;
}

.abc-growth-strip {
    position: relative;
    z-index: 2;
    margin: -10px auto 0;
}

.abc-growth-strip .strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--abc-line);
    border-radius: 18px;
    background: var(--abc-line);
    box-shadow: var(--abc-shadow);
}

.abc-growth-strip .strip-item {
    padding: 22px;
    background: #fff;
}

/* Editorial hero slider */
.slider-container { overflow: hidden; border-radius: 26px; box-shadow: 0 20px 55px rgba(16,19,31,.14); }
.home-slider-item { overflow: hidden; border-radius: 26px; background: #121a2b; }
.home-slider-item::after { background: linear-gradient(180deg, transparent 30%, rgba(8,12,22,.88) 100%); }
.home-slider-item .item-info { max-width: 740px; padding: 34px; }
.home-slider-item .item-info .title { margin: 13px 0; color: #fff; font-size: clamp(24px, 4vw, 46px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.home-slider-item .item-info .title a { color: #fff; }
.home-slider-item .item-info .title a:hover { color: var(--abc-yellow); }
.slider-nav button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(12,18,32,.7); color: #fff; }
.slider-nav button:hover { background: var(--abc-red); }

.abc-growth-strip strong {
    display: block;
    margin-bottom: 5px;
    color: var(--abc-blue);
    font-size: 25px;
    font-weight: 900;
}

.abc-growth-strip span {
    color: var(--abc-muted);
    font-size: 13px;
    font-weight: 700;
}

.abc-growth-hub {
    padding: 92px 0 28px;
}

.abc-section-heading {
    max-width: 640px;
    margin-bottom: 34px;
}

.abc-section-heading h2 {
    margin: 0 0 12px;
    color: var(--abc-ink);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.abc-section-heading p {
    margin: 0;
    color: var(--abc-muted);
    font-size: 17px;
    line-height: 1.7;
}

.abc-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.abc-hub-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border: 1px solid var(--abc-line);
    border-radius: var(--abc-radius);
    padding: 24px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 19, 31, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.abc-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--abc-shadow);
}

.abc-hub-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(24, 199, 232, .1);
}

.abc-hub-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--abc-blue), var(--abc-cyan));
    color: #fff;
    font-size: 23px;
}

.abc-hub-card:nth-child(2) .abc-hub-icon { background: linear-gradient(135deg, var(--abc-red), #ff8761); }
.abc-hub-card:nth-child(3) .abc-hub-icon { background: linear-gradient(135deg, #7347e8, #bb6cff); }
.abc-hub-card:nth-child(4) .abc-hub-icon { background: linear-gradient(135deg, #e69d0b, var(--abc-yellow)); }

.abc-hub-card h3 {
    margin: 0 0 8px;
    color: var(--abc-ink);
    font-size: 19px;
    font-weight: 900;
}

.abc-hub-card p {
    margin: 0;
    color: var(--abc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.abc-hub-card a {
    position: absolute;
    right: 22px;
    bottom: 20px;
    z-index: 1;
    color: var(--abc-blue);
    font-size: 13px;
    font-weight: 900;
}

.abc-growth-cta {
    margin: 64px 0 70px;
    border-radius: 28px;
    padding: 42px;
    background: radial-gradient(circle at 90% 0%, rgba(24, 199, 232, .3), transparent 28%),
        linear-gradient(135deg, #16213a, #101522);
    color: #fff;
    box-shadow: var(--abc-shadow);
}

.abc-growth-cta .cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.abc-growth-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(25px, 3vw, 39px);
    font-weight: 900;
    letter-spacing: -.04em;
}

.abc-growth-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 16px;
    line-height: 1.65;
}

.abc-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.abc-feed-heading h2 { margin: 0; color: var(--abc-ink); font-size: clamp(24px, 3vw, 36px); font-weight: 900; letter-spacing: -.04em; }
.abc-feed-heading > span { max-width: 330px; color: var(--abc-muted); font-size: 13px; text-align: right; }
body.theme-dark .abc-feed-heading h2 { color: #f5f8ff; }

/* Generator page */
.abc-cosplay-page {
    min-height: 100vh;
    padding: 54px 0 88px;
    background: radial-gradient(circle at 6% 10%, rgba(24, 199, 232, .12), transparent 25%), var(--abc-paper);
}

.abc-cosplay-page .page-heading {
    max-width: 740px;
    margin: 0 auto 36px;
    text-align: center;
}

.abc-cosplay-page .page-heading h1 {
    margin: 0 0 13px;
    color: var(--abc-ink);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1;
}

.abc-cosplay-page .page-heading p {
    margin: 0;
    color: var(--abc-muted);
    font-size: 17px;
    line-height: 1.65;
}

.abc-generator-shell {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(360px, 1.2fr);
    gap: 24px;
    align-items: start;
}

.abc-generator-panel,
.abc-generator-preview {
    border: 1px solid var(--abc-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--abc-shadow);
}

.abc-generator-panel {
    padding: 28px;
}

.abc-generator-panel h2,
.abc-generator-preview h2 {
    margin: 0 0 7px;
    color: var(--abc-ink);
    font-size: 22px;
    font-weight: 900;
}

.abc-generator-panel .panel-intro {
    margin: 0 0 24px;
    color: var(--abc-muted);
    font-size: 14px;
    line-height: 1.6;
}

.abc-field {
    margin-bottom: 18px;
}

.abc-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--abc-ink);
    font-size: 13px;
    font-weight: 900;
}

.abc-field input[type="text"],
.abc-field input[type="file"] {
    display: block;
    width: 100%;
    border: 1px solid rgba(16, 19, 31, .14);
    border-radius: 12px;
    padding: 12px 13px;
    background: #fbfcfe;
    color: var(--abc-ink);
    font-size: 15px;
}

.abc-field input:focus-visible {
    outline: 3px solid rgba(24, 199, 232, .2);
    border-color: var(--abc-cyan);
}

.abc-file-help {
    display: block;
    margin-top: 7px;
    color: var(--abc-muted);
    font-size: 12px;
}

.abc-generator-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.abc-generator-actions .abc-button {
    width: 100%;
    cursor: pointer;
}

.abc-generator-panel .abc-button-ghost {
    border-color: rgba(16, 19, 31, .14);
    background: #f1f4f8;
    color: var(--abc-ink) !important;
}

.abc-generator-preview {
    padding: 24px;
    background: linear-gradient(145deg, #eef5ff, #fff);
}

.abc-generator-preview .preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.abc-generator-preview .preview-head span {
    color: var(--abc-muted);
    font-size: 12px;
    font-weight: 800;
}

.abc-canvas-wrap {
    position: relative;
    overflow: hidden;
    width: min(100%, 540px);
    margin: 0 auto;
    border-radius: 20px;
    background: #1e3f76;
    box-shadow: 0 22px 50px rgba(16, 19, 31, .2);
}

#abc-cosplay-canvas {
    display: block;
    width: 100%;
    height: auto;
}

.abc-preview-empty {
    position: absolute;
    inset: 18% 12% auto;
    display: grid;
    place-items: center;
    min-height: 120px;
    border: 1px dashed rgba(255, 255, 255, .55);
    border-radius: 18px;
    background: rgba(16, 19, 31, .35);
    color: rgba(255, 255, 255, .88);
    text-align: center;
    pointer-events: none;
}

.abc-preview-empty strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.abc-preview-empty span {
    font-size: 12px;
}

.abc-generator-note {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    color: var(--abc-muted);
    font-size: 12px;
    line-height: 1.55;
}

.abc-generator-note::before {
    content: "✦";
    color: var(--abc-red);
    font-size: 18px;
}

.abc-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.abc-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991px) {
    .abc-growth-hero .hero-grid,
    .abc-generator-shell {
        grid-template-columns: 1fr;
    }

    .abc-growth-hero .hero-grid { grid-template-areas: "copy" "brand"; }
    .abc-hero-brand { transform: none; }

    .abc-growth-hero .hero-copy,
    .abc-growth-hero h1 {
        max-width: none;
    }

    .abc-hero-stage {
        max-width: 520px;
        margin: 0 auto;
    }

    .abc-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .abc-growth-hero {
        padding: 50px 0 36px;
    }

    .abc-growth-hero .hero-grid {
        gap: 32px;
    }

    .abc-growth-hero .hero-copy {
        font-size: 16px;
    }

    .abc-hero-stage {
        min-height: 390px;
        padding: 12px;
        border-radius: 22px;
    }

    .abc-hero-brand { min-height: 280px; }
    .abc-brand-panel img { max-width: 190px; max-height: 190px; }
    .abc-brand-orbit-one { width: 250px; height: 120px; }
    .abc-brand-orbit-two { width: 300px; height: 150px; }

    .abc-hero-poster {
        height: 360px;
    }

    .abc-hero-character {
        top: 54px;
        width: 130px;
        height: 190px;
    }

    .abc-hero-poster .poster-band {
        bottom: 90px;
        font-size: 16px;
    }

    .abc-growth-strip .strip-inner {
        grid-template-columns: 1fr;
    }

    .abc-growth-strip .strip-item {
        padding: 16px 20px;
    }

    .abc-growth-hub {
        padding-top: 58px;
    }

    .abc-hub-grid {
        grid-template-columns: 1fr;
    }

    .abc-growth-cta {
        margin: 44px 0;
        padding: 28px 22px;
    }

    .abc-growth-cta .cta-grid {
        display: block;
    }

    .abc-growth-cta .abc-button {
        width: 100%;
        margin-top: 20px;
    }

    .abc-feed-heading { display: block; }
    .abc-feed-heading > span { display: block; margin-top: 10px; text-align: left; }

    .abc-generator-panel,
    .abc-generator-preview {
        padding: 20px;
        border-radius: 20px;
    }

    .abc-generator-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* Professional template layer for the editorial experience */
html { scroll-behavior: smooth; }

body {
    font-family: Inter, "Open Sans", Arial, sans-serif;
    line-height: 1.55;
}

a { transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }

#header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(16, 19, 31, .08);
}

#header .navbar-inverse {
    background: rgba(14, 20, 35, .98);
}

#header .nav-top-container {
    background: rgba(7, 10, 19, .42);
}

#header .nav-top {
    min-height: 34px;
}

#header .nav-top ul li a {
    color: rgba(255, 255, 255, .66);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

#header .nav-desktop .navbar-nav > li > a {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}

#header .nav-desktop .navbar-nav > li > a:hover,
#header .nav-desktop .navbar-nav > li.active > a {
    color: var(--abc-yellow);
    background: transparent;
}

#header.abc-header-scrolled { box-shadow: 0 14px 34px rgba(5, 10, 20, .22); }
.abc-reading-progress { position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; height: 4px; background: linear-gradient(90deg, var(--abc-red), var(--abc-yellow), var(--abc-cyan)); transform: scaleX(0); transform-origin: left center; }

#header .li-navbar-brand { margin-right: 18px; }
#header .navbar-brand { padding-top: 8px; padding-bottom: 8px; }

#main {
    position: relative;
    padding: 28px 0 82px;
    background: linear-gradient(180deg, #f8faff 0, var(--abc-paper) 360px);
}

.abc-directory-title {
    max-width: 1180px;
    margin: 42px auto 0 !important;
    padding: 0 20px;
    color: var(--abc-ink);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1;
}

.abc-directory-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 15px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--abc-red), var(--abc-yellow));
}

.title-index:not(.abc-home-title) { color: var(--abc-ink); }
#main .content > .text-center h2 { color: var(--abc-ink) !important; font-weight: 900 !important; letter-spacing: -.025em; }
#main .content > .text-center .lead { color: var(--abc-muted); font-size: 16px; }

#main .post-details {
    overflow: hidden;
    border: 1px solid rgba(16, 19, 31, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(16, 19, 31, .07);
}
#main .post-details > .row:first-child,
#main .post-details .profile-details-header {
    margin: 0;
    padding: 28px;
    background: linear-gradient(135deg, #15233d, #1f4e86);
}
#main .post-details h1[style] { color: #fff !important; font-weight: 900 !important; letter-spacing: -.04em; }
#main .post-details > .row:not(:first-child) { margin-right: 0; margin-left: 0; padding: 24px 28px; }
#main .post-details h3[style],
#main .post-details h4[style] { border-bottom-color: rgba(18, 103, 216, .2) !important; color: var(--abc-ink) !important; font-weight: 900 !important; }
#main .post-details p { color: var(--abc-muted); line-height: 1.7; }
#main .post-details .label-light { border-radius: 999px; background: rgba(255,255,255,.14) !important; }
#main .post-details .btn-default { border: 0; border-radius: 12px; background: #eef4ff; color: var(--abc-blue); font-weight: 800; }

#main form.validate-form .form-group label,
#main form.validate_terms label { color: var(--abc-ink); font-weight: 800; }
#main form.validate-form .form-control,
#main form.validate-form select,
#main form.validate-form textarea,
#main form.validate-form input[type="text"],
#main form.validate-form input[type="file"] {
    min-height: 46px;
    border: 1px solid rgba(16, 19, 31, .12) !important;
    border-radius: 12px;
    background: #fbfcfe !important;
    color: var(--abc-ink) !important;
    box-shadow: none;
}
#main form.validate-form textarea { min-height: 130px; }
#main form.validate-form .help-block { color: var(--abc-muted); font-size: 12px; }
#main form.validate-form h4 { margin-top: 30px; color: var(--abc-ink); font-weight: 900; }
#main form.validate-form .btn-custom,
#main .btn-custom { border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--abc-blue), #2789e8); box-shadow: 0 10px 22px rgba(18,103,216,.22); color: #fff; font-weight: 900; }

#main > .container > .row,
#main .page-content,
#main .content {
    min-width: 0;
}

#main .page-breadcrumb {
    margin: 0 0 24px;
    padding: 0;
}

#main .page-breadcrumb .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border: 1px solid rgba(16, 19, 31, .08);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 25px rgba(16, 19, 31, .04);
}

#main .page-breadcrumb .breadcrumb-item,
#main .page-breadcrumb .breadcrumb-item a {
    color: var(--abc-muted);
    font-size: 12px;
    font-weight: 700;
}

#main .page-breadcrumb .breadcrumb-item.active { color: var(--abc-blue); }

#main .content,
#main .page-about,
#main .page-contact {
    border: 1px solid rgba(16, 19, 31, .08);
    border-radius: 24px;
    padding: 28px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 15px 45px rgba(16, 19, 31, .06);
}

#main .page-title,
#main .title-index {
    margin: 0 0 26px;
    color: var(--abc-ink);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.05;
}

#main .content > .page-title::after,
#main .page-about > .page-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 13px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--abc-red), var(--abc-yellow));
}

#main .posts { margin-right: 0; margin-left: 0; }

#main .post-item,
#main .post-item-horizontal,
#main .post-item-boxed {
    overflow: hidden;
    border: 1px solid rgba(16, 19, 31, .09) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(16, 19, 31, .05);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

#main .post-item:hover,
#main .post-item-horizontal:hover,
#main .post-item-boxed:hover {
    border-color: rgba(18, 103, 216, .28) !important;
    box-shadow: 0 20px 48px rgba(16, 19, 31, .12);
    transform: translateY(-5px);
}

#main .post-item .post-image,
#main .post-item-horizontal .item-image,
#main .post-item-boxed .item-image {
    overflow: hidden;
    background: #eaf0fa;
}

#main .post-item .post-image img,
#main .post-item-horizontal .item-image img,
#main .post-item-boxed .item-image img {
    transition: transform .45s ease;
}

#main .post-item:hover img,
#main .post-item-horizontal:hover img,
#main .post-item-boxed:hover img { transform: scale(1.045); }

#main .post-footer,
#main .post-item-horizontal .item-content,
#main .post-item-boxed .item-content { padding: 20px !important; }

#main .post-item .title,
#main .post-item-horizontal .title,
#main .post-item-boxed .title {
    margin: 8px 0 10px;
    color: var(--abc-ink);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.16;
}

#main .post-item .title a,
#main .post-item-horizontal .title a,
#main .post-item-boxed .title a { color: inherit; }

#main .post-item .title a:hover,
#main .post-item-horizontal .title a:hover,
#main .post-item-boxed .title a:hover { color: var(--abc-blue); }

.label-post-category,
.label-post-item,
.label-slider-category {
    display: inline-block;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 6px 10px !important;
    background: var(--abc-red) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#main .post-item .summary,
#main .post-item-horizontal .summary,
#main .post-item-boxed .summary {
    margin: 12px 0 0;
    color: var(--abc-muted) !important;
    font-size: 14px;
    line-height: 1.6;
}

#main .post-meta { margin-top: 12px; }
#main .post-meta .post-meta-inner span,
#main .post-meta .post-meta-inner a {
    color: #8290a5 !important;
    font-size: 11px;
    font-weight: 700;
}

#main .posts-boxed .item-boxed-cnt {
    margin-bottom: 18px;
    padding-right: 9px;
    padding-left: 9px;
}

.pagination { margin: 28px 0 0; }
.pagination > li > a,
.pagination > li > span {
    margin: 0 3px;
    border: 1px solid rgba(16, 19, 31, .1) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--abc-ink) !important;
    font-weight: 800;
}
.pagination > .active > a,
.pagination > .active > span { border-color: var(--abc-blue) !important; background: var(--abc-blue) !important; color: #fff !important; }

.abc-sidebar { position: sticky; top: 20px; }
.abc-sidebar .sidebar-widget {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(16, 19, 31, .08);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 30px rgba(16, 19, 31, .05);
}
.abc-sidebar .widget-title .title,
.abc-sidebar .widget-popular-posts-title .title {
    margin: 0 0 15px;
    border: 0;
    color: var(--abc-ink);
    font-size: 18px;
    font-weight: 900;
}
.abc-sidebar .widget-title .title::after,
.abc-sidebar .widget-popular-posts-title .title::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--abc-cyan);
}
.abc-sidebar .w-popular-list li,
.abc-sidebar .w-our-picks-list li,
.abc-sidebar .w-random-list li { border-bottom-color: rgba(16, 19, 31, .08); }
.abc-sidebar .w-popular-list li .right .title,
.abc-sidebar .w-our-picks-list li .title { color: var(--abc-ink); font-weight: 800; }
.abc-sidebar .w-tag-list li a {
    border: 1px solid rgba(18, 103, 216, .14);
    border-radius: 999px;
    background: #f1f6ff;
    color: var(--abc-blue);
    font-size: 12px;
    font-weight: 800;
}
.abc-sidebar .w-category-list li { border-bottom: 1px solid rgba(16, 19, 31, .07) !important; }
.abc-sidebar .w-category-list li a { color: var(--abc-ink); font-weight: 700; }

.profile-page-top,
.profile-page {
    overflow: hidden;
    border: 1px solid rgba(16, 19, 31, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(16, 19, 31, .07);
}
.profile-page-top { margin-bottom: 22px; background: linear-gradient(135deg, #15233d, #1f4e86); }
.profile-page .widget-followers { border-color: rgba(16, 19, 31, .08); }
.profile-page .widget-head { border-bottom-color: rgba(16, 19, 31, .08); padding: 16px; }
.profile-page .widget-head .title { color: var(--abc-ink); font-size: 15px; font-weight: 900; }
.profile-page .widget-body { padding: 12px; }
.profile-page .post-item-boxed { margin-bottom: 18px; }
body.theme-dark .profile-page-top,
body.theme-dark .profile-page { border-color: rgba(255,255,255,.1); background: #1a2131; }
body.theme-dark .profile-page .widget-head .title { color: #f5f8ff; }

/* Article reading experience */
.post-content .post-title .title {
    margin: 0 0 16px;
    color: var(--abc-ink);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.02;
}
.post-content .post-summary h2 {
    margin: 0 0 18px;
    color: var(--abc-muted);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
}
.post-content .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 14px 0;
    border-top: 1px solid rgba(16, 19, 31, .08);
    border-bottom: 1px solid rgba(16, 19, 31, .08);
}
.post-content .post-image,
.post-content .post-video { overflow: hidden; border-radius: 18px; }
.post-content .post-image { margin: 24px 0; }
.post-content .text-style {
    color: #344056;
    font-size: 17px;
    line-height: 1.85;
}
.post-content .text-style h2,
.post-content .text-style h3 { margin-top: 32px; color: var(--abc-ink); font-weight: 900; }
.post-content .text-style a { color: var(--abc-blue); font-weight: 700; }
.post-content .text-style img { max-width: 100%; height: auto; border-radius: 14px; }
.page-res .text-style,
.page-about .text-style { color: #344056; font-size: 16px; line-height: 1.85; }
.page-res .text-style h2,
.page-res .text-style h3,
.page-about .text-style h2,
.page-about .text-style h3 { margin-top: 30px; color: var(--abc-ink); font-weight: 900; }
.page-res .text-style img,
.page-about .text-style img { max-width: 100%; height: auto; border-radius: 14px; }
.post-content .post-tags { padding-top: 22px; }
.post-content .post-tags .tags-title { color: var(--abc-ink); font-weight: 900; }
.post-content .post-tags .tag-list li a {
    border: 1px solid rgba(18, 103, 216, .14);
    border-radius: 999px;
    background: #f1f6ff;
    color: var(--abc-blue);
    font-size: 12px;
    font-weight: 800;
}
.post-content .post-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.post-content .post-share a { border-radius: 999px; font-weight: 800; }
.related-posts { margin-top: 32px; }
.related-posts .related-post-title .title { border: 0; color: var(--abc-ink); font-weight: 900; }
.related-posts .related-post-title .title::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 8px; border-radius: 99px; background: var(--abc-red); }
.comment-section { margin-top: 32px; border-top: 1px solid rgba(16, 19, 31, .08); padding-top: 22px; }
.comment-section .nav-tabs { border-bottom: 2px solid rgba(16, 19, 31, .08); }
.comment-section .nav-tabs > li > a { border: 0; color: var(--abc-muted); font-weight: 800; }
.comment-section .nav-tabs > li.active > a { border-bottom: 3px solid var(--abc-blue); color: var(--abc-blue); }

/* Gallery, contact and editorial resource pages */
.page-gallery .gallery-item { padding: 8px; }
.page-gallery .gallery-item .item-inner {
    overflow: hidden;
    border: 1px solid rgba(16, 19, 31, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 19, 31, .07);
}
.page-gallery .gallery-item img { transition: transform .4s ease; }
.page-gallery .gallery-item:hover img { transform: scale(1.05); }
.page-gallery .caption { padding: 13px 15px; background: #fff; color: var(--abc-ink); font-weight: 800; }
.gallery-category-title { color: var(--abc-ink); font-weight: 900; }
.filters .btn { border: 1px solid rgba(18, 103, 216, .16); border-radius: 999px; background: #f1f6ff; color: var(--abc-blue) !important; font-weight: 800; }
.filters .btn.active { background: var(--abc-blue); color: #fff !important; }
.page-contact .contact-leave-message { color: var(--abc-ink); font-weight: 900; }
.page-contact .form-input,
.page-contact input.form-control,
.page-contact textarea.form-control {
    min-height: 48px;
    border: 1px solid rgba(16, 19, 31, .12) !important;
    border-radius: 12px;
    background: #fbfcfe !important;
    color: var(--abc-ink) !important;
    box-shadow: none;
}
.page-contact textarea.form-input { min-height: 150px; }
.contact-item { border-bottom: 1px solid rgba(16, 19, 31, .08); padding: 17px 0; }
.contact-item .contact-icon i { border-radius: 14px; background: #eef5ff !important; color: var(--abc-blue) !important; }
.contact-item .contact-info h3 { color: var(--abc-ink); font-weight: 900; }
.contact-item .contact-info p { color: var(--abc-muted); }

/* Public profile directories */
#main .posts .post-item-image,
#main .posts .post-item-image img { overflow: hidden; }
#main .posts .post-item-image img { width: 100%; transition: transform .4s ease; }
#main .posts .post-item:hover .post-item-image img { transform: scale(1.04); }
#main .posts .post-item-content { padding: 22px !important; }
#main .posts .post-item-content .title { color: var(--abc-ink) !important; }
#main .posts .post-item-content .label { border-radius: 999px; padding: 6px 10px; font-weight: 800; }
#main .posts .post-item-content .label-warning { background: #fff2c7; color: #765000; }
#main .posts .post-item-content .label-success { background: #ddf8e8; color: #14703c; }
#main .posts .post-item-content .label-info,
#main .posts .post-item-content .label-primary { background: #e7f1ff; color: #1558a8; }
#main .posts .post-item-content .label-default { background: #f0f2f5; color: #5f6b7c; }

/* Footer */
#footer.abc-site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background: #101522;
    color: rgba(255, 255, 255, .72);
}
#footer.abc-site-footer::before { content: ""; position: absolute; top: -160px; right: -100px; width: 380px; height: 380px; border-radius: 50%; background: rgba(24, 199, 232, .1); }
.abc-footer-spotlight {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 42px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 52px 0 42px;
}
.abc-footer-kicker { margin: 0 0 9px; color: var(--abc-cyan); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.abc-footer-spotlight h2 { max-width: 620px; margin: 0 0 9px; color: #fff; font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -.045em; line-height: 1.05; }
.abc-footer-spotlight p { max-width: 580px; margin: 0; color: rgba(255, 255, 255, .62); }
#footer.abc-site-footer .footer-widget .title { color: #fff; font-weight: 900; }
#footer.abc-site-footer .title-line { background: linear-gradient(90deg, var(--abc-red), transparent); }
#footer.abc-site-footer a { color: rgba(255, 255, 255, .7); }
#footer.abc-site-footer a:hover { color: var(--abc-yellow); }
#footer.abc-site-footer .f-random-list li { border-bottom-color: rgba(255, 255, 255, .1); }
#footer.abc-site-footer .f-random-list .title { color: rgba(255, 255, 255, .85); }
#footer.abc-site-footer .f-widget-follow ul li a { border-radius: 12px; background: rgba(255, 255, 255, .09); }
#footer.abc-site-footer .widget-newsletter { border-color: rgba(255, 255, 255, .1); }
#footer.abc-site-footer .newsletter-input { border-color: rgba(255, 255, 255, .16) !important; background: rgba(255, 255, 255, .06) !important; color: #fff !important; }
#footer.abc-site-footer .newsletter-button { border-radius: 10px; background: var(--abc-red); color: #fff; font-weight: 900; }
#footer.abc-site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .12); }
#footer.abc-site-footer .footer-bottom p { color: rgba(255, 255, 255, .5); }

/* Dark mode refinements are loaded after the legacy dark stylesheet. */
body.theme-dark { background: #111522; color: #edf3ff; }
body.theme-dark #main { background: linear-gradient(180deg, #151b2b 0, #111522 360px); }
body.theme-dark .abc-growth-strip .strip-item { border-color: rgba(255,255,255,.08); background: #1a2131; }
body.theme-dark .abc-growth-strip strong { color: #8ec8ff; }
body.theme-dark .abc-growth-strip span { color: #aab6cb; }
body.theme-dark .abc-directory-title { color: #f5f8ff; }
body.theme-dark #main .post-details,
body.theme-dark #main form.validate-form .form-control,
body.theme-dark #main form.validate-form select,
body.theme-dark #main form.validate-form textarea,
body.theme-dark #main form.validate-form input[type="text"],
body.theme-dark #main form.validate-form input[type="file"] { border-color: rgba(255,255,255,.1) !important; background: #1a2131 !important; color: #f5f8ff !important; }
body.theme-dark #main .post-details h3[style],
body.theme-dark #main .post-details h4[style],
body.theme-dark #main form.validate-form .form-group label,
body.theme-dark form.validate-form h4 { color: #f5f8ff !important; }
body.theme-dark .page-res .text-style,
body.theme-dark .page-about .text-style { color: #aab6cb; }
body.theme-dark .page-res .text-style h2,
body.theme-dark .page-res .text-style h3,
body.theme-dark .page-about .text-style h2,
body.theme-dark .page-about .text-style h3 { color: #f5f8ff; }
body.theme-dark #main .page-breadcrumb .breadcrumb,
body.theme-dark #main .content,
body.theme-dark #main .page-about,
body.theme-dark #main .page-contact,
body.theme-dark #main .post-item,
body.theme-dark #main .post-item-horizontal,
body.theme-dark #main .post-item-boxed,
body.theme-dark .abc-sidebar .sidebar-widget,
body.theme-dark .abc-generator-panel,
body.theme-dark .abc-generator-preview,
body.theme-dark .abc-hub-card { border-color: rgba(255,255,255,.1) !important; background: #1a2131 !important; box-shadow: 0 15px 45px rgba(0,0,0,.2); }
body.theme-dark #main .page-title,
body.theme-dark #main .title-index,
body.theme-dark #main .post-item .title,
body.theme-dark #main .post-item-horizontal .title,
body.theme-dark #main .post-item-boxed .title,
body.theme-dark .abc-section-heading h2,
body.theme-dark .abc-hub-card h3,
body.theme-dark .abc-generator-panel h2,
body.theme-dark .abc-generator-preview h2,
body.theme-dark .post-content .post-title .title,
body.theme-dark .post-content .text-style h2,
body.theme-dark .post-content .text-style h3 { color: #f5f8ff; }
body.theme-dark #main .post-item .summary,
body.theme-dark #main .post-item-horizontal .summary,
body.theme-dark #main .post-item-boxed .summary,
body.theme-dark .abc-section-heading p,
body.theme-dark .abc-hub-card p,
body.theme-dark .abc-generator-panel .panel-intro,
body.theme-dark .abc-generator-note,
body.theme-dark .post-content .text-style { color: #aab6cb !important; }
body.theme-dark #main .page-breadcrumb .breadcrumb-item,
body.theme-dark #main .page-breadcrumb .breadcrumb-item a { color: #aab6cb; }
body.theme-dark .abc-field input[type="text"],
body.theme-dark .abc-field input[type="file"],
body.theme-dark .page-contact .form-input,
body.theme-dark .page-contact input.form-control,
body.theme-dark .page-contact textarea.form-control { border-color: rgba(255,255,255,.13) !important; background: #111725 !important; color: #f5f8ff !important; }
body.theme-dark .abc-generator-panel .abc-button-ghost { background: #263149; color: #fff !important; }
body.theme-dark .abc-sidebar .w-tag-list li a { background: #202d46; color: #9ec7ff; }
body.theme-dark .abc-sidebar .w-category-list li a { color: #e3eaff; }
body.theme-dark .pagination > li > a,
body.theme-dark .pagination > li > span { border-color: rgba(255,255,255,.1) !important; background: #1a2131 !important; color: #e9effb !important; }

@media (max-width: 991px) {
    #main .content, #main .page-about, #main .page-contact { padding: 22px; }
    .abc-sidebar { position: static; margin-top: 24px; }
    .abc-footer-spotlight { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
    #header .nav-desktop { display: none; }
    #main { padding-top: 20px; }
    #main .content, #main .page-about, #main .page-contact { border-radius: 18px; padding: 18px; }
    #main .page-title, #main .title-index { font-size: 30px; }
    #main .post-item, #main .post-item-horizontal, #main .post-item-boxed { border-radius: 16px !important; }
    .post-content .post-title .title { font-size: 34px; }
    .post-content .text-style { font-size: 16px; line-height: 1.75; }
    .abc-footer-spotlight { padding-top: 36px; }
    .abc-footer-spotlight .abc-button { width: 100%; }
}
