/**
 * SEO Gezegeni – Ek / Override CSS
 * style.css'deki temel stillerin üstüne biner
 */

/* ============================================================
   BÖLÜM ARKA PLAN RENK DÖNÜŞÜMÜ
   Karanlık mod: koyu (#0a0a0a) ↔ soft (#1f1f1f) ↔ beyaz (#111111)
   Açık mod:    beyaz (#ffffff) ↔ soft sage (#f3f8e8)
   ============================================================ */

/* Soft section: orta seviye – alt-section ile bölümler arası kontrast */
.soft-section {
    background-color: #1f1f1f;   /* karanlık mod: net farklı ton */
}

/* ============================================================
   SEO SERVICE PAGE
   ============================================================ */
.sg-seo-page {
    background: var(--sg-bg-primary);
}

.sg-seo-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;
    background:
        radial-gradient(circle at 12% 18%, rgba(63,127,13,.26), transparent 32%),
        linear-gradient(135deg, rgba(10,10,10,.95), rgba(17,17,17,.98));
}

html.sg-theme-light .sg-seo-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(63,127,13,.16), transparent 34%),
        linear-gradient(135deg, #f7f9fc, #ffffff);
}

.sg-seo-hero-grid,
.sg-seo-split,
.sg-seo-ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 56px;
    align-items: center;
}

.sg-seo-split {
    align-items: start;
}

.sg-seo-split .sg-seo-stat-panel {
    position: sticky;
    top: 110px;
}

.sg-seo-hero-copy h1 {
    margin: 18px 0 22px;
    max-width: 760px;
}

.sg-seo-hero-copy h1 span {
    display: block;
    color: var(--sg-accent);
}

.sg-seo-hero-copy p {
    max-width: 680px;
    font-size: 1.08rem;
}

.sg-seo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.sg-seo-hero-visual {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.sg-seo-dashboard {
    position: relative;
    width: min(100%, 440px);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(20,20,20,.84);
    box-shadow: 0 26px 80px rgba(0,0,0,.38);
    backdrop-filter: blur(14px);
    z-index: 2;
}

html.sg-theme-light .sg-seo-dashboard {
    background: rgba(255,255,255,.9);
    border-color: rgba(16,20,24,.1);
    box-shadow: 0 24px 64px rgba(16,20,24,.12);
}

.sg-seo-searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--sg-text-primary);
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    margin-bottom: 18px;
}

.sg-seo-searchbar i {
    color: var(--sg-accent);
}

.sg-seo-result {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-seo-result strong,
.sg-seo-result em {
    color: var(--sg-accent);
    font-style: normal;
    font-weight: 800;
}

.sg-seo-result span {
    color: var(--sg-text-secondary);
}

.sg-seo-result.is-active span {
    color: var(--sg-text-primary);
}

.sg-seo-chart {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding-top: 28px;
}

.sg-seo-chart span {
    flex: 1;
    min-width: 28px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--sg-accent), rgba(63,127,13,.18));
}

.sg-seo-orbit {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(63,127,13,.25);
    border-radius: 50%;
    animation: sg-seo-spin 26s linear infinite;
}

.sg-seo-orbit span {
    position: absolute;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--sg-accent);
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    box-shadow: var(--sg-shadow-green);
}

.sg-seo-orbit span:nth-child(1) { left: 50%; top: -26px; transform: translateX(-50%); }
.sg-seo-orbit span:nth-child(2) { right: -26px; top: 50%; transform: translateY(-50%); }
.sg-seo-orbit span:nth-child(3) { left: 50%; bottom: -26px; transform: translateX(-50%); }
.sg-seo-orbit span:nth-child(4) { left: -26px; top: 50%; transform: translateY(-50%); }

@keyframes sg-seo-spin {
    to { transform: rotate(360deg); }
}

.sg-seo-richtext p + p {
    margin-top: 18px;
}

.sg-seo-lead {
    color: var(--sg-text-secondary);
    font-size: 1.02rem;
    line-height: 1.75;
}

.sg-seo-stat-panel,
.sg-seo-success-card,
.sg-seo-ai-card,
.sg-seo-cta-panel {
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: var(--sg-bg-card);
    box-shadow: var(--sg-shadow);
}

.sg-seo-stat-panel {
    padding: 12px;
}

.sg-seo-stat {
    padding: 24px;
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-seo-stat:last-child {
    border-bottom: 0;
}

.sg-seo-stat strong {
    display: block;
    color: var(--sg-accent);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    margin-bottom: 8px;
}

.sg-seo-stat span {
    color: var(--sg-text-secondary);
    font-weight: 600;
}

.sg-seo-benefit-grid,
.sg-seo-component-grid,
.sg-seo-type-grid,
.sg-seo-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 46px;
}

.sg-seo-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sg-seo-benefit-grid > :last-child:nth-child(3n+1) {
    grid-column: 2;
}

.sg-digital-business-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    margin-top: 46px;
}

.sg-digital-business-grid > .sg-seo-type-card {
    grid-column: span 2;
}

.sg-digital-business-grid > .sg-seo-type-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.sg-digital-business-grid > .sg-seo-type-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.sg-digital-visual {
    isolation: isolate;
}

.sg-digital-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(63,127,13,.24);
    border-radius: 50%;
    animation: sg-seo-spin 32s linear infinite;
}

.sg-digital-orbit span {
    position: absolute;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--sg-accent);
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    box-shadow: var(--sg-shadow-green);
}

.sg-digital-orbit span:nth-child(1) { left: 50%; top: -27px; transform: translateX(-50%); }
.sg-digital-orbit span:nth-child(2) { right: 8px; top: 20%; }
.sg-digital-orbit span:nth-child(3) { right: 42px; bottom: 4%; }
.sg-digital-orbit span:nth-child(4) { left: 42px; bottom: 4%; }
.sg-digital-orbit span:nth-child(5) { left: 8px; top: 20%; }

.sg-digital-hub {
    position: absolute;
    z-index: 3;
    width: 148px;
    height: 148px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 16px;
    border-radius: 50%;
    color: #fff;
    background: var(--sg-accent);
    box-shadow: var(--sg-shadow-green);
}

.sg-digital-hub i,
.sg-digital-hub strong,
.sg-digital-hub span {
    display: block;
}

.sg-digital-hub i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.sg-digital-hub strong {
    font-size: 2rem;
    line-height: 1;
}

.sg-digital-hub span {
    margin-top: 6px;
    font-size: .74rem;
    line-height: 1.3;
    opacity: .9;
}

.sg-digital-dashboard {
    transform: translate(38px, 96px);
    max-width: 390px;
}

.sg-ads-visual {
    isolation: isolate;
}

.sg-ads-stack {
    position: absolute;
    inset: 22px 28px auto;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sg-ads-platform {
    min-height: 142px;
    padding: 22px;
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: rgba(26,26,26,.86);
    box-shadow: var(--sg-shadow);
    backdrop-filter: blur(12px);
}

.sg-ads-platform i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: #fff;
}

.sg-ads-platform.is-google i {
    background: #1a73e8;
}

.sg-ads-platform.is-meta i {
    background: #0866ff;
}

.sg-ads-platform strong {
    display: block;
    color: var(--sg-text-primary);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.sg-ads-platform span {
    color: var(--sg-text-secondary);
    font-size: .86rem;
}

.sg-ads-dashboard {
    transform: translate(0, 138px);
    max-width: 430px;
}

.sg-ads-business-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 46px;
}

html.sg-theme-light .sg-ads-platform {
    background: rgba(255,255,255,.9);
    border-color: rgba(16,20,24,.1);
}

.sg-social-visual {
    isolation: isolate;
}

.sg-social-phone {
    position: absolute;
    z-index: 3;
    left: 28px;
    top: 22px;
    width: 230px;
    min-height: 360px;
    padding: 22px 18px;
    border: 1px solid var(--sg-border-light);
    border-radius: 28px;
    background: rgba(26,26,26,.9);
    box-shadow: var(--sg-shadow);
    backdrop-filter: blur(12px);
}

.sg-social-phone-head {
    width: 72px;
    height: 8px;
    margin: 0 auto 24px;
    border-radius: 20px;
    background: rgba(255,255,255,.18);
}

.sg-social-post {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--sg-border-light);
}

.sg-social-post span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--sg-accent);
    border-radius: 8px;
}

.sg-social-post strong {
    color: var(--sg-text-primary);
    line-height: 1.2;
}

.sg-social-post em {
    color: var(--sg-text-secondary);
    font-size: .82rem;
    font-style: normal;
}

.sg-social-dashboard {
    transform: translate(112px, 126px);
    max-width: 400px;
}

html.sg-theme-light .sg-social-phone {
    background: rgba(255,255,255,.9);
    border-color: rgba(16,20,24,.1);
}

.sg-web-visual {
    isolation: isolate;
    min-height: 460px;
}

.sg-web-browser {
    position: absolute;
    z-index: 3;
    left: 18px;
    top: 24px;
    width: 360px;
    padding: 18px;
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: rgba(26,26,26,.9);
    box-shadow: var(--sg-shadow);
    backdrop-filter: blur(12px);
}

.sg-web-browser-bar {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.sg-web-browser-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
}

.sg-web-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sg-web-layout strong {
    display: grid;
    place-items: center;
    min-height: 68px;
    border-radius: 8px;
    color: #fff;
    background: var(--sg-accent);
    font-size: .85rem;
}

.sg-web-layout em {
    display: block;
    min-height: 12px;
    border-radius: 30px;
    background: rgba(255,255,255,.13);
}

.sg-web-layout em:nth-of-type(1),
.sg-web-layout em:nth-of-type(3) {
    grid-column: span 2;
}

.sg-web-layout em:nth-of-type(2) {
    grid-column: span 1;
}

.sg-web-dashboard {
    transform: translate(112px, 142px);
    max-width: 400px;
}

html.sg-theme-light .sg-web-browser {
    background: rgba(255,255,255,.9);
    border-color: rgba(16,20,24,.1);
}

html.sg-theme-light .sg-web-browser-bar span,
html.sg-theme-light .sg-web-layout em {
    background: rgba(16,20,24,.12);
}

.sg-seo-mini-card,
.sg-seo-component-card,
.sg-seo-type-card,
.sg-seo-metric-card {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: var(--sg-bg-card);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sg-seo-mini-card:hover,
.sg-seo-component-card:hover,
.sg-seo-type-card:hover,
.sg-seo-metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--sg-accent);
    box-shadow: var(--sg-shadow-green);
}

.sg-seo-mini-card i,
.sg-seo-component-icon,
.sg-seo-type-card i,
.sg-seo-metric-card i {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    color: var(--sg-accent);
    background: rgba(63,127,13,.1);
    font-size: 1.15rem;
}

.sg-seo-mini-card h3,
.sg-seo-component-card h3,
.sg-seo-type-card h3,
.sg-seo-metric-card h3 {
    font-size: 1.08rem;
    margin-bottom: 12px;
    color: var(--sg-text-primary);
}

.sg-seo-component-card p,
.sg-seo-type-card p,
.sg-seo-metric-card p {
    font-size: .95rem;
}

.sg-seo-timeline {
    max-width: 920px;
    margin: 48px auto 0;
    position: relative;
}

.sg-seo-step {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 24px;
    padding: 24px;
    margin-bottom: 18px;
    border: 1px solid rgba(16,20,24,.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,20,24,.07);
}

html:not(.sg-theme-light) .sg-seo-step {
    background: var(--sg-bg-card);
    border-color: var(--sg-border-light);
}

.sg-seo-step > span {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--sg-accent);
    border-radius: 8px;
    font-weight: 800;
}

.sg-seo-step h3 {
    margin-bottom: 8px;
    color: var(--sg-text-dark);
}

html:not(.sg-theme-light) .sg-seo-step h3 {
    color: var(--sg-text-primary);
}

.sg-seo-ai-card {
    padding: 38px;
}

.sg-seo-ai-card > i {
    color: var(--sg-accent);
    font-size: 2rem;
    margin-bottom: 18px;
}

.sg-seo-ai-card h2 {
    color: var(--sg-text-primary);
    margin-bottom: 16px;
}

.sg-seo-ai-list {
    display: grid;
    gap: 14px;
}

.sg-seo-ai-list div,
.sg-seo-error-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    color: var(--sg-text-primary);
    background: var(--sg-bg-card);
}

.sg-seo-ai-list i {
    color: var(--sg-accent);
    margin-top: 4px;
}

.light-section .sg-seo-ai-list div,
.light-section .sg-seo-error-list div,
.light-section .sg-seo-detail-item {
    background: #fff;
    border-color: rgba(16,20,24,.1);
    color: var(--sg-text-dark);
    box-shadow: 0 6px 18px rgba(16,20,24,.05);
}

.light-section .sg-seo-detail-item summary {
    color: var(--sg-text-dark);
}

.sg-seo-error-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.sg-seo-ai-list.is-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-seo-detail-grid {
    display: grid;
    gap: 14px;
    margin-top: 46px;
}

.sg-seo-detail-item {
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: var(--sg-bg-card);
    overflow: hidden;
}

.sg-seo-detail-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    color: var(--sg-text-primary);
    font-weight: 700;
}

.sg-seo-detail-item summary::-webkit-details-marker {
    display: none;
}

.sg-seo-detail-item summary i.sg-detail-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    color: var(--sg-accent);
    background: rgba(63,127,13,.1);
    font-size: 1rem;
}

.sg-seo-detail-item summary span.sg-detail-title {
    flex: 1 1 auto;
}

.sg-seo-detail-item summary i.sg-detail-toggle {
    flex: 0 0 auto;
    color: var(--sg-accent);
    font-weight: 800;
}

.sg-seo-detail-item[open] summary i.sg-detail-toggle {
    transform: rotate(45deg);
}

.sg-seo-detail-body {
    padding: 0 24px 26px 78px;
}

.sg-seo-detail-body p + p {
    margin-top: 14px;
}

.sg-seo-detail-body .sg-seo-ai-list {
    margin-top: 16px;
}

@media (max-width: 640px) {
    .sg-seo-detail-body {
        padding: 0 20px 22px 20px;
    }

    .sg-seo-ai-list.is-grid-2 {
        grid-template-columns: 1fr;
    }
}

.sg-seo-error-list i {
    color: #d9822b;
    margin-top: 4px;
}

.sg-seo-success-card {
    padding: 34px;
}

.sg-seo-success-card h3 {
    color: var(--sg-text-primary);
    margin-bottom: 14px;
}

.sg-seo-faq-grid {
    max-width: 980px;
    margin: 46px auto 0;
    display: grid;
    gap: 14px;
}

.sg-seo-faq-item {
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: var(--sg-bg-card);
    overflow: hidden;
}

.sg-seo-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    color: var(--sg-text-primary);
    font-weight: 700;
}

.sg-seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.sg-seo-faq-item summary::after {
    content: "+";
    float: right;
    color: var(--sg-accent);
}

.sg-seo-faq-item[open] summary::after {
    content: "-";
}

.sg-seo-faq-item p {
    padding: 0 24px 22px;
}

