/*
 * İçerik sayfaları: hizmet listesi ve detayı (views/web/service/list.php, detail.php), kurumsal sayfalar
 * (views/web/corporate/detail.php: Hakkımızda, KVKK …), blog (views/web/blog/list.php, detail.php, _card.php), ekip
 * (views/web/team/list.php, detail.php, _card.php), SSS (views/web/faq/index.php), iletişim, arama (views/web/search/index.php)
 * ve 404 sayfası (views/web/errors/404.php). Ortak parçalar: yol bilgisi, başlık, giriş metni, zengin metin,
 * numaralı kart ızgarası, görsel/metin satırları.
 *
 * Sayfa başında görsel yok: başlık beyaz zemine yazılır, sabit site başlığı beyaz gelir ve içerik onun altından
 * başlar (site-header.css'teki :has kuralı; sayfa .page-title-section ile başlamıyor). Dil anasayfa modülleriyle
 * aynı: iri yarı kalın başlık, gri metin, harf aralıklı küçük etiket, köşesiz siyah buton (--radius-btn).
 * main.css tema dalına göre ayrıştığı için stiller burada; görünümler dosyayı kendileri yükler.
 */

.cp {
    --cp-ink: #232834;
    --cp-text: #6f6f6f;
    --cp-muted: #8a8a8a;
    --cp-line: #e7e7e7;
    --cp-surface: var(--color-surface, #f7f7f7);
    --cp-accent: var(--color-accent, #000000);
    background: var(--color-bg, #ffffff);
    color: var(--cp-text);
}

.cp a {
    text-decoration: none;
}

.cp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------- ortak: yol, etiket, başlık, buton */

.cp-crumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 10px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--cp-muted);
}

/* Tek satır: web yazı tipi geç gelince satır kırılıp içeriği itmesin (CLS); yer yetmezse son öğe "…" ile kısalır */
.cp-crumbs li {
    flex: 0 0 auto;
}

.cp-crumbs li:last-child {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-crumbs li + li::before {
    content: '/';
    margin-right: 10px;
    color: #c8c8c8;
}

.cp-crumbs a {
    color: var(--cp-muted);
    transition: color .2s ease;
}

.cp-crumbs a:hover,
.cp-crumbs [aria-current] {
    color: var(--cp-ink);
}

.cp-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cp-accent);
}

a.cp-tag:hover {
    color: var(--cp-accent);
    opacity: .7;
}

.cp-title {
    margin: 0;
    font-size: clamp(28px, 2.4vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--cp-ink);
    overflow-wrap: break-word;
}

.cp-lead {
    margin: 0;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--cp-text);
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 34px;
    border-radius: var(--radius-btn, 0);
    background: var(--cp-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: opacity .25s ease, transform .25s ease;
}

.cp-btn:hover,
.cp-btn:focus {
    color: #ffffff;
    opacity: .85;
    transform: translateY(-2px);
}

.cp-btn i {
    font-size: 13px;
}

/* ---------------------------------------------------------------- liste: sayfa başı */

.cp-head {
    padding-top: clamp(14px, 1.6vw, 26px);
}

.cp-head-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 48px;
    align-items: end;
}

.cp-head-side {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cp-head-side .cp-lead {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.6;
}

.cp-count {
    display: flex;
    align-items: baseline;
    flex: none;
    gap: 10px;
    margin-top: 0;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-count strong {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* Açıklama girilmediyse sayaç sağ kenara yaslanır */
.cp-head-side:not(:has(.cp-lead)) {
    justify-self: end;
}

.cp-head-side .cp-lead + .cp-count {
    padding-left: 28px;
    border-left: 1px solid var(--cp-line);
}

/* Kategori süzgeci (hizmeti olan kategori yoksa yalnız çizgi) */
.cp-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: clamp(14px, 1.6vw, 24px);
    border-top: 1px solid var(--cp-line);
}

.cp-bar:not(:empty) {
    padding: 12px 0;
    border-bottom: 1px solid var(--cp-line);
}

.cp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-filter a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--cp-line);
    border-radius: var(--radius-btn, 0);
    font-size: 13px;
    font-weight: 500;
    color: var(--cp-ink);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.cp-filter a:hover {
    border-color: var(--cp-ink);
    color: var(--cp-ink);
}

.cp-filter a[aria-current] {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-filter small {
    font-size: 11px;
    font-weight: 600;
    opacity: .55;
}

/* ---------------------------------------------------------------- liste: satırlar */

.cp-list {
    padding: clamp(36px, 4vw, 64px) 0 clamp(88px, 9vw, 150px);
}

.cp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 130px);
    align-items: center;
}

.cp-row + .cp-row {
    margin-top: clamp(80px, 9vw, 160px);
}

/* Sırayla bir sağ bir sol: çift satırda görsel sağa geçer */
.cp-row:nth-child(even) .cp-row-media {
    order: 2;
}

.cp-row.is-text-only {
    grid-template-columns: minmax(0, 1fr);
}

.cp-row-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--cp-surface);
}

.cp-row-media picture,
.cp-row-media img {
    display: block;
    width: 100%;
    height: 100%;
}

/* main.css her görsele img[src]:not(…)×3 ile object-fit veriyor; o seçici bu kuralı ezer */
.cp-row-media img {
    object-fit: cover !important;
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.cp-row:hover .cp-row-media img {
    transform: scale(1.045);
}

.cp-num {
    display: block;
    margin-bottom: clamp(20px, 2.6vw, 40px);
    font-size: clamp(56px, 5.4vw, 96px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px #cfcfcf;
    user-select: none;
}

.cp-row.is-text-only .cp-row-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 90px);
    align-items: start;
}

.cp-row.is-text-only .cp-num {
    grid-row: span 4;
    margin: 0;
}

.cp-row-cat {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cp-muted);
    transition: color .2s ease;
}

.cp-row-cat:hover {
    color: var(--cp-ink);
}

.cp-row-title {
    margin: 0 0 20px;
    font-size: clamp(26px, 2.3vw, 38px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--cp-ink);
}

/* Başlığın altı soldan sağa çizilir */
.cp-row-title a {
    color: inherit;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size .45s ease;
}

.cp-row:hover .cp-row-title a,
.cp-row-title a:focus {
    color: inherit;
    background-size: 100% 1px;
}

.cp-row-text {
    max-width: 470px;
    margin: 0 0 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--cp-text);
}

.cp-more {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-more:hover {
    color: var(--cp-ink);
}

.cp-more-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--cp-ink);
    font-size: 14px;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.cp-row:hover .cp-more-ico,
.cp-more:focus .cp-more-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-empty {
    padding: 72px 0;
    font-size: 18px;
    color: var(--cp-text);
}

.cp-empty a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------------------------------------------------------------- detay: giriş */

