.ag-temsili {
    display: block;
    margin: 16px 0;
    padding: 0;
    border: 0;
}
.ag-temsili .ag-gorsel-kucuk {
    display: block;
    position: relative;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f7f9;
}
.ag-temsili .ag-gorsel-kucuk img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
}
.ag-temsili figcaption {
    min-width: 0;
    max-width: 280px;
    margin-top: 6px;
    color: #647387;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.ag-temsili figcaption small {
    display: block;
    font-size: 12px;
}
.ag-temsili .ag-gorsel-tam-ekran {
    position: absolute;
    right: 2px;
    bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: transparent;
    color: #304258;
    pointer-events: none;
}
.ag-temsili .ag-gorsel-tam-ekran svg { display: block; width: 14px; height: 14px; }
.ag-temsili a:focus-visible, .ag-gorsel-pencere button:focus-visible {
    outline: 2px solid #235eaa;
    outline-offset: 3px;
}
.ag-gorsel-pencere {
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #304258;
    overflow: auto;
}
.ag-gorsel-pencere:not([open]) { display: none; }
.ag-gorsel-pencere::backdrop { background: rgb(12 21 33 / 72%); }
.ag-gorsel-pencere-baslik {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
}
.ag-gorsel-pencere button {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #dce3ec;
    border-radius: 6px;
    background: #f5f7fa;
    color: #304258;
    font: inherit;
    cursor: pointer;
}
.ag-temsili .ag-gorsel-pencere img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    max-height: 70dvh;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
}
.ag-gorsel-pencere-bilgi {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
@media (max-width: 640px) {
    .ag-temsili { margin: 14px 0; }
    .ag-temsili .ag-gorsel-kucuk { width: 96px; height: 96px; }
}