.sg-seo-cta-panel {
    padding: clamp(32px, 6vw, 64px);
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.sg-seo-cta-panel h2 {
    color: var(--sg-text-primary);
    margin: 16px auto;
    max-width: 780px;
}

.sg-seo-cta-panel p {
    max-width: 760px;
    margin: 0 auto 28px;
}

html.sg-theme-light .sg-seo-intro .sg-seo-stat-panel,
html.sg-theme-light .sg-seo-success-card,
html.sg-theme-light .sg-seo-cta-panel {
    background: #fff;
    border-color: rgba(16,20,24,.1);
}

html.sg-theme-light .sg-seo-stat-panel h3,
html.sg-theme-light .sg-seo-success-card h3,
html.sg-theme-light .sg-seo-cta-panel h2 {
    color: var(--sg-text-dark);
}

@media (max-width: 991px) {
    .sg-seo-hero-grid,
    .sg-seo-split,
    .sg-seo-ai-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sg-seo-hero {
        padding: 140px 0 76px;
    }

    .sg-seo-hero-visual {
        min-height: 360px;
    }

    .sg-seo-benefit-grid,
    .sg-seo-component-grid,
    .sg-seo-type-grid,
    .sg-seo-metric-grid,
    .sg-digital-business-grid,
    .sg-ads-business-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-digital-business-grid > .sg-seo-type-card,
    .sg-digital-business-grid > .sg-seo-type-card:nth-child(4),
    .sg-digital-business-grid > .sg-seo-type-card:nth-child(5) {
        grid-column: auto;
    }

    .sg-digital-dashboard {
        transform: translate(26px, 86px);
    }

    .sg-ads-dashboard {
        transform: translate(0, 128px);
    }

    .sg-social-dashboard {
        transform: translate(82px, 120px);
    }

    .sg-web-dashboard {
        transform: translate(78px, 136px);
    }
}

@media (max-width: 640px) {
    .sg-seo-hero {
        padding: 124px 0 64px;
    }

    .sg-seo-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sg-seo-hero-actions .sg-btn {
        justify-content: center;
    }

    .sg-seo-hero-visual {
        min-height: 300px;
    }

    .sg-seo-dashboard {
        padding: 18px;
    }

    .sg-seo-orbit {
        inset: 10px;
    }

    .sg-seo-benefit-grid,
    .sg-seo-component-grid,
    .sg-seo-type-grid,
    .sg-seo-metric-grid,
    .sg-digital-business-grid,
    .sg-ads-business-grid,
    .sg-seo-error-list {
        grid-template-columns: 1fr;
    }

    .sg-digital-hub {
        width: 116px;
        height: 116px;
    }

    .sg-digital-dashboard {
        transform: translate(0, 72px);
    }

    .sg-ads-stack {
        inset: 0 0 auto;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sg-ads-platform {
        min-height: auto;
        padding: 16px;
    }

    .sg-ads-dashboard {
        transform: translate(0, 194px);
    }

    .sg-social-phone {
        position: relative;
        left: auto;
        top: auto;
        width: min(100%, 260px);
        min-height: auto;
        margin: 0 auto;
    }

    .sg-social-dashboard {
        transform: translate(0, 24px);
    }

    .sg-web-visual {
        min-height: 520px;
    }

    .sg-web-browser {
        position: relative;
        left: auto;
        top: auto;
        width: min(100%, 330px);
        margin: 0 auto;
    }

    .sg-web-dashboard {
        transform: translate(0, 24px);
    }

    .sg-seo-step {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sg-seo-step > span {
        width: 54px;
        height: 54px;
    }
}
html.sg-theme-light .soft-section {
    background-color: #ebebeb;
}

/* ============================================================
   LIGHT THEME READABLE ACCENT TEXT
   ============================================================ */
html.sg-theme-light .text-accent,
html.sg-theme-light [style*="color:var(--sg-accent)"],
html.sg-theme-light [style*="color: var(--sg-accent)"],
html.sg-theme-light .sg-label,
html.sg-theme-light .btn-outline,
html.sg-theme-light .sg-btn-outline,
html.sg-theme-light .btn-arrow,
html.sg-theme-light .sg-service-icon,
html.sg-theme-light .sg-service-link,
html.sg-theme-light .sg-why-num,
html.sg-theme-light .sg-blog-cat,
html.sg-theme-light .sg-blog-more,
html.sg-theme-light .sg-blog-body h4 a:hover,
html.sg-theme-light .sg-single-cat-badge,
html.sg-theme-light .sg-single-meta-item a,
html.sg-theme-light .sg-single-meta-item i,
html.sg-theme-light .sg-author-label,
html.sg-theme-light .sg-sidebar-widget-title i,
html.sg-theme-light .sg-sidebar-recent-title:hover,
html.sg-theme-light .sg-sidebar-service-link:hover,
html.sg-theme-light .sg-sidebar-service-link i:first-child,
html.sg-theme-light .sg-post-body a,
html.sg-theme-light .sg-post-tags a:hover,
html.sg-theme-light .comments-title span,
html.sg-theme-light .comment-reply-link,
html.sg-theme-light .sg-comment-nav a,
html.sg-theme-light .sg-breadcrumb a:hover,
html.sg-theme-light .sg-page-hero h1 + div i,
html.sg-theme-light .sg-page-hero .sg-portfolio-cat + h1 + div i,
html.sg-theme-light .sg-portfolio-hero-title span,
html.sg-theme-light .sg-portfolio-more,
html.sg-theme-light .sg-single-sidebar .sg-sidebar-widget-title i,
html.sg-theme-light .sg-single-sidebar .widget_nav_menu a:hover {
    color: var(--sg-accent-readable) !important;
}

html.sg-theme-light .sg-label,
html.sg-theme-light .sg-service-icon,
html.sg-theme-light .sg-why-num,
html.sg-theme-light .sg-blog-cat {
    background: rgba(63,127,13,.08);
    border-color: rgba(63,127,13,.24);
}

html.sg-theme-light .sg-label-dot {
    background: var(--sg-accent-readable);
}

html.sg-theme-light .btn-outline,
html.sg-theme-light .sg-btn-outline {
    border-color: var(--sg-accent-readable);
}

html.sg-theme-light .btn-outline:hover,
html.sg-theme-light .sg-btn-outline:hover {
    background: var(--sg-accent-readable);
    border-color: var(--sg-accent-readable);
    color: #fff !important;
}

html.sg-theme-light .btn-primary,
html.sg-theme-light .sg-btn-primary,
html.sg-theme-light .sg-cta-btn,
html.sg-theme-light .wpcf7-form .wpcf7-submit,
html.sg-theme-light .search-submit,
html.sg-theme-light .comment-form .submit {
    color: #fff !important;
}

html.sg-theme-light .sg-service-card:hover {
    border-color: var(--sg-accent-readable);
}

html.sg-theme-light .sg-why-card:hover {
    border-color: var(--sg-accent-readable);
}

html.sg-theme-light .sg-blog-card:hover,
html.sg-theme-light .sg-blog-cat-nav a:hover,
html.sg-theme-light .sg-blog-cat-nav a.is-active {
    border-color: var(--sg-accent-readable);
}

html.sg-theme-light .sg-blog-cat-nav a:hover,
html.sg-theme-light .sg-blog-cat-nav a.is-active {
    background: var(--sg-accent-readable);
    color: #fff !important;
}

html.sg-theme-light .sg-service-card:hover .sg-service-icon {
    background: var(--sg-accent-readable);
    border-color: var(--sg-accent-readable);
    color: #fff !important;
}

html.sg-theme-light .sg-single-cat-badge,
html.sg-theme-light .sg-author-label {
    background: rgba(63,127,13,.08);
    border-color: rgba(63,127,13,.22);
}

html.sg-theme-light .sg-hero-badge,
html.sg-theme-light .sg-contact-quick-card span,
html.sg-theme-light .sg-contact-office-icon,
html.sg-theme-light .sg-contact-icon,
html.sg-theme-light .sg-about-orbit,
html.sg-theme-light .sg-about-visual-icon,
html.sg-theme-light .sg-search-empty-icon {
    background: rgba(63,127,13,.08);
    border-color: rgba(63,127,13,.22);
}

html.sg-theme-light .sg-about-hero .sg-hero-badge,
html.sg-theme-light .sg-about-hero-copy h1 span,
html.sg-theme-light .sg-about-orbit,
html.sg-theme-light .sg-about-hero-stat strong {
    color: var(--sg-accent-readable) !important;
}

html.sg-theme-light .sg-about-hero .sg-btn-primary,
html.sg-theme-light .sg-about-hero .sg-page-hero-inner::before {
    background: var(--sg-accent-readable);
    border-color: var(--sg-accent-readable);
}

html.sg-theme-light .sg-about-hero .sg-btn-primary {
    color: #fff !important;
}

html.sg-theme-light .sg-about-hero .sg-btn-primary:hover {
    background: var(--sg-accent-dark);
    border-color: var(--sg-accent-dark);
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.sg-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
    opacity: 0;
}
.sg-whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,.6);
    color: #fff;
}

/* ============================================================
   SCROLL TOP BUTTON
   ============================================================ */
.sg-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 96px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(63,127,13,.38);
    border-radius: 50%;
    background: var(--sg-bg-card);
    color: var(--sg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.sg-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.sg-scroll-top:hover,
.sg-scroll-top:focus-visible {
    background: var(--sg-accent);
    border-color: var(--sg-accent);
    color: var(--sg-text-dark);
    outline: none;
}

@media (max-width: 600px) {
    .sg-whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }

    .sg-scroll-top {
        right: 18px;
        bottom: 84px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   FOOTER COL RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .footer-col-brand,
    .footer-col-links,
    .footer-col-services,
    .footer-col-contact {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 32px;
    }
}
@media (max-width: 600px) {
    .footer-col-brand,
    .footer-col-links,
    .footer-col-services,
    .footer-col-contact {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   HERO QUOTE CARD
   ============================================================ */
.sg-hero-video iframe {
    top: calc(50% - 74px);
    transform: translate(-50%, -50%) scale(1.14);
}

@media (min-width: 992px) {
    .sg-hero .hero-text-col {
        flex: 0 0 56% !important;
        max-width: 56% !important;
    }

    .sg-hero .hero-visual-col {
        flex: 0 0 44% !important;
        max-width: 44% !important;
    }

    .sg-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        max-width: 620px;
    }

    .sg-hero-stats .sg-stat-divider {
        display: none;
    }

    .sg-stat-item {
        text-align: left;
    }

    .sg-hero-visual {
        justify-content: flex-end;
    }
}

.sg-hero-quote-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(63,127,13,.18);
    border-radius: 16px;
    padding: 32px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: min(100%, 430px);
    max-width: none;
    margin-left: auto;
}

.sg-hero-quote-form .sg-hq-field {
    margin-bottom: 12px;
}

.sg-hero-quote-form input[type="text"],
.sg-hero-quote-form input[type="tel"],
.sg-hero-quote-form input[type="email"],
.sg-hero-quote-form input[type="url"] {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: #fff;
    font-size: .88rem;
    outline: none;
    transition: border-color .25s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.sg-hero-quote-form input::placeholder { color: rgba(255,255,255,.45); }
.sg-hero-quote-form input:focus { border-color: var(--sg-accent); }

.sg-home-legacy-portfolio {
    display: none !important;
}

.sg-reference-logo-grid,
#sgReferencesArchiveGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sg-reference-logo-card {
    background: #fff;
    border: 1px solid rgba(16,20,24,.1);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(16,20,24,.05);
}

.sg-reference-logo-card:hover {
    border-color: rgba(63,127,13,.45);
    box-shadow: 0 16px 34px rgba(16,20,24,.08);
}

.sg-reference-logo-card .sg-portfolio-img {
    aspect-ratio: 16 / 9.8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 0;
    border-radius: inherit;
}

.sg-reference-logo-card .sg-portfolio-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sg-reference-logo-card .sg-portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.sg-reference-logo-card:hover .sg-portfolio-img img {
    transform: none;
}

@media (max-width: 1199px) {
    .sg-reference-logo-grid,
    #sgReferencesArchiveGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sg-reference-logo-grid,
    #sgReferencesArchiveGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .sg-reference-logo-grid,
    #sgReferencesArchiveGrid {
        grid-template-columns: 1fr;
    }
}

.sg-reference-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.sg-reference-load-more {
    min-width: 190px;
    justify-content: center;
}

.sg-reference-load-more:disabled {
    cursor: wait;
    opacity: .72;
}

.sg-service-card-cta {
    background: var(--sg-accent-readable, var(--sg-accent));
    border-color: transparent;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.sg-service-card[href] {
    display: block;
    color: inherit;
    cursor: pointer;
}

.sg-about-service-grid .sg-service-card[href] {
    display: flex;
}

.sg-about-service-grid > [data-sg-reveal] {
    height: 100%;
}

.sg-service-card-cta[href] {
    display: flex;
}

.sg-service-card-cta .sg-service-icon {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.24);
    color: #fff !important;
}

.sg-service-card-cta h3,
.sg-service-card-cta h4,
.sg-service-card-cta p,
.sg-service-card-cta .sg-service-link {
    color: #fff !important;
}

.sg-service-card-cta p {
    opacity: .82;
}

.sg-service-card-cta .sg-service-link {
    font-weight: 800;
}

html.sg-theme-light .sg-service-card-cta .sg-service-icon,
.sg-service-card-cta:hover .sg-service-icon {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.28);
    color: #fff !important;
}

.sg-hq-services-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 6px;
}

.sg-form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--sg-text-primary);
    margin-bottom: 8px;
}

/* --- Custom dropdown --- */
.sg-hq-dropdown {
    position: relative;
    width: 100%;
}

.sg-hq-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(63,127,13,.9);
    border-radius: 8px;
    color: rgba(255,255,255,.88);
    font-size: .88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
    box-sizing: border-box;
}

.sg-hq-dropdown-btn:hover,
.sg-hq-dropdown.is-open .sg-hq-dropdown-btn {
    border-color: var(--sg-accent);
    color: #fff;
    background: rgba(255,255,255,.08);
}

.sg-hq-dropdown-btn .sg-hq-dropdown-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-hq-dropdown-arrow {
    font-size: .7rem;
    flex-shrink: 0;
    transition: transform .25s ease;
    color: rgba(255,255,255,.45);
}

.sg-hq-dropdown.is-open .sg-hq-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--sg-accent);
}

.sg-hq-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    overflow: hidden;
    background: #191919;
    border: 1px solid rgba(63,127,13,.35);
    border-radius: 8px;
    padding: 4px 0;
    z-index: 200;
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
    animation: sgDropIn .18s ease;
}

.sg-hq-dropdown.is-open .sg-hq-dropdown-panel {
    display: block;
}

@keyframes sgDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sg-hq-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 41px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(255,255,255,.78);
    transition: background-color .15s ease, color .15s ease;
    user-select: none;
}

.sg-hq-option:hover { background: rgba(63,127,13,.08); color: #fff; }

.sg-hq-option-cb {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none !important;
}

.sg-hq-option-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease, border-color .2s ease;
    position: relative;
    top: 3px;
    right: 3px;
}

.sg-hq-option-cb:focus-visible + .sg-hq-option-check {
    box-shadow: 0 0 0 3px rgba(63,127,13,.16);
}

.sg-hq-option-cb:checked + .sg-hq-option-check {
    background: var(--sg-accent);
    border-color: var(--sg-accent);
}

.sg-hq-option-cb:checked + .sg-hq-option-check::after {
    content: "";
    width: 5px;
    height: 10px;
    border: solid var(--sg-text-dark);
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}

.sg-hq-option:has(.sg-hq-option-cb:checked) {
    color: #fff;
    background: rgba(63,127,13,.08);
}

.sg-form-services-dropdown .sg-hq-dropdown-btn {
    min-height: 49px;
    padding: 12px 16px;
    background: var(--sg-bg-secondary);
    border-color: var(--sg-border-light);
    color: var(--sg-text-primary);
    font-size: .95rem;
    font-weight: 500;
}

.sg-form-services-dropdown .sg-hq-dropdown-btn:hover,
.sg-form-services-dropdown.is-open .sg-hq-dropdown-btn {
    border-color: var(--sg-accent);
    color: var(--sg-text-primary);
    background: #fff;
}

.sg-form-services-dropdown .sg-hq-dropdown-arrow {
    color: var(--sg-accent);
}

.sg-form-services-dropdown .sg-hq-dropdown-panel {
    background: #fff;
    border-color: var(--sg-border-light);
    box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.sg-form-services-dropdown.is-open .sg-hq-dropdown-panel {
    border-color: rgba(63,127,13,.45);
}

.sg-form-services-dropdown .sg-hq-option {
    color: var(--sg-text-secondary);
    font-weight: 600;
    padding: 6px 12px !important;
    min-height: 0 !important;
    gap: 10px;
    align-items: center;
}

.sg-form-services-dropdown .sg-hq-option:hover {
    background: rgba(63,127,13,.1);
    color: var(--sg-text-primary);
}

.sg-form-services-dropdown .sg-hq-option-check {
    border-color: rgba(23,31,38,.28);
    background: #fff;
}

.sg-form-services-dropdown .sg-hq-option:has(.sg-hq-option-cb:checked) {
    background: rgba(63,127,13,.12);
    color: var(--sg-text-primary);
}

/* ============================================================
   HERO RESPONSIVE COLS
   ============================================================ */
@media (max-width: 991px) {
    .hero-text-col,
    .hero-visual-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .hero-visual-col {
        margin-top: 32px;
    }
}

/* ============================================================
   ABOUT RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .sg-about .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin-bottom: 32px;
    }
}

/* ============================================================
   SERVICES 2-COL ON TABLET
   ============================================================ */
@media (max-width: 991px) and (min-width: 600px) {
    .sg-services .row > div {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
@media (max-width: 599px) {
    .sg-services .row > div,
    .sg-why .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   CONTACT SECTION SPACING
   ============================================================ */
.sg-contact .sg-section-head { margin-bottom: 28px; }
.sg-contact .sg-map-wrap { margin-top: 28px; }
.sg-contact .sg-contact-info { gap: 20px; }

@media (max-width: 991px) {
    .sg-contact .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin-bottom: 32px;
    }
    .sg-contact .sg-map-wrap iframe { min-height: 280px; }
}

/* ============================================================
   ABOUT STAT CARDS 2-COL
   ============================================================ */
@media (max-width: 480px) {
    .sg-about .sg-stat-card-wrap {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   TESTIMONIALS RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .sg-tes-card {
        min-width: 100% !important;
    }
}

/* ============================================================
   CUSTOMIZER LIVE PREVIEW SELECTORS
   ============================================================ */
.customize-preview-hero-title  { display: block; }
.customize-preview-cta-title   { display: block; }

/* ============================================================
   WP COMMENT STYLES
   ============================================================ */
.comments-area {
    margin-top: 48px;
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius-lg);
    padding: 36px;
}
.comments-area h2 {
    color: var(--sg-text-primary);
    font-size: 1.4rem;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sg-border-light);
}
.comment-list { list-style: none; }
.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--sg-border-light);
}
.comment-author .fn { color: var(--sg-text-primary); font-weight: 700; }
.comment-metadata { font-size: .8rem; color: var(--sg-text-secondary); margin-bottom: 10px; }
.comment-body p { color: var(--sg-text-secondary); }
.comment-reply-link {
    color: var(--sg-accent);
    font-size: .85rem;
    font-weight: 600;
}
.comment-form label {
    display: block;
    color: var(--sg-text-primary);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--sg-bg-secondary);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius);
    color: var(--sg-text-primary);
    font-size: .95rem;
    margin-bottom: 16px;
    outline: none;
    transition: border-color .3s ease;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--sg-accent); }
.comment-form .submit {
    padding: 12px 32px;
    background: var(--sg-accent);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: var(--sg-radius);
    cursor: pointer;
    transition: background .3s ease;
}
.comment-form .submit:hover { background: var(--sg-accent-dark); }

/* ============================================================
   WP SEARCH FORM
   ============================================================ */
.search-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
}
.search-form label { flex: 1; }
.search-field {
    width: 100%;
    padding: 14px 18px;
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-right: none;
    border-radius: var(--sg-radius) 0 0 var(--sg-radius);
    color: var(--sg-text-primary);
    font-size: .95rem;
    outline: none;
}
.search-submit {
    padding: 14px 24px;
    background: var(--sg-accent);
    color: var(--sg-text-dark);
    font-weight: 700;
    border: none;
    border-radius: 0 var(--sg-radius) var(--sg-radius) 0;
    cursor: pointer;
}
.search-submit:hover { background: var(--sg-accent-dark); }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#sg-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
}
#sg-reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sg-accent), var(--sg-accent-dark));
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ============================================================
   SINGLE POST – HERO OVERRIDES
   ============================================================ */
.sg-single-hero { padding-bottom: 56px; }

.sg-single-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sg-accent);
    background: rgba(63,127,13,.08);
    border: 1px solid rgba(63,127,13,.2);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.sg-single-cat-badge a { color: inherit; }

.sg-single-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem) !important;
    font-weight: 800;
    line-height: 1.22;
    max-width: 820px;
    margin-bottom: 20px !important;
}

.sg-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: .85rem;
    color: var(--sg-text-secondary);
}
.sg-single-meta-item { display: flex; align-items: center; gap: 6px; }
.sg-single-meta-item a { color: var(--sg-accent); }
.sg-single-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sg-border-light);
    flex-shrink: 0;
}

/* ============================================================
   SINGLE POST – TWO-COLUMN LAYOUT
   ============================================================ */
.sg-single-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.sg-single-main { flex: 1 1 0; min-width: 0; }
.sg-single-sidebar {
    flex: 0 0 320px;
    width: 320px;
    position: sticky;
    top: calc(var(--sg-header-h) + 24px);
}

