/**
 * Legal / kurumsal / blog — iki kolon + sidebar teması
 */

.poz-legal-layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    align-items: flex-start;
}

/* Sidebar kolonu */
.poz-legal-layout > .poz-section:has(.leversnet-sidebar) {
    display: block;
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
}

.poz-legal-layout > .poz-section:has(.leversnet-sidebar) .leversnet-sidebar {
    width: 100%;
    max-width: 100%;
}

/* İçerik kolonu */
.poz-legal-layout > .poz-section:not(:has(.leversnet-sidebar)) {
    display: block;
    flex: 1 1 0;
    min-width: 0;
}

/* —— Yasal belge kartı (kurumsal ile aynı dil) —— */
.poz-legal-doc {
    --poz-red: #c41e3a;
    --poz-red-deep: #8b0000;
    --poz-ink: #1a1a1a;
    --poz-muted: #5c5c5c;
    font-family: "Exo", sans-serif;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.06);
}

.poz-legal-doc-body {
    padding: 36px 40px 44px;
}

.poz-legal-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--poz-red);
}

.poz-legal-doc-title {
    margin: 0 0 26px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--poz-ink);
    position: relative;
    padding-bottom: 16px;
}

.poz-legal-doc-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--poz-red);
}

.poz-legal-prose {
    color: var(--poz-muted);
    font-size: 16px;
    line-height: 1.8;
}

.poz-legal-prose h3 {
    margin: 1.85em 0 0.65em;
    font-size: 18px;
    font-weight: 800;
    color: var(--poz-ink);
}

.poz-legal-prose h3:first-child {
    margin-top: 0;
}

.poz-legal-prose h4 {
    margin: 1.35em 0 0.5em;
    font-size: 16px;
    font-weight: 700;
    color: var(--poz-ink);
}

.poz-legal-prose p {
    margin: 0 0 1em;
}

.poz-legal-prose ul {
    margin: 0 0 1.15em;
    padding-left: 1.25em;
}

.poz-legal-prose li {
    margin: 0 0 0.4em;
}

.poz-legal-prose li::marker {
    color: var(--poz-red);
}

.poz-legal-prose a {
    color: var(--poz-red);
    font-weight: 600;
    text-decoration: none;
}

.poz-legal-prose a:hover {
    color: var(--poz-red-deep);
    text-decoration: underline;
}

.poz-legal-prose strong {
    color: var(--poz-ink);
    font-weight: 700;
}

/* Legacy prose helper */
.poz-prose {
    font-family: "Exo", sans-serif;
    color: #555;
    line-height: 1.7;
}

.poz-prose h1,
.poz-prose h2,
.poz-prose h3 {
    color: #1a1a1a;
    font-weight: 700;
}

/* Sidebar widgets */
.poz-legal-layout .sidebar-contact {
    background-image: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
}

.poz-legal-layout .sidebar-widget {
    padding: 25px;
    margin: 0 0 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.poz-legal-layout .sidebar-widget-title {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #c41e3a;
}

.poz-legal-layout .sidebar-legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.poz-legal-layout .sidebar-legal-list li {
    border-bottom: 1px solid #f0f0f0;
}

.poz-legal-layout .sidebar-legal-list li:last-child {
    border-bottom: none;
}

.poz-legal-layout .sidebar-legal-list a {
    display: block;
    padding: 12px 0;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.poz-legal-layout .sidebar-legal-list a:hover {
    color: #c41e3a;
}

.poz-legal-layout .sidebar-legal-list li.is-active a {
    color: #c41e3a;
}

.poz-legal-layout .category-link { color: #555555; }
.poz-legal-layout .category-link:hover { color: #c41e3a; }
.poz-legal-layout .has-dropdown.active > .category-link { color: #c41e3a; }
.poz-legal-layout .dropdown-menu li a { color: #666666; }
.poz-legal-layout .dropdown-menu li a:hover { color: #c41e3a; }
.poz-legal-layout .sidebar-info {
    background-color: #f8f9fa;
    border-left-color: #c41e3a;
}
.poz-legal-layout .sidebar-info .info-item i { color: #c41e3a; }
.poz-legal-layout .sidebar-contact .sidebar-widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.35);
}
.poz-legal-layout .sidebar-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.poz-legal-layout .sidebar-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.poz-legal-layout .sidebar-contact .contact-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}
.poz-legal-layout .contact-text {
    flex: 1;
    min-width: 0;
}
.poz-legal-layout .contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}
.poz-legal-layout .contact-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    word-break: break-word;
}
.poz-legal-layout .sidebar-contact .contact-value:hover {
    color: #fff;
    text-decoration: underline;
}

.poz-legal-layout img {
    max-width: 100%;
    height: auto;
}

/* —— Blog grid: Devamını Oku hover (tema a:hover koyu rengi eziyor) —— */
.page-content .blog-grid-button,
.poz-page .blog-grid-button,
.poz-legal-layout .blog-grid-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #c41e3a !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.22);
}

.page-content .blog-grid-button i,
.poz-page .blog-grid-button i,
.poz-legal-layout .blog-grid-button i {
    color: #fff !important;
    transition: transform 0.25s ease;
}

.page-content .blog-grid-button:hover,
.page-content .blog-grid-button:focus,
.poz-page .blog-grid-button:hover,
.poz-page .blog-grid-button:focus,
.poz-legal-layout .blog-grid-button:hover,
.poz-legal-layout .blog-grid-button:focus {
    background: #8b0000 !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.35);
}

.page-content .blog-grid-button:hover i,
.poz-page .blog-grid-button:hover i,
.poz-legal-layout .blog-grid-button:hover i {
    color: #fff !important;
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .poz-legal-layout {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .poz-legal-layout > .poz-section:has(.leversnet-sidebar) {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .poz-legal-layout > .poz-section:not(:has(.leversnet-sidebar)) {
        order: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .poz-legal-doc {
        border-radius: 12px;
    }

    .poz-legal-doc-body {
        padding: 26px 20px 28px;
    }

    .poz-legal-layout {
        padding: 24px 15px 40px;
        gap: 24px;
    }
}
