/* Radio Benjamin – Benjamin-Mikro V0.18.71 */

:root {
    --rb-blue: #0d67b5;
    --rb-blue-dark: #084e88;
    --rb-red: #ef1f29;
    --rb-yellow: #ffd52b;
    --rb-text: #173b5c;
    --rb-muted: #61788d;
    --rb-bg: #f3f9fd;
    --rb-card: #ffffff;
    --rb-border: #dce8f1;
    --rb-shadow: 0 18px 45px rgba(14, 75, 118, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.rb-mikro-page {
    margin: 0;
    background: var(--rb-bg);
    color: var(--rb-text);
    font-family: Arial, Helvetica, sans-serif;
}

.rbm-shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

/* Header */

.rbm-header {
    position: relative;
    z-index: 40;
    background: #fffaf0;
    border-top: 1px solid #0d6d68;
    border-bottom: 3px solid #ef3834;
}

.rbm-header__inner {
    position: relative;
    height: 126px;
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 28px;
}

.rbm-logo {
    position: relative;
    align-self: stretch;
    z-index: 5;
}

.rbm-logo img {
    position: absolute;
    top: 20px;
    left: 8px;
    display: block;
    width: 190px;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(53, 73, 65, .12));
}

.rbm-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    white-space: nowrap;
}

.rbm-nav a {
    position: relative;
    display: inline-block;
    padding: 50px 0 47px;
    color: #173550;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.rbm-nav a:hover,
.rbm-nav a.is-active {
    color: #0d67b5;
}

.rbm-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #ffd52b;
    transform: translateX(-50%);
}

.rbm-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.rbm-club,
.rbm-live {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .01em;
}

.rbm-club {
    padding: 0 22px;
    background: #63ad4d;
    box-shadow: 0 7px 18px rgba(67, 139, 52, .16);
}

.rbm-live {
    gap: 10px;
    padding: 0 24px;
    background: #ee3833;
    box-shadow: 0 7px 18px rgba(238, 56, 51, .18);
}

.rbm-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

/* Studio image */

.rbm-studio {
    position: relative;
    height: clamp(445px, 48vw, 610px);
    overflow: hidden;
    background: #e8f4fb;
}

.rbm-studio__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.rbm-studio::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(243,249,253,0), var(--rb-bg));
    pointer-events: none;
}

/* cards */

.rbm-recorder-zone {
    position: relative;
    z-index: 5;
    margin-top: -95px;
    padding-bottom: 0;
}

.rbm-cards {
    display: grid;
    grid-template-columns: 1fr 1.22fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.rbm-card {
    border: 1px solid var(--rb-border);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--rb-shadow);
}

.rbm-card--parents,
.rbm-card--topics {
    padding: 31px 28px 28px;
}

.rbm-card--recorder {
    position: relative;
    padding: 28px 30px 31px;
    text-align: center;
    overflow: hidden;
}

.rbm-card--recorder::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: -72px;
    right: -62px;
    border-radius: 50%;
    background: #eef7ff;
}

.rbm-card__icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.rbm-card--parents h2,
.rbm-card--topics h2 {
    margin: 0 0 14px;
    color: #153b5d;
    font-size: 25px;
    line-height: 1.1;
}

.rbm-card--parents p {
    margin: 0 0 18px;
    line-height: 1.55;
    color: #445f76;
    font-size: 15px;
}

.rbm-checklist {
    list-style: none;
    padding: 0;
    margin: 18px 0 20px;
}

.rbm-checklist li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    color: #274a65;
    line-height: 1.35;
    font-size: 14px;
}

.rbm-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #20a34b;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.rbm-more {
    color: var(--rb-blue);
    font-weight: 900;
    text-decoration: underline;
}