.sg-single-thumb {
    margin-bottom: 36px;
    border-radius: var(--sg-radius-lg);
    overflow: hidden;
    line-height: 0;
    box-shadow: var(--sg-shadow);
}
.sg-single-thumb img { width: 100%; height: auto; display: block; }

/* ============================================================
   AUTHOR BOX
   ============================================================ */
.sg-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius-lg);
    padding: 28px;
    margin-top: 40px;
}
.sg-author-avatar { flex-shrink: 0; }
.sg-author-img {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50%;
    border: 2px solid var(--sg-border-light);
    display: block;
}
.sg-author-info { flex: 1; min-width: 0; }
.sg-author-name-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sg-author-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--sg-accent);
    background: rgba(63,127,13,.08);
    border: 1px solid rgba(63,127,13,.2);
    padding: 2px 10px;
    border-radius: 20px;
}
.sg-author-name { font-weight: 700; color: var(--sg-text-primary); font-size: 1rem; }
.sg-author-bio { color: var(--sg-text-secondary); font-size: .88rem; line-height: 1.6; margin: 0; }

/* ============================================================
   SIDEBAR – ENHANCED
   ============================================================ */
.sg-sidebar-widget-title { display: flex; align-items: center; gap: 8px; }
.sg-sidebar-widget-title i { color: var(--sg-accent); font-size: .9rem; }

.sg-sidebar-recent-list { display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; margin: 0; }
.sg-sidebar-recent-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sg-border-light);
}
.sg-sidebar-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.sg-sidebar-recent-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--sg-radius);
    overflow: hidden;
    display: block;
}
.sg-sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-sidebar-recent-text { flex: 1; min-width: 0; }
.sg-sidebar-recent-title {
    display: block;
    color: var(--sg-text-primary);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}
.sg-sidebar-recent-title:hover { color: var(--sg-accent); }
.sg-sidebar-recent-date { font-size: .76rem; color: var(--sg-text-secondary); }

.sg-sidebar-service-list { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; }
.sg-sidebar-service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--sg-radius);
    color: var(--sg-text-secondary);
    font-size: .88rem;
    font-weight: 500;
    transition: var(--sg-transition);
}
.sg-sidebar-service-link:hover { background: rgba(63,127,13,.06); color: var(--sg-accent); }
.sg-sidebar-service-link i:first-child { color: var(--sg-accent); width: 16px; text-align: center; }
.sg-sidebar-service-arrow { margin-left: auto; font-size: .7rem; opacity: .5; }

.sg-single-sidebar .sg-post-sidebar-widget { padding: 22px; margin-bottom: 20px; }
.sg-single-sidebar .sg-post-sidebar-widget h4 { margin-bottom: 16px; padding-bottom: 12px; }
.sg-sidebar-search-form { position: relative; }
.sg-sidebar-search-form input[type="search"] {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 16px;
    background: var(--sg-bg-secondary);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius);
    color: var(--sg-text-primary);
    font-size: .9rem;
    font-family: inherit;
}
.sg-sidebar-search-form input[type="search"]:focus { outline: none; border-color: var(--sg-accent); }
.sg-sidebar-search-form button {
    position: absolute;
    top: 4px; right: 4px;
    width: 38px; height: 38px;
    border: 0;
    border-radius: 6px;
    background: var(--sg-accent);
    color: #fff;
    cursor: pointer;
}
.sg-sidebar-search-form button:hover { background: var(--sg-accent-dark); }
.sg-sidebar-count {
    margin-left: auto;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(63,127,13,.12);
    color: var(--sg-accent);
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
}
.sg-single-sidebar .sg-sidebar-cta {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(63,127,13,.28), transparent 65%),
        var(--sg-bg-card);
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow-green);
}
.sg-sidebar-cta-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(63,127,13,.15);
    border: 1px solid var(--sg-border);
    color: var(--sg-accent);
    font-size: 1.4rem;
}
.sg-single-sidebar .sg-sidebar-cta h4 {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    color: var(--sg-text-primary);
    font-size: 1.1rem;
}
.sg-sidebar-cta p {
    margin: 0 0 20px;
    color: var(--sg-text-secondary);
    font-size: .88rem;
    line-height: 1.6;
}
.sg-sidebar-cta .sg-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
    font-size: .9rem;
    color: #fff;
}

/* ============================================================
   POST SHARE
   ============================================================ */
.sg-post-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 0;
    border-top: 1px solid var(--sg-border-light);
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-post-share-label {
    color: var(--sg-text-secondary);
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sg-post-share-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.sg-post-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--sg-border-light);
    border-radius: 50%;
    color: var(--sg-text-secondary);
    font-size: .9rem;
    transition: color .2s, border-color .2s, background .2s;
}

.sg-post-share-links a:hover {
    background: var(--sg-accent);
    border-color: var(--sg-accent);
    color: var(--sg-text-dark);
}

/* ============================================================
   SIDEBAR – DEFAULT WORDPRESS WIDGETS
   ============================================================ */
.sg-single-sidebar .sg-widget,
.sg-single-sidebar .sg-post-sidebar-widget {
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.sg-single-sidebar .sg-widget:last-child,
.sg-single-sidebar .sg-post-sidebar-widget:last-child { margin-bottom: 0; }

/* Widget başlıkları */
.sg-single-sidebar .sg-widget-title,
.sg-single-sidebar .sg-sidebar-widget-title {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--sg-text-secondary);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sg-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sg-single-sidebar .sg-widget-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--sg-accent);
    border-radius: 2px;
    flex-shrink: 0;
}
.sg-single-sidebar .sg-sidebar-widget-title i { color: var(--sg-accent); font-size: .9rem; }

/* Arama formu */
.sg-single-sidebar .widget_search .search-form { display: flex; gap: 8px; }
.sg-single-sidebar .widget_search .search-field {
    flex: 1;
    background: var(--sg-bg-input);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    padding: 10px 14px;
    color: var(--sg-text-primary);
    font-size: .88rem;
    outline: none;
    transition: border-color .2s;
}
.sg-single-sidebar .widget_search .search-field:focus { border-color: var(--sg-accent); }
.sg-single-sidebar .widget_search .search-submit {
    background: var(--sg-accent);
    border: none;
    border-radius: var(--sg-radius);
    padding: 10px 16px;
    color: var(--sg-text-dark);
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s;
}
.sg-single-sidebar .widget_search .search-submit:hover { opacity: .85; }

/* Liste widget'ları (Son Yazılar, Son Yorumlar, Arşivler, Kategoriler) */
.sg-single-sidebar .widget_recent_entries ul,
.sg-single-sidebar .widget_recent_comments ul,
.sg-single-sidebar .widget_archive ul,
.sg-single-sidebar .widget_categories ul,
.sg-single-sidebar .widget_pages ul,
.sg-single-sidebar .widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sg-single-sidebar .widget_recent_entries li,
.sg-single-sidebar .widget_recent_comments li,
.sg-single-sidebar .widget_archive li,
.sg-single-sidebar .widget_categories li,
.sg-single-sidebar .widget_pages li,
.sg-single-sidebar .widget_nav_menu li {
    border-bottom: 1px solid var(--sg-border-light);
    padding: 9px 0;
}
.sg-single-sidebar .widget_recent_entries li:first-child,
.sg-single-sidebar .widget_recent_comments li:first-child,
.sg-single-sidebar .widget_archive li:first-child,
.sg-single-sidebar .widget_categories li:first-child,
.sg-single-sidebar .widget_pages li:first-child,
.sg-single-sidebar .widget_nav_menu li:first-child { padding-top: 0; }
.sg-single-sidebar .widget_recent_entries li:last-child,
.sg-single-sidebar .widget_recent_comments li:last-child,
.sg-single-sidebar .widget_archive li:last-child,
.sg-single-sidebar .widget_categories li:last-child,
.sg-single-sidebar .widget_pages li:last-child,
.sg-single-sidebar .widget_nav_menu li:last-child { border-bottom: none; padding-bottom: 0; }
.sg-single-sidebar .widget_recent_entries a,
.sg-single-sidebar .widget_recent_comments a,
.sg-single-sidebar .widget_archive a,
.sg-single-sidebar .widget_categories a,
.sg-single-sidebar .widget_pages a,
.sg-single-sidebar .widget_nav_menu a {
    color: var(--sg-text-primary);
    font-size: .88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.sg-single-sidebar .widget_recent_entries a::before,
.sg-single-sidebar .widget_recent_comments a::before,
.sg-single-sidebar .widget_archive a::before,
.sg-single-sidebar .widget_categories a::before,
.sg-single-sidebar .widget_pages a::before,
.sg-single-sidebar .widget_nav_menu a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sg-accent);
    flex-shrink: 0;
}
.sg-single-sidebar .widget_recent_entries a:hover,
.sg-single-sidebar .widget_recent_comments a:hover,
.sg-single-sidebar .widget_archive a:hover,
.sg-single-sidebar .widget_categories a:hover,
.sg-single-sidebar .widget_pages a:hover,
.sg-single-sidebar .widget_nav_menu a:hover { color: var(--sg-accent); }

/* Son Yazılar – tarih */
.sg-single-sidebar .widget_recent_entries .post-date {
    display: block;
    font-size: .74rem;
    color: var(--sg-text-secondary);
    margin-top: 2px;
    padding-left: 13px;
}

/* Kategoriler – adet */
.sg-single-sidebar .widget_categories .post-count,
.sg-single-sidebar .widget_archive .post-count {
    margin-left: auto;
    font-size: .74rem;
    color: var(--sg-text-secondary);
    background: var(--sg-bg-primary);
    border: 1px solid var(--sg-border-light);
    border-radius: 20px;
    padding: 1px 8px;
}

/* ============================================================
   COMMENTS – REDESIGNED
   ============================================================ */
.comments-area {
    margin-top: 56px;
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius-lg);
    padding: 40px;
}
.comments-title {
    color: var(--sg-text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sg-border-light);
}
.comments-title span { color: var(--sg-accent); }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.sg-comment { padding: 0; margin-bottom: 0; border: none; }
.sg-comment + .sg-comment { border-top: 1px solid var(--sg-border-light); }
.sg-comment .children { list-style: none; padding-left: 60px; margin: 0; border-top: 1px solid var(--sg-border-light); }
.sg-comment-inner { display: flex; gap: 16px; padding: 24px 0; }
.sg-comment-avatar img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    border: 2px solid var(--sg-border-light);
}
.sg-comment-body { flex: 1; min-width: 0; }
.sg-comment-header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.sg-comment-author a { color: var(--sg-text-primary); font-weight: 700; }
.sg-comment-date { font-size: .78rem; color: var(--sg-text-secondary); }
.sg-comment-text p { color: var(--sg-text-secondary); font-size: .92rem; line-height: 1.75; margin-bottom: 8px; }
.sg-comment-actions { margin-top: 8px; display: flex; gap: 12px; }
.sg-comment-moderation { color: var(--sg-text-secondary); font-size: .82rem; font-style: italic; margin-bottom: 8px; }
.comment-reply-link { color: var(--sg-accent); font-size: .82rem; font-weight: 600; }
.sg-comment-edit a { color: var(--sg-text-secondary); font-size: .82rem; }
.sg-comments-closed, .sg-comments-protected {
    color: var(--sg-text-secondary);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--sg-bg-secondary);
    border-radius: var(--sg-radius);
    margin-bottom: 20px;
}
.comment-respond .comment-reply-title {
    color: var(--sg-text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--sg-border-light);
    display: flex;
    align-items: center;
    gap: 12px;
}
.comment-respond .comment-reply-title small a { font-size: .8rem; color: var(--sg-text-secondary); font-weight: 400; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; color: var(--sg-text-primary); font-size: .85rem; font-weight: 600; margin-bottom: 7px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--sg-bg-secondary);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius);
    color: var(--sg-text-primary);
    font-size: .95rem;
    outline: none;
    transition: border-color .3s ease;
    box-sizing: border-box;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--sg-accent); }
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: var(--sg-accent);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    border-radius: var(--sg-radius);
    cursor: pointer;
    transition: background .3s ease, box-shadow .3s ease;
    font-family: var(--sg-font);
}
.comment-form .submit:hover { background: var(--sg-accent-dark); box-shadow: var(--sg-shadow-green); }
.sg-comment-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--sg-border-light);
    font-size: .88rem;
}
.sg-comment-nav a { color: var(--sg-accent); font-weight: 600; }

/* ============================================================
   SINGLE POST – RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .sg-single-layout { flex-direction: column; }
    .sg-single-sidebar { flex: none; width: 100%; position: static; }
}
@media (max-width: 767px) {
    .sg-single-meta-sep { display: none; }
    .sg-author-box { flex-direction: column; gap: 14px; }
    .sg-post-share {
        align-items: flex-start;
        flex-direction: column;
    }
    .sg-post-share-links { justify-content: flex-start; }
    .comments-area { padding: 24px; }
    .sg-comment .children { padding-left: 24px; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    #sg-header,
    .sg-whatsapp-float,
    .sg-scroll-top,
    .sg-footer,
    .sg-mobile-nav,
    .sg-mobile-overlay {
        display: none !important;
    }
    body, .sg-hero { background: #fff !important; color: #000 !important; }
    a { color: #000 !important; }
}

/* ============================================================
   ACCESSIBILITY – focus styles
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--sg-accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    left: 6px;
    top: 6px;
    width: auto;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--sg-accent);
    color: var(--sg-text-dark);
    border-radius: var(--sg-radius);
    font-weight: 700;
}

/* ============================================================
   PORTFOLIO DETAIL PAGE
   ============================================================ */
.sg-portfolio-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin: 32px 0;
}
.sg-portfolio-meta-item {
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius);
    padding: 18px;
    text-align: center;
}
.sg-portfolio-meta-item .label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--sg-text-secondary);
    margin-bottom: 6px;
}
.sg-portfolio-meta-item .value {
    color: var(--sg-accent);
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================================
   PORTFOLIO ARCHIVE – PAGE HERO
   ============================================================ */
.sg-portfolio-archive-hero { padding: 100px 0 56px; }

.sg-portfolio-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 20px;
}

.sg-portfolio-hero-left { flex: 1; min-width: 0; }

.sg-portfolio-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sg-accent);
    background: rgba(63,127,13,.08);
    border: 1px solid rgba(63,127,13,.2);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.sg-portfolio-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px !important;
    color: var(--sg-text-primary) !important;
}
.sg-portfolio-hero-title span { color: var(--sg-accent); }

.sg-portfolio-hero-desc {
    font-size: .92rem;
    color: var(--sg-text-secondary);
    max-width: 440px;
    line-height: 1.65;
}

.sg-portfolio-hero-right {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.sg-portfolio-hero-stat {
    text-align: center;
    padding: 16px 20px;
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius);
    min-width: 80px;
}
.sg-portfolio-hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sg-accent);
    line-height: 1.1;
}
.sg-portfolio-hero-stat span {
    font-size: .72rem;
    color: var(--sg-text-secondary);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 4px;
    display: block;
}

@media (max-width: 767px) {
    .sg-portfolio-hero-row { flex-direction: column; align-items: flex-start; }
    .sg-portfolio-hero-right { gap: 12px; }
    .sg-portfolio-hero-stat { padding: 12px 16px; min-width: 70px; }
    .sg-portfolio-hero-stat strong { font-size: 1.2rem; }
    .sg-portfolio-archive-hero { padding: 80px 0 40px; }
}

/* ============================================================
   PORTFOLIO ARCHIVE & SINGLE – OVERLAY / RESULT / MORE LINK
   ============================================================ */

/* Overlay on hover */
.sg-portfolio-img { position: relative; overflow: hidden; }

.sg-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}
.sg-portfolio-item:hover .sg-portfolio-overlay { opacity: 1; }

.sg-portfolio-overlay-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sg-accent);
    color: var(--sg-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transform: scale(.8);
    transition: transform .3s ease;
}
.sg-portfolio-item:hover .sg-portfolio-overlay-btn { transform: scale(1); }

/* Placeholder image (no featured image) */
.sg-portfolio-img-placeholder {
    background: var(--sg-bg-secondary);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sg-portfolio-img-placeholder > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.sg-portfolio-img-placeholder i {
    font-size: 3rem;
    color: var(--sg-accent);
    opacity: .3;
}

/* Result badge */
.sg-portfolio-result {
    margin-top: 12px;
    padding: 7px 14px;
    background: rgba(63,127,13,.08);
    border: 1px solid rgba(63,127,13,.2);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--sg-accent);
    font-weight: 700;
}

/* "Projeyi İncele" link */
.sg-portfolio-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--sg-accent);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease;
}
.sg-portfolio-more:hover { border-color: var(--sg-accent); }

/* Single portfolio – main + sidebar responsive */
@media (max-width: 991px) {
    .sg-portfolio-main,
    .sg-portfolio-main ~ div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .sg-portfolio-main ~ div { margin-top: 32px; }
}

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
@keyframes sg-skeleton {
    0%   { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}
.sg-skeleton {
    background: linear-gradient(90deg, var(--sg-bg-card) 0px, var(--sg-bg-secondary) 60px, var(--sg-bg-card) 120px);
    background-size: 300px 100%;
    animation: sg-skeleton 1.4s ease infinite;
    border-radius: var(--sg-radius);
}

/* ============================================================
   GLOBAL INNER HERO / BREADCRUMB REFRESH
   ============================================================ */
.sg-page-hero {
    isolation: isolate;
    padding: clamp(118px, 12vw, 168px) 0 clamp(54px, 7vw, 88px);
    background:
        linear-gradient(135deg, rgba(10,10,10,.98) 0%, rgba(17,17,17,.94) 54%, rgba(28,37,17,.88) 100%);
    border-bottom: 1px solid rgba(63,127,13,.18);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.04);
}

.sg-page-hero::before {
    background-image:
        linear-gradient(rgba(63,127,13,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63,127,13,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.38), transparent);
    opacity: .75;
}

