/* ==========================================================================
   Onkuwait — black & white design (from attached mock)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
}

a { color: #000; }
a:hover { text-decoration: underline; }

.btn {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    font: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
}

.btn-block { width: 100%; margin-bottom: 10px; text-align: center; }
.btn-sm { padding: 6px 12px; font-size: 0.75rem; }
.btn-ghost {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 3px solid #000000;
    gap: 12px;
    flex-wrap: wrap;
}

html[dir="ltr"] .main-header { flex-direction: row; }
html[dir="rtl"] .main-header { flex-direction: row-reverse; }

.header-left { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.header-right-group { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.header-search {
    display: flex;
    gap: 0;
    align-items: stretch;
    border: 2px solid #000;
    background: #fff;
}
.header-search input {
    border: 0;
    padding: 8px 12px;
    font: inherit;
    min-width: 160px;
    width: min(42vw, 260px);
    outline: none;
    background: #fff;
}
.header-search .btn {
    border: 0;
    border-left: 2px solid #000;
    padding: 8px 14px;
    margin: 0;
}
html[dir="rtl"] .header-search .btn {
    border-left: 0;
    border-right: 2px solid #000;
}

.logo-mark {
    text-decoration: none;
    color: #000;
    display: inline-flex;
    align-items: center;
    direction: ltr;
    unicode-bidi: isolate;
}
.logo-mark:hover { text-decoration: none; }
.logo-text {
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: none;
    color: #000000;
    letter-spacing: 0.02em;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    line-height: 1;
    direction: ltr;
    unicode-bidi: isolate;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.logo-i {
    display: inline-flex;
    align-items: flex-end;
    height: 1.45em;
    width: auto;
    margin: 0 -0.06em;
    vertical-align: baseline;
    color: #000;
    flex: 0 0 auto;
    letter-spacing: 0;
    direction: ltr;
    transform: none;
}
.logo-i svg {
    height: 100%;
    width: auto;
    display: block;
    aspect-ratio: 40 / 140;
    transform: none;
}
.brand-slogan {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}
.talent-chip-lg { width: 96px; height: 96px; }
.talent-terms {
    border: 2px solid #000;
    padding: 14px;
    margin: 0.5rem 0 1rem;
}
.talent-terms .section-title { margin-bottom: 10px; }
.main-feed, .sidebar-categories, .sidebar-ads {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

/* Talent marquee */
.talent-marquee {
    border-bottom: 2px solid #000;
    padding: 10px 0 12px;
    background: #fff;
}
.talent-marquee-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 20px 8px;
    margin: 0;
}
.talent-marquee-viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.talent-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: talent-scroll 40s linear infinite;
    padding: 0 20px;
}
.talent-marquee:hover .talent-marquee-track { animation-play-state: paused; }
@keyframes talent-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
html[dir="rtl"] .talent-marquee-track {
    animation-name: talent-scroll-rtl;
}
@keyframes talent-scroll-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}
.talent-chip {
    flex: 0 0 auto;
    width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #000;
}
.talent-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #000;
    overflow: hidden;
    background: #000;
    display: block;
}
.talent-chip img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
}
.talent-name {
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.talent-disclaimer {
    margin: 8px 20px 0;
    font-size: 0.68rem;
    line-height: 1.35;
    color: #555;
    max-width: 920px;
}
.talent-chip-static {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 2px solid #000;
}
.cv-preview { margin-bottom: 1rem; }

/* 3-column shell */
.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    flex: 1;
}

aside, .main-feed { padding: 20px; }

