/* ==========================================================================
    СТРАНИЦА
   ========================================================================== */

.news-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(17, 17, 16, 0.8) 0%, rgba(41, 40, 41, 0.2) 100%);
}

.news-hero__title {
    color: #E4AD2B;
    font-size: 150px;
    font-family: "A La Russ", sans-serif;
    font-weight: 500;
    line-height: 142.50px;
    text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.81);
    margin: 0;
}

.news-hero__subtitle {
    color: white;
    font-size: 36px;
    font-family: "Lucida Sans Unicode", sans-serif;
    font-weight: 400;
    line-height: 50px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.81);
    margin: 20px 0;
}

/* ==========================================================================
    КОНТЕЙНЕР
   ========================================================================== */

.news-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.news-container__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* ==========================================================================
    КАРТОЧКИ
   ========================================================================== */

.news-card {
    width: 100%;
    max-width: 830px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 2px solid rgba(228, 173, 43, 0.3);
    border-radius: 20px;
    overflow: visible;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 173, 43, 0.6);
    box-shadow: 0 20px 40px rgba(228, 173, 43, 0.25);
}

.news-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(228, 173, 43, 0.15) 0%, rgba(228, 173, 43, 0.05) 100%);
    border-bottom: 1px solid rgba(228, 173, 43, 0.2);
}

.news-card__date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-family: "Lucida Sans Unicode", sans-serif;
    font-weight: 400;
}

.news-card__vk-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0077FF 0%, #0055CC 100%);
    color: white;
    font-size: 14px;
    font-family: "Lucida Sans Unicode", sans-serif;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
}

.news-card__body {
    flex: 1;
    padding: 10px 0px 10px 0px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.news-card__footer {
    padding: 20px 30px;
    background: rgba(228, 173, 43, 0.05);
    border-top: 1px solid rgba(228, 173, 43, 0.2);
}

.news-card__external-link {
    color: #E4AD2B;
    font-size: 16px;
    font-family: "Lucida Sans Unicode", sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-card__external-link:hover {
    color: #F4C842;
    gap: 12px;
}

/* ==========================================================================
    ВИДЖЕТЫ ВНУТРИ КАРТОЧКИ
   ========================================================================== */

.vk-widget-container {
    width: 100%;
    max-width: 800px;
    overflow: visible;
}

.vk-widget-container > div {
    width: 100% !important;
}

iframe[src*="vk.com"] {
    width: 100% !important;
    border: none !important;
}

.vk-error {
    color: #ff6464;
    font-size: 16px;
    font-family: "Lucida Sans Unicode", sans-serif;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 100, 100, 0.1);
    border-radius: 10px;
}

.vk-error small {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 100, 100, 0.8);
}

.vk-error a {
    color: #0077FF;
    text-decoration: none;
    font-weight: 600;
}

.vk-error a:hover {
    text-decoration: underline;
}

/* ==========================================================================
    ЗАГРУЗКА И ПУСТОЕ СОСТОЯНИЕ
   ========================================================================== */

.news-loading {
    text-align: center;
    padding: 60px 20px;
}

.news-loading p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-family: "Lucida Sans Unicode", sans-serif;
    margin-top: 20px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(228, 173, 43, 0.2);
    border-top-color: #E4AD2B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.news-empty {
    text-align: center;
    padding: 60px 20px;
}

.news-empty p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    font-family: "Lucida Sans Unicode", sans-serif;
    margin: 10px 0;
}

.news-empty p:first-child {
    font-size: 24px;
    color: #E4AD2B;
}

/* ==========================================================================
    Плавающая кнопка админки
   ========================================================================== */

.admin-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E4AD2B 0%, #F4C842 100%);
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(228, 173, 43, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.admin-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(228, 173, 43, 0.7);
}