.sg-page-hero::after {
    content: '';
    position: absolute;
    right: max(24px, calc((100vw - 1240px) / 2));
    bottom: -1px;
    z-index: 0;
    width: min(38vw, 470px);
    height: 74%;
    border: 1px solid rgba(63,127,13,.16);
    border-bottom: 0;
    border-radius: var(--sg-radius-lg) var(--sg-radius-lg) 0 0;
    background:
        linear-gradient(135deg, transparent 0 46%, rgba(63,127,13,.14) 46% 47%, transparent 47% 100%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
    transform: skewX(-9deg);
    transform-origin: bottom right;
    opacity: .58;
    pointer-events: none;
}

.sg-page-hero-inner {
    display: grid;
    gap: 16px;
}

.sg-page-hero-inner::before {
    content: '';
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: var(--sg-accent);
    box-shadow: 0 0 24px rgba(63,127,13,.28);
    order: 1;
}

.sg-page-hero h1 {
    order: 2;
    max-width: 880px;
    margin: 0 !important;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.08;
    letter-spacing: 0;
    color: #fff;
}

.sg-page-hero h1 i {
    width: .9em;
    margin-right: 12px !important;
    font-size: .72em;
    vertical-align: .08em;
}

.sg-page-hero p {
    order: 3;
    max-width: 680px !important;
    margin: 0 !important;
    color: rgba(255,255,255,.7);
    font-size: 1rem;
}

.sg-page-hero h1 + div {
    order: 3;
}

.sg-page-hero-inner .sg-breadcrumb {
    order: 0;
}

.sg-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    gap: 7px;
    padding: 7px 10px;
    margin: 0 0 8px;
    color: rgba(255,255,255,.62);
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .8rem;
    line-height: 1.2;
}

.sg-breadcrumb::before {
    content: '\f015';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sg-accent);
    color: var(--sg-text-dark);
    font: var(--fa-font-solid);
    font-size: .68rem;
    flex: 0 0 auto;
}

.sg-breadcrumb a,
.sg-breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.sg-breadcrumb a {
    color: rgba(255,255,255,.78);
    font-weight: 650;
}

.sg-breadcrumb a:hover {
    color: var(--sg-accent);
}

.sg-breadcrumb span:not(.sep):last-child {
    max-width: min(52vw, 520px);
    overflow: hidden;
    color: #fff;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-breadcrumb span.sep {
    color: rgba(63,127,13,.52);
    font-size: 0;
}

.sg-breadcrumb span.sep::before {
    content: '\f054';
    font: var(--fa-font-solid);
    font-size: .62rem;
}

.sg-page-hero .sg-portfolio-cat {
    order: 1;
    width: fit-content;
    margin: 0 0 2px !important;
    border-radius: 999px;
}

.sg-page-hero .sg-portfolio-cat + h1 {
    order: 2;
}

.sg-page-hero h1 + div,
.sg-page-hero .sg-portfolio-cat + h1 + div {
    display: flex !important;
    align-items: center;
    gap: 10px 16px !important;
    margin-top: 4px !important;
    color: rgba(255,255,255,.68) !important;
}

.sg-page-hero h1 + div span,
.sg-page-hero .sg-portfolio-cat + h1 + div span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
}

.sg-page-hero h1 + div i,
.sg-page-hero .sg-portfolio-cat + h1 + div i {
    color: var(--sg-accent) !important;
}

html.sg-theme-light .sg-page-hero {
    background:
        linear-gradient(135deg, #ffffff 0%, #f7f9fc 58%, #edf5e2 100%);
    border-bottom-color: rgba(16,20,24,.08);
    box-shadow: inset 0 -1px 0 rgba(16,20,24,.04);
}

html.sg-theme-light .sg-page-hero h1 {
    color: var(--sg-text-primary);
}

html.sg-theme-light .sg-page-hero p {
    color: var(--sg-text-secondary);
}

html.sg-theme-light .sg-breadcrumb {
    color: var(--sg-text-secondary);
    background: rgba(255,255,255,.72);
    border-color: rgba(16,20,24,.08);
    box-shadow: 0 12px 35px rgba(16,20,24,.08);
}

html.sg-theme-light .sg-breadcrumb a {
    color: #2e3742;
}

html.sg-theme-light .sg-breadcrumb a:hover {
    color: var(--sg-accent-dark);
}

html.sg-theme-light .sg-breadcrumb span:not(.sep):last-child {
    color: var(--sg-text-primary);
}

html.sg-theme-light .sg-page-hero h1 + div,
html.sg-theme-light .sg-page-hero .sg-portfolio-cat + h1 + div {
    color: var(--sg-text-secondary) !important;
}

html.sg-theme-light .sg-page-hero h1 + div span,
html.sg-theme-light .sg-page-hero .sg-portfolio-cat + h1 + div span {
    background: rgba(255,255,255,.74);
    border-color: rgba(16,20,24,.08);
}

/* ============================================================
   BREADCRUMB BAR (hero altı – sade şerit)
   ============================================================ */
.sg-breadcrumb-bar {
    padding: 10px 0;
    background: var(--sg-bg-secondary);
    border-bottom: 1px solid var(--sg-border-light);
}

html .sg-breadcrumb-bar .sg-breadcrumb {
    order: unset;
    display: inline-flex;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 5px !important;
    font-size: .79rem !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    color: var(--sg-text-secondary);
}

html .sg-breadcrumb-bar .sg-breadcrumb::before {
    width: 16px;
    height: 16px;
    font-size: .58rem;
    background: var(--sg-border) !important;
    color: var(--sg-text-secondary) !important;
    box-shadow: none !important;
}

html .sg-breadcrumb-bar .sg-breadcrumb a {
    color: var(--sg-text-secondary);
    font-weight: 500;
}

html .sg-breadcrumb-bar .sg-breadcrumb a:hover {
    color: var(--sg-accent);
}

html .sg-breadcrumb-bar .sg-breadcrumb span:not(.sep):last-child {
    color: var(--sg-text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(60vw, 520px);
}

html .sg-breadcrumb-bar .sg-breadcrumb span.sep {
    color: var(--sg-border);
}

html.sg-theme-light .sg-breadcrumb-bar {
    background: #f5f7fa;
    border-bottom-color: rgba(16,20,24,.07);
}

html.sg-theme-light .sg-breadcrumb-bar .sg-breadcrumb::before {
    background: rgba(16,20,24,.12) !important;
    color: #555 !important;
}

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.sg-legal-hero {
    padding: 150px 0 88px;
}

.sg-legal-hero .sg-page-hero-inner {
    position: relative;
    z-index: 2;
}

.sg-legal-hero-grid {
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 48px;
    align-items: center;
}

.sg-legal-hero-copy .sg-hero-badge {
    width: fit-content;
}

.sg-legal-hero-copy h1 {
    margin: 18px 0 20px !important;
}

.sg-legal-hero-copy p {
    max-width: 680px !important;
    font-size: 1.08rem;
    line-height: 1.75;
}

.sg-legal-hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: var(--sg-radius-lg);
}

.sg-legal-summary-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--sg-border-light);
}

.sg-legal-summary-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.sg-legal-summary-item:last-child {
    padding-bottom: 0;
}

.sg-legal-summary-item > span {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(63,127,13,.1);
    border: 1px solid var(--sg-border);
    border-radius: 14px;
    color: var(--sg-accent);
    font-size: 1.1rem;
}

.sg-legal-summary-item strong,
.sg-legal-summary-item em {
    display: block;
}

.sg-legal-summary-item strong {
    color: var(--sg-text-primary);
    line-height: 1.25;
}

.sg-legal-summary-item em {
    margin-top: 4px;
    color: var(--sg-text-secondary);
    font-size: .9rem;
    font-style: normal;
    line-height: 1.55;
}

.sg-legal-body .sg-post-body-content > h2:first-child {
    margin-top: 0;
}

html.sg-theme-light .sg-legal-hero-panel {
    background: rgba(255,255,255,.76);
    border-color: rgba(16,20,24,.08);
    box-shadow: 0 14px 34px rgba(16,20,24,.08);
}

html.sg-theme-light .sg-legal-summary-item > span {
    background: rgba(63,127,13,.08);
    border-color: rgba(63,127,13,.22);
    color: var(--sg-accent-readable);
}

@media (max-width: 991px) {
    .sg-legal-hero {
        padding: 130px 0 76px;
    }

    .sg-legal-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .sg-legal-hero {
        padding: 116px 0 64px;
    }

    .sg-legal-hero-panel,
    .sg-legal-body {
        padding: 24px;
    }
}

.sg-portfolio-archive-hero {
    padding: clamp(118px, 12vw, 162px) 0 clamp(56px, 7vw, 86px);
}

.sg-portfolio-archive-hero .sg-page-hero-inner {
    max-width: none;
}

.sg-portfolio-hero-row {
    order: 2;
    align-items: center;
    gap: 40px;
    margin-top: 4px;
}

.sg-portfolio-hero-eyebrow {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(63,127,13,.1);
    box-shadow: inset 0 0 0 1px rgba(63,127,13,.05);
}

.sg-portfolio-hero-title {
    margin-top: 0 !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    letter-spacing: 0;
}

.sg-portfolio-hero-desc {
    max-width: 620px;
    color: rgba(255,255,255,.7);
    font-size: 1rem;
}

.sg-portfolio-hero-right {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 12px;
    min-width: min(430px, 100%);
}

.sg-portfolio-hero-stat {
    min-width: 0;
    padding: 18px 16px;
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.1);
    border-radius: var(--sg-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sg-portfolio-hero-stat strong {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

html.sg-theme-light .sg-portfolio-hero-desc {
    color: var(--sg-text-secondary);
}

html.sg-theme-light .sg-portfolio-hero-stat {
    background: rgba(255,255,255,.76);
    border-color: rgba(16,20,24,.08);
    box-shadow: 0 14px 34px rgba(16,20,24,.08);
}

@media (max-width: 991px) {
    .sg-page-hero::after {
        width: 48vw;
        opacity: .35;
    }

    .sg-page-hero-inner {
        max-width: 760px;
    }

    .sg-portfolio-hero-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .sg-portfolio-hero-right {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .sg-page-hero {
        padding: 104px 0 46px;
    }

    .sg-page-hero::after {
        display: none;
    }

    .sg-page-hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.7rem);
    }

    .sg-breadcrumb {
        gap: 6px;
        padding: 6px 8px;
        font-size: .76rem;
    }

    .sg-breadcrumb span:not(.sep):last-child {
        max-width: 58vw;
    }

    .sg-page-hero h1 + div,
    .sg-page-hero .sg-portfolio-cat + h1 + div {
        align-items: flex-start;
    }

    .sg-page-hero h1 + div span,
    .sg-page-hero .sg-portfolio-cat + h1 + div span {
        padding: 6px 9px;
    }

    .sg-portfolio-hero-right {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .sg-portfolio-hero-stat {
        padding: 13px 8px;
    }

    .sg-portfolio-hero-stat span {
        font-size: .66rem;
        letter-spacing: .04em;
    }
}

/* ============================================================
   SINGLE SIDEBAR WIDGET POLISH
   ============================================================ */
.sg-single-sidebar .sg-widget,
.sg-single-sidebar .sg-post-sidebar-widget {
    border-color: rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: none;
    overflow: hidden;
}

.sg-single-sidebar .sg-widget-title,
.sg-single-sidebar .sg-sidebar-widget-title,
.sg-single-sidebar .wp-block-heading,
.sg-single-sidebar h2,
.sg-single-sidebar h3,
.sg-single-sidebar .sg-widget > h4,
.sg-single-sidebar .sg-post-sidebar-widget > h4 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--sg-border-light);
    color: var(--sg-text-primary) !important;
    font-size: .86rem !important;
    font-weight: 800;
    line-height: 1.2 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sg-single-sidebar .sg-widget-title::before,
.sg-single-sidebar .wp-block-heading::before,
.sg-single-sidebar h2::before,
.sg-single-sidebar h3::before,
.sg-single-sidebar .sg-widget > h4::before {
    content: '';
    display: inline-flex;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sg-accent);
    flex: 0 0 auto;
}

.sg-single-sidebar .widget_search .search-form,
.sg-single-sidebar .wp-block-search__inside-wrapper {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.sg-single-sidebar .widget_search .sg-widget-title,
.sg-single-sidebar .widget_search > h2,
.sg-single-sidebar .widget_search > h3,
.sg-single-sidebar .wp-block-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.sg-single-sidebar .widget_search .search-field,
.sg-single-sidebar .wp-block-search__input {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .88rem;
    transition: border-color .2s, box-shadow .2s;
}

.sg-single-sidebar .widget_search .search-field:focus,
.sg-single-sidebar .wp-block-search__input:focus {
    border-color: var(--sg-accent);
    box-shadow: 0 0 0 3px rgba(63,127,13,.12);
}

.sg-single-sidebar .widget_search .search-submit,
.sg-single-sidebar .wp-block-search__button {
    border-radius: 8px;
    padding: 0 15px;
    font-size: .84rem;
    font-weight: 800;
    transition: background .2s, color .2s;
}

.sg-single-sidebar .widget_search .search-submit:hover,
.sg-single-sidebar .wp-block-search__button:hover {
    background: var(--sg-accent-dark);
}

.sg-single-sidebar .widget_recent_entries ul,
.sg-single-sidebar .widget_recent_comments ul,
.sg-single-sidebar .widget_archive ul,
.sg-single-sidebar .widget_categories ul,
.sg-single-sidebar .widget_pages ul,
.sg-single-sidebar .widget_nav_menu ul,
.sg-single-sidebar .wp-block-latest-posts,
.sg-single-sidebar .wp-block-categories-list,
.sg-single-sidebar .wp-block-categories,
.sg-single-sidebar .wp-block-archives-list,
.sg-single-sidebar .wp-block-archives,
.sg-single-sidebar .wp-block-latest-comments {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-single-sidebar .widget_recent_entries li,
.sg-single-sidebar .widget_archive li,
.sg-single-sidebar .widget_categories li,
.sg-single-sidebar .widget_pages li,
.sg-single-sidebar .widget_nav_menu li,
.sg-single-sidebar .wp-block-latest-posts li,
.sg-single-sidebar .wp-block-categories-list li,
.sg-single-sidebar .wp-block-categories li,
.sg-single-sidebar .wp-block-archives-list li,
.sg-single-sidebar .wp-block-archives li,
.sg-single-sidebar .wp-block-latest-comments li {
    border-bottom: 1px solid var(--sg-border-light);
    padding: 0;
    color: var(--sg-text-secondary);
    font-size: .88rem;
    line-height: 1.5;
}

.sg-single-sidebar .widget_recent_entries li:last-child,
.sg-single-sidebar .widget_archive li:last-child,
.sg-single-sidebar .widget_categories li:last-child,
.sg-single-sidebar .widget_pages li:last-child,
.sg-single-sidebar .widget_nav_menu li:last-child,
.sg-single-sidebar .wp-block-latest-posts li:last-child,
.sg-single-sidebar .wp-block-categories-list li:last-child,
.sg-single-sidebar .wp-block-categories li:last-child,
.sg-single-sidebar .wp-block-archives-list li:last-child,
.sg-single-sidebar .wp-block-archives li:last-child,
.sg-single-sidebar .wp-block-latest-comments li:last-child {
    border-bottom: 0;
}

.sg-single-sidebar .widget_recent_entries a,
.sg-single-sidebar .widget_archive a,
.sg-single-sidebar .widget_categories a,
.sg-single-sidebar .widget_pages a,
.sg-single-sidebar .widget_nav_menu a,
.sg-single-sidebar .wp-block-latest-posts a,
.sg-single-sidebar .wp-block-categories-list a,
.sg-single-sidebar .wp-block-categories a,
.sg-single-sidebar .wp-block-archives-list a,
.sg-single-sidebar .wp-block-archives a,
.sg-single-sidebar .wp-block-latest-comments a {
    min-height: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    font-size: .9rem;
    font-weight: 500;
    gap: 8px;
    transition: color .2s;
}

.sg-single-sidebar .widget_recent_entries a::before,
.sg-single-sidebar .widget_archive a::before,
.sg-single-sidebar .widget_categories a::before,
.sg-single-sidebar .widget_pages a::before,
.sg-single-sidebar .widget_nav_menu a::before,
.sg-single-sidebar .wp-block-latest-posts a::before,
.sg-single-sidebar .wp-block-categories-list a::before,
.sg-single-sidebar .wp-block-categories a::before,
.sg-single-sidebar .wp-block-archives-list a::before,
.sg-single-sidebar .wp-block-archives a::before,
.sg-single-sidebar .wp-block-latest-comments a::before {
    width: 4px;
    height: 4px;
}

.sg-single-sidebar .widget_recent_entries a:hover,
.sg-single-sidebar .widget_archive a:hover,
.sg-single-sidebar .widget_categories a:hover,
.sg-single-sidebar .widget_pages a:hover,
.sg-single-sidebar .widget_nav_menu a:hover,
.sg-single-sidebar .wp-block-latest-posts a:hover,
.sg-single-sidebar .wp-block-categories-list a:hover,
.sg-single-sidebar .wp-block-categories a:hover,
.sg-single-sidebar .wp-block-archives-list a:hover,
.sg-single-sidebar .wp-block-archives a:hover,
.sg-single-sidebar .wp-block-latest-comments a:hover {
    color: var(--sg-accent);
}

.sg-single-sidebar .widget_recent_entries .post-date {
    margin: -3px 0 7px;
    padding-left: 12px;
}

.sg-single-sidebar .widget_recent_comments li {
    padding: 8px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sg-border-light);
    border-radius: 0;
    color: var(--sg-text-secondary);
    font-size: .88rem;
    line-height: 1.5;
}

.sg-single-sidebar .widget_recent_entries li:first-child,
.sg-single-sidebar .widget_archive li:first-child,
.sg-single-sidebar .widget_categories li:first-child,
.sg-single-sidebar .widget_pages li:first-child,
.sg-single-sidebar .widget_nav_menu li:first-child,
.sg-single-sidebar .widget_recent_entries li:last-child,
.sg-single-sidebar .widget_archive li:last-child,
.sg-single-sidebar .widget_categories li:last-child,
.sg-single-sidebar .widget_pages li:last-child,
.sg-single-sidebar .widget_nav_menu li:last-child {
    border-bottom: 0;
    padding: 0;
}

.sg-single-sidebar .widget_recent_entries li:first-child,
.sg-single-sidebar .widget_archive li:first-child,
.sg-single-sidebar .widget_categories li:first-child,
.sg-single-sidebar .widget_pages li:first-child,
.sg-single-sidebar .widget_nav_menu li:first-child {
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-single-sidebar .widget_recent_entries li:last-child,
.sg-single-sidebar .widget_archive li:last-child,
.sg-single-sidebar .widget_categories li:last-child,
.sg-single-sidebar .widget_pages li:last-child,
.sg-single-sidebar .widget_nav_menu li:last-child {
    border-bottom: 0;
}

.sg-single-sidebar .widget_recent_comments li:first-child,
.sg-single-sidebar .widget_recent_comments li:last-child {
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-single-sidebar .widget_recent_comments li:last-child { border-bottom: 0; }
.sg-single-sidebar .widget_recent_comments li + li { margin-top: 0; }

.sg-single-sidebar .widget_recent_comments a {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--sg-text-primary);
    font-weight: 650;
}

.sg-single-sidebar .widget_recent_comments a::before { display: none; }
.sg-single-sidebar .widget_recent_comments a:hover {
    background: none;
    color: var(--sg-accent);
    transform: none;
}

html.sg-theme-light .sg-single-sidebar .sg-widget,
html.sg-theme-light .sg-single-sidebar .sg-post-sidebar-widget {
    border-color: #e4e7eb;
    box-shadow: none;
}

html.sg-theme-light .sg-single-sidebar .widget_recent_comments li {
    background: transparent;
}

@media (max-width: 420px) {
    .sg-single-sidebar .widget_search .search-form,
    .sg-single-sidebar .wp-block-search__inside-wrapper {
        flex-direction: column;
    }

    .sg-single-sidebar .widget_search .search-submit,
    .sg-single-sidebar .wp-block-search__button {
        min-height: 42px;
    }
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.sg-search-page {
    background: var(--sg-bg-primary);
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(60px, 8vw, 120px);
}

/* Arama kutusu */
.sg-search-box {
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: 20px;
    padding: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(40px, 6vw, 72px);
    position: relative;
    overflow: hidden;
}

.sg-search-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(63,127,13,.06) 0%, transparent 70%);
    pointer-events: none;
}

.sg-search-box-inner {
    position: relative;
    max-width: 760px;
}

.sg-search-box-inner .sg-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sg-accent);
    background: rgba(63,127,13,.08);
    border: 1px solid rgba(63,127,13,.2);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 12px;
}

