/*----------------------------------*/
/*----------------------------------*/
/*----------------------------------*/
/*КНОПАШКИ*/
/*----------------------------------*/
/*----------------------------------*/
/*----------------------------------*/

/* Контейнер для группы кнопок */
.rc-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px 12px;
    padding-top: 15px;
}

/* Общий стиль кнопок */
.rc-btn,
.rc-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 22px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;

    color: #FFFFFF;
    background-color: var(--rc-btn-bg);
    border: 1px solid transparent;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;

    transition: background-color 0.15s ease;
}

/* Наведение */
.rc-btn:hover,
.rc-btn:active {
    color: #FFFFFF;
    background-color: var(--rc-btn-hover);
    text-decoration: none;
}

/* Навигация с клавиатуры */
.rc-btn:focus-visible {
    color: #FFFFFF;
    outline: 3px solid #004767;
    outline-offset: 3px;
}

/* Цвета кнопок */

.rc-btn-blue {
    --rc-btn-bg: #004767;
    --rc-btn-hover: #00354D;
}

.rc-btn-green {
    --rc-btn-bg: #2F7A4B;
    --rc-btn-hover: #245F3B;
}

.rc-btn-orange {
    --rc-btn-bg: #A75C19;
    --rc-btn-hover: #874912;
}

.rc-btn-purple {
    --rc-btn-bg: #54316F;
    --rc-btn-hover: #422657;
}

/* Мобильные устройства и планшеты */
@media (max-width: 991.8px) {

    .rc-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .rc-btn,
    .rc-btn:visited {
        width: 100%;
        font-size: 15px;
        padding: 12px 18px;
        min-height: 44px;
    }

}



/*----------------------------------*/
/*----------------------------------*/
/*----------------------------------*/
/*RusCzech — Apostille: Commercial + Navigation*/
/*----------------------------------*/
/*----------------------------------*/
/*----------------------------------*/



/* =========================================
   RusCzech — Apostille: Commercial + Navigation
   ========================================= */

.rc-apo {
    --rc-apo-blue: #004767;
    --rc-apo-green: #2F7A4B;
    --rc-apo-purple: #54316F;
    --rc-apo-text: #404D60;
    --rc-apo-background: #E6F4F8;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;

    padding: 12px;
    background-color: var(--rc-apo-background);
    border-radius: 8px;
    color: var(--rc-apo-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.rc-apo,
.rc-apo * {
    box-sizing: border-box;
}

/* ----- Commercial column ----- */

.rc-apo-commercial {
    min-width: 0;
    padding: 16px;
    background-color: #FFFFFF;
    border: 1px solid #D3E1E8;
    border-radius: 6px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ----- Information column ----- */

.rc-apo-information {
    min-width: 0;
    padding: 8px 4px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ----- Section headings ----- */

.rc-apo-heading {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0;
    color: var(--rc-apo-blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.rc-apo-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ----- Commercial text ----- */

.rc-apo-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rc-apo .rc-apo-price,
.rc-apo .rc-apo-deadline {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.rc-apo .rc-apo-price {
    color: var(--rc-apo-green);
}

.rc-apo .rc-apo-deadline {
    color: var(--rc-apo-purple);
}

.rc-apo .rc-apo-note {
    margin: 0;
    color: var(--rc-apo-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.rc-apo .rc-apo-extra {
    margin: 0;
    color: var(--rc-apo-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* ----- Commercial actions ----- */

.rc-apo-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.rc-apo a.rc-apo-btn,
.rc-apo a.rc-apo-btn:visited {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;
    padding: 12px 18px;

    background-color: var(--rc-apo-blue);
    color: #FFFFFF;
    border-radius: 5px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;

    transition: background-color 0.15s ease;
}

.rc-apo a.rc-apo-btn:hover {
    background-color: #00354D;
    color: #FFFFFF;
    text-decoration: none;
}

/* ----- Reviews link ----- */

.rc-apo a.rc-apo-reviews,
.rc-apo a.rc-apo-reviews:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    align-self: center;
    min-height: 36px;
    padding: 4px 8px;

    color: var(--rc-apo-green);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rc-apo a.rc-apo-reviews:hover {
    color: #245F3B;
    text-decoration: underline;
}

/* ----- Information navigation ----- */

.rc-apo .rc-apo-nav-intro {
    margin: 0;
    color: var(--rc-apo-text);
    font-size: 14px;
    line-height: 1.5;
}

.rc-apo-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Regular navigation cards */

.rc-apo a.rc-apo-nav-card,
.rc-apo a.rc-apo-nav-card:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 100%;
    min-height: 52px;
    padding: 12px;

    background-color: #FFFFFF;
    color: var(--rc-apo-blue);
    border: 1px solid #C4D7E0;
    border-radius: 5px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    cursor: pointer;

    transition: background-color 0.15s ease,
    border-color 0.15s ease;
}

.rc-apo a.rc-apo-nav-card:hover {
    background-color: #F3FAFC;
    border-color: var(--rc-apo-blue);
    color: var(--rc-apo-blue);
    text-decoration: none;
}

.rc-apo-nav-arrow {
    flex-shrink: 0;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}

/* ----- Featured navigation card ----- */

.rc-apo a.rc-apo-nav-featured,
.rc-apo a.rc-apo-nav-featured:visited {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;

    min-height: 82px;
    background-color: #F3EAFB;
    color: var(--rc-apo-purple);
    border-color: var(--rc-apo-purple);
    font-weight: 600;
}

.rc-apo a.rc-apo-nav-featured:hover {
    background-color: #EBDCF7;
    border-color: var(--rc-apo-purple);
    color: var(--rc-apo-purple);
}

.rc-apo-feature-label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.rc-apo-feature-label .rc-apo-icon {
    width: 17px;
    height: 17px;
}

.rc-apo-nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ----- Keyboard accessibility ----- */

.rc-apo a:focus-visible {
    outline: 3px solid var(--rc-apo-blue);
    outline-offset: 3px;
}

/* ----- Mobile and tablets ----- */

@media (max-width: 991.8px) {

    .rc-apo {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        /*padding: 0;*/
    }

    .rc-apo-commercial {
        padding: 16px;
    }

    .rc-apo-information {
        padding: 4px;
    }

    .rc-apo a.rc-apo-btn,
    .rc-apo a.rc-apo-nav-card {
        width: 100%;
    }

    .rc-apo-nav-list {
        gap: 14px;
    }

    .rc-apo a.rc-apo-nav-card {
        min-height: 48px;
    }
}

/* ----- Reduced motion ----- */

@media (prefers-reduced-motion: reduce) {
    .rc-apo a {
        transition: none;
    }
}