.cp-hero {
    padding: clamp(14px, 1.6vw, 26px) 0 clamp(36px, 4vw, 64px);
}

.cp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 110px);
    align-items: center;
}

.cp-hero.is-text-only .cp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
}

.cp-hero .cp-title {
    font-size: clamp(26px, 2.4vw, 38px);
    line-height: 1.05;
}

/* Uzun başlık (40 karakterden uzun): iri puntoda dört beş satıra inerdi */
.cp-hero.is-long .cp-title {
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.15;
}

.cp-hero .cp-lead {
    margin-top: 22px;
    max-width: 540px;
}

.cp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 36px;
    margin-top: 44px;
}

.cp-call {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--cp-ink);
}

.cp-call:hover {
    color: var(--cp-ink);
}

.cp-call-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--cp-line);
    font-size: 15px;
    transition: border-color .25s ease;
}

.cp-call:hover .cp-call-ico {
    border-color: var(--cp-ink);
}

.cp-call small {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-call strong {
    font-size: 18px;
    font-weight: 600;
}

.cp-hero-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--cp-surface);
}

.cp-hero-media picture,
.cp-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.cp-hero-media img {
    object-fit: cover !important;
}

/* ---------------------------------------------------------------- detay: içerik + yan sütun */

.cp-body {
    padding: clamp(40px, 4.5vw, 72px) 0 clamp(72px, 8vw, 130px);
    border-top: 1px solid var(--cp-line);
}

.cp-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.cp-rich {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.85;
    color: #4d4d4d;
}

.cp-rich > :first-child {
    margin-top: 0;
}

.cp-rich > :last-child {
    margin-bottom: 0;
}

.cp-rich p,
.cp-rich li {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.cp-rich p {
    margin: 0 0 1.4em;
}

/* Başka yerden yapıştırılan metin: panel editöründe yazı tipi / boyut düğmesi yok, satır içi font-family taşıyan her şey
   yapıştırmadır; yazı tipi, boyutu ve rengi temanınkine döner (içerikte gri Roboto kalıyordu). Editörün renk
   düğmesiyle verilen renk font-family taşımaz, korunur. */
.cp-rich [style*="font-family"] {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
}

.cp-rich h2,
.cp-rich h3,
.cp-rich h4 {
    margin: 1.8em 0 .7em;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--cp-ink);
}

.cp-rich h2 { font-size: clamp(26px, 2.2vw, 34px); }
.cp-rich h3 { font-size: clamp(22px, 1.8vw, 26px); }
.cp-rich h4 { font-size: 20px; }

.cp-rich strong,
.cp-rich b {
    color: var(--cp-ink);
}

.cp-rich ul,
.cp-rich ol {
    margin: 0 0 1.4em;
    padding-left: 1.25em;
}

/* main.css listelerin işaretini kaldırıyor; metin içindeki listede madde/numara görünsün */
.cp-rich ul {
    list-style: disc;
}

.cp-rich ol {
    list-style: decimal;
}

.cp-rich li {
    display: list-item;
}

.cp-rich li {
    margin-bottom: .5em;
}

.cp-rich li::marker {
    color: var(--cp-ink);
}

.cp-rich a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cp-rich img {
    max-width: 100%;
    height: auto;
}

.cp-rich blockquote {
    margin: 2em 0;
    padding: 4px 0 4px 28px;
    border-left: 2px solid var(--cp-ink);
    background: none;
    font-size: 21px;
    line-height: 1.6;
    color: var(--cp-ink);
}

.cp-rich table {
    width: 100%;
    margin: 0 0 1.4em;
    border-collapse: collapse;
    font-size: 15px;
}

.cp-rich th,
.cp-rich td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--cp-line);
    text-align: left;
    vertical-align: top;
}

.cp-rich th {
    background: var(--cp-surface);
    font-weight: 600;
    color: var(--cp-ink);
}

/* Tablo kutusu (rich_clean): dar ekranda tablo yana kayar, sayfa taşmaz */
.cp-rich .rich-table {
    margin: 0 0 1.4em;
    overflow-x: auto;
}

.cp-rich .rich-table table {
    min-width: 520px;
    margin: 0;
}

/* Hizmet öğeleri (panelde "Hizmet Öğeleri" sekmesi): numaralı, çizgili ızgara */
.cp-scope {
    margin-top: clamp(56px, 6vw, 90px);
}

.cp-main > .cp-scope:first-child {
    margin-top: 0;
}

.cp-section-title {
    margin: 0 0 32px;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--cp-ink);
}

.cp-scope-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--cp-line);
    border-left: 1px solid var(--cp-line);
    counter-reset: cp-scope;
}

.cp-scope-item {
    position: relative;
    padding: 34px 32px 36px;
    border-right: 1px solid var(--cp-line);
    border-bottom: 1px solid var(--cp-line);
    counter-increment: cp-scope;
}

.cp-scope-item:not(.has-image)::after {
    content: counter(cp-scope, decimal-leading-zero);
    position: absolute;
    top: 34px;
    right: 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    color: #b5b5b5;
}

.cp-scope-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    background: var(--cp-surface);
    font-size: 22px;
    color: var(--cp-ink);
}

.cp-scope-img {
    margin: -34px -32px 26px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--cp-surface);
}

.cp-scope-img picture,
.cp-scope-img img {
    display: block;
    width: 100%;
    height: 100%;
}

.cp-scope-img img {
    object-fit: cover !important;
}

.cp-scope-item h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cp-ink);
}

.cp-scope-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--cp-text);
}

/* Yan sütun: kaydırırken başlığın altında sabit kalır */
.cp-aside {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 28px;
}

.cp-nav {
    border-top: 2px solid var(--cp-ink);
}

.cp-aside-title {
    margin: 0;
    padding: 22px 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-nav li {
    border-bottom: 1px solid var(--cp-line);
}

.cp-nav a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    padding: 18px 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--cp-text);
    transition: color .2s ease;
}

.cp-nav a > span:first-child {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #b5b5b5;
}

.cp-nav a i {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s ease, transform .3s ease;
}

.cp-nav a:hover,
.cp-nav a[aria-current] {
    color: var(--cp-ink);
}

.cp-nav a[aria-current] {
    font-weight: 600;
}

.cp-nav a:hover i,
.cp-nav a[aria-current] i {
    opacity: 1;
    transform: none;
}

.cp-cta {
    padding: 40px 36px 36px;
    background: var(--cp-accent);
    color: rgba(255, 255, 255, .72);
}

.cp-cta .cp-tag {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .55);
}

.cp-cta h2 {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
}

.cp-cta p {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
}

.cp-cta-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 16px;
    color: #ffffff;
    overflow-wrap: anywhere;
    transition: opacity .2s ease;
}

.cp-cta-line:hover {
    color: #ffffff;
    opacity: .75;
}