.sg-search-box-inner p {
    color: var(--sg-text-secondary);
    margin-bottom: 20px;
    font-size: .95rem;
}

.sg-search-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.sg-search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.sg-search-input-wrap > i {
    position: absolute;
    left: 18px;
    color: var(--sg-text-muted);
    font-size: .9rem;
    pointer-events: none;
    z-index: 1;
}

.sg-search-form input[type="search"] {
    width: 100%;
    padding: 14px 18px 14px 46px;
    background: var(--sg-bg-input, var(--sg-bg-secondary));
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    color: var(--sg-text-primary);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}

.sg-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--sg-accent);
    box-shadow: 0 0 0 3px rgba(63,127,13,.15);
}

.sg-search-form input[type="search"]::placeholder {
    color: var(--sg-text-muted);
}

/* Sonuç listesi – görselsiz */
.sg-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 48px;
}

.sg-search-result-item {
    padding: clamp(22px, 3vw, 32px) 0;
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-search-result-item:first-child {
    border-top: 1px solid var(--sg-border-light);
}

.sg-search-result-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 10px;
}

.sg-search-result-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--sg-text-muted);
}

.sg-search-result-meta span i {
    font-size: .75rem;
    color: var(--sg-accent);
}

.sg-search-result-title {
    margin: 0 0 10px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
}

.sg-search-result-title a {
    color: var(--sg-text-primary);
    text-decoration: none;
    transition: color .2s;
}

.sg-search-result-title a:hover {
    color: var(--sg-accent);
}

.sg-search-result-excerpt {
    margin: 0 0 14px;
    color: var(--sg-text-secondary);
    font-size: .93rem;
    line-height: 1.65;
    max-width: 760px;
}

html.sg-theme-light .sg-search-result-title a:hover {
    color: var(--sg-accent-readable);
}

/* Sonuç başlığı */
.sg-search-results-head {
    margin-bottom: 32px;
}

.sg-search-results-head h2 {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 700;
    color: var(--sg-text-primary);
    margin: 0;
}

/* Boş durum */
.sg-search-empty {
    text-align: center;
    padding: clamp(40px, 6vw, 80px) 20px;
    max-width: 560px;
    margin: 0 auto;
}

.sg-search-empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(63,127,13,.08);
    border: 1px solid rgba(63,127,13,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.sg-search-empty-icon i {
    font-size: 2rem;
    color: var(--sg-accent);
}

.sg-search-empty h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--sg-text-primary);
    margin: 0 0 12px;
}

.sg-search-empty > p {
    color: var(--sg-text-secondary);
    margin-bottom: 32px;
    font-size: .95rem;
}

.sg-search-empty-tips {
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    padding: 24px 28px;
    text-align: left;
    margin-bottom: 32px;
}

.sg-search-empty-tips h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sg-text-muted);
    margin: 0 0 14px;
}

.sg-search-empty-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sg-search-empty-tips li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--sg-text-secondary);
}

.sg-search-empty-tips li i {
    color: var(--sg-accent);
    flex-shrink: 0;
    font-size: .8rem;
}

.sg-search-empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Light tema uyum */
html.sg-theme-light .sg-search-box {
    background: #ffffff;
    border-color: #e4e7eb;
    box-shadow: 0 4px 24px rgba(16,20,24,.06);
}

html.sg-theme-light .sg-search-form input[type="search"] {
    background: #f7f9fc;
    border-color: #d8dde4;
    color: var(--sg-text-primary);
}

html.sg-theme-light .sg-search-empty-tips {
    background: #f7f9fc;
    border-color: #e4e7eb;
}

html.sg-theme-light .sg-search-empty-icon {
    background: rgba(63,127,13,.06);
    border-color: rgba(63,127,13,.18);
}

html.sg-theme-light .sg-search-empty-icon i {
    color: var(--sg-accent-readable);
}

/* Mobil */
@media (max-width: 600px) {
    .sg-search-form {
        flex-direction: column;
    }

    .sg-search-form .sg-btn {
        width: 100%;
        justify-content: center;
    }

    .sg-search-empty-actions {
        flex-direction: column;
        align-items: center;
    }

    .sg-search-empty-actions .sg-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ============================================================
   CONTACT SECTION HEAD H2 FONT SIZE
   ============================================================ */
.sg-contact .sg-section-head h2 {
    font-size: 32px;
}

/* ============================================================
   SEO PAGE – kompakt yerleşim (2 kolon, sayfa içi menü)
   ============================================================ */
.sg-seo-page .section-pad {
    padding: 72px 0;
}

.sg-seo-page section[id] {
    scroll-margin-top: calc(var(--sg-header-h, 80px) + 64px);
}

/* Sayfa içi menü */
.sg-seo-toc {
    position: sticky;
    top: var(--sg-header-h, 80px);
    z-index: 20;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--sg-border-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html:not(.sg-theme-light) .sg-seo-toc {
    background: rgba(17,17,17,.92);
}

.sg-seo-toc ul {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sg-seo-toc ul::-webkit-scrollbar {
    display: none;
}

.sg-seo-toc a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 15px;
    border-bottom: 2px solid transparent;
    color: var(--sg-text-secondary);
    font-size: .86rem;
    font-weight: 550;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}

.sg-seo-toc a:hover,
.sg-seo-toc a.is-active {
    color: var(--sg-text-primary);
}

.sg-seo-toc a.is-active {
    border-bottom-color: var(--sg-accent);
    font-weight: 700;
}

@media (max-width: 640px) {
    .sg-seo-toc a {
        min-height: 48px;
        padding: 0 12px;
        font-size: .82rem;
    }
}

/* Uzun metni kısaltıp "Devamını oku" ile açma */
.sg-seo-richtext.is-clamped {
    max-height: 30em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 65%, transparent);
    mask-image: linear-gradient(#000 65%, transparent);
}

.sg-seo-more {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--sg-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sg-seo-more i {
    margin-left: 6px;
    transition: transform .2s;
}

.sg-seo-more[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Algoritma bölümü: metin iki kolon */
.sg-seo-algoritma .sg-seo-richtext {
    column-count: 2;
    column-gap: 56px;
    margin-top: 40px;
}

.sg-seo-algoritma .sg-seo-richtext p {
    break-inside: avoid-column;
}

.sg-seo-ai-list.is-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 992px) {
    /* Akordiyonlar iki kolon */
    .sg-seo-detail-grid.is-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        margin-top: 40px;
    }

    .sg-seo-detail-grid.is-cols-2 .sg-seo-detail-body {
        padding-left: 24px;
    }

    .sg-seo-detail-grid.is-cols-2 .sg-seo-detail-body .sg-seo-ai-list.is-grid-2 {
        grid-template-columns: 1fr;
    }

    /* Adım zaman çizelgeleri iki kolon */
    .sg-seo-timeline {
        max-width: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sg-seo-timeline .sg-seo-step {
        margin-bottom: 0;
        grid-template-columns: 62px 1fr;
        gap: 18px;
    }

    .sg-seo-timeline .sg-seo-step:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    /* SSS iki kolon */
    .sg-seo-faq-grid {
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 14px 24px;
    }

    .sg-seo-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sg-seo-algoritma .sg-seo-richtext {
        column-count: 1;
    }

    .sg-seo-ai-list.is-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sg-seo-page .section-pad {
        padding: 52px 0;
    }

    .sg-seo-ai-list.is-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* SEO Nedir? – üstte metin + rakam paneli eşit yükseklikte, devamı tam genişlikte */
.sg-seo-intro .sg-seo-split {
    align-items: stretch;
}

.sg-seo-intro .sg-seo-split .sg-seo-stat-panel {
    position: static;
    display: flex;
    flex-direction: column;
}

.sg-seo-intro .sg-seo-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sg-seo-intro-rest {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(16,20,24,.1);
}

.sg-seo-intro-rest h3 {
    margin: 36px 0 16px;
}

.sg-seo-intro-rest h3 {
    color: var(--sg-text-dark);
}

html:not(.sg-theme-light) .sg-seo-intro-rest h3 {
    color: var(--sg-text-dark);
}

/* Bölüm başlıkları (sol kolon) daha sıkı */
.sg-seo-split .sg-section-head {
    margin-bottom: 22px;
}

/* SEO Hizmeti Nedir? – kompakt bileşen listesi */
.sg-seo-hizmet .sg-seo-lead {
    margin: 0 0 14px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--sg-text-dark);
}

.sg-seo-hizmet .sg-seo-ai-list.is-grid-2 {
    gap: 10px;
}

.sg-seo-hizmet .sg-seo-ai-list > div {
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.35;
}

.sg-seo-hizmet .sg-seo-ai-list i {
    margin-top: 0;
    font-size: .8rem;
}

.sg-seo-hizmet .sg-seo-ai-list > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* SEO Hizmeti Nedir? – sağ kolon sol kolonun yüksekliğini doldurur */
.sg-seo-hizmet .sg-seo-split {
    align-items: stretch;
}

.sg-seo-hizmet .sg-seo-fill {
    display: flex;
    flex-direction: column;
}

.sg-seo-hizmet .sg-seo-fill .sg-seo-ai-list {
    flex: 1;
    grid-auto-rows: 1fr;
}

.sg-seo-hizmet .sg-seo-intro-rest {
    margin-top: 40px;
    padding-top: 32px;
}

/* Tek kalan son akordiyon öğesi ortalanır (tek sayıda öğe olduğunda) */
@media (min-width: 992px) {
    .sg-seo-detail-grid.is-cols-2 > .sg-seo-detail-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 12px);
    }
}

/* 3 kolonlu listelerde tek kalan son madde ortalanır */
@media (min-width: 992px) {
    .sg-seo-ai-list.is-grid-3 > div:last-child:nth-child(3n+1) {
        grid-column: 2;
    }
}

@media (min-width: 641px) and (max-width: 991px) {
    .sg-seo-ai-list.is-grid-3 > div:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ============================================================
   SEO PAGE – gerçek akordiyon: tek kolon, tam genişlik, tek seferde bir açık
   ============================================================ */
.sg-seo-detail-grid.is-stack {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 36px;
}

.sg-seo-detail-grid.is-stack .sg-seo-detail-item {
    width: 100%;
}

.sg-seo-detail-grid.is-stack .sg-seo-detail-item summary {
    padding: 16px 22px;
}

.sg-seo-detail-grid.is-stack .sg-seo-detail-item[open] {
    border-color: var(--sg-accent);
}

.sg-seo-detail-grid.is-stack .sg-seo-detail-item[open] summary {
    border-bottom: 1px solid var(--sg-border-light);
}

.light-section .sg-seo-detail-grid.is-stack .sg-seo-detail-item[open] summary {
    border-bottom-color: rgba(16,20,24,.1);
}

.sg-seo-detail-grid.is-stack .sg-seo-detail-body {
    padding: 22px 26px 26px;
}

.sg-seo-detail-body.has-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.sg-seo-detail-side > p {
    margin-bottom: 12px;
}

.sg-seo-detail-side .sg-seo-ai-list {
    margin-top: 0;
    gap: 8px;
}

.sg-seo-detail-side .sg-seo-ai-list > div {
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: .9rem;
    line-height: 1.35;
}

.sg-seo-detail-side .sg-seo-ai-list i {
    margin-top: 0;
    font-size: .8rem;
}

@media (max-width: 991px) {
    .sg-seo-detail-body.has-side {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Neden SEO? kartları – ikon solda, metin sağda */
.sg-seo-mini-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 20px 22px;
}

.sg-seo-mini-card i {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.sg-seo-mini-card h3 {
    margin: 0;
    line-height: 1.4;
}

/* ============================================================
   SEO Danışmanlığı – koyu avantaj kartı + numaralı çalışma ızgarası
   ============================================================ */
.sg-seo-danismanlik .sg-seo-split {
    align-items: stretch;
}

.sg-seo-danismanlik .sg-seo-advantage-card {
    padding: 34px 34px 30px;
    color: rgba(255,255,255,.72);
    border: 0;
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0, rgba(63,127,13,.35), transparent 45%),
        linear-gradient(160deg, #161a16, #0c0f0c);
    box-shadow: 0 24px 50px rgba(16,20,24,.22);
}

html.sg-theme-light .sg-seo-danismanlik .sg-seo-advantage-card {
    background:
        radial-gradient(circle at 100% 0, rgba(63,127,13,.35), transparent 45%),
        linear-gradient(160deg, #161a16, #0c0f0c);
    border: 0;
}

.sg-seo-danismanlik .sg-seo-advantage-card h3,
html.sg-theme-light .sg-seo-danismanlik .sg-seo-advantage-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.sg-seo-danismanlik .sg-seo-advantage-card p {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
}

.light-section .sg-seo-advantage-card .sg-seo-ai-list {
    gap: 0;
    margin: 18px 0 4px;
}

.light-section .sg-seo-advantage-card .sg-seo-ai-list div {
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-size: .95rem;
}

.light-section .sg-seo-advantage-card .sg-seo-ai-list div:last-child {
    border-bottom: 0;
}

.light-section .sg-seo-advantage-card .sg-seo-ai-list i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    margin-top: 0;
    border-radius: 50%;
    color: #0c0f0c;
    background: var(--sg-accent);
    font-size: .65rem;
}

.sg-seo-work {
    margin-top: 48px;
}

.sg-seo-work-title {
    margin-bottom: 18px;
    color: var(--sg-text-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

.sg-seo-work-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    counter-reset: sgwork;
}

.sg-seo-work-grid > div {
    position: relative;
    counter-increment: sgwork;
    padding: 46px 18px 20px;
    border: 1px solid rgba(16,20,24,.1);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16,20,24,.05);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sg-seo-work-grid > div:hover {
    transform: translateY(-3px);
    border-color: var(--sg-accent);
    box-shadow: 0 12px 26px rgba(63,127,13,.14);
}

.sg-seo-work-grid > div::before {
    content: counter(sgwork, decimal-leading-zero);
    position: absolute;
    top: 14px;
    left: 18px;
    color: var(--sg-accent);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.sg-seo-work-grid > div::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 54px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, rgba(63,127,13,.4), transparent);
}

.sg-seo-work-grid span {
    color: var(--sg-text-dark);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
}

@media (max-width: 1199px) {
    .sg-seo-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sg-seo-work-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SEO PAGE – karanlık modda açık bölümler de koyu olur
   ============================================================ */
html:not(.sg-theme-light) .sg-seo-page .light-section {
    --sg-text-dark: var(--sg-text-primary);
    background-color: #141414;
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-ai-list div,
html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-error-list div,
html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-detail-item,
html:not(.sg-theme-light) .sg-seo-page .sg-seo-work-grid > div {
    background: var(--sg-bg-card);
    border-color: var(--sg-border-light);
    color: var(--sg-text-primary);
    box-shadow: none;
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-detail-item summary,
html:not(.sg-theme-light) .sg-seo-page .sg-seo-work-grid span {
    color: var(--sg-text-primary);
}

html:not(.sg-theme-light) .sg-seo-page .sg-seo-work-grid > div:hover {
    border-color: var(--sg-accent);
    box-shadow: var(--sg-shadow-green);
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-detail-item[open] {
    border-color: var(--sg-accent);
}

html:not(.sg-theme-light) .sg-seo-page .sg-seo-intro-rest {
    border-top-color: var(--sg-border-light);
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-success-card,
html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-stat-panel {
    background: var(--sg-bg-card);
    border-color: var(--sg-border-light);
}

html:not(.sg-theme-light) .sg-seo-page .sg-seo-step {
    background: var(--sg-bg-card);
    border-color: var(--sg-border-light);
}

/* Sektörel stratejiler – iki kolonlu akordiyon */
@media (min-width: 992px) {
    .sg-seo-detail-grid.is-stack.is-two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 12px 20px;
    }

    .sg-seo-detail-grid.is-two-col .sg-seo-detail-body {
        padding: 18px 22px 22px;
    }

    .sg-seo-detail-grid.is-two-col > .sg-seo-detail-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 10px);
    }
}

/* ============================================================
   Özel akordiyon (sektörel stratejiler): eşit kutular, panel satırın altında
   ============================================================ */
.sg-seo-acc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-top: 40px;
}

.sg-seo-acc-item {
    order: var(--od);
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 74px;
    padding: 16px 22px;
    border: 1px solid var(--sg-border-light);
    border-radius: 8px;
    background: var(--sg-bg-card);
    color: var(--sg-text-primary);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.sg-seo-acc-item:hover,
.sg-seo-acc-item[aria-expanded="true"] {
    border-color: var(--sg-accent);
    box-shadow: var(--sg-shadow-green);
}

.sg-seo-acc-item .sg-detail-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    color: var(--sg-accent);
    background: rgba(63,127,13,.1);
}

.sg-seo-acc-item .sg-detail-title {
    flex: 1 1 auto;
}

.sg-seo-acc-item .sg-detail-toggle {
    flex: 0 0 auto;
    color: var(--sg-accent);
    transition: transform .25s ease;
}

.sg-seo-acc-item[aria-expanded="true"] .sg-detail-toggle {
    transform: rotate(45deg);
}

.sg-seo-acc-panel {
    order: var(--od);
    grid-column: 1 / -1;
    display: none;
    padding: 22px 26px;
    border: 1px solid var(--sg-accent);
    border-left-width: 4px;
    border-radius: 8px;
    background: var(--sg-bg-card);
    color: var(--sg-text-secondary);
    animation: sg-acc-in .25s ease;
}

.sg-seo-acc-panel.is-open {
    display: block;
}

.sg-seo-acc-panel p {
    margin: 0;
}

@keyframes sg-acc-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* Tek sayıda öğe: sonuncu ortada */
@media (min-width: 992px) {
    .sg-seo-acc > .sg-seo-acc-item:nth-last-child(2):nth-child(4n+1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 10px);
    }
}

@media (max-width: 991px) {
    .sg-seo-acc {
        grid-template-columns: 1fr;
    }

    .sg-seo-acc-item,
    .sg-seo-acc-panel {
        order: var(--om);
    }
}

/* ============================================================
   SEO Hataları – uyarı akordiyonu + başarı faktörleri paneli
   ============================================================ */
.sg-seo-acc.is-warn .sg-detail-icon {
    color: #d9822b;
    border-color: rgba(217,130,43,.3);
    background: rgba(217,130,43,.12);
}

.sg-seo-acc.is-warn .sg-seo-acc-item:hover,
.sg-seo-acc.is-warn .sg-seo-acc-item[aria-expanded="true"] {
    border-color: #d9822b;
    box-shadow: 0 4px 24px rgba(217,130,43,.15);
}

.sg-seo-acc.is-warn .sg-seo-acc-panel {
    border-color: #d9822b;
}

.sg-seo-factors {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
    margin-top: 56px;
    padding: 44px;
    border-radius: 16px;
    color: rgba(255,255,255,.72);
    background:
        radial-gradient(circle at 100% 0, rgba(63,127,13,.4), transparent 45%),
        linear-gradient(160deg, #161a16, #0c0f0c);
    box-shadow: 0 24px 50px rgba(16,20,24,.22);
}

.sg-seo-factors-copy h3,
html.sg-theme-light .sg-seo-factors-copy h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.6rem;
}

.sg-seo-factors-copy p,
html.sg-theme-light .sg-seo-factors-copy p {
    margin-bottom: 12px;
    color: rgba(255,255,255,.7);
    font-size: .95rem;
}

.sg-seo-factors-copy .sg-service-link {
    margin-top: 10px;
    color: var(--sg-accent-light, #a8e63d);
}

.sg-seo-factors-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sg-seo-factors-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.35;
}

.sg-seo-factors-list i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #0c0f0c;
    background: var(--sg-accent);
    font-size: .65rem;
}

@media (max-width: 991px) {
    .sg-seo-factors {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 24px;
    }
}

@media (max-width: 640px) {
    .sg-seo-factors-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SEO Performansı – ölçüm kartları
   ============================================================ */
.sg-seo-metric-grid {
    counter-reset: sgmetric;
    gap: 18px;
    margin-top: 40px;
}

.sg-seo-metric-card {
    position: relative;
    overflow: hidden;
    counter-increment: sgmetric;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
        "icon title"
        "text text";
    align-items: center;
    gap: 14px 14px;
    padding: 24px 24px 26px;
}

.sg-seo-metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sg-accent), transparent);
    opacity: .55;
    transition: opacity .25s ease;
}

.sg-seo-metric-card:hover::before {
    opacity: 1;
}

.sg-seo-metric-card::after {
    content: counter(sgmetric, decimal-leading-zero);
    position: absolute;
    right: 18px;
    bottom: 6px;
    color: var(--sg-accent);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    opacity: .09;
    pointer-events: none;
}

.sg-seo-metric-card i {
    grid-area: icon;
    margin-bottom: 0;
}

.sg-seo-metric-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.sg-seo-metric-card p {
    grid-area: text;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--sg-border-light);
    line-height: 1.65;
}

