/* === Anigdha Ausbildung — Blog Single Post (single.php) === */

/* ═══════════════════════════════════════
   PAGE BANNER (shared with page.php)
   ═══════════════════════════════════════ */
.page-banner h1 {
    text-align: center;
}

/* ═══════════════════════════════════════
   BLOG SIDEBAR CF7 FORM (dark background)
   ═══════════════════════════════════════ */

.blog-sidebar-form .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-sidebar-form .wpcf7 label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    margin-bottom: 8px;
}

.blog-sidebar-form .wpcf7 input[type="text"],
.blog-sidebar-form .wpcf7 input[type="email"],
.blog-sidebar-form .wpcf7 input[type="tel"],
.blog-sidebar-form .wpcf7 input[type="url"],
.blog-sidebar-form .wpcf7 input[type="number"] {
    width: 100%;
    height: 48px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.blog-sidebar-form .wpcf7 input[type="text"]::placeholder,
.blog-sidebar-form .wpcf7 input[type="email"]::placeholder,
.blog-sidebar-form .wpcf7 input[type="tel"]::placeholder {
    color: rgba(255,255,255,.35);
}

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

.blog-sidebar-form .wpcf7 select {
    width: 100%;
    height: 48px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    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='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    box-sizing: border-box;
}

.blog-sidebar-form .wpcf7 textarea {
    width: 100%;
    height: 100px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #fff;
    outline: none;
    resize: vertical;
    transition: border-color .2s;
    box-sizing: border-box;
}

.blog-sidebar-form .wpcf7 textarea::placeholder {
    color: rgba(255,255,255,.35);
}

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

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

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

.blog-sidebar-form .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    border-radius: 5px;
    margin: 10px 0 0 !important;
    color: rgba(255,255,255,.7);
}

.blog-sidebar-form .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #FFCE03;
    margin-top: 4px;
}

/* ═══════════════════════════════════════
   BLOG — Hover States
   ═══════════════════════════════════════ */
