/* ============================================================
   PRESS PAGE
   ============================================================ */

/* ===== ЗАГОЛОВКИ ===== */

.p-header {
    padding: 60px 20px 40px;
    text-align: center;
}

.p-top-line {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #818181;
    margin-bottom: 20px;
}

.p-huge-title {
    font-family: 'Geologica', sans-serif;
    font-size: 12vw;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 30px;
}

.p-subtitle {
    font-family: 'Geologica', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    color: #000;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== ФИЛЬТРЫ ===== */

.p-filters {
    padding: 0 20px 20px;
}

.p-filters-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.p-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    font-family: 'Geologica', sans-serif;
    font-size: 15px;
    padding: 0;
    transition: color 0.3s ease;
    text-align: center;
}

.p-filter-btn span:first-child { transition: color 0.3s ease; }

.p-filter-btn:hover span:first-child,
.p-filter-btn.active span:first-child { color: #FF0000; }

.p-filter-count {
    font-size: 12px;
    color: #818181;
    margin-top: 5px;
}

.p-filter-btn.active .p-filter-count,
.p-filter-btn:hover .p-filter-count { color: #FF0000; }

/* ===== CONTROLS ===== */

.p-controls {
    padding: 0 20px 20px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.p-control-btn {
    min-height: 44px;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: #000;
    font-family: 'Geologica', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.p-control-btn:hover { color: #FF0000; }

/* ===== КОНТЕНТ ===== */

.p-content {
    padding: 0 20px 80px;
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.p-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.p-grid-large-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* ===== КАРТОЧКА ===== */

.p-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.p-card-image {
    width: 100%;
    height: 425px;
    overflow: hidden;
    margin-bottom: 15px;
}

.p-grid-large .p-card-image { height: 470px; }
.p-grid-large-2 .p-card-image { height: 580px; }

.p-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-card-date {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #494747;
    margin-bottom: 8px;
}

.p-card-title {
    font-family: 'Geologica', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
}

.p-card-tag {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #818181;
    margin-bottom: 8px;
}

.p-card-excerpt {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #494747;
}

/* ===== LOAD MORE ===== */

.p-load-more {
    display: block;
    margin: 20px auto 40px;
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: #000;
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.p-load-more::before { content: "› "; }
.p-load-more:hover { color: #FF0000; }

.p-no-items {
    text-align: center;
    padding: 60px 0;
    color: #818181;
    font-style: italic;
}

/* ===== ДЕТАЛЬНАЯ СТРАНИЦА ===== */

.pd-container {
    padding: 40px 20px 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.pd-back {
    display: inline-block;
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    color: #818181;
    text-decoration: none;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.pd-back:hover { color: #FF0000; }

.pd-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.pd-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pd-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pd-title {
    font-family: 'Geologica', sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.pd-date {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #494747;
    margin: 0;
}

.pd-tag {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #818181;
    margin: 0;
}

.pd-excerpt {
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    color: #000;
    margin: 0;
}

.pd-full-text {
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: #333;
    max-width: 900px;
}

.pd-full-text p {
    margin-bottom: 16px;
}

.pd-full-text p:last-child {
    margin-bottom: 0;
}

.pd-full-text ul,
.pd-full-text ol {
    list-style: initial !important;
    padding-left: 40px;
    margin: 20px 0;
}

.pd-full-text li {
    list-style: inherit !important;
    display: list-item !important;
    margin-bottom: 8px;
    line-height: 1.8;
}