.light-section .sg-seo-metric-card {
    background: #fff;
    border-color: rgba(16,20,24,.1);
    box-shadow: 0 6px 18px rgba(16,20,24,.05);
}

.light-section .sg-seo-metric-card p {
    border-top-color: rgba(16,20,24,.08);
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-metric-card {
    background: var(--sg-bg-card);
    border-color: var(--sg-border-light);
    box-shadow: none;
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-seo-metric-card p {
    border-top-color: var(--sg-border-light);
}

/* ============================================================
   Çalışma süreci – yatay adım çizelgesi (5 adım)
   ============================================================ */
.sg-seo-timeline.is-stepper {
    max-width: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 56px;
}

.sg-seo-timeline.is-stepper .sg-seo-step {
    position: relative;
    display: block;
    margin: 0;
    padding: 0 14px;
    border: 0;
    background: none;
    box-shadow: none;
    text-align: center;
}

.sg-seo-timeline.is-stepper .sg-seo-step:last-child:nth-child(odd) {
    grid-column: auto;
}

.sg-seo-timeline.is-stepper .sg-seo-step > span {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    border-radius: 50%;
    font-size: 1.05rem;
    box-shadow: 0 0 0 7px rgba(63,127,13,.16);
    transition: transform .25s ease, box-shadow .25s ease;
}

.sg-seo-timeline.is-stepper .sg-seo-step:hover > span {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(63,127,13,.2);
}

/* Adımları birleştiren çizgi */
.sg-seo-timeline.is-stepper .sg-seo-step::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 0;
    border-top: 2px dashed rgba(63,127,13,.45);
}

.sg-seo-timeline.is-stepper .sg-seo-step:last-child::before {
    display: none;
}

.sg-seo-timeline.is-stepper .sg-seo-step h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.sg-seo-timeline.is-stepper .sg-seo-step p {
    font-size: .9rem;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .sg-seo-timeline.is-stepper {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .sg-seo-timeline.is-stepper .sg-seo-step {
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 20px;
        padding: 0 0 30px;
        text-align: left;
    }

    .sg-seo-timeline.is-stepper .sg-seo-step > span {
        margin: 0;
    }

    .sg-seo-timeline.is-stepper .sg-seo-step::before {
        top: 64px;
        bottom: 6px;
        left: 28px;
        right: auto;
        border-top: 0;
        border-left: 2px dashed rgba(63,127,13,.45);
    }
}

html:not(.sg-theme-light) .sg-seo-page .sg-seo-timeline.is-stepper .sg-seo-step {
    background: none;
    border: 0;
}

/* ============================================================
   Neden SEO Gezegeni? – sol metin, sağ numaralı ilke listesi
   ============================================================ */
.sg-seo-neden-split {
    align-items: center;
}

.sg-seo-neden-split .sg-section-head {
    margin-bottom: 18px;
}

.sg-seo-neden-list {
    margin: 0;
    padding: 8px 26px;
    list-style: none;
    counter-reset: sgneden;
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    background: var(--sg-bg-card);
    box-shadow: var(--sg-shadow);
}

.sg-seo-neden-list li {
    counter-increment: sgneden;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--sg-border-light);
    color: var(--sg-text-primary);
    font-weight: 600;
    line-height: 1.4;
    transition: transform .2s ease;
}

.sg-seo-neden-list li:last-child {
    border-bottom: 0;
}

.sg-seo-neden-list li:hover {
    transform: translateX(4px);
}

.sg-seo-neden-list li::before {
    content: counter(sgneden, decimal-leading-zero);
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 10px;
    color: var(--sg-accent);
    background: rgba(63,127,13,.1);
    font-size: .9rem;
    font-weight: 800;
}

@media (max-width: 991px) {
    .sg-seo-neden-list {
        padding: 4px 18px;
    }
}

/* ============================================================
   Kapanış CTA paneli – tam genişlik, iki kolon, koyu zemin
   ============================================================ */
.sg-seo-final-cta .sg-seo-cta-panel,
html.sg-theme-light .sg-seo-final-cta .sg-seo-cta-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: clamp(32px, 5vw, 60px);
    text-align: left;
    border: 0;
    border-radius: 18px;
    color: rgba(255,255,255,.72);
    background:
        radial-gradient(circle at 0 0, rgba(63,127,13,.45), transparent 46%),
        radial-gradient(circle at 100% 100%, rgba(63,127,13,.25), transparent 42%),
        linear-gradient(160deg, #161a16, #0c0f0c);
    box-shadow: 0 28px 60px rgba(16,20,24,.25);
}

.sg-seo-final-cta .sg-seo-cta-panel h2,
html.sg-theme-light .sg-seo-final-cta .sg-seo-cta-panel h2 {
    max-width: none;
    margin: 18px 0 16px;
    color: #fff;
}

.sg-seo-final-cta .sg-seo-cta-panel p {
    max-width: none;
    margin: 0 0 16px;
    color: rgba(255,255,255,.72);
}

.sg-seo-cta-main p:last-child,
.sg-seo-cta-side > p:last-of-type {
    margin-bottom: 0;
}

.sg-seo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin-top: 28px;
}

.sg-seo-cta-link {
    color: #fff;
    font-weight: 700;
    transition: color .2s;
}

.sg-seo-cta-link i {
    margin-left: 8px;
    transition: transform .2s;
}

.sg-seo-cta-link:hover {
    color: var(--sg-accent-light, #a8e63d);
}

.sg-seo-cta-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .sg-seo-final-cta .sg-seo-cta-panel {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

.sg-seo-final-cta .sg-seo-cta-panel .sg-hero-badge {
    color: #a8e63d;
    border-color: rgba(168,230,61,.3);
    background: rgba(168,230,61,.1);
}

/* Adım kartı başlıkları daha küçük */
.sg-seo-timeline .sg-seo-step h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.sg-seo-timeline .sg-seo-step p {
    font-size: .95rem;
}

/* ============================================================
   360° DİJİTAL PAZARLAMA SAYFASI – ortak yardımcılar
   ============================================================ */
.sg-seo-narrow {
    text-align: center;
}

.sg-seo-richtext.is-cols-2 {
    column-count: 2;
    column-gap: 56px;
}

.sg-seo-richtext.is-cols-2 p {
    break-inside: avoid-column;
}

.sg-seo-richtext.is-cols-2.sg-seo-intro-rest {
    margin-top: 44px;
}

.sg-dp-list-lead {
    font-weight: 600;
    color: var(--sg-text-primary);
}

/* Bölüm başlığı altındaki boşluk (ortalı başlıklar) */
.sg-digital-page .sg-section-head.center {
    margin-bottom: 30px;
}

/* 4 kolonlu avantaj kartları */
.sg-seo-benefit-grid.is-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.sg-seo-benefit-grid.is-cols-4 .sg-seo-mini-card {
    align-items: flex-start;
    padding: 20px;
}

/* Adım çizelgesi: kolon sayısı değişken */
.sg-seo-timeline.is-stepper {
    grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
}

@media (min-width: 992px) {
    .sg-seo-timeline.is-stepper .sg-seo-step h3:only-child {
        font-size: 1rem;
        font-weight: 600;
    }
}

/* Ters yerleşim: liste solda, metin sağda */
@media (min-width: 992px) {
    .sg-seo-split.is-reverse > :first-child {
        order: 2;
    }
}

/* Kompakt liste (koyu/açık fark etmeden) */
.sg-dp-compact .sg-seo-split {
    align-items: stretch;
}

.sg-dp-compact .sg-seo-fill {
    display: flex;
    flex-direction: column;
}

.sg-dp-compact .sg-seo-fill .sg-seo-ai-list {
    flex: 1;
    grid-auto-rows: 1fr;
}

.sg-dp-compact .sg-seo-lead {
    margin: 0 0 14px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--sg-text-primary);
}

.sg-dp-compact .sg-seo-lead.text-center {
    text-align: center;
}

.sg-dp-compact .sg-seo-ai-list {
    gap: 10px;
}

.sg-dp-compact .sg-seo-ai-list > div {
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.35;
}

.sg-dp-compact .sg-seo-ai-list i {
    margin-top: 0;
    font-size: .8rem;
}

.sg-dp-compact .sg-seo-ai-list.is-grid-3 > div:last-child:nth-child(3n+1) {
    grid-column: 2;
}

/* Kart ızgarası (Growth / Automation) */
.sg-dp-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin-top: 36px;
}

.sg-dp-card {
    padding: 30px;
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    background: var(--sg-bg-card);
    box-shadow: var(--sg-shadow);
}

.sg-dp-card header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-dp-card header i {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 10px;
    color: var(--sg-accent);
    background: rgba(63,127,13,.1);
    font-size: 1.1rem;
}

.sg-dp-card header h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--sg-text-primary);
}

.sg-dp-card > p {
    margin: 0 0 12px;
}

.sg-dp-card .sg-seo-ai-list {
    gap: 8px;
    margin: 4px 0 14px;
}

.sg-dp-card .sg-seo-ai-list > div {
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: .9rem;
}

.sg-dp-card .sg-seo-ai-list i {
    margin-top: 0;
    font-size: .8rem;
}

/* Optimizasyon paneli */
.sg-dp-factors-lead {
    margin: 0 0 14px;
    color: #fff;
    font-weight: 600;
}

.sg-seo-factors-copy h2 {
    margin-bottom: 14px;
    color: #fff;
}

.sg-seo-factors-list div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* SSS daralt / genişlet */
.sg-seo-faq-grid.is-collapsed .sg-seo-faq-item:nth-child(n+11) {
    display: none;
}

.sg-seo-faq-more {
    display: block;
    margin: 26px auto 0;
    padding: 12px 26px;
    border: 1px solid var(--sg-accent);
    border-radius: 999px;
    background: transparent;
    color: var(--sg-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.sg-seo-faq-more:hover {
    background: var(--sg-accent);
    color: #fff;
}

@media (max-width: 991px) {
    .sg-seo-richtext.is-cols-2 {
        column-count: 1;
    }

    .sg-seo-benefit-grid.is-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-dp-card-grid {
        grid-template-columns: 1fr;
    }

    .sg-seo-timeline.is-stepper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sg-seo-benefit-grid.is-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   360° sayfası – tam genişlik metin ve yeni bölüm tasarımları
   ============================================================ */
.sg-seo-richtext.is-cols-2 {
    text-align: left;
}

/* 3. Neden – 2 kolonlu avantaj kartları */
.sg-dp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sg-dp-benefit-grid .sg-seo-mini-card {
    padding: 18px 20px;
    border-radius: 12px;
}

.sg-dp-benefit-grid .sg-seo-mini-card h3 {
    font-size: 1rem;
}

.light-section .sg-dp-benefit-grid .sg-seo-mini-card {
    background: #fff;
    border-color: rgba(16,20,24,.1);
    box-shadow: 0 6px 18px rgba(16,20,24,.05);
}

html:not(.sg-theme-light) .sg-seo-page .light-section .sg-dp-benefit-grid .sg-seo-mini-card {
    background: var(--sg-bg-card);
    border-color: var(--sg-border-light);
    box-shadow: none;
}

/* 4. Tek kanal – dikey yolculuk çizelgesi */
.sg-dp-vtl {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: sgvt;
    position: relative;
}

.sg-dp-vtl::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    background: linear-gradient(var(--sg-accent), rgba(63,127,13,.15));
}

.sg-dp-vtl li {
    counter-increment: sgvt;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 14px;
    padding: 6px 0 6px 74px;
    color: var(--sg-text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.sg-dp-vtl li:last-child {
    margin-bottom: 0;
}

.sg-dp-vtl li::before {
    content: counter(sgvt, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--sg-accent);
    font-weight: 800;
    box-shadow: 0 0 0 7px rgba(63,127,13,.16);
}

/* 6. Hizmetler – sekmeli yerleşim */
.sg-dp-tabs-sec .sg-seo-richtext {
    margin-top: 6px;
}

.sg-dp-tabs {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 40px;
}

.sg-dp-tablist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: calc(var(--sg-header-h, 80px) + 72px);
}

.sg-dp-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--sg-border-light);
    border-radius: 10px;
    background: var(--sg-bg-card);
    color: var(--sg-text-primary);
    font: inherit;
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
}

.sg-dp-tab > i:first-child {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    color: var(--sg-accent);
    background: rgba(63,127,13,.1);
    font-size: .9rem;
}

.sg-dp-tab > span {
    flex: 1 1 auto;
    line-height: 1.3;
}

.sg-dp-tab-arrow {
    color: var(--sg-accent);
    font-size: .75rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
}

.sg-dp-tab:hover {
    border-color: var(--sg-accent);
}

.sg-dp-tab.is-active {
    border-color: var(--sg-accent);
    background: rgba(63,127,13,.14);
}

.sg-dp-tab.is-active .sg-dp-tab-arrow {
    opacity: 1;
    transform: none;
}

/* Paneller aynı hücrede üst üste: alan en uzun panele göre sabit kalır */
.sg-dp-tabpanels {
    display: grid;
}

.sg-dp-tabpanel {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    padding: 30px;
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    background: var(--sg-bg-card);
    box-shadow: var(--sg-shadow);
    transition: opacity .25s ease;
}

.sg-dp-tabpanel.is-active {
    visibility: visible;
    opacity: 1;
}

.sg-dp-tabpanel h3 {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sg-border-light);
    color: var(--sg-text-primary);
    font-size: 1.35rem;
}

.sg-dp-tabpanel-body.has-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 32px;
    align-items: start;
}

.sg-dp-tabpanel .sg-seo-detail-text p + p {
    margin-top: 14px;
}

.sg-dp-tabpanel .sg-seo-detail-side .sg-seo-ai-list {
    gap: 8px;
}

.sg-dp-tabpanel .sg-seo-detail-side .sg-seo-ai-list > div {
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: .9rem;
}

.sg-dp-tabpanel .sg-seo-detail-side .sg-seo-ai-list i {
    margin-top: 0;
    font-size: .8rem;
}

/* 16. Başarı – KPI karoları */
.sg-dp-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    counter-reset: sgkpi;
}

.sg-dp-kpis > div {
    counter-increment: sgkpi;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--sg-border-light);
    border-radius: 12px;
    background: var(--sg-bg-card);
    transition: border-color .2s, transform .2s;
}