.cp-cta-line i {
    width: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
}

.cp-cta .cp-btn {
    justify-content: center;
    width: 100%;
    margin-top: 22px;
    background: #ffffff;
    color: #000000;
}

.cp-cta .cp-btn:hover,
.cp-cta .cp-btn:focus {
    color: #000000;
}

/* ---------------------------------------------------------------- detay: önceki / tümü / sonraki */

.cp-pager {
    border-top: 1px solid var(--cp-line);
    border-bottom: 1px solid var(--cp-line);
}

.cp-pager-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
}

.cp-pager-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: clamp(36px, 4vw, 60px) 40px clamp(36px, 4vw, 60px) 0;
    color: var(--cp-ink);
}

.cp-pager-link.is-next {
    grid-column: 3;
    align-items: flex-end;
    padding: clamp(36px, 4vw, 60px) 0 clamp(36px, 4vw, 60px) 40px;
    text-align: right;
}

.cp-pager-link:hover {
    color: var(--cp-ink);
}

.cp-pager-link small {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-pager-link strong {
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: opacity .2s ease;
}

.cp-pager-link:hover strong {
    opacity: .6;
}

.cp-pager-all {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(24px, 3vw, 48px);
    border-left: 1px solid var(--cp-line);
    border-right: 1px solid var(--cp-line);
    color: var(--cp-ink);
}

.cp-pager-all span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid var(--cp-line);
    font-size: 18px;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.cp-pager-all:hover span {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

/* ---------------------------------------------------------------- tablet / telefon */

@media (max-width: 1199px) {
    .cp-body-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 991px) {
    .cp-head-grid,
    .cp-hero-grid,
    .cp-body-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-head-grid {
        gap: 12px;
    }

    .cp-head-side {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cp-head-side .cp-lead + .cp-count {
        padding-left: 0;
        border-left: 0;
    }

    .cp-head-side:not(:has(.cp-lead)) {
        justify-self: start;
    }

    .cp-head-side:not(:has(.cp-lead)) .cp-count {
        margin-top: 0;
    }

    .cp-lead {
        font-size: 15px;
    }

    .cp-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .cp-row:nth-child(even) .cp-row-media {
        order: 0;
    }

    .cp-num {
        font-size: 64px;
    }

    .cp-row-text {
        max-width: none;
    }

    .cp-hero-media {
        aspect-ratio: 4 / 3;
    }

    .cp-aside {
        position: static;
    }
}

@media (max-width: 767px) {
    .cp-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .cp-hero .cp-title {
        font-size: clamp(24px, 6.5vw, 32px);
    }

    .cp-hero.is-long .cp-title {
        font-size: clamp(26px, 7vw, 32px);
    }

    .cp-count strong {
        font-size: 22px;
    }

    .cp-row-title {
        font-size: 28px;
    }

    .cp-row.is-text-only .cp-row-body {
        display: block;
    }

    .cp-row.is-text-only .cp-num {
        margin-bottom: 20px;
    }

    .cp-actions {
        gap: 20px;
    }

    .cp-btn {
        justify-content: center;
    }

    .cp-actions .cp-btn {
        width: 100%;
    }

    .cp-rich {
        font-size: 16px;
    }

    .cp-scope-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-scope-item {
        padding: 28px 24px 30px;
    }

    .cp-scope-img {
        margin: -28px -24px 22px;
    }

    .cp-scope-item:not(.has-image)::after {
        top: 28px;
        right: 24px;
    }

    .cp-cta {
        padding: 32px 26px 28px;
    }

    .cp-pager-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .cp-pager-all {
        display: none;
    }

    .cp-pager-link {
        padding-right: 16px;
    }

    .cp-pager-link.is-next {
        grid-column: 2;
        padding-left: 16px;
        border-left: 1px solid var(--cp-line);
    }

    .cp-pager-link strong {
        font-size: 18px;
    }
}

/* ---------------------------------------------------------------- kurumsal sayfa (Hakkımızda, KVKK …) */

.cp-head-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}

/* Yazı ölçüleri hizmet sayfalarıyla aynı: başlık liste başlığı, uzun başlık hizmet detayındaki gibi, metin ve kartlar .cp-rich / .cp-scope-* */
.cp-title.is-long {
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.15;
}

.cp-corporate .cp-head {
    padding-bottom: clamp(16px, 1.8vw, 26px);
}

/* Sayfa görseli kendi oranında (logo, geniş bant, fotoğraf …); çok uzun görsel 720 px'te kesilir. Zemin yok:
   saydam PNG'nin arkasında gri kutu kalıyordu */
.cp-cover-media {
    margin: 0;
}

.cp-cover-media picture,
.cp-cover-media img {
    display: block;
    width: 100%;
}

.cp-cover-media img {
    height: auto;
    max-height: 720px;
    object-fit: cover !important;
}

.cp-page-body {
    padding: clamp(40px, 4.5vw, 72px) 0 clamp(72px, 8vw, 130px);
}

.cp-page-body.has-rule {
    border-top: 1px solid var(--cp-line);
}

.cp-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.cp-page-grid.has-toc {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

/* Ara başlığa atlayınca sabit site başlığının altında kalmasın */
.cp-page-rich h2 {
    scroll-margin-top: 120px;
}

.cp-toc {
    position: sticky;
    top: 112px;
    border-top: 2px solid var(--cp-ink);
}

.cp-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-toc li {
    border-bottom: 1px solid var(--cp-line);
}

.cp-toc a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
    padding: 14px 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--cp-text);
    transition: color .2s ease;
}

.cp-toc a span {
    padding-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #b5b5b5;
}

.cp-toc a:hover {
    color: var(--cp-ink);
}

/* Görselli öğeler: anlatım satırları (hizmet listesinin satırlarıyla aynı) */
.cp-stories {
    padding-bottom: clamp(88px, 9vw, 150px);
}

.cp-cover + .cp-stories {
    padding-top: clamp(72px, 8vw, 130px);
}

/* İkonlu öğeler: numaralı kart ızgarası, sütun sayısı kart sayısından */
.cp-values {
    padding-bottom: clamp(88px, 9vw, 150px);
}

.cp-values .cp-scope-grid.cp-cols-1 { grid-template-columns: minmax(0, 1fr); }
.cp-values .cp-scope-grid.cp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-values .cp-scope-grid.cp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-values .cp-scope-grid.cp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991px) {
    .cp-page-grid.has-toc {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-toc {
        position: static;
    }

    .cp-values .cp-scope-grid.cp-cols-3,
    .cp-values .cp-scope-grid.cp-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cp-title.is-long {
        font-size: clamp(26px, 7vw, 32px);
    }

    .cp-values .cp-scope-grid.cp-cols-2,
    .cp-values .cp-scope-grid.cp-cols-3,
    .cp-values .cp-scope-grid.cp-cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------------------------------------------------------------- blog: liste (views/web/blog/list.php) */

.cp-posts-wrap {
    padding: clamp(28px, 3.2vw, 48px) 0 clamp(80px, 8vw, 130px);
}

/* Öne çıkan (en yeni) yazı: solda geniş görsel, sağda metin */
.cp-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    margin-bottom: clamp(56px, 6vw, 96px);
    padding-bottom: clamp(56px, 6vw, 96px);
    border-bottom: 1px solid var(--cp-line);
}

.cp-feature-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--cp-surface);
}