.blog-card { transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16,27,51,.12); }
.blog-card-title:hover { color: #DD0000 !important; }
.blog-read-more:hover { color: #DD0000 !important; }
.blog-sidebar-title:hover { color: #DD0000 !important; }
.blog-sidebar-cat:hover { color: #DD0000 !important; }
.blog-tag:hover { background: #DD0000 !important; color: #fff !important; }
.blog-share-link:hover { color: #DD0000 !important; }
.comment-submit-btn:hover { background: #1A1A1A !important; }

/* ═══════════════════════════════════════
   SINGLE POST — Content Styling (Gutenberg)
   ═══════════════════════════════════════ */
.single-post-content h1 {
    margin: 0 0 26px;
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -1.2px;
}

.single-post-content h2 {
    margin: 36px 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 29px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -.8px;
}

.single-post-content h3 {
    margin: 28px 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #1A1A1A;
}

.single-post-content h4 {
    margin: 24px 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #1A1A1A;
}

.single-post-content p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.95;
    color: #000000;
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 22px;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.95;
    color: #000000;
}

.single-post-content li { margin-bottom: 8px; }

.single-post-content blockquote {
    background: #1A1A1A;
    border-radius: 10px;
    padding: 36px 40px;
    margin: 0 0 36px;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    font-weight: 600;
    color: #fff;
    border-left: 4px solid #DD0000;
}

.single-post-content blockquote p {
    color: #fff;
    margin: 0;
}

.single-post-content img {
    border-radius: 10px;
    margin: 20px 0;
}

.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 15px;
}
.single-post-content table td {
    border: 1px solid #cecccc;
    padding: 12px 16px;
    text-align: left;
    color: #000000;
}

.single-post-content table th {
    background: #1A1A1A;
    color: #fff;
    font-weight: 600;
}

.single-post-content a {
    color: #DD0000;
    text-decoration: underline;
}

.single-post-content .wp-block-button a {
    text-decoration: none;
}

.single-post-content a:hover {
    color: #1A1A1A;
}

/* ═══════════════════════════════════════
   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 */
    .blog-listing { padding: 60px 24px !important; grid-template-columns: 1fr !important; }
    .blog-sidebar { position: static !important; order: 2 !important; }
    .single-post-article { order: 1 !important; }
    .blog-card h3 { font-size: 21px !important; }
    .blog-card a[style*="height:290px"] { height: 240px !important; }
    .blog-card div[style*="padding:34px"] { padding: 28px 24px 26px !important; }
    .blog-sidebar h4 { font-size: 20px !important; }
    .single-post-banner-title { font-size: 36px !important; max-width: 800px !important; }
    .single-post-hero { height: 420px !important; }
    .single-post-content h1 { font-size: 30px !important; }
    .single-post-content h2 { font-size: 26px !important; }
    .single-post-content h3 { font-size: 23px !important; }
    .single-post-content h4 { font-size: 19px !important; }
    .single-post-content blockquote { padding: 28px 30px !important; font-size: 17px !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; }
    .blog-listing { padding: 40px 18px !important; gap: 30px !important; }
    .blog-listing .blog-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .blog-card a[style*="height:290px"] { height: 220px !important; }
    .blog-card h3 { font-size: 20px !important; }
    .blog-card div[style*="padding:34px"] { padding: 24px 20px 22px !important; }
    .blog-card p { font-size: 14px !important; }
    .blog-sidebar h4 { font-size: 19px !important; }
    .blog-sidebar-title { font-size: 15px !important; }
    .blog-pagination { margin-top: 40px !important; }
    .single-post-banner-title { font-size: 26px !important; max-width: 100% !important; padding: 0 18px !important; }
    .single-post-hero { height: 300px !important; margin-bottom: 20px !important; }
    .single-post-content h1 { font-size: 26px !important; }
    .single-post-content h2 { font-size: 23px !important; margin-top: 28px !important; }
    .single-post-content h3 { font-size: 20px !important; }
    .single-post-content h4 { font-size: 18px !important; }
    .single-post-content p { font-size: 15px !important; }
    .single-post-content blockquote { padding: 24px 22px !important; font-size: 16px !important; }
    .single-post-tagbar { padding: 14px 18px !important; }
    .comments-section { padding: 28px 20px !important; }
    .comments-section h3 { font-size: 22px !important; }
    .comment-form-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small Mobile (max-width: 480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .page-banner { height: 220px !important; }
    .page-banner h1 { font-size: 26px !important; }
    .blog-listing { padding: 30px 14px !important; gap: 24px !important; }
    .blog-card a[style*="height:290px"] { height: 180px !important; }
    .blog-card h3 { font-size: 18px !important; letter-spacing: -0.3px !important; }
    .blog-card div[style*="padding:34px"] { padding: 20px 16px 18px !important; }
    .blog-card p { font-size: 13.5px !important; margin-bottom: 16px !important; }
    .blog-read-more { font-size: 14px !important; }
    .blog-sidebar { gap: 20px !important; }
    .blog-sidebar > div { padding: 22px !important; }
    .blog-sidebar h4 { font-size: 18px !important; margin-bottom: 18px !important; }
    .blog-sidebar-title { font-size: 14.5px !important; }
    .blog-tag { padding: 9px 14px !important; font-size: 13px !important; }
    .single-post-banner-title { font-size: 22px !important; }
    .single-post-hero { height: 220px !important; }
    .single-post-content h1 { font-size: 24px !important; }
    .single-post-content h2 { font-size: 21px !important; }
    .single-post-content h3 { font-size: 18px !important; }
    .single-post-content h4 { font-size: 16px !important; }
    .single-post-content p { font-size: 14.5px !important; }
    .single-post-content blockquote { padding: 20px 18px !important; font-size: 15px !important; }
    .single-post-tagbar { flex-direction: column !important; align-items: flex-start !important; }
    .comments-section { padding: 22px 16px !important; }
    .comments-section h3 { font-size: 20px !important; }
}
