/* ============================= */
/* Mitglied werden – Kartenstil  */
/* ============================= */

.member-page{
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 18px 60px;
}

/* Grid (auto responsive) */
.member-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

/* Cards */
.member-card{
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

/* Überschriften: Blau + Gold-Akzent (Variante B) */
.member-card h3{
    margin: 0 0 18px;
    font-size: 1.1rem;
    color: #0b2a4a;          /* Vereins-Blau */
    text-align: center;
    position: relative;
    padding-bottom: 6px;
}

.member-card h3::after{
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    background: #c9a14a;     /* dezentes Gold */
    margin: 8px auto 0;
    border-radius: 2px;
}

.member-card p{
    margin: 0;
    color: #333;
    line-height: 1.7;
    text-align: center;
    font-weight: 700;
}

/* Wide cards full width */
.member-card--wide{
    grid-column: 1 / -1;
}

/* List layout */
.member-list{
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-list li{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.10);
    font-size: 0.95rem;
}

.member-list li:last-child{
    border-bottom: none;
}

.member-list span{
    color: #333;
    overflow-wrap: anywhere;
}

.member-list strong{
    color: #0b2a4a;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    display: inline;
}

/* Very small screens */
@media (max-width: 420px){
    .member-list li{
        grid-template-columns: 1fr auto;
    }

    .member-list strong{
        text-align: right;
    }
}

/* "Hinweis gehört zur Zeile" (Hegestunden) */
.member-item{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.member-item__text{
    display: flex;
    flex-direction: column;
}

.member-item__text small{
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

/* ===================================== */
/* 2 Spalten innerhalb 1 breiten Karte   */
/* ===================================== */

.member-split{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.member-split__col{
    padding: 2px 0;
}

/* dezente Trennlinie zwischen den Spalten (Desktop) */
@media (min-width: 701px){
    .member-split__col + .member-split__col{
        border-left: 1px dashed rgba(0,0,0,0.10);
        padding-left: 26px;
    }
}

/* Mobile: untereinander */
@media (max-width: 700px){
    .member-split{
        grid-template-columns: 1fr;
    }
}

/* ===================================== */
/* OPTIONAL: Zusatzkosten leicht betonen  */
/* ===================================== */

.member-split__col--extra h3{
    color: #163b5e; /* leicht dunkleres Blau (ruhiger Akzent) */
}

.member-split__col--extra h3::after{
    background: #c9a14a; /* Gold bleibt */
}
/* ===================================== */
/* Download-Button (PDF Aufnahmeanträge) */
/* ===================================== */

.member-download{
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    background: #0b2a4a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    transition: transform 120ms ease, background 120ms ease;
}

.member-download:hover,
.member-download:focus{
    background: #163b5e;
    transform: translateY(-1px);
}

.member-download:active{
    transform: translateY(0);
}

/* ===================================== */
/* Download-Limit Box + Close + Timer     */
/* ===================================== */

.download-error{
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid rgba(201, 161, 74, 0.55);
    border-left: 6px solid #c9a14a;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    color: #0b2a4a;
    text-align: center;
    font-weight: 700;
    line-height: 1.6;
    position: relative;
    transition: opacity 0.4s ease;
}

.download-error__close{
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    color: #0b2a4a;
    cursor: pointer;
    line-height: 1;
}

.download-error__close:hover{
    color: #c9a14a;
}

.download-error__timer{
    display: inline-block;
    margin-top: 4px;
    white-space: nowrap; /* bleibt kompakt */
}
