/* === Anigdha Ausbildung — Static Pages (page.php) === */

/* Page Banner */
.page-banner h1 {
    text-align: center;
}

/* ═══════════════════════════════════════
   PAGE SIDEBAR — CF7 Form
   ═══════════════════════════════════════ */

.page-sidebar .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-sidebar .wpcf7 label {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #5A5A5A;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-sidebar .wpcf7 input[type="text"],
.page-sidebar .wpcf7 input[type="email"],
.page-sidebar .wpcf7 input[type="tel"],
.page-sidebar .wpcf7 input[type="url"],
.page-sidebar .wpcf7 input[type="number"] {
    height: 48px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    color: #1A1A1A;
    background: #F8F9FA;
    outline: none;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.page-sidebar .wpcf7 input[type="text"]:focus,
.page-sidebar .wpcf7 input[type="email"]:focus,
.page-sidebar .wpcf7 input[type="tel"]:focus {
    border-color: #DD0000;
}

.page-sidebar .wpcf7 select {
    height: 48px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    color: #1A1A1A;
    background: #F8F9FA;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%235A5A5A'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    width: 100%;
    box-sizing: border-box;
}

.page-sidebar .wpcf7 textarea {
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    color: #1A1A1A;
    background: #F8F9FA;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
    height: 100px;
}

.page-sidebar .wpcf7 textarea:focus {
    border-color: #DD0000;
}

.page-sidebar .wpcf7 input[type="submit"] {
    height: 50px;
    background: #DD0000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    margin-top: 4px;
}

.page-sidebar .wpcf7 input[type="submit"]:hover {
    background: #1A1A1A;
}

.page-sidebar .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 4px;
}

.page-sidebar .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #DD0000;
}

/* Sidebar email hover */
.page-sidebar-email:hover {
    border-color: #DD0000 !important;
    color: #fff !important;
}

/* Page Article — Tables */
.page-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 15px;
}

.page-article table td {
    border: 1px solid #cecccc;
    padding: 12px 16px;
    text-align: left;
    color: #000000;
}

.page-article table th {
    background: #1A1A1A;
    color: #fff;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (max-width: 1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .page-banner { height: 300px !important; }
    .page-banner h1 { font-size: 42px !important; }
    .banner-deco { display: none !important; }
    /* Single column on tablet — article first, sidebar below */
    .page-content-wrap { padding: 50px 24px 70px !important; grid-template-columns: 1fr !important; }
    .page-sidebar { position: static !important; order: 2 !important; }
    .page-article { order: 1 !important; }
    .page-banner-title { font-size: 35px !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (max-width: 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .page-banner { height: 260px !important; }
    .page-banner h1 { font-size: 32px !important; letter-spacing: -0.8px !important; }
    .banner-title-row { gap: 0 !important; }
    .page-content-wrap { padding: 30px 18px 50px !important; }
    .page-banner-title { font-size: 30px !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small Mobile (max-width: 480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .page-banner { height: 220px !important; }
    .page-banner h1 { font-size: 26px !important; }
    .page-content-wrap { padding: 24px 14px 40px !important; }
    .page-banner-title { font-size: 24px !important; }
    .page-sidebar { gap: 20px !important; }
}