.cp-feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.cp-feature:hover .cp-feature-media img {
    transform: scale(1.04);
}

.cp-feature-title {
    margin: 0 0 16px;
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--cp-ink);
}

.cp-feature-title a {
    color: inherit;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size .45s ease;
}

.cp-feature:hover .cp-feature-title a {
    background-size: 100% 1px;
}

.cp-feature-text {
    margin: 18px 0 32px;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--cp-text);
}

.cp-feature:hover .cp-more-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

/* Yazı ızgarası ve kartı */
.cp-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(40px, 4vw, 64px) clamp(24px, 2.6vw, 40px);
}

.cp-post {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--cp-ink);
}

.cp-post:hover,
.cp-post:focus-visible {
    color: var(--cp-ink);
}

.cp-post:focus-visible {
    outline: 2px solid var(--cp-ink);
    outline-offset: 4px;
}

.cp-post-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--cp-surface);
}

.cp-post-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.cp-post:hover .cp-post-media img {
    transform: scale(1.05);
}

.cp-post-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #cfcfcf;
}

.cp-post-cat {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-post-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
}

.cp-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-post-meta > * + *::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 10px;
    border-radius: 50%;
    background: #c8c8c8;
    vertical-align: middle;
}

.cp-post-title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cp-ink);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.cp-post-title {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size .45s ease;
}

.cp-post:hover .cp-post-title {
    background-size: 100% 1px;
}

.cp-post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cp-text);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.cp-post-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-post-more i {
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.cp-post:hover .cp-post-more i {
    transform: translateX(5px);
}

/* JS açıkken kartlar (yazı, ekip üyesi) ekrana girerken sırayla belirir (content-pages.js .is-in ekler) */
.cp.is-js [data-cp-reveal] > :not(.is-in) {
    opacity: 0;
    transform: translateY(24px);
}

.cp.is-js [data-cp-reveal] > .is-in {
    opacity: 1;
    transform: none;
    transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
}

/* Etiket çipi (liste süzgeci ve yazı sonu) */
.cp-tagchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--cp-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--cp-ink);
    transition: background-color .2s ease, color .2s ease;
}

.cp-tagchip i {
    font-size: 11px;
    opacity: .55;
}

.cp-tagchip:hover,
.cp-tagchip.is-active {
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-tagchip.is-active i:last-of-type {
    margin-left: 4px;
}

.cp-empty-state {
    max-width: 520px;
    margin: 20px auto 0;
    padding: 48px 24px;
    text-align: center;
}

.cp-empty-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    background: var(--cp-surface);
    font-size: 26px;
    color: var(--cp-ink);
}

.cp-empty-state h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    color: var(--cp-ink);
}

.cp-empty-state p {
    margin: 0;
    font-size: 16px;
    color: var(--cp-text);
}

.cp-empty-state a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Sayfalama (partials/_pagination; temanın .pagination kuralları üzerine kurumsal görünüm) */
.cp-pages .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: clamp(56px, 6vw, 88px);
}

.cp-pages .pagination-btn,
.cp-pages .pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--cp-line);
    border-radius: 0;
    background: #ffffff;
    font-size: 14px;
    color: var(--cp-ink);
    box-shadow: none;
}

.cp-pages a.pagination-btn:hover,
.cp-pages a.pagination-number:hover {
    border-color: var(--cp-ink);
    background: #ffffff;
    color: var(--cp-ink);
}

.cp-pages .pagination-number.active {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-pages .pagination-gap,
.cp-pages .disabled {
    border-color: transparent;
    opacity: .4;
}

/* ---------------------------------------------------------------- blog: yazı (views/web/blog/detail.php) */

/* Okuma ilerlemesi: sayfanın en üstünde ince çizgi */
.cp-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 3px;
    pointer-events: none;
}

.cp-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-accent, #000000);
    transform: scaleX(0);
    transform-origin: 0 50%;
}

.cp-article-head {
    padding: clamp(14px, 1.6vw, 26px) 0 clamp(28px, 3vw, 44px);
}

.cp-article-intro {
    max-width: 860px;
}

.cp-article-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 2.8vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cp-ink);
    overflow-wrap: break-word;
}

.cp-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    font-size: 13px;
    color: var(--cp-muted);
}

.cp-article-meta > * + *::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 12px;
    border-radius: 50%;
    background: #c8c8c8;
    vertical-align: middle;
}

.cp-byline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--cp-ink);
}

.cp-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cp-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.cp-avatar.is-lg {
    width: 56px;
    height: 56px;
    font-size: 18px;
}

.cp-article-lead {
    margin: 20px 0 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--cp-text);
}

.cp-article-cover img {
    max-height: 640px;
}

.cp-article-body {
    padding: clamp(40px, 4.5vw, 72px) 0 clamp(64px, 7vw, 110px);
}

/* Okuma düzeni: paylaşım şeridi | metin (en çok 740 px) | içindekiler */
.cp-article-grid {
    display: grid;
    grid-template-columns: 48px minmax(0, 740px);
    gap: 0 clamp(28px, 4vw, 64px);
    justify-content: start;
    align-items: start;
}

.cp-article-grid.has-toc {
    grid-template-columns: 48px minmax(0, 740px) minmax(0, 260px);
}

.cp-share {
    position: sticky;
    top: calc(var(--sh-height, 92px) + 28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cp-share-label {
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cp-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.cp-share a,
.cp-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--cp-line);
    background: #ffffff;
    font-size: 15px;
    color: var(--cp-ink);
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.cp-share a:hover,
.cp-share button:hover {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.cp-article-rich {
    max-width: 740px;
    font-size: 18px;
    line-height: 1.85;
}

.cp-article-rich h2,
.cp-article-rich h3 {
    scroll-margin-top: 120px;
}

.cp-article-rich blockquote {
    font-size: 22px;
}

.cp-article-rich img {
    display: block;
    margin: 2em auto;
}

.cp-article-toc {
    top: calc(var(--sh-height, 92px) + 28px);
}

.cp-article-toc a.is-current {
    font-weight: 600;
    color: var(--cp-ink);
}

.cp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--cp-line);
}

.cp-author {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
    padding: 24px;
    background: var(--cp-surface);
}

.cp-author-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-author strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--cp-ink);
}

