/* DWT Ajans: WordPress uyumu ve ek bileşenler (site.css üzerine) */

/* Yönetici çubuğu açıkken yapışkan başlık */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
/* 600px altında WordPress yönetici çubuğu sabit değil, sayfayla kayar: başlık en üste yapışmalı */
@media (max-width: 600px) {
  .admin-bar .header { top: 0; }
  #wpadminbar { position: absolute; }
}
/* Mobil menü açıkken yönetici çubuğu menünün üstünü kapatmasın */
.admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 46px + 50px); }
@media (min-width: 783px) { .admin-bar .mobile-menu { padding-top: calc(var(--header-h) + 32px + 50px); } }

/* Blog görselleri: kapak görselleri 16:9, kırpılmadan tam görünsün */
.b-card-media { aspect-ratio: 16 / 9; }
.b-feat { align-items: center; }
.b-feat-media { min-height: 0; aspect-ratio: 16 / 9; margin: clamp(14px, 1.6vw, 22px); border-radius: var(--r); }
.post-cover { aspect-ratio: 16 / 9; max-width: 1040px; margin-left: auto; margin-right: auto; }
@media (max-width: 1100px) { .b-feat-media { min-height: 0; } }
@media (max-width: 720px) { .post-cover { aspect-ratio: 16 / 9; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* Marka logoları */
.brand img { height: 40px; max-width: 170px; object-fit: contain; }
.brand:hover img { filter: none; opacity: 1; }

/* 5 adımlı süreç */
.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1240px) { .steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .steps-5 { grid-template-columns: 1fr; } }

/* Fiyat paketleri */
.pricing-promo { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 0 auto 36px; padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary); font-weight: 600; font-size: 14.5px; text-align: center; }
.pricing-promo svg.i { width: 17px; height: 17px; flex: none; }
.plan-delivery { display: flex; align-items: center; gap: 8px; margin: -12px 0 20px; color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-delivery svg.i { width: 16px; height: 16px; color: var(--primary); }
.plan-pop .plan-delivery { color: rgba(255,255,255,.7); }
.custom-plan { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 3vw, 40px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.custom-plan p { margin-top: 8px; }
@media (max-width: 720px) { .custom-plan { flex-direction: column; align-items: flex-start; } }

/* Hizmet detay: kapsam kartları */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 8px; }
.feat { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feat-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.feat-ic svg.i { width: 17px; height: 17px; }
.feat h3 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.detail-main > .h3 { margin-top: 44px; }
.detail-main > .h3:first-of-type { margin-top: 0; }
.detail-main .why-list { margin-top: 20px; }
@media (max-width: 720px) { .feat-grid { grid-template-columns: 1fr; } }

/* Hakkımızda: misyon & vizyon */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mv-card { padding: clamp(28px, 3vw, 44px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.mv-card .value-ic { margin-bottom: 28px; }
.mv-card p { margin-top: 12px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.mv-dark { background: var(--dark); color: #fff; border-color: transparent; }
.mv-dark p { color: rgba(255,255,255,.72); }
.mv-dark .value-ic { background: var(--accent); color: var(--on-accent); }
.about-content { margin-top: 48px; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: 1fr; } }

/* Referanslar */
.p-card-media img { object-position: top center; }
.p-card-metric strong svg.i { width: 26px; height: 26px; }
.ref-note { margin-top: 28px; text-align: center; }
.filters-light + .p-grid { margin-top: 8px; }

/* Avatar (baş harf) boyutları */
.cta-faces .avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark); margin-left: -10px; }
.cta-faces .avatar:first-child { margin-left: 0; }
.quote figcaption .avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover; font-size: 15px; }
.post-author .avatar-txt { width: 44px; height: 44px; border-radius: 50%; }

/* 4 yorum varsa 2x2 ızgara */
@media (min-width: 721px) { .quotes:has(> .quote:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }

/* Mobil: iletişim formu kompakt */
@media (max-width: 720px) {
  .contact-card { gap: 22px; padding: 22px 16px 16px; }
  .contact-info .contact-team { display: none; }
  .contact-info .contact-lines { gap: 8px; }
  .contact-form { padding: 16px; gap: 10px; border-radius: 22px; }
  .contact-form .f-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-form .f-row .f-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .contact-form .f-field input { height: 44px; padding: 0 12px; border-radius: 12px; font-size: 14.5px; }
  .contact-form .f-field textarea { min-height: 76px; padding: 10px 12px; font-size: 14.5px; }
  .contact-form .f-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .contact-form .pick span { width: 100%; justify-content: center; text-align: center; line-height: 1.2; min-height: 34px; height: auto !important; padding: 6px 8px !important; }
  .contact-form .f-chips legend { margin-bottom: 6px; font-size: 12px; }
  .contact-form .pick span { height: 32px; padding: 0 11px; font-size: 12.5px; gap: 5px; }
  .contact-form .pick span svg.i { display: none; }
  .contact-form .pick input:checked + span svg.i { display: inline-block; width: 13px; height: 13px; }
  .contact-form .f-field > span, .contact-form .f-chips legend { font-size: 12px; }
  .contact-form .f-submit { gap: 10px; }
  .contact-form .f-submit .btn { width: 100%; justify-content: center; }
}

/* Bot doğrulaması */
.f-captcha input { max-width: 220px; }
.f-turnstile { min-height: 65px; }
.newsletter .f-captcha-sm { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.newsletter .f-captcha-sm > span { font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 500; white-space: nowrap; }
.newsletter .f-captcha-sm input { width: 70px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.newsletter .f-captcha-sm.invalid input, .f-captcha.invalid input { border-color: #e5484d; }
.newsletter .f-turnstile { margin-top: 10px; }

/* Sayfa altı tarih */
.page-updated { margin-top: 40px; }

/* Form bildirimleri */
.form-msg:empty { display: none; }
