/* ============================================================
   BLACK MARKETING GROUP — Пресс-центр
   Тёмная тема в стиле pr.dellin.ru с жёлтыми акцентами
   ============================================================ */

/* ---------- Reset внутри обёртки ---------- */
.bm-press-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #f5f5f5;
    background: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.bm-press-wrapper *,
.bm-press-wrapper *::before,
.bm-press-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.bm-press-wrapper a {
    color: inherit;
    text-decoration: none;
}
.bm-press-wrapper ul {
    list-style: none;
}
.bm-press-wrapper img {
    max-width: 100%;
    height: auto;
}

/* ---------- Container ---------- */
.bm-press-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .bm-press-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .bm-press-container { padding: 0 2rem; } }

/* ==========================================================
   HEADER
   ========================================================== */
.bm-press-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bm-press-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.bm-press-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.bm-press-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9333ea, #facc15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #000;
    flex-shrink: 0;
}
.bm-press-logo-text {
    display: flex;
    flex-direction: column;
}
.bm-press-logo-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.bm-press-logo-sub {
    font-size: 0.625rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Desktop Nav */
.bm-press-nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
@media (min-width: 1024px) {
    .bm-press-nav-desktop { display: flex; }
}
.bm-press-nav-link {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.bm-press-nav-link:hover {
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.06);
}
.bm-press-nav-link--active {
    background: #facc15 !important;
    color: #000 !important;
}

/* Burger */
.bm-press-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 8px 6px;
    background: none;
    border: none;
    cursor: pointer;
}
@media (min-width: 1024px) {
    .bm-press-burger { display: none; }
}
.bm-press-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #f5f5f5;
    border-radius: 1px;
    transition: all 0.2s;
}
.bm-press-burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.bm-press-burger.is-open span:nth-child(2) { opacity: 0; }
.bm-press-burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Menu */
.bm-press-mobile-menu {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.98);
}
.bm-press-mobile-menu.is-open {
    display: block;
}
.bm-press-mobile-menu .bm-press-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.bm-press-cat-pill {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.15s ease;
}
.bm-press-cat-pill:hover {
    color: #f5f5f5;
}
.bm-press-cat-pill--active {
    background: #facc15 !important;
    color: #000 !important;
}

/* ==========================================================
   MAIN LAYOUT
   ========================================================== */
.bm-press-main {
    flex: 1;
    padding: 2rem 0;
}
.bm-press-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .bm-press-layout { flex-direction: row; }
}
.bm-press-feed {
    flex: 1;
    min-width: 0;
}
.bm-press-sidebar {
    width: 100%;
    flex-shrink: 0;
}
@media (min-width: 1024px) {
    .bm-press-sidebar { width: 288px; }
}

/* ==========================================================
   SEARCH
   ========================================================== */
.bm-press-search {
    position: relative;
    margin-bottom: 1.5rem;
}
.bm-press-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}
.bm-press-search-input {
    width: 100%;
    height: 40px;
    padding: 0 1rem 0 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #f5f5f5;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
}
.bm-press-search-input::placeholder {
    color: #666;
}
.bm-press-search-input:focus {
    border-color: rgba(250, 204, 21, 0.4);
}

/* ==========================================================
   FEED HEADER
   ========================================================== */
.bm-press-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.bm-press-feed-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bm-press-feed-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}
.bm-press-feed-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
}
.bm-press-reset {
    font-size: 0.75rem;
    color: #facc15;
    transition: opacity 0.15s;
}
.bm-press-reset:hover {
    text-decoration: underline;
}

/* ==========================================================
   CARD GRID
   ========================================================== */
.bm-press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .bm-press-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   CARD
   ========================================================== */
.bm-press-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.bm-press-card:hover {
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 4px 24px rgba(250, 204, 21, 0.08);
    transform: translateY(-2px);
}
.bm-press-card--pinned {
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.3), 0 0 20px rgba(250, 204, 21, 0.05);
}
.bm-press-card--pinned:hover {
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.5), 0 4px 30px rgba(250, 204, 21, 0.12);
}

.bm-press-card-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.bm-press-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.bm-press-pinned-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bm-press-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}
.bm-press-card-title a {
    color: #f5f5f5;
    transition: color 0.15s;
}
.bm-press-card:hover .bm-press-card-title a {
    color: #facc15;
}

.bm-press-card-excerpt {
    font-size: 0.875rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-press-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #666;
    flex-wrap: wrap;
}
.bm-press-card-date,
.bm-press-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================
   PAGINATION
   ========================================================== */
.bm-press-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.bm-press-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #f5f5f5;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
}
.bm-press-page-btn:hover:not(.bm-press-page-btn--disabled) {
    background: rgba(255, 255, 255, 0.06);
}
.bm-press-page-btn--disabled {
    opacity: 0.3;
    cursor: default;
}
.bm-press-page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}
.bm-press-page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    transition: all 0.15s;
}
.bm-press-page-num:hover {
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.06);
}
.bm-press-page-num--active {
    background: #facc15 !important;
    color: #000 !important;
    font-weight: 600;
}

/* ==========================================================
   EMPTY STATE
   ========================================================== */
.bm-press-empty {
    text-align: center;
    padding: 4rem 0;
}
.bm-press-empty p {
    font-size: 0.875rem;
    color: #888;
}

/* ==========================================================
   SIDEBAR
   ========================================================== */
.bm-press-sidebar-block {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.bm-press-sidebar-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 1rem;
}

/* Sidebar: Rubrics */
.bm-press-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bm-press-sidebar-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #888;
    transition: all 0.15s;
}
.bm-press-sidebar-link:hover {
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.04);
}
.bm-press-sidebar-link--active {
    background: rgba(250, 204, 21, 0.1) !important;
    color: #facc15 !important;
    font-weight: 500;
}

/* Sidebar: Contacts */
.bm-press-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.bm-press-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #888;
}
.bm-press-contact-item svg {
    flex-shrink: 0;
}
.bm-press-contact-item a {
    color: #888;
    transition: color 0.15s;
}
.bm-press-contact-item a:hover {
    color: #facc15;
}
.bm-press-sidebar-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 1rem 0;
}
.bm-press-sidebar-note {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
}

/* Sidebar: RSS */
.bm-press-rss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #facc15;
    background: transparent;
    margin-top: 0.75rem;
    transition: all 0.15s;
}
.bm-press-rss-btn:hover {
    background: rgba(250, 204, 21, 0.1);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.bm-press-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}
.bm-press-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    text-align: center;
}
@media (min-width: 640px) {
    .bm-press-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.bm-press-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.bm-press-footer-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}
.bm-press-footer-since {
    display: block;
    font-size: 0.75rem;
    color: #888;
}
.bm-press-footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #888;
}
.bm-press-footer-links a:hover {
    color: #facc15;
}
.bm-press-footer-dot {
    color: #444;
}
.bm-press-footer-copy {
    font-size: 0.625rem;
    color: rgba(136, 136, 136, 0.6);
}