/* ==========================================================================
   SETI Association — новые страницы 09.2026: Documents, Take Part, заявки.
   Префикс sw26-. Использует переменные темы: --font-family (Roboto),
   --second-family (Bebas Neue), --second-color (#0019ff).
   ========================================================================== */

.sw26-page .container {
    padding-top: 56px;
    padding-bottom: 96px;
}

.sw26-page .entry-content,
.sw26-tp-card__text {
    font: 300 18px / 1.6 var(--font-family);
    color: #000;
}

.sw26-page .entry-content > *:first-child { margin-top: 0; }
.sw26-page .entry-content p { margin: 0 0 18px; }
.sw26-page .entry-content ul { margin: 0 0 22px; padding-left: 22px; }
.sw26-page .entry-content li { margin: 0 0 6px; }
.sw26-page .entry-content a { color: var(--second-color); }
.sw26-page .entry-content h2 {
    font: 400 28px / 1.2 var(--second-family);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 44px 0 18px;
}
.sw26-page .entry-content h2:first-child { margin-top: 0; }
.sw26-page .entry-content h3 {
    font: 600 22px / 1.3 var(--font-family);
    margin: 32px 0 12px;
}
.sw26-page .entry-content strong { font-weight: 600; }

/* заголовок-вопрос (Take Part) и вводный текст */
.sw26-lead {
    font: 400 32px / 1.15 var(--second-family);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    max-width: 1000px;
    margin: 0 0 40px;
}
.sw26-intro { max-width: 900px; margin-bottom: 40px; }
.sw26-empty { color: #7f7f7f; }

/* --------------------------------------------------------------------------
   Documents
   -------------------------------------------------------------------------- */
.sw26-doc-section { max-width: 900px; margin: 0 0 56px; }
.sw26-doc-section:last-child { margin-bottom: 0; }
.sw26-doc-section__title { margin: 0 0 22px; }

.sw26-doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #000; }
.sw26-doc { margin: 0; border-bottom: 1px solid #d9d9d9; }
.sw26-doc__link {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px 4px;
    text-decoration: none;
    color: #000;
    font: 400 18px / 1.4 var(--font-family);
    transition: color .15s;
}
.sw26-doc__link:hover { color: var(--second-color); }
.sw26-doc__icon { display: inline-flex; color: var(--second-color); }
.sw26-doc__label { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 4px; }
.sw26-doc__link:hover .sw26-doc__label { text-decoration-color: currentColor; }
.sw26-doc__meta {
    font: 400 12px / 1 var(--font-family);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7f7f7f;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Take Part — карточки
   -------------------------------------------------------------------------- */
.sw26-tp-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sw26-tp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
    padding: 40px 48px 44px;
}
@media screen and (max-width: 767px) {
    .sw26-tp-card { padding: 28px 24px 32px; }
}
.sw26-tp-card__title {
    font: 700 26px / 1.25 var(--font-family);
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 14px;
    color: #000;
}
.sw26-tp-card__text { flex: 1 1 auto; font-size: 17px; max-width: 900px; }
.sw26-tp-card__text p { margin: 0 0 14px; }
.sw26-tp-card__text p:last-child { margin-bottom: 0; }
.sw26-tp-card__text a { color: var(--second-color); }
.sw26-tp-card__action { margin-top: 28px; }

.sw26-btn.btn.btn_blue {
    display: inline-flex;
    width: auto;
    padding: 14px 32px;
    font-size: 15px;
    box-shadow: none;
    transition: background .15s;
}
/* Тема держит глобальное `a:hover{color:var(--second-color)!important}`, поэтому белый текст
   на кнопке при наведении перебивался синим. Отдаём ховер теме: белый фон + синий текст,
   как у остальных кнопок сайта. */
.sw26-btn.btn.btn_blue:hover { background: #fff; color: var(--second-color) !important; }

/* --------------------------------------------------------------------------
   Страницы заявок: текст + форма
   -------------------------------------------------------------------------- */
.sw26-apply__content { max-width: 900px; }

.sw26-form {
    max-width: 800px;
    margin-top: 56px;
    padding: 44px 44px 40px;
    background: #f3f3f3;
}
.sw26-form__title {
    font: 400 30px / 1.15 var(--second-family);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

/* Fluent Forms → стиль сайта */
.sw26-form .fluentform .ff-el-group { margin-bottom: 22px; }
.sw26-form .fluentform .ff-el-input--label { margin-bottom: 8px; }
.sw26-form .fluentform .ff-el-input--label label {
    font: 400 16px / 1.3 var(--font-family);
    color: #000;
}
.sw26-form .fluentform .ff-el-is-required.asterisk-right .ff-el-input--label label:after { color: #d40000; }
.sw26-form .fluentform .ff-el-form-control {
    width: 100%;
    background: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 0;
    box-shadow: none;
    padding: 13px 16px;
    height: auto;
    min-height: 48px;
    font: 300 16px / 1.4 var(--font-family);
    color: #000;
    transition: border-color .15s;
}
.sw26-form .fluentform .ff-el-form-control:focus {
    border-color: var(--second-color);
    outline: none;
    box-shadow: none;
}
.sw26-form .fluentform textarea.ff-el-form-control { min-height: 140px; resize: vertical; }
.sw26-form .fluentform select.ff-el-form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.sw26-form .fluentform .ff-el-help-message { font: 300 13px / 1.4 var(--font-family); color: #7f7f7f; }

/* чекбоксы и радио */
.sw26-form .fluentform .ff-el-form-check { margin-bottom: 8px; }
.sw26-form .fluentform .ff-el-form-check-label,
.sw26-form .fluentform .ff-el-tc label {
    font: 300 15px / 1.45 var(--font-family);
    color: #000;
    cursor: pointer;
}
.sw26-form .fluentform .ff-el-form-check-input { accent-color: var(--second-color); width: 16px; height: 16px; margin-top: 4px; }
.sw26-form .fluentform .ff_list_2col .ff-el-form-check { width: 50%; }
.sw26-form .fluentform .ff-el-tc a { color: var(--second-color); }

/* загрузка файла */
.sw26-form .fluentform .ff_file_upload_holder .ff_upload_btn,
.sw26-form .fluentform .ff_upload_btn {
    background: #fff;
    border: 1px solid #000;
    border-radius: 0;
    color: #000;
    font: 400 14px / 1 var(--font-family);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 20px;
    cursor: pointer;
}
.sw26-form .fluentform .ff_upload_btn:hover { background: #000; color: #fff; }

/* кнопка отправки */
.sw26-form .fluentform .ff-btn-submit {
    background: var(--second-color);
    color: #fff;
    border: 0;
    border-radius: 0;
    font: 400 16px / 1 var(--font-family);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 18px 44px;
    cursor: pointer;
    transition: background .15s;
}
.sw26-form .fluentform .ff-btn-submit:hover { background: var(--blue-hover); }
.sw26-form .fluentform .ff-btn-submit[disabled] { opacity: .6; }

/* ошибки и успех */
.sw26-form .fluentform .ff-el-is-error .ff-el-form-control { border-color: #d40000; }
.sw26-form .fluentform .error,
.sw26-form .fluentform .text-danger { font: 300 13px / 1.4 var(--font-family); color: #d40000; }
.sw26-form .ff-message-success {
    border: 0;
    background: #0019ff;
    color: #fff;
    padding: 28px 32px;
    box-shadow: none;
    font: 400 18px / 1.5 var(--font-family);
}
.sw26-form .ff-message-success p,
.sw26-form .ff-message-success a { color: #fff; }
.sw26-form .ff-message-success p:first-child { margin-top: 0; }
.sw26-form .ff-message-success p:last-child { margin-bottom: 0; }
@media screen and (max-width: 768px) {
    .sw26-form .ff-message-success { padding: 20px 22px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Мобильные
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .sw26-page .container { padding-top: 36px; padding-bottom: 64px; }
    .sw26-lead { font-size: 24px; letter-spacing: 0.12em; margin-bottom: 28px; }
    .sw26-page .entry-content, .sw26-tp-card__text { font-size: 16px; }
    .sw26-page .entry-content h2 { font-size: 24px; letter-spacing: 0.14em; margin-top: 32px; }
    .sw26-tp-card { padding: 26px 22px 26px 26px; }
    .sw26-tp-card__title { font-size: 21px; }
    .sw26-doc__link { grid-template-columns: 22px 1fr; font-size: 16px; }
    .sw26-doc__meta { grid-column: 2; }
    .sw26-form { padding: 28px 20px 24px; margin-top: 40px; }
    .sw26-form__title { font-size: 24px; letter-spacing: 0.14em; }
    .sw26-form .fluentform .ff_list_2col .ff-el-form-check { width: 100%; }
}
