.ag-de-related,
.ag-de-listing {
    margin: 28px 0;
    font-family: inherit;
}

.ag-de-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    border-bottom: 2px solid #111;
}

.ag-de-section-head h2 {
    display: inline-block;
    margin: 0;
    padding: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.ag-de-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ag-de-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ag-de-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
    color: #111;
}

.ag-de-card-media {
    width: 96px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-de-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ag-de-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.ag-de-card-content {
    display: block;
    min-width: 0;
}

.ag-de-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.ag-de-card strong {
    display: block;
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.35;
    color: #111;
}

.ag-de-card small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.35;
    color: #64748b;
}

.ag-de-news-list {
    display: grid;
    gap: 8px;
}

.ag-de-news-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #111;
    text-decoration: none !important;
}

.ag-de-news-item:hover {
    border-color: #cbd5e1;
    color: #111;
}

.ag-de-news-item span {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.ag-de-news-item small {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.ag-de-hidden-news {
    display: none !important;
}

.ag-de-entity-relation-item,
.ag-de-entity-relation-item .ag-de-card {
    min-width: 0;
}

.ag-de-entity-relation-item .ag-de-card {
    height: 100%;
}

.ag-de-hidden-entity-item {
    display: none !important;
}


.ag-de-show-more {
    margin-top: 12px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 767px) {
    .ag-de-card-grid {
        grid-template-columns: 1fr;
    }

    .ag-de-card {
        grid-template-columns: 84px 1fr;
        border-radius: 11px;
    }

    .ag-de-card-media {
        width: 84px;
        height: 70px;
    }

    .ag-de-news-item {
        display: block;
    }

    .ag-de-news-item small {
        display: block;
        margin-top: 4px;
    }
}

/* Archive / taxonomy pages */
.ag-de-archive-page {
    background: #f8fafc;
    padding: 28px 0 46px;
}

.ag-de-archive-container {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.ag-de-archive-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 16px;
    padding: 28px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 58%, #374151 100%);
    color: #fff;
}

.ag-de-archive-hero:after {
    content: "";
    position: absolute;
    right: -55px;
    top: -55px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.ag-de-archive-kicker {
    display: inline-flex;
    margin: 0 0 9px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.ag-de-archive-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #fff;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
}

.ag-de-archive-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 15px;
    line-height: 1.65;
}

.ag-de-archive-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.ag-de-archive-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
}

.ag-de-archive-tabs a:hover,
.ag-de-archive-tabs a.is-active {
    background: #111827;
    color: #fff;
}

.ag-de-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
}

.ag-de-archive-card {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 18px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.ag-de-archive-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border-radius: 13px;
    overflow: hidden;
    background: #eef2f7;
    text-decoration: none !important;
}

.ag-de-archive-media img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    display: block;
}