.cp-author-org {
    font-size: 14px;
    color: var(--cp-text);
}

.cp-related-posts {
    padding: clamp(64px, 7vw, 110px) 0 clamp(80px, 8vw, 130px);
}

.cp-related-posts .cp-section-title {
    margin-bottom: 36px;
}

.cp-toast {
    position: fixed;
    left: 50%;
    bottom: 110px;
    z-index: 1200;
    padding: 12px 20px;
    background: var(--color-accent, #000000);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}

.cp-toast.is-shown {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1199px) {
    .cp-article-grid.has-toc {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .cp-article-grid.has-toc .cp-article-toc {
        display: none;
    }
}

@media (max-width: 991px) {
    .cp-feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .cp-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-article-grid,
    .cp-article-grid.has-toc {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Paylaşım şeridi metnin altında yatay */
    .cp-share {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        order: 2;
        margin-top: 32px;
    }

    .cp-share-label {
        margin: 0 6px 0 0;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .cp-article-lead,
    .cp-article-rich {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .cp-posts {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-post-title {
        font-size: 19px;
    }

    .cp-article-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .cp-author {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp.is-js [data-cp-reveal] > :not(.is-in) {
        opacity: 1;
        transform: none;
    }

    .cp-post-media img,
    .cp-feature-media img {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-row-media img,
    .cp-row-title a,
    .cp-btn {
        transition: none;
    }

    .cp-row:hover .cp-row-media img {
        transform: none;
    }
}

/* ---------------------------------------------------------------- ekip (views/web/team/list.php, detail.php, _card.php) */

.cp-team-wrap {
    padding: clamp(28px, 3vw, 44px) 0 clamp(72px, 8vw, 120px);
}

.cp-team {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(36px, 3.4vw, 56px) clamp(16px, 1.8vw, 28px);
}

/* Kart: adın bağlantısı (::after) kartın tamamını kaplar, sosyal bağlantılar onun üstünde */
.cp-member {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cp-member-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--cp-surface);
}

/* Portrede yüz üst kısımda: kırpma yukarıdan */
.cp-member-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: 50% 20%;
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
}

.cp-member-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(44px, 4.6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #d0d0d0;
}

.cp-member-social {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #ffffff;
    font-size: 14px;
    color: var(--cp-ink);
    transition: background-color .25s ease, color .25s ease;
}

.cp-member-social a:hover,
.cp-member-social a:focus-visible {
    background: var(--cp-accent);
    color: #ffffff;
}

/* Fareli ekranda fotoğraf siyah beyaz, üzerine gelince renklenir; bağlantılar alttan sırayla çıkar.
   Dokunmatik ekranda üzerine gelme yok: fotoğraf renkli, bağlantılar hep görünür. */
@media (hover: hover) {
    .cp-member-media img {
        filter: grayscale(1);
    }

    .cp-member:hover .cp-member-media img,
    .cp-member:focus-within .cp-member-media img {
        filter: none;
        transform: scale(1.04);
    }

    .cp-member-social li {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
    }

    .cp-member-social li:nth-child(2) { transition-delay: 40ms; }
    .cp-member-social li:nth-child(3) { transition-delay: 80ms; }
    .cp-member-social li:nth-child(4) { transition-delay: 120ms; }
    .cp-member-social li:nth-child(5) { transition-delay: 160ms; }

    .cp-member:hover .cp-member-social li,
    .cp-member:focus-within .cp-member-social li {
        opacity: 1;
        transform: none;
    }
}

.cp-member-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
}

.cp-member-name {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--cp-ink);
}

.cp-member-name a {
    color: inherit;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size .35s ease;
}

.cp-member-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cp-member:hover .cp-member-name a {
    color: var(--cp-ink);
    background-size: 100% 1px;
}

.cp-member-link:focus-visible {
    outline: none;
}

.cp-member:has(.cp-member-link:focus-visible) {
    outline: 2px solid var(--cp-ink);
    outline-offset: 6px;
}

.cp-member-role {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-member-go {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--cp-line);
    font-size: 13px;
    color: var(--cp-ink);
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.cp-member:hover .cp-member-go {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

/* "Ekibimize katılın": fotoğraflarla aynı oranda siyah kutu, iletişim sayfasına gider */
.cp-join {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: start;
    gap: 28px;
    aspect-ratio: 4 / 5;
    padding: clamp(22px, 2.2vw, 32px);
    background: var(--cp-accent);
    color: rgba(255, 255, 255, .66);
}

.cp-join:hover,
.cp-join:focus-visible {
    color: rgba(255, 255, 255, .66);
}

.cp-join:focus-visible {
    outline: 2px solid var(--cp-ink);
    outline-offset: 6px;
}

.cp-join-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 16px;
    color: #ffffff;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), background-color .3s ease, color .3s ease;
}

.cp-join:hover .cp-join-ico {
    background: #ffffff;
    color: #000000;
    transform: rotate(90deg);
}

.cp-join-body {
    display: grid;
    gap: 12px;
}

.cp-join-title {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.cp-join-text {
    font-size: 14px;
    line-height: 1.65;
}

.cp-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    margin-top: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ffffff;
    transition: border-color .3s ease;
}

.cp-join-btn i {
    transition: transform .3s ease;
}

.cp-join:hover .cp-join-btn {
    border-color: #ffffff;
}

.cp-join:hover .cp-join-btn i {
    transform: translateX(4px);
}

/* Üye sayfası: solda sabit portre, sağda unvan, ad, iletişim ve özgeçmiş */
.cp-profile {
    padding: clamp(14px, 1.6vw, 26px) 0 clamp(56px, 6vw, 96px);
}

.cp-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(36px, 5.5vw, 96px);
    align-items: start;
    margin-top: clamp(10px, 1.4vw, 22px);
}

/* Özgeçmiş yoksa kısa sağ sütun portrenin ortasına gelir */
.cp-profile-grid:not(:has(.cp-profile-about)) {
    align-items: center;
}

.cp-profile-aside {
    position: sticky;
    top: 112px;
}

.cp-profile-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--cp-surface);
}

.cp-profile-media picture,
.cp-profile-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.cp-profile-media img {
    object-fit: cover !important;
    object-position: 50% 20%;
}

.cp-profile-media .cp-member-initials {
    font-size: clamp(72px, 8vw, 132px);
}

.cp-profile-body {
    padding-top: clamp(0px, 1.6vw, 24px);
}

.cp-profile-name {
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 1.08;
}

.cp-profile-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 36px;
    margin-top: clamp(24px, 2.4vw, 34px);
    padding-top: clamp(22px, 2.2vw, 30px);
    border-top: 1px solid var(--cp-line);
}

.cp-profile-contact .cp-call {
    min-width: 0;
}

.cp-profile-contact .cp-call-ico {
    flex: none;
    width: 46px;
    height: 46px;
}

.cp-profile-contact .cp-call strong {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.cp-profile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-profile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--cp-line);
    font-size: 15px;
    color: var(--cp-ink);
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.cp-profile-social a:hover,
.cp-profile-social a:focus-visible {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-profile-about {
    margin-top: clamp(28px, 3vw, 44px);
    border-top: 2px solid var(--cp-ink);
}

.cp-profile-about .cp-aside-title {
    padding-bottom: 16px;
}

.cp-profile-back {
    margin-top: clamp(32px, 3.4vw, 48px);
}

.cp-profile-back .cp-more-ico {
    width: 46px;
    height: 46px;
}

.cp-profile-back:hover .cp-more-ico,
.cp-profile-back:focus-visible .cp-more-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

/* Ekibimizden */
.cp-team-more {
    padding: clamp(56px, 6vw, 88px) 0 clamp(72px, 8vw, 120px);
    border-top: 1px solid var(--cp-line);
}

.cp-team-more-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 32px;
    margin-bottom: clamp(24px, 2.6vw, 36px);
}

.cp-team-more-head .cp-section-title {
    margin: 0;
}

.cp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-link:hover {
    color: var(--cp-ink);
}

.cp-link i {
    transition: transform .3s ease;
}

.cp-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1199px) {
    .cp-team {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .cp-profile-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .cp-profile-aside {
        position: static;
        max-width: 420px;
    }

    .cp-profile-body {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .cp-team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    /* İki sütunda kart dar: bağlantılar üye sayfasında */
    .cp-member-social,
    .cp-member-go {
        display: none;
    }

    .cp-member-body {
        padding-top: 12px;
    }

    .cp-member-name {
        font-size: 16px;
    }

    .cp-member-role {
        margin-top: 4px;
        font-size: 11px;
        letter-spacing: .08em;
    }

    /* Dar kutuda metne yer kalsın: artı işareti yok, metin alta yaslı */
    .cp-join {
        justify-content: flex-end;
        padding: 18px;
    }

    .cp-join-ico {
        display: none;
    }

    .cp-join-title {
        font-size: 18px;
    }

    .cp-join-text {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        font-size: 13px;
        line-height: 1.5;
    }

    .cp-join-btn {
        font-size: 11px;
        letter-spacing: .12em;
    }

    .cp-profile-aside {
        max-width: none;
    }

    .cp-profile-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cp-team-more-head .cp-link {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-member-media img,
    .cp-member-social li,
    .cp-join-ico {
        transition: none;
    }

    .cp-member:hover .cp-member-media img,
    .cp-member:focus-within .cp-member-media img,
    .cp-join:hover .cp-join-ico {
        transform: none;
    }
}

/* ---------------------------------------------------------------- SSS (views/web/faq/index.php) */

.cp-faq-wrap {
    padding: clamp(28px, 3vw, 44px) 0 clamp(72px, 8vw, 120px);
}

.cp-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(40px, 5vw, 88px);
    align-items: start;
}

.cp-faq-aside {
    position: sticky;
    top: 112px;
}

/* Sorularda ara (faq.js gösterir; JavaScript yoksa kutu çıkmaz) */
.cp-faq-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    border: 1px solid var(--cp-line);
    background: #ffffff;
    transition: border-color .2s ease;
}

.cp-faq-search[hidden] {
    display: none;
}

.cp-faq-search:focus-within {
    border-color: var(--cp-ink);
}

.cp-faq-search > i {
    position: absolute;
    left: 20px;
    font-size: 15px;
    color: var(--cp-muted);
    pointer-events: none;
}

.cp-faq-search input {
    flex: 1;
    min-width: 0;
    height: 58px;
    padding: 0 56px 0 50px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    color: var(--cp-ink);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.cp-faq-search input::-webkit-search-cancel-button {
    display: none;
}

.cp-faq-clear {
    position: absolute;
    right: 8px;
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    font-size: 16px;
    color: var(--cp-muted);
    cursor: pointer;
}

.cp-faq-clear[hidden] {
    display: none;
}

.cp-faq-clear:hover {
    color: var(--cp-ink);
}

.cp-faq-status {
    margin: -12px 0 16px;
    font-size: 13px;
    color: var(--cp-muted);
}

.cp-faq-status:empty {
    display: none;
}

/* Sorular: numara | soru | artı/eksi; açılış yüksekliği tarayıcı destekliyorsa kayarak (::details-content) */
.cp-faq-list {
    border-top: 2px solid var(--cp-ink);
}

.cp-faq {
    border-bottom: 1px solid var(--cp-line);
    scroll-margin-top: 130px;
    interpolate-size: allow-keywords;
}

.cp-faq summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 40px;
    gap: 16px;
    align-items: center;
    padding: 24px 0;
    list-style: none;
    cursor: pointer;
}

.cp-faq summary::-webkit-details-marker {
    display: none;
}

.cp-faq summary::marker {
    content: '';
}

.cp-faq summary:focus-visible {
    outline: 2px solid var(--cp-ink);
    outline-offset: 4px;
}

.cp-faq-num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--cp-muted);
    transition: color .2s ease;
}