.rbm-eyebrow {
    position: relative;
    z-index: 2;
    color: var(--rb-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.rbm-card--recorder h1 {
    position: relative;
    z-index: 2;
    margin: 0 0 7px;
    color: #143a5c;
    font-size: 34px;
    line-height: 1.05;
}

.rbm-recorder-intro {
    margin: 0 auto 8px;
    max-width: 500px;
    color: #3f5d75;
    line-height: 1.45;
    font-size: 15px;
}

.rbm-limit {
    color: #4a6479;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}

.rbm-timer {
    margin: 6px 0 11px;
    color: var(--rb-blue);
    font-size: 23px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.rbm-mic-wrap {
    width: 116px;
    height: 116px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffe2e5;
    box-shadow: 0 0 0 0 rgba(239,31,41,.25);
}

.rbm-mic-wrap.is-recording {
    animation: rbm-pulse 1.25s infinite;
}

.rbm-mic {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--rb-red);
    color: #fff;
    font-size: 45px;
}

@keyframes rbm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239,31,41,.3); }
    70% { box-shadow: 0 0 0 24px rgba(239,31,41,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,31,41,0); }
}

.rbm-status {
    min-height: 23px;
    margin-bottom: 14px;
    color: #365870;
    font-size: 14px;
    font-weight: 900;
}

.rbm-record-button {
    border: 0;
    border-radius: 999px;
    background: var(--rb-red);
    color: #fff;
    padding: 15px 25px;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 11px 24px rgba(239,31,41,.24);
}

.rbm-record-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 7px;
    border-radius: 50%;
    vertical-align: -2px;
    background: #fff;
}

.rbm-record-controls {
    margin-top: 10px;
}

.rbm-preview {
    margin-top: 12px;
}

.rbm-preview audio {
    width: 100%;
    margin-bottom: 12px;
}

.rbm-preview-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rbm-topic-list {
    margin: 12px 0 21px;
    padding-left: 19px;
}

.rbm-topic-list li {
    margin: 8px 0;
    color: #31516b;
    line-height: 1.35;
}

.rbm-warning {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    padding: 15px;
    border-radius: 17px;
    background: #fff4ce;
    color: #1e4564;
    font-size: 13px;
    line-height: 1.4;
}

.rbm-warning__icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--rb-blue);
    color: #fff;
    font-family: Georgia, serif;
    font-weight: 900;
}

.rbm-button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.rbm-button--stop {
    background: #263e52;
    color: #fff;
}

.rbm-button--light {
    background: #edf4f8;
    color: #274c67;
}

.rbm-button--blue {
    background: var(--rb-blue);
    color: #fff;
}

.rbm-button--send {
    background: var(--rb-red);
    color: #fff;
}

/* submit */

.rb-submit-section {
    padding: 45px 0 65px;
}

.rbm-submit-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid var(--rb-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--rb-shadow);
}

.rbm-submit-card h2 {
    margin: 0 0 7px;
    font-size: 32px;
}

.rbm-submit-card > p {
    color: var(--rb-muted);
}

.rbm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.rbm-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-weight: 900;
}

.rbm-form-wide {
    grid-column: 1 / -1;
}

.rbm-form-grid input,
.rbm-form-grid select {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #dce8f1;
    border-radius: 14px;
    background: #fff;
    color: #1f4059;
    font: inherit;
}

.rbm-form-grid small {
    color: #728799;
    font-weight: 500;
}

.rbm-consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 15px;
    border-radius: 15px;
    background: #f6fafc;
    color: #405c72;
    line-height: 1.45;
}

.rbm-consent input {
    margin-top: 4px;
}

.rbm-submit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.rb-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.rb-upload-progress {
    margin-top: 18px;
}

.rb-upload-progress__bar {
    height: 11px;
    border-radius: 999px;
    overflow: hidden;
    background: #e9f0f5;
}

.rb-upload-progress__bar span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--rb-blue);
    transition: width .2s;
}

.rb-form-message {
    margin-top: 14px;
    font-weight: 900;
}