.ag-de-archive-media span {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.ag-de-archive-body {
    min-width: 0;
    padding: 3px 0;
}

.ag-de-archive-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ag-de-news-count {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.ag-de-archive-body h2 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 800;
}

.ag-de-archive-body h2 a {
    color: #111827;
    text-decoration: none !important;
}

.ag-de-archive-body h2 a:hover {
    color: #000;
}

.ag-de-archive-body p {
    margin: 0 0 11px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.ag-de-archive-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ag-de-archive-facts span {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.ag-de-pagination {
    margin-top: 22px;
}

.ag-de-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-de-pagination a,
.ag-de-pagination span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.ag-de-pagination .current,
.ag-de-pagination a:hover {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.ag-de-empty-state {
    padding: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .ag-de-archive-page {
        padding: 18px 0 34px;
    }

    .ag-de-archive-container {
        max-width: calc(100% - 28px);
    }

    .ag-de-archive-hero {
        padding: 22px 20px;
        border-radius: 15px;
    }

    .ag-de-archive-hero h1 {
        font-size: 25px;
    }

    .ag-de-archive-card {
        grid-template-columns: 1fr;
        gap: 12px;
        border-radius: 15px;
    }

    .ag-de-archive-media,
    .ag-de-archive-media img {
        min-height: 185px;
    }

    .ag-de-archive-body h2 {
        font-size: 19px;
    }
}

/* Single Duyuru / Etkinlik */
.ag-de-single-page {
    padding: 28px 0 46px;
    background: #f8fafc;
}

.ag-de-single-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.ag-de-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.ag-de-single-breadcrumb a {
    color: #475569;
    text-decoration: none !important;
}

.ag-de-single-breadcrumb a:hover {
    color: #111827;
}

.ag-de-single-breadcrumb strong {
    color: #111827;
    font-weight: 700;
}

.ag-de-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    padding: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.ag-de-single-hero-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ag-de-single-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ag-de-single-hero h1 {
    margin: 0;
    color: #111827;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ag-de-single-hero p {
    max-width: 760px;
    margin: 13px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.ag-de-single-image {
    min-height: 245px;
    border-radius: 16px;
    overflow: hidden;
    background: #eef2f7;
}

.ag-de-single-image img {
    width: 100%;
    height: 100%;
    min-height: 245px;
    object-fit: cover;
    display: block;
}

.ag-de-single-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.ag-de-single-info-row {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.ag-de-single-info-row span,
.ag-de-side-line span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ag-de-single-info-row strong,
.ag-de-side-line strong {
    display: block;
    color: #111827;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
    word-break: break-word;
}

.ag-de-single-info-row a,
.ag-de-side-line a {
    color: #111827;
    text-decoration: none !important;
    border-bottom: 1px solid #111827;
}

.ag-de-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
    margin-top: 14px;
}

.ag-de-single-content-card,
.ag-de-side-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.ag-de-single-content-card {
    padding: 26px;
}

.ag-de-single-entry {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.78;
}

.ag-de-single-entry > *:first-child {
    margin-top: 0;
}

.ag-de-single-entry > *:last-child {
    margin-bottom: 0;
}

.ag-de-single-entry h2,
.ag-de-single-entry h3,
.ag-de-single-entry h4 {
    color: #111827;
    line-height: 1.3;
}

.ag-de-single-entry a {
    color: #111827;
    font-weight: 700;
}

.ag-de-single-side {
    position: sticky;
    top: 20px;
}

.ag-de-side-card {
    padding: 18px;
}

.ag-de-side-card h2 {
    margin: 0 0 13px;
    color: #111827;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.ag-de-side-line {
    padding: 12px 0;
    border-top: 1px solid #eef2f7;
}

.ag-de-side-line:first-of-type {
    border-top: 0;
    padding-top: 0;
}

@media (max-width: 1018px) {
    .ag-de-single-container {
        max-width: calc(100% - 40px);
    }

    .ag-de-single-hero,
    .ag-de-single-layout {
        grid-template-columns: 1fr;
    }

    .ag-de-single-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ag-de-single-side {
        position: static;
    }
}

@media (max-width: 767px) {
    .ag-de-single-page {
        padding: 18px 0 34px;
    }

    .ag-de-single-container {
        max-width: calc(100% - 28px);
    }

    .ag-de-single-hero {
        padding: 20px;
        border-radius: 16px;
    }

    .ag-de-single-hero h1 {
        font-size: 25px;
    }

    .ag-de-single-image,
    .ag-de-single-image img {
        min-height: 190px;
    }

    .ag-de-single-info {
        grid-template-columns: 1fr;
    }

    .ag-de-single-content-card {
        padding: 20px;
        border-radius: 16px;
    }

    .ag-de-single-entry {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* Related leader / institution blocks on single pages */
.ag-de-entities {
    margin: 22px 0 0;
}

.ag-de-entity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.ag-de-entity-block {
    min-width: 0;
}

.ag-de-entity-list {
    display: grid;
    gap: 10px;
}

.ag-de-entity-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ag-de-entity-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
    color: #111827;
}

.ag-de-entity-photo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ag-de-entity-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ag-de-entity-photo > span {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.ag-de-entity-content {
    display: block;
    min-width: 0;
}

.ag-de-entity-content strong {
    display: block;
    margin: 0 0 4px;
    color: #111827;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
}

.ag-de-entity-content small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

@media (max-width: 767px) {
    .ag-de-entity-grid {
        grid-template-columns: 1fr;
    }

    .ag-de-entity-card {
        grid-template-columns: 58px 1fr;
        min-height: 78px;
        border-radius: 13px;
    }

    .ag-de-entity-photo {
        width: 58px;
        height: 58px;
        border-radius: 13px;
    }
}

/* v1.5 - Haber detayındaki İlgili Yönetici / İlgili Firma tasarım diliyle uyum */
.ag-de-section-head {
    border-bottom: 0;
    margin: 0 0 16px;
}

.ag-de-section-head h2 {
    padding: 0;
    font-weight: 700;
}

.ag-de-single-iliskileri,
.ag-de-single-page .ag-haber-iliskileri {
    margin: 32px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
    width: 100%;
}

.ag-de-single-page .ag-haber-iliski-block {
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.ag-de-single-page .ag-haber-iliski-head h2 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f3;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 100;
    color: #111827;
}

.ag-de-single-page .ag-haber-iliski-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.ag-de-single-page .ag-haber-iliski-card {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    color: #111827;
    text-decoration: none !important;
    box-shadow: none;
    transition: .2s ease;
}

.ag-de-single-page .ag-haber-iliski-card:hover {
    background: #111827;
    border-color: #111827;
    transform: none;
    box-shadow: none;
    color: #fff;
}

.ag-de-single-page .ag-haber-iliski-photo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ag-de-single-page .ag-haber-iliski-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ag-de-single-page .ag-haber-iliski-initial {
    font-size: 24px;
    font-weight: 800;
    color: #6b7280;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
}

.ag-de-single-page .ag-haber-iliski-content {
    min-width: 0;
}

.ag-de-single-page .ag-haber-iliski-content strong {
    display: block;
    color: #111827;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ag-de-single-page .ag-haber-iliski-content small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ag-de-single-page .ag-haber-iliski-card:hover strong,
.ag-de-single-page .ag-haber-iliski-card:hover small {
    color: #fff;
}

.ag-de-single-page .ag-de-related-news,
.ag-de-single-page .ag-de-related-for-news {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.ag-de-single-page .ag-de-related-news .ag-de-section-head h2,
.ag-de-single-page .ag-de-related-for-news .ag-de-section-head h2 {
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid #edf0f3;
    width: 100%;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 100;
    color: #111827;
}

@media (max-width: 768px) {
    .ag-de-single-iliskileri,
    .ag-de-single-page .ag-haber-iliskileri {
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 26px 0;
    }

    .ag-de-single-page .ag-haber-iliski-block,
    .ag-de-single-page .ag-de-related-news,
    .ag-de-single-page .ag-de-related-for-news {
        padding: 20px;
        border-radius: 20px;
    }

    .ag-de-single-page .ag-haber-iliski-head h2,
    .ag-de-single-page .ag-de-related-news .ag-de-section-head h2,
    .ag-de-single-page .ag-de-related-for-news .ag-de-section-head h2 {
        font-size: 20px;
    }

    .ag-de-single-page .ag-haber-iliski-card {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ag-de-single-page .ag-haber-iliski-photo {
        width: 54px;
        height: 54px;
        border-radius: 13px;
    }
}

/* Firma/Lider detayında İlgili Duyuru & Etkinlik - Haber ilişki kartlarıyla uyumlu */
.ag-de-entity-section{
    margin:32px 0;
    width:100%;
}

.ag-de-entity-section .ag-de-entity-block{
    width:100%;
}

.ag-de-entity-section .ag-de-entity-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    width:100%;
}

.ag-de-entity-relation-item,
.ag-de-entity-relation-item .ag-de-public-card{
    min-width:0;
    height:100%;
}

.ag-de-public-card.ag-haber-iliski-card{
    width:100%;
    box-sizing:border-box;
    grid-template-columns:58px minmax(0,1fr);
    gap:13px;
    padding:13px;
    border-radius:16px;
    background:#f9fafb;
    box-shadow:none;
    transform:none;
}

.ag-de-public-card.ag-haber-iliski-card:hover{
    background:#111827;
    border-color:#111827;
    box-shadow:none;
    transform:none;
}

.ag-de-public-card .ag-de-card-media{
    width:58px;
    height:58px;
    border-radius:14px;
    flex-shrink:0;
}

.ag-de-public-card .ag-de-card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ag-de-public-card .ag-de-card-icon{
    width:auto;
    height:auto;
    background:transparent;
    color:#6b7280;
    border-radius:0;
    font-size:24px;
    font-weight:800;
}

.ag-de-public-card .ag-de-badge{
    margin:0 0 4px;
    padding:0;
    background:transparent;
    color:#6b7280;
    font-size:12px;
    font-weight:700;
}

.ag-de-public-card:hover .ag-de-badge,
.ag-de-public-card:hover .ag-de-card-icon{
    color:#fff;
}

.ag-de-public-card .ag-de-card-content strong{
    font-size:15px;
    line-height:1.35;
    font-weight:800;
    overflow-wrap:anywhere;
}

.ag-de-public-card .ag-de-card-content small{
    margin-top:4px;
    font-size:12px;
    line-height:1.4;
    overflow-wrap:anywhere;
}

.ag-de-public-card:hover strong,
.ag-de-public-card:hover small{
    color:#fff;
}

.ag-de-hidden-entity-item{
    display:none!important;
}

@media(max-width:768px){
    .ag-de-entity-section{
        margin:26px 0;
    }

    .ag-de-entity-section .ag-de-entity-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .ag-de-public-card.ag-haber-iliski-card{
        grid-template-columns:54px minmax(0,1fr);
        gap:12px;
        padding:12px;
    }

    .ag-de-public-card .ag-de-card-media{
        width:54px;
        height:54px;
        border-radius:13px;
    }
}


/* Firma/Lider detayındaki İlgili Duyuru / Etkinlik alanı: etkinlik detay kart modeli */
.ag-de-related-for-entity{
    margin:28px 0;
    font-family:inherit;
}

.ag-de-related-for-entity .ag-de-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.ag-de-related-for-entity .ag-de-entity-relation-item,
.ag-de-related-for-entity .ag-de-card{
    min-width:0;
}

.ag-de-related-for-entity .ag-de-card{
    height:100%;
}

.ag-de-hidden-entity-item{
    display:none!important;
}

@media(max-width:767px){
    .ag-de-related-for-entity .ag-de-card-grid{
        grid-template-columns:1fr;
    }
}

/* =========================================================
   v1.11 - Firma/Lider detay ilişkili alan başlık düzeltmesi
   Duyuru/Etkinlik detayındaki sade başlık modeliyle uyumlu.
   Başlık altındaki çizgiler kaldırıldı.
========================================================= */
.ag-de-related-for-entity .ag-de-section-head,
.ag-firma-related-news .ag-de-section-head{
    border-bottom:0!important;
    margin:0 0 16px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
}

.ag-de-related-for-entity .ag-de-section-head h2,
.ag-firma-related-news .ag-de-section-head h2{
    border-bottom:0!important;
    margin:0!important;
    padding:0!important;
    width:auto!important;
    font-size:22px!important;
    line-height:1.25!important;
    font-weight:800!important;
    color:#111827!important;
}

@media(max-width:767px){
    .ag-de-related-for-entity .ag-de-section-head h2,
    .ag-firma-related-news .ag-de-section-head h2{
        font-size:20px!important;
    }
}

/* =========================================================
   v1.12 - Firma detay ilişkili alanlar: duyuru/etkinlik detayındaki
   sade kart ve başlık diliyle tam uyum.
   - Başlıklarda alt çizgi yok
   - Font boyutu/ağırlığı aynı
   - Desktop 2 sütun, mobil tek sütun
========================================================= */
.ag-de-related-for-entity,
.ag-firma-related-news{
    margin:32px 0!important;
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    border-radius:22px!important;
    padding:24px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
    font-family:inherit!important;
}

.ag-de-related-for-entity .ag-de-section-head,
.ag-firma-related-news .ag-de-section-head{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    border-bottom:0!important;
}

.ag-de-related-for-entity .ag-de-section-head h2,
.ag-firma-related-news .ag-de-section-head h2{
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:0!important;
    font-family:inherit!important;
    font-size:22px!important;
    line-height:1.25!important;
    font-weight:100!important;
    letter-spacing:0!important;
    color:#111827!important;
}

.ag-de-related-for-entity .ag-de-card-grid,
.ag-firma-related-news .ag-de-card-grid,
.ag-firma-related-news .ag-firma-haberler-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    width:100%!important;
}

.ag-de-related-for-entity .ag-de-card,
.ag-firma-related-news .ag-de-card,
.ag-firma-related-news .ag-firma-haber-item{
    height:100%!important;
    min-width:0!important;
    font-family:inherit!important;
}

.ag-de-related-for-entity .ag-de-card-content strong,
.ag-firma-related-news .ag-de-card-content strong,
.ag-firma-related-news .ag-firma-haber-content strong{
    font-family:inherit!important;
    font-size:15px!important;
    line-height:1.35!important;
    font-weight:800!important;
}

.ag-de-related-for-entity .ag-de-card-content small,
.ag-firma-related-news .ag-de-card-content small,
.ag-firma-related-news .ag-firma-haber-content small{
    font-family:inherit!important;
    font-size:12px!important;
    line-height:1.4!important;
    font-weight:600!important;
}

@media(max-width:767px){
    .ag-de-related-for-entity,
    .ag-firma-related-news{
        margin:26px 0!important;
        padding:20px!important;
        border-radius:20px!important;
    }

    .ag-de-related-for-entity .ag-de-section-head h2,
    .ag-firma-related-news .ag-de-section-head h2{
        font-size:20px!important;
    }

    .ag-de-related-for-entity .ag-de-card-grid,
    .ag-firma-related-news .ag-de-card-grid,
    .ag-firma-related-news .ag-firma-haberler-list{
        grid-template-columns:1fr!important;
        gap:14px!important;
    }
}

/* =========================================================
   v1.13 - Firma detayındaki İlgili Duyuru / Etkinlik ve
   İlgili Haberler alanları, duyuru/etkinlik detayındaki
   İlgili Yönetici / İlgili Kurum / İlgili Haberler diliyle eşitlendi.
   - Başlık alt çizgisi yok
   - Başlık fontu ve kart içi fontlar aynı sistemde
   - Desktop 2 sütun, mobil tek sütun
========================================================= */
.ag-de-related-for-entity,
.ag-firma-related-news{
    margin:32px 0!important;
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    border-radius:22px!important;
    padding:24px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
    font-family:inherit!important;
}

.ag-de-related-for-entity .ag-de-section-head,
.ag-firma-related-news .ag-de-section-head{
    display:block!important;
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    border-bottom:0!important;
}

.ag-de-related-for-entity .ag-de-section-head h2,
.ag-firma-related-news .ag-de-section-head h2{
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:0!important;
    font-family:inherit!important;
    font-size:22px!important;
    line-height:1.25!important;
    font-weight:100!important;
    letter-spacing:0!important;
    color:#111827!important;
}

.ag-de-related-for-entity .ag-de-card-grid,
.ag-firma-related-news .ag-de-card-grid,
.ag-firma-related-news .ag-firma-haberler-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    width:100%!important;
}

.ag-de-related-for-entity .ag-de-entity-relation-item,
.ag-firma-related-news .ag-firma-haber-wrapper{
    min-width:0!important;
}

.ag-de-related-for-entity .ag-de-card,
.ag-firma-related-news .ag-de-card,
.ag-firma-related-news .ag-firma-haber-item{
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    font-family:inherit!important;
}

.ag-de-related-for-entity .ag-de-card strong,
.ag-de-related-for-entity .ag-de-card-content strong,
.ag-firma-related-news .ag-de-card strong,
.ag-firma-related-news .ag-de-card-content strong,
.ag-firma-related-news .ag-firma-haber-content strong{
    display:block!important;
    font-family:inherit!important;
    font-size:15px!important;
    line-height:1.35!important;
    font-weight:800!important;
    color:#111827!important;
    overflow-wrap:anywhere!important;
}

.ag-de-related-for-entity .ag-de-card small,
.ag-de-related-for-entity .ag-de-card-content small,
.ag-firma-related-news .ag-de-card small,
.ag-firma-related-news .ag-de-card-content small,
.ag-firma-related-news .ag-firma-haber-content small{
    display:block!important;
    margin-top:4px!important;
    font-family:inherit!important;
    font-size:12px!important;
    line-height:1.4!important;
    font-weight:600!important;
    color:#6b7280!important;
    overflow-wrap:anywhere!important;
}

.ag-de-related-for-entity .ag-de-badge,
.ag-firma-related-news .ag-de-badge{
    font-family:inherit!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:700!important;
}

@media(max-width:767px){
    .ag-de-related-for-entity,
    .ag-firma-related-news{
        margin:26px 0!important;
        padding:20px!important;
        border-radius:20px!important;
    }

    .ag-de-related-for-entity .ag-de-section-head h2,
    .ag-firma-related-news .ag-de-section-head h2{
        font-size:20px!important;
    }

    .ag-de-related-for-entity .ag-de-card-grid,
    .ag-firma-related-news .ag-de-card-grid,
    .ag-firma-related-news .ag-firma-haberler-list{
        grid-template-columns:1fr!important;
        gap:14px!important;
    }
}

/* =========================================================
   Duyuru / Etkinlik tekil sayfa: görselli ilgili içerikler
   - Yönetici / Kurum kartlarına dokunmaz.
   - İlgili Duyurular / Etkinlikler: ilk 2 + Tümünü Göster
   - İlgili Haberler: ilk 4 + Tümünü Göster
========================================================= */
.ag-de-visual-related {
    margin: 32px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
    font-family: inherit;
}

.ag-de-visual-related .ag-de-section-head {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-bottom: 0;
    display: block;
}

.ag-de-visual-related .ag-de-section-head h2 {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 100;
    color: #111827;
}

.ag-de-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.ag-de-visual-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 108px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    color: #111827;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ag-de-visual-card:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.ag-de-visual-media {
    width: 132px;
    height: 88px;
    border-radius: 13px;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ag-de-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ag-de-visual-media > span {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.ag-de-visual-body {
    min-width: 0;
    display: block;
}

.ag-de-visual-body em {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 800;
}

.ag-de-visual-body strong {
    display: block;
    color: #111827;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ag-de-visual-body small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ag-de-visual-card:hover .ag-de-visual-body em,
.ag-de-visual-card:hover .ag-de-visual-body strong,
.ag-de-visual-card:hover .ag-de-visual-body small {
    color: #fff;
}

.ag-de-visual-card:hover .ag-de-visual-body em {
    background: rgba(255, 255, 255, .12);
}

.ag-de-more-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ag-de-hidden-visual-item {
    display: none !important;
}

.ag-de-more-toggle:checked ~ .ag-de-visual-grid .ag-de-hidden-visual-item {
    display: grid !important;
}

.ag-de-more-toggle:checked ~ .ag-de-visual-more {
    display: none !important;
}

.ag-de-visual-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 14px;
    cursor: pointer;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .ag-de-visual-related {
        margin: 26px 0;
        padding: 20px;
        border-radius: 20px;
    }

    .ag-de-visual-related .ag-de-section-head h2 {
        font-size: 20px;
    }

    .ag-de-visual-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ag-de-visual-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        min-height: 96px;
        padding: 12px;
    }

    .ag-de-visual-media {
        width: 104px;
        height: 78px;
        border-radius: 12px;
    }
}

/* Haber detayındaki shortcode: İlgili Duyuru / Etkinlik */
.single-post .ag-de-news-post-relations .ag-haber-iliski-grid,
.single-post .ag-de-news-post-relations-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
}

.single-post .ag-de-news-post-relations .ag-haber-iliski-card,
.single-post .ag-de-news-post-relation-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Duyuru / Etkinlik detayındaki görselli ilgili alanlar: tek sütun */
.single-ag_duyuru_etkinlik .ag-de-visual-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
}

.single-ag_duyuru_etkinlik .ag-de-visual-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Mobilde her iki taraf da tek sütun */
@media (max-width: 767px) {
    .single-post .ag-de-news-post-relations .ag-haber-iliski-grid,
    .single-post .ag-de-news-post-relations-grid,
    .single-ag_duyuru_etkinlik .ag-de-visual-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Haber detayında İlgili Duyuru / Etkinlik alanını tam genişlik yap */
.single-post .ag-de-news-post-relations {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.single-post .ag-de-news-post-relations .ag-de-news-post-relations-block {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
}

.single-post .ag-de-news-post-relations-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
}

.single-post .ag-de-news-post-relation-card {
    width: 100% !important;
    max-width: 100% !important;
}
/* =========================================================
   Ana Sayfa Duyuru / Etkinlik Slider
   Shortcode: [ag_de_anasayfa_slider]
========================================================= */

.ag-de-home-slider-wrap {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
    font-family: inherit;
}

.ag-de-home-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.ag-de-home-slider-kicker {
    display: inline-flex;
    margin: 0 0 5px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ag-de-home-slider-head h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.ag-de-home-slider-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #111827;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.ag-de-home-slider-all span {
    font-size: 18px;
    line-height: 1;
}

.ag-de-home-slider-shell {
    position: relative;
}

.ag-de-home-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 36%);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 2px 12px;
    scrollbar-width: thin;
}

.ag-de-home-slide {
    scroll-snap-align: start;
    min-width: 0;
}

.ag-de-home-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f9fafb;
    color: #111827;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ag-de-home-card:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
    transform: translateY(-1px);
}

.ag-de-home-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-de-home-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ag-de-home-card-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.ag-de-home-card-body {
    display: block;
    padding: 15px;
    min-width: 0;
}

.ag-de-home-card-badge {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
}

.ag-de-home-card strong {
    display: block;
    margin: 0 0 7px;
    color: #111827;
    font-size: 17px;
    line-height: 1.32;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ag-de-home-card small {
    display: block;
    margin: 0 0 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.ag-de-home-card em {
    display: block;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    font-style: normal;
    font-weight: 500;
}

.ag-de-home-card:hover .ag-de-home-card-badge {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.ag-de-home-card:hover strong,
.ag-de-home-card:hover small,
.ag-de-home-card:hover em {
    color: #fff;
}

.ag-de-home-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(15,23,42,.18);
}

.ag-de-home-slider-prev {
    left: -12px;
}

.ag-de-home-slider-next {
    right: -12px;
}

@media (max-width: 1018px) {
    .ag-de-home-slider-track {
        grid-auto-columns: minmax(280px, 48%);
    }
}

@media (max-width: 767px) {
    .ag-de-home-slider-wrap {
        margin: 22px 0;
        padding: 18px;
        border-radius: 20px;
    }

    .ag-de-home-slider-head {
        align-items: flex-start;
    }

    .ag-de-home-slider-head h2 {
        font-size: 20px;
    }

    .ag-de-home-slider-track {
        grid-auto-columns: 86%;
        gap: 13px;
        padding-bottom: 10px;
    }

    .ag-de-home-card strong {
        font-size: 16px;
    }

    .ag-de-home-slider-btn {
        display: none;
    }
}
