/* ==========================================================================
   ОБЩИЕ СТИЛИ ДЛЯ ПОВТОРЯЮЩИХСЯ ЭЛЕМЕНТОВ
   ViaHomeopatica Theme
   ========================================================================== */

/* ==========================================================================
   КНОПКА "ПОДРОБНЕЕ" ДЛЯ КАРТОЧЕК
   ========================================================================== */
.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card-footer .card-more-button,
.card-footer .more {
    margin-right: 5px;
}

/* Для карточек без .card-footer (acute-cases, references) */
.card > .card-more-button,
.card > .more {
    display: block;
    margin: auto 0 0 auto;
    padding: 8px 16px;
    background: #0F6B7D;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    transition: all 0.2s;
}

.card > .card-more-button:hover,
.card > .more:hover {
    background: #0A5260;
    color: white;
}

/* Для карточек с .card-footer (journal, news, articles) */
.card .card-footer .card-more-button,
.card .card-footer .more {
    display: inline-block;
    margin: 0;
    padding: 8px 16px;
    background: #0F6B7D;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    transition: all 0.2s;
}

.card .card-footer .card-more-button:hover,
.card .card-footer .more:hover {
    background: #0A5260;
    color: white;
}

/* ==========================================================================
   ACCESS DENIED PAGE
   ========================================================================== */
.access-denied-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
    background: #f5f7f3;
    border-radius: 12px;
}

.access-denied-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.access-denied-title {
    color: #6b8e7e;
    margin-bottom: 20px;
}

.access-denied-text {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.access-denied-button {
    display: inline-block;
    padding: 12px 30px;
    background: #6b8e7e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.access-denied-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8e6e3;
}

.access-denied-note {
    color: #999;
    font-size: 0.9rem;
}