.cp-faq-q {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--cp-ink);
}

.cp-faq-ico {
    position: relative;
    justify-self: end;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cp-line);
    transition: background-color .3s ease, border-color .3s ease;
}

.cp-faq-ico::before,
.cp-faq-ico::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background: var(--cp-ink);
    transform: translate(-50%, -50%);
    transition: transform .35s ease, background-color .3s ease;
}

.cp-faq-ico::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.cp-faq summary:hover .cp-faq-ico {
    border-color: var(--cp-ink);
}

.cp-faq[open] .cp-faq-num {
    color: var(--cp-ink);
}

.cp-faq[open] .cp-faq-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
}

.cp-faq[open] .cp-faq-ico::before,
.cp-faq[open] .cp-faq-ico::after {
    background: #ffffff;
}

.cp-faq[open] .cp-faq-ico::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.cp-faq::details-content {
    height: 0;
    overflow: clip;
    transition: height .4s cubic-bezier(.2, .7, .2, 1), content-visibility .4s allow-discrete;
}

.cp-faq[open]::details-content {
    height: auto;
}

.cp-faq-a {
    padding: 0 56px 30px 60px;
}

.cp-faq-a .cp-rich {
    max-width: none;
    font-size: 16px;
    line-height: 1.8;
}

.cp-faq-none {
    margin: 28px 0 0;
    font-size: 16px;
    color: var(--cp-text);
}

.cp-faq-none a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cp-faq-main > .cp-empty-state {
    margin-top: 0;
}

@media (max-width: 991px) {
    .cp-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-faq-aside {
        position: static;
    }
}

