/* Ortak sayfa başlığı — includes/page-hero.php (2026-10-02). Kullanıcı: "kendine özgü olsun, referansın birebir kopyası değil; sade, ince şerit".
   Austria Yetim Eli imzası: koyu yeşil tam genişlik şerit + sağda sayfanın konusuyla ilgili SOLUK FOTOĞRAF (sola doğru yeşile karışır; kullanıcı:
   "desen yerine soluk, alakalı resim") + altta ince altın çizgi, altın renkli küçük etiket (önünde çizgi), cam görünümlü küçük düğmeler
   (ilki dolu beyaz), yuvarlak ikonlu arama. Fotoğraf: satır içi --ph-bg / --ph-bg-pos (includes/page-hero.php → aye_page_hero_bg()). */
.ph { position: relative; }
.ph-box {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 30px 0 32px;   /* dikey boşluk burada: mobilde style.css '.container { padding: 0 … !important }' iç kutuyu sıfırlıyor */
    background: linear-gradient(100deg, #0d4f31 0%, #136640 48%, #1a7a4c 100%);
}
/* soluk fotoğraf: sağda, sola doğru yeşil zemine karışır; yeşil tonlu (gri + yeşil karışım) */
.ph-box::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 64%;
    background-image: var(--ph-bg, none);
    background-position: var(--ph-bg-pos, center 40%);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .42;
    filter: grayscale(.25) contrast(1.08);
    mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 100%);
            mask-image: linear-gradient(to left, #000 40%, transparent 100%);
    pointer-events: none;
    transition: opacity .3s;
}
/* altta ince altın çizgi */
.ph-box::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #e9b949 0%, #f3d27a 50%, #e9b949 100%);
    opacity: .9;
}
.ph-in {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 36px;
}
.ph-main { min-width: 0; flex: 1 1 auto; max-width: 720px; }

.ph-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0 0 12px; font-size: .8rem; font-weight: 500; }
.ph-crumb a, .ph-crumb span { color: rgba(255, 255, 255, .78); }
.ph-crumb > span:last-child { color: #fff; font-weight: 600; }
.ph-crumb a:hover { color: #fff; }
.ph-crumb .ph-sep { opacity: .5; font-size: .7rem; }

/* etiket: altın renkli küçük yazı, önünde kısa çizgi */
.ph-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: #f3d27a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}
.ph-label::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.ph .ph-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.6px;
}
.ph-sub { margin: 8px 0 0; max-width: 620px; color: rgba(255, 255, 255, .82); font-size: .94rem; font-weight: 400; line-height: 1.6; }

/* Düğmeler: cam görünümlü haplar; ilki dolu beyaz */
.ph-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    transition: background .2s, border-color .2s, color .2s;
}
.ph-btn i { font-size: 1rem; color: #f3d27a; }
.ph-btn:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); color: #fff; }
.ph-btn:first-child { background: #fff; border-color: #fff; color: #0f5a37; }
.ph-btn:first-child i { color: #1b7a4a; }
.ph-btn:first-child:hover { background: #f1faf4; color: #0d4f31; }

/* Arama: beyaz hap + yuvarlak yeşil düğme */
.ph-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 420px;
    min-width: 260px;
    padding: 4px 4px 4px 6px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .6);
}
.ph-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 14px;
    color: #1e293b;
    font: 500 .93rem/1 var(--font-body, 'Poppins', sans-serif);
}
.ph-search input::placeholder { color: #6b7280; }
.ph-search input::-webkit-search-cancel-button { cursor: pointer; }
.ph-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #1b7a4a;
    color: #fff;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s;
}
.ph-search button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ph-search button:hover { background: #0f5a37; }

/* Yazı bilgileri (haber/blog detay) */
.ph-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: .84rem; font-weight: 500; }
.ph-meta i { margin-right: 6px; color: #f3d27a; }

/* Başlık altındaki beyaz şerit (sekme/çip satırı) */
.ph-bar { margin-top: 18px; padding: 8px; border: 1px solid #e8eeea; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px -22px rgba(15, 23, 42, .35); }

@media (max-width: 991px) {
    .ph-in { flex-direction: column; align-items: stretch; }
    .ph-actions { justify-content: flex-start; }
    .ph-search { flex-basis: auto; }
    .ph-box::before { width: 100%; opacity: .2; -webkit-mask-image: linear-gradient(to left, #000 20%, rgba(0,0,0,.35)); mask-image: linear-gradient(to left, #000 20%, rgba(0,0,0,.35)); }
}
@media (max-width: 768px) {
    /* sabit mobil header (≈79px) body boşluğundan (65px) yüksek → üst boşluk biraz fazla */
    .ph-box { padding: 30px 0 22px; }
    .ph-in { gap: 14px; }
    .ph-crumb { margin-bottom: 8px; font-size: .74rem; }
    .ph-label { margin-bottom: 6px; font-size: .64rem; letter-spacing: 1.5px; gap: 8px; }
    .ph-label::before { width: 16px; }
    .ph .ph-title { font-size: 1.6rem !important; line-height: 1.15 !important; letter-spacing: -.4px; }
    .ph-sub { margin-top: 6px; font-size: .86rem; line-height: 1.5; }
    .ph-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
    .ph-btn { height: 40px; padding: 0 10px; gap: 7px; font-size: .8rem; }
    .ph-btn i { font-size: .92rem; }
    .ph-search { min-width: 0; }
    .ph-search input { height: 38px; padding: 0 10px; font-size: .9rem; }
    .ph-search button { width: 38px; height: 38px; }
    .ph-meta { margin-top: 10px; gap: 4px 12px; font-size: .74rem; }
    .ph-bar { margin-top: 12px; padding: 6px; border-radius: 14px; }
}
@media (max-width: 380px) {
    .ph-btn { font-size: .74rem; padding: 0 6px; }
}