.sg-dp-kpis > div:hover {
    border-color: var(--sg-accent);
    transform: translateY(-2px);
}

.sg-dp-kpis > div::before {
    content: counter(sgkpi, decimal-leading-zero);
    flex: 0 0 auto;
    color: var(--sg-accent);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.sg-dp-kpis span {
    color: var(--sg-text-primary);
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.35;
}

/* 17. Süreç – kart hâlinde adımlar */
.sg-seo-timeline.is-stepper.is-cards {
    gap: 16px;
    margin-top: 44px;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step {
    padding: 26px 22px;
    border: 1px solid rgba(16,20,24,.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16,20,24,.06);
    text-align: left;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step:hover {
    transform: translateY(-4px);
    border-color: var(--sg-accent);
    box-shadow: 0 14px 30px rgba(63,127,13,.16);
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step > span {
    margin: 0 0 18px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    box-shadow: none;
    font-size: .95rem;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step:hover > span {
    transform: none;
    box-shadow: none;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step::before {
    top: 49px;
    left: 84px;
    right: 22px;
    border-top-width: 2px;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step:last-child::before {
    display: none;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.sg-seo-timeline.is-stepper.is-cards .sg-seo-step p {
    font-size: .9rem;
    line-height: 1.65;
}

html:not(.sg-theme-light) .sg-seo-page .sg-seo-timeline.is-stepper.is-cards .sg-seo-step {
    background: var(--sg-bg-card);
    border: 1px solid var(--sg-border-light);
    box-shadow: none;
}

@media (max-width: 1199px) {
    .sg-seo-timeline.is-stepper.is-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-seo-timeline.is-stepper.is-cards .sg-seo-step::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .sg-dp-tabs {
        grid-template-columns: 1fr;
    }

    .sg-dp-tablist {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .sg-dp-tablist::-webkit-scrollbar {
        display: none;
    }

    .sg-dp-tab {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .sg-dp-tab-arrow {
        display: none;
    }

    .sg-dp-tabpanel-body.has-side {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sg-dp-benefit-grid,
    .sg-dp-kpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sg-seo-timeline.is-stepper.is-cards {
        grid-template-columns: 1fr;
    }

    .sg-dp-tabpanel {
        padding: 22px 18px;
    }
}

.sg-dp-compact .sg-seo-ai-list.is-grid-2 > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.sg-seo-ai-card p + p {
    margin-top: 12px;
}

/* Hedef kitle / Rakip: liste kartları doğal yükseklikte, vurgu kutusu */
.sg-dp-hedef .sg-seo-split,
.sg-dp-rakip .sg-seo-split {
    align-items: center;
}

.sg-dp-hedef .sg-seo-fill .sg-seo-ai-list,
.sg-dp-rakip .sg-seo-fill .sg-seo-ai-list {
    flex: none;
    grid-auto-rows: auto;
}

.sg-dp-callout {
    margin-top: 20px;
    padding: 18px 22px;
    border-left: 4px solid var(--sg-accent);
    border-radius: 0 12px 12px 0;
    background: rgba(63,127,13,.08);
}

.sg-dp-callout p {
    margin: 0;
    color: var(--sg-text-primary);
    font-weight: 500;
    line-height: 1.65;
}

.sg-dp-callout p + p {
    margin-top: 10px;
}

/* ============================================================
   Google & Meta sayfası – ek bileşenler
   ============================================================ */
.sg-seo-ai-list.is-warn i {
    color: #d9822b;
}

.sg-seo-metric-grid.is-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-dp-kpis > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.sg-dp-callout-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.sg-dp-callout-row .sg-dp-callout {
    margin-top: 0;
}

.sg-dp-after-cards {
    margin-top: 40px;
    align-items: center;
}

.sg-dp-after-cards .sg-dp-callout {
    margin-top: 0;
}

/* Yapay zeka – vurgu kartı */
.sg-dp-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    height: 100%;
    padding: 38px;
    border-radius: 16px;
    color: rgba(255,255,255,.78);
    background:
        radial-gradient(circle at 100% 0, rgba(63,127,13,.4), transparent 50%),
        linear-gradient(160deg, #161a16, #0c0f0c);
    box-shadow: 0 24px 50px rgba(16,20,24,.22);
}

.sg-dp-aside > i {
    color: var(--sg-accent-light, #a8e63d);
    font-size: 2rem;
}

.sg-dp-aside p {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 1.08rem;
    line-height: 1.75;
}

/* Sekme panellerinde H2 başlıkları (ölçüm altyapısı) */
.sg-dp-tabpanel h2 {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sg-border-light);
    color: var(--sg-text-primary);
    font-size: 1.35rem;
}

/* Kart başlıkları H2 olduğunda aynı görünüm */
.sg-dp-card header h2 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--sg-text-primary);
}

@media (max-width: 991px) {
    .sg-seo-metric-grid.is-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-dp-callout-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sg-seo-metric-grid.is-cols-3 {
        grid-template-columns: 1fr;
    }

    .sg-dp-aside {
        padding: 26px;
    }
}

/* Google & Meta hero görseli – üst üste binmesin, alta yapışmasın */
.sg-ads-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    min-height: 0;
    padding: 12px 0 28px;
}

.sg-ads-visual .sg-ads-stack {
    position: static;
    inset: auto;
    width: min(100%, 440px);
    margin: 0 auto;
    gap: 16px;
}

.sg-ads-visual .sg-ads-platform {
    min-height: 0;
    padding: 18px 20px;
}

.sg-ads-visual .sg-ads-platform i {
    margin-bottom: 12px;
}

.sg-ads-visual .sg-ads-dashboard {
    transform: none;
    width: min(100%, 440px);
    max-width: 440px;
    margin: 0 auto;
}

/* ============================================================
   Google & Meta – modern paneller
   ============================================================ */
.sg-gm-top { align-items: end; margin-bottom: 36px; }
.sg-gm-top .sg-section-head { margin-bottom: 0; }
.sg-gm-mid { margin: 0 0 18px; }

.sg-gm-panel {
    padding: 28px;
    border: 1px solid var(--sg-border-light);
    border-radius: 20px;
    background: var(--sg-bg-card);
    box-shadow: 0 18px 44px rgba(16,20,24,.07);
}
.sg-gm-panel.sg-gm-wide { margin-top: 28px; }
.sg-gm-panel-lead {
    margin: 0 0 18px;
    color: var(--sg-text-primary);
    font-weight: 700;
    font-size: 1.05rem;
}
.sg-gm-panel.is-warn { border-top: 4px solid #d9822b; }
.sg-gm-panel.is-warn .sg-seo-ai-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.sg-gm-panel.is-warn .sg-seo-ai-list > div { background: rgba(217,130,43,.08); border-color: rgba(217,130,43,.22); }
.sg-gm-panel:not(.is-warn) .sg-seo-ai-list.is-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }

.sg-gm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.sg-gm-grid.is-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.sg-gm-grid.is-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.sg-gm-grid li {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    background: var(--sg-bg-card);
    color: var(--sg-text-primary);
    font-weight: 600;
    line-height: 1.4;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sg-gm-grid li:hover { transform: translateY(-3px); border-color: var(--sg-accent, #3f7f0d); box-shadow: 0 14px 30px rgba(16,20,24,.09); }
.sg-gm-grid li b {
    flex: 0 0 auto; display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--sg-accent, #3f7f0d); color: #fff; font-size: .95rem;
}
.sg-gm-panel .sg-gm-grid li { background: rgba(63,127,13,.05); }
.sg-gm-top + .sg-gm-mid + .sg-gm-grid + .sg-dp-callout { margin-top: 28px; }

/* Yapay zeka vurgu kartı */
.sg-seo-ai-grid { align-items: stretch; }
.sg-dp-aside { position: relative; justify-content: flex-start; overflow: hidden; padding: 40px; }
.sg-dp-aside-tag {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(168,230,61,.12); border: 1px solid rgba(168,230,61,.3);
    color: var(--sg-accent-light, #a8e63d); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.sg-dp-aside-tag i { font-size: 1rem; }
.sg-dp-aside p { font-size: 1.22rem; line-height: 1.8; color: #fff; font-weight: 500; }
.sg-dp-aside .sg-dp-aside-q { position: absolute; right: 28px; bottom: 22px; font-size: 5rem; color: rgba(255,255,255,.06); }

@media (max-width: 991px) {
    .sg-gm-top { align-items: start; }
    .sg-gm-grid.is-cols-3, .sg-gm-grid.is-cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sg-gm-panel:not(.is-warn) .sg-seo-ai-list.is-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .sg-gm-grid.is-cols-3, .sg-gm-grid.is-cols-4,
    .sg-gm-panel.is-warn .sg-seo-ai-list,
    .sg-gm-panel:not(.is-warn) .sg-seo-ai-list.is-grid-4 { grid-template-columns: 1fr; }
    .sg-gm-panel { padding: 20px; }
}

.sg-gm-panel.is-warn { align-self: start; }
.sg-gm-panel.is-warn .sg-seo-ai-list { grid-template-columns: 1fr; gap: 12px; }
.sg-gm-panel.is-warn .sg-seo-ai-list > div { padding: 16px 18px; font-size: 1rem; }

/* Sosyal medya sayfası – ek düzenler */
.sg-gm-grid.is-cols-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.sg-gm-grid.is-cols-5 li { flex-direction: column; align-items: flex-start; text-align: left; }
.sg-gm-grid li:last-child:nth-child(4n+1) { grid-column: auto; }
.sg-social-page .sg-dp-card-grid > .sg-dp-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1100px) { .sg-gm-grid.is-cols-5 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 640px) { .sg-gm-grid.is-cols-5 { grid-template-columns: 1fr; } .sg-gm-grid.is-cols-5 li { flex-direction: row; align-items: center; } }
.sg-social-page .sg-seo-split + .sg-dp-callout { margin-top: 28px; }
@media (min-width: 992px) {
    .sg-social-page .sg-seo-metric-grid.is-cols-3 { grid-template-columns: repeat(6, minmax(0,1fr)); }
    .sg-social-page .sg-seo-metric-grid.is-cols-3 > * { grid-column: span 2; }
    .sg-social-page .sg-seo-metric-grid.is-cols-3 > :nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
    .sg-social-page .sg-seo-metric-grid.is-cols-3 > :nth-child(5):last-child { grid-column: 4 / span 2; }
}

/* Sosyal medya – ölçüm paneli */
.sg-sm-metrics { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 48px; align-items: start; }
.sg-sm-metrics-copy .sg-dp-callout { margin-top: 24px; }
.sg-sm-metrics-panel {
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--sg-border-light);
    background:
        radial-gradient(circle at 100% 0, rgba(63,127,13,.16), transparent 55%),
        var(--sg-bg-card);
    box-shadow: 0 24px 54px rgba(16,20,24,.09);
}
.sg-sm-metrics-lead { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--sg-border-light); color: var(--sg-text-primary); font-weight: 700; font-size: 1.05rem; }
.sg-sm-metric-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 16px; }
.sg-sm-metric-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--sg-text-primary); font-weight: 600; line-height: 1.35; transition: background .2s, transform .2s; }
.sg-sm-metric-list li:hover { background: rgba(63,127,13,.08); transform: translateX(3px); }
.sg-sm-metric-list i { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(63,127,13,.12); color: var(--sg-accent, #3f7f0d); font-size: .95rem; }
@media (max-width: 991px) { .sg-sm-metrics { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .sg-sm-metric-list { grid-template-columns: 1fr; } .sg-sm-metrics-panel { padding: 22px; } }

/* Üstte sekmeli varyant (strateji) */
.sg-dp-tabs.is-top { grid-template-columns: 1fr; gap: 20px; }
.sg-dp-tabs.is-top .sg-dp-tablist { position: static; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; overflow: visible; }
.sg-dp-tabs.is-top .sg-dp-tab { align-items: center; height: 100%; padding: 14px 16px; border-radius: 14px; font-size: .92rem; line-height: 1.35; }
.sg-dp-tabs.is-top .sg-dp-tab-arrow { display: none; }
.sg-dp-tabs.is-top .sg-dp-tab.is-active { background: var(--sg-accent, #3f7f0d); border-color: var(--sg-accent, #3f7f0d); color: #fff; box-shadow: 0 12px 26px rgba(63,127,13,.28); }
.sg-dp-tabs.is-top .sg-dp-tab.is-active > i:first-child { color: #fff; }
.sg-dp-tabs.is-top .sg-dp-tabpanel { padding: 34px; border-radius: 20px; }
@media (max-width: 991px) { .sg-dp-tabs.is-top .sg-dp-tablist { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .sg-dp-tabs.is-top .sg-dp-tablist { grid-template-columns: 1fr; } }

/* Yan panel: içeriği kadar yüksek, dolgun satırlar, kaydırırken sabit */
.sg-seo-split > .sg-gm-panel:not(.sg-gm-wide) { align-self: start; width: 100%; position: sticky; top: calc(var(--sg-header-h, 80px) + 80px); padding: 32px; }
.sg-seo-split > .sg-gm-panel:not(.sg-gm-wide) .sg-seo-ai-list { display: grid; gap: 12px; }
.sg-seo-split > .sg-gm-panel:not(.sg-gm-wide) .sg-seo-ai-list > div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-size: 1rem; border-radius: 14px; }
.sg-seo-split > .sg-gm-panel:not(.sg-gm-wide) .sg-seo-ai-list > div i { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(63,127,13,.14); font-size: .75rem; }
.sg-seo-split > .sg-gm-panel:not(.sg-gm-wide) .sg-gm-panel-lead { padding-bottom: 16px; border-bottom: 1px solid var(--sg-border-light); margin-bottom: 20px; }
@media (max-width: 991px) { .sg-seo-split > .sg-gm-panel:not(.sg-gm-wide) { position: static; } }

/* Üstte sekmeli varyant – cilalı görünüm */
.sg-dp-tabs.is-top .sg-dp-tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; counter-reset: sgtab; }
.sg-dp-tabs.is-top .sg-dp-tab { flex: 0 1 calc(25% - 9px); min-height: 76px; position: relative; counter-increment: sgtab; box-shadow: 0 6px 18px rgba(16,20,24,.05); }
.sg-dp-tabs.is-top .sg-dp-tab:hover { transform: translateY(-3px); border-color: var(--sg-accent, #3f7f0d); }
.sg-dp-tabs.is-top .sg-dp-tab > i:first-child { width: 40px; height: 40px; border-radius: 12px; }
.sg-dp-tabs.is-top .sg-dp-tab::after { content: counter(sgtab, decimal-leading-zero); position: absolute; top: 8px; right: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; opacity: .35; }
.sg-dp-tabs.is-top .sg-dp-tab.is-active::after { opacity: .7; }
.sg-dp-tabs.is-top .sg-dp-tab.is-active > i:first-child { background: rgba(255,255,255,.2); }
.sg-dp-tabs.is-top .sg-dp-tabpanel { position: relative; overflow: hidden; padding: 40px; border-top: 4px solid var(--sg-accent, #3f7f0d); box-shadow: 0 24px 54px rgba(16,20,24,.1); }
.sg-dp-tabs.is-top .sg-dp-tabpanel::before { content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(63,127,13,.14), transparent 70%); pointer-events: none; }
.sg-dp-tabs.is-top .sg-dp-tabpanel h3 { font-size: 1.6rem; border-bottom: 0; padding-bottom: 0; margin-bottom: 26px; }
.sg-dp-tabs.is-top .sg-dp-tabpanel-body.has-side { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; }
.sg-dp-tabs.is-top .sg-seo-detail-text p { font-size: 1.02rem; line-height: 1.85; }
.sg-dp-tabs.is-top .sg-seo-detail-side { padding: 24px; border-radius: 18px; background: rgba(63,127,13,.07); border: 1px solid rgba(63,127,13,.18); }
.sg-dp-tabs.is-top .sg-seo-detail-side > p { margin-top: 0; color: var(--sg-text-primary); }
@media (max-width: 991px) { .sg-dp-tabs.is-top .sg-dp-tab { flex-basis: calc(50% - 6px); } .sg-dp-tabs.is-top .sg-dp-tabpanel { padding: 26px; } }
@media (max-width: 560px) { .sg-dp-tabs.is-top .sg-dp-tab { flex-basis: 100%; } }
.sg-dp-tabs.is-top .sg-dp-tab { width: auto; }
.sg-dp-tabs.is-top .sg-dp-tab::after { display: none; }
.sg-dp-tabs.is-top .sg-dp-tablist { flex-direction: row; }
.sg-dp-tabs.is-top .sg-dp-tablist { margin-bottom: 14px; } .sg-dp-tabs.is-top .sg-dp-tabpanel { padding-bottom: 34px; }

/* Tek sütunlu akordiyon (strateji) */
.sg-sa { display: grid; gap: 12px; margin-top: 36px; }
.sg-sa-item { border: 1px solid var(--sg-border-light); border-radius: 16px; background: var(--sg-bg-card); box-shadow: 0 6px 18px rgba(16,20,24,.05); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.sg-sa-item:hover { border-color: rgba(63,127,13,.5); }
.sg-sa-item.is-open { border-color: var(--sg-accent, #3f7f0d); box-shadow: 0 18px 40px rgba(16,20,24,.09); }
.sg-sa-head { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; border: 0; background: transparent; color: var(--sg-text-primary); font: inherit; font-size: 1.05rem; font-weight: 700; text-align: left; cursor: pointer; }
.sg-sa-icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(63,127,13,.12); color: var(--sg-accent, #3f7f0d); font-size: 1rem; }
.sg-sa-title { flex: 1 1 auto; }
.sg-sa-toggle { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(63,127,13,.1); color: var(--sg-accent, #3f7f0d); font-size: .8rem; transition: transform .25s, background .2s, color .2s; }
.sg-sa-item.is-open .sg-sa-toggle { transform: rotate(45deg); background: var(--sg-accent, #3f7f0d); color: #fff; }
.sg-sa-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.sg-sa-item.is-open .sg-sa-panel { grid-template-rows: 1fr; }
.sg-sa-inner { min-height: 0; overflow: hidden; }
.sg-sa-body { padding: 4px 22px 26px 82px; }
.sg-sa-body.has-side { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 32px; align-items: start; }
.sg-sa-body .sg-seo-detail-text p { line-height: 1.8; }
.sg-sa-body .sg-seo-detail-side { padding: 20px; border-radius: 14px; background: rgba(63,127,13,.07); border: 1px solid rgba(63,127,13,.16); }
.sg-sa-body .sg-seo-detail-side > p { margin-top: 0; color: var(--sg-text-primary); }
@media (max-width: 767px) { .sg-sa-body { padding: 4px 18px 22px; } .sg-sa-body.has-side { grid-template-columns: 1fr; gap: 20px; } .sg-sa-head { padding: 14px 16px; font-size: 1rem; } }
.sg-sa-body .sg-seo-detail-text p { margin: 0 0 14px; } .sg-sa-body .sg-seo-detail-text p:last-child { margin-bottom: 0; }

/* Web tasarım sayfası – ek düzenler */
.sg-gm-duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: start; }
.sg-gm-duo > .sg-gm-panel { height: 100%; }
.sg-gm-duo + .sg-dp-callout { margin-top: 28px; }
.sg-gm-panel .sg-seo-ai-list.is-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.sg-wb-ozet { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--sg-border-light); }
.sg-web-page .sg-dp-card-grid > .sg-dp-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sg-web-page .sg-seo-timeline.is-stepper.is-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (min-width: 992px) {
    .sg-web-page .sg-seo-metric-grid.is-cols-3 { grid-template-columns: repeat(6, minmax(0,1fr)); }
    .sg-web-page .sg-seo-metric-grid.is-cols-3 > * { grid-column: span 2; }
    .sg-web-page .sg-seo-metric-grid.is-cols-3 > :nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
    .sg-web-page .sg-seo-metric-grid.is-cols-3 > :nth-child(5):last-child { grid-column: 4 / span 2; }
}
@media (max-width: 991px) {
    .sg-gm-duo { grid-template-columns: 1fr; }
    .sg-web-page .sg-seo-timeline.is-stepper.is-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .sg-gm-panel .sg-seo-ai-list.is-grid-2 { grid-template-columns: 1fr; }
    .sg-web-page .sg-seo-timeline.is-stepper.is-cards { grid-template-columns: 1fr; }
}
.sg-web-page .sg-dp-aside { justify-content: center; } .sg-web-page .sg-dp-aside p { font-size: 1.4rem; line-height: 1.7; }

/* Web tasarım hero görseli: üst üste binmesin, alta yapışmasın */
.sg-web-visual { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-height: 0; padding: 12px 0 32px; }
.sg-web-visual .sg-web-browser { position: static; inset: auto; width: min(100%, 400px); margin: 0 auto; }
.sg-web-visual .sg-web-dashboard { transform: none; width: min(100%, 400px); max-width: 400px; margin: 0 auto; }
.sg-web-hero .sg-seo-hero-copy h1 + p { margin-top: 20px; }
.sg-web-hero .sg-seo-hero-copy h1, .sg-social-hero .sg-seo-hero-copy h1, .sg-ads-page .sg-seo-hero-copy h1 { margin-bottom: 22px; }

/* Hero boşlukları yarıya indirildi */
.sg-web-visual { gap: 11px; padding: 6px 0 16px; }
.sg-ads-visual { gap: 11px; padding: 6px 0 14px; }
.sg-ads-visual .sg-ads-stack { gap: 8px; }
.sg-web-hero .sg-seo-hero-copy h1, .sg-social-hero .sg-seo-hero-copy h1, .sg-ads-page .sg-seo-hero-copy h1 { margin-bottom: 11px; }
.sg-web-hero .sg-seo-hero-copy h1 + p { margin-top: 10px; }

/* Web sayfası – toparlama */
.sg-web-page .sg-gm-panel.sg-gm-wide .sg-gm-grid.is-cols-4 li { min-height: 76px; }
.sg-web-page .sg-gm-top { margin-bottom: 28px; }
.sg-web-page .sg-seo-richtext.sg-seo-narrow + .sg-gm-duo { margin-top: 32px; }
.sg-web-page .sg-gm-duo .sg-seo-ai-list > div { padding: 12px 14px; }
.sg-web-page .sg-gm-panel .sg-seo-ai-list.is-grid-2 > div { height: 100%; align-items: center; }
.sg-web-page .sg-gm-panel .sg-seo-ai-list.is-grid-2 > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sg-wb-lead { padding: 34px; border-left: 4px solid var(--sg-accent, #3f7f0d); }
.sg-wb-lead .sg-seo-richtext { margin: 0; }
.sg-web-page .sg-sa { margin-top: 32px; }
.sg-web-page .sg-sa-body { padding-left: 22px; padding-right: 22px; }
@media (max-width: 991px) { .sg-web-page .sg-gm-grid.is-cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .sg-web-page .sg-gm-grid.is-cols-4 { grid-template-columns: 1fr; } .sg-wb-lead { padding: 22px; } }

/* Dönüşüm odaklı yaklaşım – ikon karoları + akış */
.sg-wb-cro { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 24px; align-items: stretch; }
.sg-wb-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.sg-wb-tiles li { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; min-height: 112px; padding: 18px; border-radius: 16px; border: 1px solid var(--sg-border-light); background: rgba(63,127,13,.05); color: var(--sg-text-primary); font-weight: 600; line-height: 1.4; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sg-wb-tiles li:hover { transform: translateY(-3px); border-color: var(--sg-accent, #3f7f0d); box-shadow: 0 14px 30px rgba(16,20,24,.09); }
.sg-wb-tiles i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sg-accent, #3f7f0d); color: #fff; font-size: .95rem; }
.sg-wb-flow .sg-dp-vtl { margin: 0; }
@media (max-width: 991px) { .sg-wb-cro { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sg-wb-tiles { grid-template-columns: 1fr; } }

/* Giriş metinleri: ilk paragraf vurgulu lead, kalanlar eşit kartlar */
.sg-seo-richtext.is-cols-2 { column-count: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 24px; margin-top: 28px; }
.sg-seo-richtext.is-cols-2 > p { margin: 0; }
.sg-seo-richtext.is-cols-2 > p:first-child { grid-column: 1 / -1; padding: 4px 0 4px 20px; border-left: 4px solid var(--sg-accent, #3f7f0d); color: var(--sg-text-primary); font-size: 1.16rem; line-height: 1.75; font-weight: 500; }
.sg-seo-richtext.is-cols-2 > p:not(:first-child) { padding: 20px 22px; border: 1px solid var(--sg-border-light); border-radius: 16px; background: var(--sg-bg-card); box-shadow: 0 8px 22px rgba(16,20,24,.05); }
.sg-seo-richtext.is-cols-2 > p:nth-child(2):last-child { grid-column: 1 / -1; }
.sg-seo-richtext.is-cols-2 > p:nth-child(2):nth-last-child(2):not(:last-child) ~ p { }
.sg-seo-richtext.is-cols-2 > p:last-child:nth-child(even) { grid-column: 1 / -1; }
.sg-seo-richtext.is-cols-2.sg-seo-intro-rest { margin-top: 44px; }
.sg-wb-lead .sg-seo-richtext.is-cols-2 > p:not(:first-child) { box-shadow: none; background: rgba(63,127,13,.05); }
@media (max-width: 767px) { .sg-seo-richtext.is-cols-2 { grid-template-columns: 1fr; } }

/* Dönüşüm bölümü: iki tam genişlik panel alt alta */
.sg-wb-cro { grid-template-columns: 1fr; gap: 20px; }
.sg-wb-tiles { grid-template-columns: repeat(3, minmax(0,1fr)); }
.sg-wb-tiles li { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 0; gap: 14px; padding: 16px 18px; }
.sg-wb-tiles i { flex: 0 0 auto; }
.sg-wb-flow .sg-gm-grid.is-cols-5 li { flex-direction: row; align-items: center; }
.sg-wb-cro + .sg-dp-callout { margin-top: 22px; }
@media (max-width: 991px) { .sg-wb-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .sg-wb-tiles { grid-template-columns: 1fr; } }
.sg-seo-richtext.is-cols-2 { align-items: start; }

/* Giriş metinleri: vurgulu lead + altında tek sütun düz metin (yan yana boşluk oluşmaz) */
.sg-seo-richtext.is-cols-2 { display: block; }
.sg-seo-richtext.is-cols-2 > p:first-child { margin-bottom: 22px; }
.sg-seo-richtext.is-cols-2 > p:not(:first-child) { padding: 0 0 0 24px; border: 0; border-radius: 0; background: none; box-shadow: none; margin: 0 0 14px; }
.sg-seo-richtext.is-cols-2 > p:last-child { margin-bottom: 0; }
.sg-wb-lead .sg-seo-richtext.is-cols-2 > p:not(:first-child) { background: none; }

/* Mobil: sekmeler yatay kaydırmasın, alt alta / iki sütun sığsın */
@media (max-width: 991px) {
    .sg-dp-tablist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; padding-bottom: 0; gap: 10px; }
    .sg-dp-tab { width: 100%; white-space: normal; text-align: left; line-height: 1.3; }
}
@media (max-width: 560px) {
    .sg-dp-tablist { grid-template-columns: 1fr; }
}

/* Mobil sekme açılır menüsü */
.sg-dp-tabsel { display: none; }
@media (max-width: 991px) {
    .sg-dp-tabs { position: relative; gap: 14px; }
    .sg-dp-tabsel { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 18px; border: 1px solid var(--sg-accent, #3f7f0d); border-radius: 14px; background: var(--sg-bg-card); color: var(--sg-text-primary); font: inherit; font-weight: 700; text-align: left; cursor: pointer; box-shadow: 0 8px 22px rgba(16,20,24,.08); }
    .sg-dp-tabsel i { color: var(--sg-accent, #3f7f0d); transition: transform .2s; }
    .sg-dp-tabs.is-menu-open .sg-dp-tabsel i { transform: rotate(180deg); }
    .sg-dp-tabs .sg-dp-tablist { display: none; position: absolute; z-index: 20; top: 58px; left: 0; right: 0; grid-template-columns: 1fr; gap: 4px; max-height: 320px; overflow-y: auto; padding: 8px; border: 1px solid var(--sg-border-light); border-radius: 14px; background: var(--sg-bg-card); box-shadow: 0 22px 44px rgba(16,20,24,.2); }
    .sg-dp-tabs.is-menu-open .sg-dp-tablist { display: grid; }
    .sg-dp-tabs .sg-dp-tablist .sg-dp-tab { border: 0; box-shadow: none; }
}

/* Mobil: tek kalan son kart ikinci kolona itilip taşma yapmasın */
@media (max-width: 991px) {
    .sg-seo-benefit-grid > :last-child:nth-child(3n+1),
    .sg-seo-benefit-grid.is-cols-4 > :last-child { grid-column: auto; }
    .sg-seo-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sg-seo-benefit-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .sg-seo-benefit-grid { grid-template-columns: minmax(0, 1fr); }
    .sg-seo-mini-card { min-width: 0; }
}

/* Yana taşan animasyonlu/dekoratif öğeler sağda boşluk ve yatay kaydırma yaratmasın (sticky bozulmaz) */
html, body { overflow-x: clip; }
.sg-seo-page, .sg-seo-page > section { overflow-x: clip; }

/* Mobil: uzun metinler iki yana yaslı, kelimeler gerektiğinde tireyle bölünür */
@media (max-width: 767px) {
    .sg-seo-page .sg-seo-richtext p,
    .sg-seo-page .sg-dp-card p,
    .sg-seo-page .sg-seo-detail-text p,
    .sg-seo-page .sg-sa-body p,
    .sg-seo-page .sg-seo-faq-item p,
    .sg-seo-page .sg-seo-metric-card p,
    .sg-seo-page .sg-seo-acc-panel p,
    .sg-seo-page .sg-seo-step p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
    .sg-seo-page .sg-seo-narrow p,
    .sg-seo-page .text-center { text-align: center; hyphens: none; }
}

/* Mobil: tüm sitede paragraflar ortalı (yazı içerikleri ve yorumlar hariç) */
@media (max-width: 767px) {
    main p,
    .sg-page-hero p,
    .sg-pre-footer p,
    .sg-seo-page .sg-seo-richtext p,
    .sg-seo-page .sg-dp-card p,
    .sg-seo-page .sg-seo-detail-text p,
    .sg-seo-page .sg-sa-body p,
    .sg-seo-page .sg-seo-faq-item p,
    .sg-seo-page .sg-seo-metric-card p,
    .sg-seo-page .sg-seo-acc-panel p,
    .sg-seo-page .sg-seo-step p { text-align: center; hyphens: none; -webkit-hyphens: none; }
    main .entry-content p,
    main .sg-comment p,
    main .comment-content p { text-align: left; }
}

/* Mobil: başlıklar da ortalı */
@media (max-width: 767px) {
    main h1, main h2, main h3, main h4,
    .sg-page-hero h1, .sg-section-head, .sg-section-head .section-title,
    .sg-seo-hero-copy h1 { text-align: center; }
    .sg-section-head { align-items: center; }
    .sg-section-head .sg-label,
    .sg-seo-hero-copy .sg-hero-badge { margin-left: auto; margin-right: auto; }
    .sg-seo-hero-copy, .sg-seo-hero-actions { text-align: center; justify-content: center; }
    main .entry-content h1, main .entry-content h2, main .entry-content h3, main .entry-content h4 { text-align: left; }
}

/* Mobil: metinler iki yana yaslı, başlıklar ortalı; kısa giriş/hero metinleri ortalı kalır */
@media (max-width: 767px) {
    main p,
    .sg-seo-page .sg-seo-richtext p,
    .sg-seo-page .sg-dp-card p,
    .sg-seo-page .sg-seo-detail-text p,
    .sg-seo-page .sg-sa-body p,
    .sg-seo-page .sg-seo-faq-item p,
    .sg-seo-page .sg-seo-metric-card p,
    .sg-seo-page .sg-seo-acc-panel p,
    .sg-seo-page .sg-seo-step p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
    .sg-page-hero p,
    .sg-seo-hero-copy p,
    .sg-section-head p,
    .sg-seo-page .sg-seo-narrow p,
    .sg-seo-page .text-center,
    .sg-seo-cta-panel p { text-align: center; hyphens: none; -webkit-hyphens: none; }
    main .entry-content p, main .sg-comment p, main .comment-content p { text-align: left; }
}

/* Mobil: kartların içi (ikon/numara solda) tutarlı sola hizalı; ortalama sadece bölüm başlıklarında */
@media (max-width: 767px) {
    .sg-seo-step, .sg-seo-step h3, .sg-seo-step div,
    .sg-seo-mini-card, .sg-seo-mini-card h3,
    .sg-seo-metric-card, .sg-seo-metric-card h3,
    .sg-seo-type-card, .sg-seo-type-card h3,
    .sg-seo-component-card, .sg-seo-component-card h3,
    .sg-dp-card, .sg-dp-card h2, .sg-dp-card h3,
    .sg-seo-detail-item h3, .sg-seo-success-card h3,
    .sg-gm-panel, .sg-gm-panel-lead,
    .sg-dp-tabpanel h2, .sg-dp-tabpanel h3,
    .sg-sa-body h2, .sg-sa-body h3,
    .sg-seo-faq-item summary { text-align: left; }
}

/* Mobil: tüm kart/article başlıkları sola hizalı (ortalama yalnızca bölüm başlıklarında) */
@media (max-width: 767px) {
    .sg-seo-page main article h2, .sg-seo-page main article h3, .sg-seo-page main article h4,
    main.sg-seo-page article h2, main.sg-seo-page article h3, main.sg-seo-page article h4,
    main.sg-seo-page [class*="-card"] h2, main.sg-seo-page [class*="-card"] h3,
    main.sg-seo-page [class*="-item"] h3, main.sg-seo-page .sg-seo-step h3 { text-align: left !important; }
}

/* Mobil: adım kartlarında numara solda, başlık sağında, açıklama altta tam genişlikte */
@media (max-width: 767px) {
    .sg-seo-timeline.is-stepper .sg-seo-step,
    .sg-seo-timeline.is-stepper.is-cards .sg-seo-step,
    .sg-seo-step {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "num title" "text text";
        column-gap: 14px;
        row-gap: 12px;
        align-items: center;
    }
    .sg-seo-step > span { grid-area: num; margin: 0; }
    .sg-seo-step > div { display: contents; }
    .sg-seo-step > div > h3 { grid-area: title; margin: 0; text-align: left !important; }
    .sg-seo-step > div > p { grid-area: text; margin: 0; }
    .sg-seo-step::before, .sg-seo-step::after { display: none; }
}

/* Web hero: tarayıcı taslağındaki dolgu çubukları artık etiketli */
.sg-web-layout em, html.sg-theme-light .sg-web-layout em {
    display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
    border-radius: 8px; font-style: normal; font-size: .76rem; font-weight: 700; white-space: nowrap;
    color: var(--sg-text-primary); background: rgba(63,127,13,.1); border: 1px solid rgba(63,127,13,.2);
}
.sg-web-layout em i { color: var(--sg-accent, #3f7f0d); font-size: .8rem; }
.sg-web-layout em { overflow: hidden; }
.sg-web-browser-bar { display: none; }

/* Sidebar CTA – ortalı kart (polish bloğunu ezer) */
.sg-single-sidebar .sg-post-sidebar-widget.sg-sidebar-cta {
    padding: 28px 22px 24px;
    border-radius: var(--sg-radius-lg);
    border-color: var(--sg-border);
}
.sg-single-sidebar .sg-post-sidebar-widget.sg-sidebar-cta > h4 {
    display: block;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem !important;
    font-weight: 800;
}
.sg-single-sidebar .sg-sidebar-cta > p { text-align: center; }

/* Blog kartı – kategori rozeti ve "Devamını Oku" hover (açık tema) */
html.sg-theme-light .sg-blog-cat:hover { background: var(--sg-accent); border-color: var(--sg-accent); color: #fff; }
html.sg-theme-light .sg-blog-more:hover { color: var(--sg-text-primary); }

/* Teklif formu – hatalı alan */
.sg-hero-quote-form input.is-invalid,
.sg-hero-quote-form input.is-invalid:focus {
    border-color: #e5484d;
    background: rgba(229,72,77,.08);
    box-shadow: 0 0 0 3px rgba(229,72,77,.15);
}

/* İletişim formu – hatalı alan */
.sg-native-contact-form input.is-invalid,
.sg-native-contact-form textarea.is-invalid,
.sg-native-contact-form input.is-invalid:focus,
.sg-native-contact-form textarea.is-invalid:focus {
    border-color: #e5484d;
    background: rgba(229,72,77,.08);
    box-shadow: 0 0 0 3px rgba(229,72,77,.15);
}
