/* TSPLUS-P14-GLOBAL v1.0.2 — scoped WhatsApp routing and responsive About identity card */
:root {
    --p14-ink: #241b17;
    --p14-muted: #6d625b;
    --p14-cream: #fbf8f4;
    --p14-line: rgba(55, 41, 31, .13);
    --p14-orange: #ef7d32;
    --p14-orange-deep: #c9551f;
    --p14-green: #20a76a;
}

body[data-tsplus-p14-privacy="1"] :is(#veri-sorumlusu, #veriler, #amac, #aktarim, #toplama, #saklama, #cerezler, #guvenlik, #haklar, #basvuru, #degisiklik) {
    scroll-margin-top: 112px;
}

.p14-footer-brand {
    display: inline-flex;
    width: fit-content;
    max-width: 190px;
    align-items: center;
    gap: 11px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    transition: opacity .2s ease;
}

.p14-footer-brand:hover {
    opacity: .84;
}

.p14-footer-brand__logo {
    display: grid;
    place-items: center;
    width: 66px;
    min-width: 66px;
    padding: 0;
    border: 0;
}

.p14-footer-brand__logo img {
    display: block;
    width: 58px;
    height: auto;
    max-height: 36px;
    object-fit: contain;
}

.p14-footer-brand__meta {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding-left: 11px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.p14-footer-brand__meta strong {
    color: #fff;
    font: 700 12px/1.2 Inter, system-ui, sans-serif;
    letter-spacing: .045em;
}

.p14-footer-brand__meta small {
    color: rgba(255, 255, 255, .64);
    font: 500 8.5px/1.3 Inter, system-ui, sans-serif;
    white-space: nowrap;
}

.p14-manager-photo,
.p14-author-card__photo,
.p14-about-photo__image {
    display: block;
    object-fit: cover;
    object-position: center 24%;
    background: #dce6ed;
}

.about-authority-card {
    grid-template-columns: 176px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 32px !important;
}

.about-authority-content {
    min-width: 0;
}

.about-authority-actions {
    flex-wrap: wrap;
    row-gap: 10px !important;
}

.p14-manager-photo {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border: 2px solid #fff;
    border-radius: 19px;
    box-shadow: 0 9px 24px rgba(49, 72, 91, .2), 0 0 0 1px rgba(55, 41, 31, .1);
}

.p12-manager__actions a[href*="wa.me/447418377985"] {
    display: inline-grid;
    justify-items: start;
    gap: 1px;
}

.p14-about-photo {
    position: relative;
    box-sizing: border-box;
    width: 176px;
    min-width: 176px;
    height: 176px;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(239, 125, 50, .24);
    border-radius: 28px;
    background: linear-gradient(145deg, #fff, #f3e9df);
    box-shadow: 0 20px 48px rgba(64, 43, 29, .15);
}

.p14-about-photo::after {
    content: "TR";
    position: absolute;
    right: 13px;
    bottom: 12px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 10px;
    background: var(--p14-orange);
    color: #fff;
    font: 800 10px/1 Inter, system-ui, sans-serif;
    box-shadow: 0 8px 18px rgba(201, 85, 31, .28);
}

.p14-about-photo__image {
    width: 100%;
    height: 100%;
    border-radius: 22px;
}

.p14-about-whatsapp {
    display: inline-grid;
    gap: 1px;
    padding: 9px 13px;
    border: 1px solid rgba(32, 167, 106, .25);
    border-radius: 12px;
    background: rgba(32, 167, 106, .08);
    color: #147a4d;
    text-decoration: none;
}

.p14-about-whatsapp span { font-size: 12px; font-weight: 750; }
.p14-contact-whatsapp__icon { color: inherit; }

.p14-author-card {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0;
    padding: 10px 12px;
    border: 1px solid var(--p14-line);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(251, 248, 244, .9));
    box-shadow: 0 12px 34px rgba(55, 41, 31, .075);
}

.p14-author-card__photo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 7px 18px rgba(49, 72, 91, .2);
}

.p14-author-card__copy { display: grid; flex: 1 1 auto; gap: 1px; min-width: 0; }
.p14-author-card__copy > span { color: var(--p14-muted); font-size: 10px; font-weight: 650; }
.p14-author-card__copy a { width: fit-content; color: var(--p14-ink); text-decoration: none; }
.p14-author-card__copy strong { font-size: 13px; }
.p14-author-card__copy small { color: var(--p14-muted); font-size: 10px; }

.p14-author-card__wa {
    display: grid;
    flex: 0 0 auto;
    gap: 1px;
    padding: 8px 11px;
    border: 1px solid rgba(32, 167, 106, .2);
    border-radius: 11px;
    background: rgba(32, 167, 106, .08);
    color: #147a4d;
    text-align: left;
    text-decoration: none;
}

.p14-author-card__wa span { font-size: 10.5px; font-weight: 760; }
@media (max-width: 720px) {
    body[data-tsplus-p14-privacy="1"] :is(#veri-sorumlusu, #veriler, #amac, #aktarim, #toplama, #saklama, #cerezler, #guvenlik, #haklar, #basvuru, #degisiklik) { scroll-margin-top: 88px; }
    .p14-footer-brand { max-width: 180px; padding: 0; }
    .p14-footer-brand__logo { width: 61px; min-width: 61px; }
    .p14-footer-brand__logo img { width: 54px; }
    .about-authority-card { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; padding: 26px 20px !important; }
    .about-authority-actions { display: grid !important; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 10px !important; }
    .about-authority-actions > a { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
    .p14-about-photo { width: 132px; min-width: 132px; height: 132px; justify-self: start; border-radius: 23px; }
    .p14-about-photo__image { border-radius: 18px; }
    .p14-author-card { align-items: flex-start; flex-wrap: wrap; }
    .p14-author-card__copy { min-width: calc(100% - 66px); }
    .p14-author-card__wa { width: 100%; margin-top: 2px; align-items: center; grid-template-columns: auto 1fr; column-gap: 7px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .p14-footer-brand { transition: none; }
}