@media (max-width: 767px) {
    .cp-faq summary {
        grid-template-columns: 28px minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 20px 0;
    }

    .cp-faq-num {
        font-size: 12px;
        letter-spacing: .06em;
    }

    .cp-faq-q {
        font-size: 16px;
    }

    .cp-faq-ico {
        width: 34px;
        height: 34px;
    }

    .cp-faq-ico::before,
    .cp-faq-ico::after {
        width: 12px;
    }

    .cp-faq-a {
        padding: 0 0 24px 40px;
    }

    .cp-faq-a .cp-rich {
        font-size: 15px;
    }

    .cp-faq-search input {
        height: 52px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-faq::details-content,
    .cp-faq-ico::before,
    .cp-faq-ico::after {
        transition: none;
    }
}

/* ---------------------------------------------------------------- iletişim (views/web/contact/detail.php) */

.cp-contact-wrap {
    padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 6vw, 88px);
}

.cp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4.5vw, 80px);
    align-items: start;
}

/* Siyah iletişim kartı */
.cp-contact-card {
    position: sticky;
    top: 112px;
    padding: clamp(28px, 3vw, 44px);
    background: var(--cp-accent);
    color: rgba(255, 255, 255, .7);
}

.cp-contact-card-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.cp-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-contact-list li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.cp-contact-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cp-contact-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 15px;
    color: #ffffff;
    transition: background-color .25s ease, color .25s ease;
}

.cp-contact-list li:hover .cp-contact-ico {
    background: #ffffff;
    color: #000000;
}

.cp-contact-list small {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.cp-contact-list a,
.cp-contact-list address,
.cp-contact-line {
    display: block;
    margin: 0;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.cp-contact-list a:hover {
    color: #ffffff;
    opacity: .75;
}

.cp-contact-list .cp-contact-route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cp-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    list-style: none;
}

.cp-contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 15px;
    color: #ffffff;
    transition: background-color .25s ease, color .25s ease;
}

.cp-contact-social a:hover,
.cp-contact-social a:focus-visible {
    background: #ffffff;
    color: #000000;
}

/* Form */
.cp-contact-form {
    scroll-margin-top: 130px;
    padding-top: clamp(0px, 1vw, 12px);
}

.cp-contact-heading {
    margin: 0 0 clamp(22px, 2.4vw, 32px);
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cp-ink);
}

.cp-alert {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 26px;
    padding: 18px 20px;
    border: 1px solid var(--cp-line);
    border-left: 3px solid var(--cp-ink);
    background: var(--cp-surface);
}

.cp-alert.is-error {
    border-left-color: #c0392b;
}

.cp-alert-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--cp-ink);
    font-size: 15px;
    color: #ffffff;
}

.cp-alert.is-error .cp-alert-ico {
    background: #c0392b;
}

.cp-alert strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--cp-ink);
}

.cp-alert p {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--cp-text);
}

.cp-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.cp-field {
    position: relative;
    min-width: 0;
}

.cp-field.is-wide {
    grid-column: 1 / -1;
}

.cp-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cp-ink);
}

.cp-field label small {
    font-size: 12px;
    font-weight: 400;
    color: var(--cp-muted);
}

.cp-field input,
.cp-field select,
.cp-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    background: #ffffff;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    color: var(--cp-ink);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cp-field input,
.cp-field select {
    height: 54px;
}

.cp-field textarea {
    min-height: 170px;
    padding-bottom: 30px;
    resize: vertical;
}

.cp-field input:hover,
.cp-field select:hover,
.cp-field textarea:hover {
    border-color: #b8b8b8;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
    border-color: var(--cp-ink);
    box-shadow: 0 0 0 3px rgba(35, 40, 52, .08);
    outline: none;
}

.cp-field .is-invalid {
    border-color: #c0392b;
}

.cp-field .is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

.cp-select {
    position: relative;
}

.cp-select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid var(--cp-ink);
    border-bottom: 1.5px solid var(--cp-ink);
    transform: rotate(45deg);
    pointer-events: none;
}

.cp-select select {
    padding-right: 44px;
    cursor: pointer;
}

.cp-field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #c0392b;
}

.cp-textarea {
    position: relative;
}

.cp-field-count {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 12px;
    color: var(--cp-muted);
    pointer-events: none;
}

.cp-form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    margin-top: 26px;
}

.cp-form-note {
    display: flex;
    gap: 10px;
    flex: 1 1 280px;
    max-width: 440px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--cp-muted);
}

.cp-form-note i {
    margin-top: 4px;
    font-size: 12px;
}

.cp-form-note a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* KVKK onay kutusu: kare kutu çizilir; yerel kutu görünmez ama odaklanır ve tarayıcı doğrulamasına girer */
.cp-consent {
    flex: 1 1 320px;
    max-width: 520px;
}

.cp-check {
    position: relative;
    display: flex;
    gap: 12px;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--cp-text);
    cursor: pointer;
}

.cp-check input {
    position: absolute;
    top: 1px;
    left: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.cp-check-box {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid #c9c9c9;
    background: #ffffff;
    color: #ffffff;
    font-size: 11px;
    transition: background-color .2s ease, border-color .2s ease;
}

.cp-check-box i {
    opacity: 0;
    transform: scale(.5);
    transition: opacity .2s ease, transform .2s ease;
}

.cp-check:hover .cp-check-box {
    border-color: var(--cp-ink);
}

.cp-check input:checked + .cp-check-box {
    border-color: var(--cp-ink);
    background: var(--cp-ink);
}

.cp-check input:checked + .cp-check-box i {
    opacity: 1;
    transform: none;
}

.cp-check input:focus-visible + .cp-check-box {
    outline: 2px solid var(--cp-ink);
    outline-offset: 2px;
}

.cp-check input.is-invalid + .cp-check-box {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

.cp-check-text a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cp-consent .cp-field-error {
    margin-left: 32px;
}

.cp-form .cp-btn {
    border: 0;
    cursor: pointer;
}

.cp-form .cp-btn[disabled] {
    opacity: .6;
    cursor: progress;
    transform: none;
}

/* Harita: gri tonlu, üzerine gelince renklenir */
.cp-map {
    padding-bottom: clamp(72px, 8vw, 120px);
}

.cp-map-frame {
    position: relative;
    overflow: hidden;
    height: clamp(320px, 34vw, 460px);
    background: var(--cp-surface);
}

.cp-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.05);
    transition: filter .5s ease;
}

.cp-map-frame:hover iframe {
    filter: none;
}

.cp-map-route {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--cp-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff;
    transition: opacity .2s ease;
}

.cp-map-route:hover {
    color: #ffffff;
    opacity: .85;
}

