/*
 * Panelden (zengin metin editörü) gelen içerik için tamamlayıcı stiller.
 * Editör satır içi stil saklamadığından, statik tasarımdaki satır içi stiller
 * (ara başlık boşlukları, madde işaretli listeler) burada aynı değerlerle tanımlanır.
 * Tasarıma yeni bir görünüm EKLEMEZ; yalnızca mevcut görünümü korur.
 */
.blog-details-content .upper-block .text h3:not(:first-child) {
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-details-content .upper-block .text ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-details-content .upper-block .text ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-details-content .upper-block .text img {
    max-width: 100%;
    height: auto;
}

/* Tema "ul li" için list-style'ı sıfırlar; içerik listelerinde madde/numara işaretleri korunur. */
.blog-details-content .text ul > li {
    list-style: disc outside;
}

.blog-details-content .text ol > li {
    list-style: decimal outside;
}

.blog-details-content .text ul,
.blog-details-content .text ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-details-content .upper-block .text h2:not(:first-child) {
    margin-top: 35px;
    margin-bottom: 15px;
}

/* ------------------------------------------------------------------ Site formları
 * Hızlı teklif (ana sayfa, koyu zemin) ve iletişim formu. Tema yalnızca text/email alanlarını
 * stillendiriyordu; telefon (type=tel) alanı aynı görünüme getirilir. Odak, hata ve sonuç
 * kutusu durumları eklenir (assets/js/site-forms.js).
 */
.content_block_5 .content-box .quote-form .form-group input[type='tel'] {
    position: relative;
    display: block;
    width: 100%;
    height: 55px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    padding: 10px 20px;
    transition: all 500ms ease;
}

.content_block_5 .content-box .quote-form .form-group input::placeholder,
.content_block_5 .content-box .quote-form .form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
    opacity: 1;
}

.content_block_5 .content-box .quote-form .form-group input:focus,
.content_block_5 .content-box .quote-form .form-group textarea:focus {
    outline: none;
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.45);
}

.default-form .form-group input[type='tel'] {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    background: #f8f5f5;
    border: 1px solid #e2ddde;
    padding: 10px 20px;
    font-size: 18px;
    color: #606060;
    transition: all 500ms ease;
}

.contact-page-section .form-inner .default-form .form-group input[type='tel'] {
    background: #f4f4f4;
    border-radius: 5px;
}

.default-form .form-group input:focus,
.default-form .form-group textarea:focus {
    outline: none;
    border-color: #235393;
    box-shadow: 0 0 0 3px rgba(35, 83, 147, 0.15);
}

/* Hatalı alan */
/* Tema seçicileri input[type=...] içerdiğinden aynı özgüllük için öğe adıyla yazılır. */
.default-form .form-group input.is-invalid,
.default-form .form-group textarea.is-invalid {
    border-color: #c62828;
}

.content_block_5 .content-box .quote-form .form-group input.is-invalid,
.content_block_5 .content-box .quote-form .form-group textarea.is-invalid {
    border-color: #ff8a80;
}

.site-form-error {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #c62828;
    text-align: left;
}

.quote-form .site-form-error {
    color: #ffb4ab;
}

/* Sonuç kutusu (formun üstünde) */
.site-form-alert {
    display: block;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 5px;
    border-left: 4px solid currentColor;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.site-form-alert:focus {
    outline: none;
}

.site-form-alert.is-success {
    background: #e8f5ee;
    color: #1d6b3f;
}

.site-form-alert.is-error {
    background: #fdecec;
    color: #a12a2a;
}

.quote-form .site-form-alert.is-success {
    background: rgba(46, 158, 91, 0.16);
    color: #bdf0d0;
}

.quote-form .site-form-alert.is-error {
    background: rgba(214, 69, 69, 0.18);
    color: #ffd2cc;
}

.site-form-error[hidden],
.site-form-alert[hidden] {
    display: none;
}

/* Gönderim sürerken düğme */
[data-site-form] button[type='submit'][aria-busy='true'] {
    opacity: 0.75;
    cursor: progress;
}