.sidebar-categories { border-right: 2px solid #000; }
html[dir="rtl"] .sidebar-categories { border-left: 2px solid #000; border-right: none; }

.sidebar-ads { border-left: 2px solid #000; }
html[dir="rtl"] .sidebar-ads { border-right: 2px solid #000; border-left: none; }

.section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
    font-weight: 800;
}

/* Categories */
.category-list { list-style: none; }
.category-list li a {
    color: #000;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 0.95rem;
    gap: 8px;
}
.category-list li a:hover,
.category-list li a.active { font-weight: bold; }

.count-badge {
    font-size: 0.75rem;
    border: 1px solid #000;
    padding: 2px 6px;
    font-weight: bold;
    background: #ffffff;
    flex-shrink: 0;
}

/* Search */
.search-bar {
    display: grid;
    grid-template-columns: 1.6fr 1fr auto;
    gap: 8px;
    margin-bottom: 22px;
}
.search-bar input,
.search-bar select,
.stack input,
.stack select,
.stack textarea,
.report select {
    font: inherit;
    width: 100%;
    padding: 10px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    border-radius: 0;
}

/* Ads / jobs */
.ad-card-top {
    border: 3px dashed #000000;
    padding: 15px;
    margin-bottom: 30px;
    background-color: #fafafa;
}
.ad-badge {
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    padding: 2px 5px;
    display: inline-block;
    margin-bottom: 10px;
}
.ad-content-wrapper {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
}
.ad-content-wrapper .ad-slot { width: 100%; margin: 0; }
.ad-content-wrapper strong { display: block; margin-bottom: 4px; }

.lede, .meta, .hint, .job-meta { color: #555; font-size: 0.9rem; margin-bottom: 18px; }
.day {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    margin: 1.2rem 0 0.7rem;
    font-weight: 800;
}

.job-card {
    border: 2px solid #000000;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    transition: background 0.15s ease;
    background: #fff;
}
.job-card:hover { background-color: #fafafa; }
.job-card.featured { background: #000; color: #fff; }
.job-card.featured .job-desc,
.job-card.featured .job-meta { color: #ccc; }
.job-card.featured .job-company { background: #fff; color: #000; }
.job-card.featured .btn {
    background: #fff;
    color: #000;
}
.job-card.featured .btn:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.job-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.job-card-link:hover { text-decoration: none; }

.job-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.job-title { font-size: 1.15rem; font-weight: 800; }
.job-title-lg { font-size: 1.6rem; font-weight: 900; margin: 0.4rem 0 0.6rem; text-transform: uppercase; }
.job-company { font-size: 0.8rem; background: #000; color: #fff; padding: 2px 6px; white-space: nowrap; }
.job-salary { display: block; margin: 8px 0; font-weight: 700; font-size: 0.9rem; }
.job-desc { font-size: 0.9rem; margin-bottom: 10px; color: #555; line-height: 1.4; }
.job-actions { position: relative; z-index: 5; margin-top: 8px; }

/* Classifieds */
.classified-ad-item {
    border: 2px solid #000000;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #ffffff;
}
.classified-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 8px 0;
}
.classified-price {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 8px;
}
.classified-body {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}
.classified-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.classified-actions-2 { grid-template-columns: 1fr 1fr; }
.classified-btn {
    text-align: center;
    font-size: 0.7rem;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 6px 2px;
    text-transform: uppercase;
    background: #fff;
}
.classified-btn:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.mobile-inline-ad { display: none; }
.mobile-cat-nav { display: none; }

/* Footer */
.main-footer {
    border-top: 3px solid #000000;
    padding: 18px 16px 16px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
}
.main-footer > p { margin: 0; }
.footer-guides {
    max-width: 1100px;
    margin: 1.1rem auto 0;
    text-align: start;
    font-weight: 500;
    font-size: 0.88rem;
    line-height: 1.45;
}
.footer-guides h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    margin: 0 0 0.45rem;
    font-weight: 900;
}
.footer-guides-lede {
    margin: 0 0 0.9rem;
    font-weight: 700;
}
.footer-guides-grid {
    display: grid;
    gap: 0.85rem 1.2rem;
    grid-template-columns: 1fr;
}
.footer-guides article h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    margin: 0 0 0.3rem;
    font-weight: 900;
}
.footer-guides article p { margin: 0; }
@media (min-width: 720px) {
    .footer-guides-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
    .footer-guides-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    justify-content: center;
    margin: 1rem 0 0;
}
.footer-links a { font-weight: 700; }
.prose-page h2 { margin: 1.4rem 0 0.5rem; font-size: 1.05rem; }
.prose-page ul { padding-left: 1.2rem; margin: 0.5rem 0 1rem; }
.prose-page li { margin: 0.35rem 0; }
html[dir="rtl"] .prose-page ul { padding-left: 0; padding-right: 1.2rem; }
.prose-page ol { padding-left: 1.2rem; margin: 0.5rem 0 1rem; }
html[dir="rtl"] .prose-page ol { padding-left: 0; padding-right: 1.2rem; }
.prose-page h3 { margin: 1.1rem 0 0.4rem; font-size: 0.95rem; }
.related-guides { margin-top: 2rem; padding-top: 1rem; border-top: 2px solid #000; }
.related-guides ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.guide-cards { display: grid; gap: 0.7rem; margin: 1rem 0 1.4rem; }
.guide-cards a {
    display: block;
    border: 2px solid #000;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
}
.guide-cards a:hover { background: #000; color: #fff; }
.guide-cards p { margin: 0.35rem 0 0; font-weight: 500; font-size: 0.88rem; }
.guide-home { border: 2px solid #000; padding: 0.85rem 1rem; margin: 0 0 1.2rem; }
.guide-home-list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.3rem; }
.guide-home-list a { font-weight: 700; }

/* Forms / pages */
.narrow { max-width: 640px; }
.stack { display: grid; gap: 0.75rem; margin: 1rem 0; }
.stack label, .report label { display: grid; gap: 0.25rem; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }
.stack button, .report button.btn { justify-self: start; }
.flash {
    padding: 0.7rem 0.9rem;
    border: 2px solid #000;
    background: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}
.flash.err { background: #000; color: #fff; }
.facts { padding-left: 1.1rem; margin: 0.8rem 0 1rem; }
.prose { white-space: pre-wrap; margin: 1rem 0; }
.apply { margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid #000; }
.apply .btn { margin: 0 0.4rem 0.8rem 0; }
.report { margin-top: 2rem; font-size: 0.9rem; }
.crumb { font-size: 0.85rem; margin-bottom: 0.4rem; }
.crumb a { font-weight: 700; }
.linkish, .inline button {
    background: none;
    border: 0;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.empty { padding: 1rem 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.role-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.check { font-weight: 700; display: flex; gap: 0.4rem; align-items: center; text-transform: none; }
.hint a { font-weight: 700; }
.links { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.host-alert {
    padding: 1rem 1.15rem;
    border: 2px solid #000;
    background: #fafafa;
    margin: 0 0 1.1rem;
}
.host-alert.warn { background: #fff8ea; }
.host-alert.critical { background: #000; color: #fff; }
.host-alert.critical a { color: #fff; }
.install-box {
    max-width: 640px;
    margin: 2rem auto;
    padding: 1.4rem;
    background: #fff;
    border: 2px solid #000;
}

/* Adsense — keep units inside the layout (Google injects !important heights) */
.ad-slot { margin: 1rem 0; max-width: 100%; overflow: hidden !important; }
.ad-slot iframe,
.ad-slot ins,
.adsbygoogle {
    max-width: 100% !important;
}
.ad-slot-header,
.ad-slot-footer {
    max-height: 100px !important;
    overflow: hidden !important;
}
.ad-slot-sidebar {
    max-width: min(300px, 100%) !important;
    max-height: 250px !important;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden !important;
}
.ad-slot-feed {
    max-height: 250px !important;
    overflow: hidden !important;
}
.ad-label { font-size: 0.7rem; color: #555; text-transform: uppercase; font-weight: 700; }
.ad-box {
    border: 2px dashed #000;
    min-height: 90px;
    display: grid;
    place-items: center;
    color: #555;
    background: #fff;
    font-style: italic;
    padding: 12px;
    text-align: center;
}
.header-banner {
    border: 3px dashed #000;
    padding: 15px;
    margin-bottom: 22px;
    background: #fafafa;
}
.ad-content-wrapper .header-banner,
.ad-content-wrapper .ad-slot {
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    min-height: 0;
}
.banner-title { font-weight: 800; margin: 0.15rem 0; font-size: 1.05rem; }
.kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

/* Pager */
.pager {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    margin: 1.6rem 0 0.4rem;
    flex-wrap: wrap;
}
.pager .on {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.pager .off { opacity: 0.4; font-size: 0.75rem; text-transform: uppercase; font-weight: 700; }

/* Tables / admin */
.table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; background: #fff; }
.table th, .table td { border-bottom: 1px solid #ccc; text-align: left; padding: 0.5rem 0.4rem; vertical-align: top; }
.inline { display: inline; }
.admin-top { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.filters-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.job-actions-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }

:root { --admin: 220px; --navy: #000; --navy-2: #111; --teal: #000; --line: #000; --soft: #fff; --bg: #fff; --fg: #000; --muted: #555; }

body.admin {
    display: grid;
    grid-template-columns: var(--admin) minmax(0, 1fr);
    min-height: 100vh;
    background: #fff;
}
.admin-nav {
    background: #000;
    color: #fff;
    padding: 1.2rem 0.8rem 2rem;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-nav .logo { color: #fff; font-size: 1.35rem; margin: 0 0.4rem 1.2rem; display: block; text-decoration: none; font-weight: 900; text-transform: uppercase; }
.admin-nav nav { display: grid; gap: 0.15rem; }
.admin-nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.55rem 0.65rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.admin-nav nav a:hover,
.admin-nav nav a.on { background: #fff; color: #000; }
.admin-main { padding: 1.2rem 2vw 2.5rem; min-width: 0; }
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    margin: 1rem 0;
}
.stat { border: 2px solid #000; padding: 0.85rem; background: #fff; }
.stat-n { font-size: 1.7rem; font-weight: 800; margin: 0.1rem 0; }
.insights { border: 2px solid #000; padding: 0.9rem 1rem; margin: 1rem 0; background: #fff; }
.bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 140px;
    margin: 1rem 0 2rem;
}
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; font-size: 0.65rem; color: #555; }
.bar-col .bar { width: 100%; background: #000; min-height: 2px; }
.meter { background: #eee; height: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; background: #000; }
.panel, .classified {
    border: 2px solid #000;
    background: #fff;
    padding: 0.95rem;
    margin: 0 0 1rem;
}
.dash .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 1.2rem;
    min-width: 0;
}
.dash .layout > * { min-width: 0; }
.stack input,
.stack select,
.stack textarea {
    max-width: 100%;
    min-width: 0;
}
.table-wrap,
.admin-main .table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

html[dir="rtl"] body {
    font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif;
}
html[dir="rtl"] .facts {
    padding-left: 0;
    padding-right: 1.1rem;
}
html[dir="rtl"] .table th,
html[dir="rtl"] .table td { text-align: right; }
html[dir="rtl"] .apply .btn { margin: 0 0 0.8rem 0.4rem; }

/* Responsive — match mock: hide sidebars on small screens */
@media (max-width: 1100px) {
    .main-layout { grid-template-columns: 220px 1fr 220px; }
}
@media (max-width: 900px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar-categories { display: none !important; }
    .sidebar-ads { border: 0; border-top: 2px solid #000; }
    .mobile-inline-ad {
        display: block;
        border: 2px dashed #000000;
        padding: 20px;
        margin: 25px 0;
        text-align: center;
        background: #fafafa;
    }
    .mobile-cat-nav {
        display: block;
        padding: 10px 14px 12px;
        border-bottom: 2px solid #000;
        background: #fff;
    }
    .mobile-cat-label {
        display: grid;
        gap: 6px;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
    }
    .mobile-cat-select {
        width: 100%;
        max-width: 100%;
        font: inherit;
        font-size: 16px;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        padding: 10px 12px;
        border: 2px solid #000;
        background: #fff;
        color: #000;
        border-radius: 0;
    }
    .search-bar { grid-template-columns: 1fr; }
    .grid2, .stat-grid { grid-template-columns: 1fr; }
    .dash .layout { grid-template-columns: 1fr; }
    body.admin { grid-template-columns: 1fr; }
    .admin-nav { position: static; height: auto; }
    .admin-nav nav { grid-template-columns: repeat(2, 1fr); }
    .admin-nav nav a { font-size: 0.78rem; padding: 0.45rem 0.4rem; }
    .admin-main { padding: 1rem 12px 2rem; overflow-x: hidden; }
    .header-search { width: 100%; max-width: 100%; }
    .header-search input { width: 100%; min-width: 0; flex: 1; }
    .header-right-group { width: 100%; max-width: 100%; }
    iframe, img, video { max-width: 100%; height: auto; }
}
@media (max-width: 720px) {
    .main-header { padding: 14px; }
    .logo-text { font-size: 1.35rem; }
    .brand-slogan { font-size: 0.68rem; }
    .header-search { order: 5; width: 100%; }
    .header-search input { width: 100%; min-width: 0; flex: 1; }
    .header-right-group { width: 100%; }
    .header-right-group .btn { padding: 6px 10px; font-size: 0.75rem; }
    .talent-chip { width: 60px; }
    .talent-avatar, .talent-chip img { width: 44px; height: 44px; }
    .talent-name { max-width: 60px; font-size: 0.55rem; }
    .talent-disclaimer { margin: 6px 14px 0; font-size: 0.62rem; }
    .classified-actions { grid-template-columns: 1fr 1fr; }
    .job-card { padding: 14px; }
    aside, .main-feed { padding: 14px; }
    .ad-slot-header, .ad-slot-footer { max-height: 90px !important; }
    .stack select { font-size: 16px; }
}

.share-page {
    min-height: 100vh;
    margin: 0;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 16px 48px;
}
.share-card {
    width: min(420px, 100%);
    background: #fff;
    color: #111;
    border: 3px solid #111;
    padding: 28px 22px 24px;
    text-align: center;
    box-shadow: 8px 8px 0 #000;
}
.share-brand {
    margin: 0 0 6px;
    display: flex;
    justify-content: center;
}
.share-brand .logo-text { font-size: 1.7rem; }
.share-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: #444;
}
.share-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 3px solid #111;
    display: block;
    margin: 0 auto 16px;
    background: #eee;
}
.share-title {
    font-size: 1.45rem;
    margin: 0 0 8px;
    line-height: 1.2;
}
.share-rank {
    display: inline-block;
    border: 2px solid #111;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}
.share-cat {
    font-size: 0.9rem;
    margin: 0 0 14px;
    color: #333;
}
.share-url {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}
.share-tag {
    font-size: 0.78rem;
    color: #555;
    margin: 0;
}
.share-hint {
    width: min(420px, 100%);
    text-align: center;
    color: #ccc;
    margin: 16px 0 0;
}
.share-actions {
    width: min(420px, 100%);
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.share-actions .btn { min-width: 140px; }
@media print {
    .share-page { background: #fff; padding: 0; }
    .share-hint, .share-actions { display: none; }
    .share-card { box-shadow: none; }
}