@media (max-width: 991px) {
    .cp-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Telefonda kart üstte: en sık eylem aramak */
    .cp-contact-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .cp-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .cp-form-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .cp-form-note,
    .cp-consent {
        flex: none;
        max-width: none;
    }

    .cp-form .cp-btn {
        justify-content: center;
        width: 100%;
    }

    .cp-contact-list a,
    .cp-contact-list address,
    .cp-contact-line {
        font-size: 16px;
    }

    .cp-map-frame {
        height: 320px;
    }
}

@media (hover: none) {
    .cp-map-frame iframe {
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-map-frame iframe,
    .cp-contact-ico {
        transition: none;
    }
}

/* ================================================================ arama sayfası (views/web/search/index.php) */

.cp-search-form {
    display: flex;
    align-items: stretch;
    max-width: 860px;
    margin-top: clamp(22px, 2.4vw, 34px);
    border: 1px solid var(--cp-ink);
    background: #ffffff;
}

.cp-search-ico {
    display: inline-flex;
    align-items: center;
    padding: 0 4px 0 22px;
    font-size: 18px;
    color: var(--cp-ink);
}

.cp-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 64px;
    padding: 0 18px 0 14px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 19px;
    color: var(--cp-ink);
    -webkit-appearance: none;
    appearance: none;
}

.cp-search-form input[type="search"]::placeholder {
    color: var(--cp-muted);
}

.cp-search-form:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}

.cp-search-form .cp-btn {
    flex: none;
    margin: -1px -1px -1px 0;
    padding: 0 38px;
    border: 0;
}

.cp-search-form .cp-btn:hover,
.cp-search-form .cp-btn:focus {
    transform: none;
}

.cp-search-form.is-compact input[type="search"] {
    height: 56px;
    font-size: 16px;
}

.cp-search-results {
    padding: clamp(32px, 3.6vw, 56px) 0 clamp(88px, 9vw, 150px);
}

.cp-search-group + .cp-search-group {
    margin-top: clamp(48px, 5vw, 80px);
}

.cp-search-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 28px;
}

.cp-search-group-head .cp-section-title {
    margin: 0;
}

.cp-search-group-head .cp-section-title small {
    margin-left: 6px;
    font-size: .5em;
    font-weight: 600;
    vertical-align: super;
    color: var(--cp-muted);
}

.cp-search-group-head .cp-more-ico {
    width: 44px;
    height: 44px;
}

.cp-search-group-head .cp-more:hover .cp-more-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-search-note {
    margin: 0 0 28px;
    color: var(--cp-text);
}

.cp-search-note a {
    color: var(--cp-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Kategoriler: yan yana kutular (kapsam etiketi, ad, ok) */
.cp-search-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-search-cat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 18px;
    height: 100%;
    padding: 20px 20px 20px 24px;
    background: var(--cp-surface);
    color: var(--cp-ink);
    transition: background-color .25s ease;
}

.cp-search-cat .cp-more-ico {
    grid-row: 1 / span 2;
    grid-column: 2;
    width: 44px;
    height: 44px;
    border-color: transparent;
    background: #ffffff;
}

.cp-search-cat:hover {
    background: #efefef;
    color: var(--cp-ink);
}

.cp-search-cat:hover .cp-more-ico {
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-search-cat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-search-cat-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

/* Sayfalar ve yazılar: görselli satırlar */
.cp-search-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--cp-line);
}

.cp-search-list li {
    border-bottom: 1px solid var(--cp-line);
}

.cp-search-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 22px 0;
    color: var(--cp-text);
}

.cp-search-item:hover {
    color: var(--cp-text);
}

.cp-search-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cp-surface);
    font-size: 26px;
    color: var(--cp-muted);
}

.cp-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.cp-search-item:hover .cp-search-thumb img {
    transform: scale(1.04);
}

.cp-search-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cp-search-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-search-title {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cp-ink);
}

.cp-search-excerpt {
    font-size: 15px;
    line-height: 1.65;
}

.cp-search-item .cp-more-ico {
    width: 48px;
    height: 48px;
}

.cp-search-item:hover .cp-more-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-search-page mark {
    padding: 0;
    background: #e6e6e6;
    color: inherit;
}

.cp-search-suggest {
    max-width: 860px;
    margin: 8px auto 0;
    text-align: center;
}

.cp-search-suggest .cp-filter {
    justify-content: center;
    margin-top: 6px;
}

/* ================================================================ 404 sayfası (views/web/errors/404.php) */

.cp-404 {
    padding: clamp(40px, 6vw, 110px) 0 clamp(88px, 9vw, 150px);
}

.cp-404-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 40px clamp(40px, 6vw, 110px);
}

/* İri rakam: içi boş, siyah çerçeve. Kontur önce, dolgu (sayfa zemini) sonra boyanır: yazı tipinin "4"ündeki üst üste
   binen çizgiler dolgunun altında kalır, yalnız dış çizgi görünür (kontur 4 px, görünen yarısı 2 px). */
.cp-404-code {
    font-size: clamp(120px, 17vw, 260px);
    font-weight: 700;
    line-height: .85;
    letter-spacing: -0.04em;
    color: var(--color-bg, #ffffff);
    -webkit-text-stroke: 4px var(--cp-ink);
    paint-order: stroke fill;
    user-select: none;
}

.cp-404-body .cp-title {
    font-size: clamp(30px, 3vw, 48px);
}

.cp-404-body .cp-lead {
    max-width: 560px;
    margin-top: 18px;
}

.cp-404-body .cp-search-form {
    margin-top: 32px;
}

.cp-404-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 34px;
    margin-top: 28px;
}

.cp-404-actions .cp-more .cp-more-ico {
    width: 48px;
    height: 48px;
}

.cp-404-actions .cp-more:hover .cp-more-ico {
    border-color: var(--cp-accent);
    background: var(--cp-accent);
    color: #ffffff;
}

.cp-404-links {
    margin-top: clamp(56px, 6vw, 96px);
    padding-top: 12px;
    border-top: 1px solid var(--cp-line);
}

.cp-404-links .cp-filter {
    margin-top: 8px;
}

@media (max-width: 991px) {
    .cp-404-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-404-code {
        font-size: clamp(110px, 30vw, 180px);
    }
}

@media (max-width: 767px) {
    .cp-search-form input[type="search"] {
        height: 56px;
        padding: 0 10px;
        font-size: 16px;
    }

    .cp-search-ico {
        padding-left: 16px;
        font-size: 16px;
    }

    .cp-search-form .cp-btn {
        padding: 0 20px;
    }

    .cp-search-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 16px;
        padding: 18px 0;
    }

    .cp-search-item .cp-more-ico {
        display: none;
    }

    .cp-search-title {
        font-size: 17px;
    }

    .cp-search-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14px;
    }

    .cp-search-cats {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-404-actions .cp-btn {
        width: 100%;
        justify-content: center;
    }
}