.rb-form-message.is-error {
    color: #aa1f2b;
}

.rb-success {
    padding: 45px 0 65px;
}

.rbm-success-card {
    max-width: 700px;
    margin: auto;
    padding: 38px 28px;
    text-align: center;
    border: 1px solid var(--rb-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--rb-shadow);
}

.rbm-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e4f7ea;
    color: #188247;
    font-size: 38px;
    font-weight: 900;
}

.rbm-success-card h2 {
    margin: 0 0 9px;
}

/* footer */

.rbm-footer {
    position: relative;
    margin-top: 55px;
    padding: 45px 0 36px;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, #1476c4, #075ca4);
    overflow: hidden;
}

.rbm-footer::before,
.rbm-footer::after {
    content: "★";
    position: absolute;
    color: rgba(255,255,255,.1);
    font-size: 70px;
    top: 12px;
}

.rbm-footer::before {
    left: 7%;
}

.rbm-footer::after {
    right: 9%;
}

.rbm-footer strong {
    font-size: 25px;
}

.rbm-footer span {
    margin-left: 8px;
    color: #ffefef;
    font-size: 29px;
}

.rbm-unsupported {
    padding: 13px;
    border-radius: 14px;
    background: #fff0f1;
    color: #9c252d;
    font-weight: 800;
}

/* Responsive */

@media (max-width: 1180px) {
    .rbm-header__inner {
        grid-template-columns: 180px 1fr auto;
        gap: 20px;
    }

    .rbm-logo img {
        width: 155px;
        top: 24px;
    }

    .rbm-nav {
        gap: 22px;
    }

    .rbm-nav a {
        font-size: 16px;
    }

    .rbm-club,
    .rbm-live {
        font-size: 14px;
        min-height: 44px;
        padding-left: 17px;
        padding-right: 17px;
    }
}

@media (max-width: 980px) {
    .rbm-header__inner {
        grid-template-columns: 150px 1fr;
        height: 100px;
    }

    .rbm-logo img {
        width: 132px;
        top: 18px;
    }

    .rbm-nav {
        display: none;
    }

    .rbm-header-actions {
        justify-self: end;
    }

    .rbm-studio {
        height: 520px;
    }

    .rbm-studio__image {
        object-position: 55% center;
    }

    .rbm-cards {
        grid-template-columns: 1fr 1fr;
    }

    .rbm-card--recorder {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

@media (max-width: 720px) {
    .rbm-shell {
        width: min(100% - 22px, 1180px);
    }

    .rbm-header__inner {
        height: 82px;
        grid-template-columns: 95px 1fr;
    }

    .rbm-logo img {
        width: 92px;
        top: 12px;
        left: 0;
    }

    .rbm-nav {
        display: none;
    }

    .rbm-header-actions {
        gap: 8px;
    }

    .rbm-club {
        display: none;
    }

    .rbm-live {
        min-height: 40px;
        padding: 0 15px;
        font-size: 13px;
    }

    .rbm-studio {
        height: 390px;
    }

    .rbm-studio__image {
        object-position: 56% center;
    }

    .rbm-recorder-zone {
        margin-top: -50px;
    }

    .rbm-cards {
        grid-template-columns: 1fr;
    }

    .rbm-card--recorder,
    .rbm-card--parents,
    .rbm-card--topics {
        grid-column: auto;
        grid-row: auto;
    }

    .rbm-card--recorder {
        grid-row: 1;
    }

    .rbm-card--parents {
        grid-row: 2;
    }

    .rbm-card--topics {
        grid-row: 3;
    }

    .rbm-form-grid {
        grid-template-columns: 1fr;
    }

    .rbm-form-wide {
        grid-column: auto;
    }

    .rbm-submit-actions {
        justify-content: stretch;
    }

    .rbm-submit-actions .rbm-button {
        width: 100%;
    }

    .rbm-footer strong {
        font-size: 21px;
    }
}
