.duyuru-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: rgba(8, 24, 16, 0.62);
}

.duyuru-dialog {
    width: min(34rem, 100%);
    max-height: min(86dvh, 40rem);
    display: flex;
    flex-direction: column;
    background: #f6f3ec;
    color: #14281c;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.duyuru-kicker {
    margin: 0;
    padding: 1.1rem 1.25rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3d6b52;
}

.duyuru-dialog h2 {
    margin: 0.35rem 0 0;
    padding: 0 1.25rem;
    font-size: 1.45rem;
    line-height: 1.25;
}

.duyuru-media {
    padding: 0.85rem 1.25rem 0;
}

.duyuru-media[hidden] {
    display: none;
}

.duyuru-gorsel {
    display: block;
    width: 100%;
    max-height: min(34dvh, 220px);
    object-fit: cover;
    border-radius: 12px;
    background: #e7e1d6;
}

.duyuru-body {
    margin: 0.85rem 0 0;
    padding: 0 1.25rem 1rem;
    overflow: auto;
    font-size: 1rem;
    line-height: 1.65;
    white-space: pre-wrap;
    -webkit-overflow-scrolling: touch;
}

.duyuru-foot {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 1.25rem 1.1rem;
    border-top: 1px solid rgba(8, 49, 31, 0.12);
    background: #fff;
}

.duyuru-hint {
    margin: 0;
    font-size: 0.85rem;
    color: #5c6b62;
}

.duyuru-close {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #08311f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.duyuru-close:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.duyuru-close:focus-visible {
    outline: 3px solid #c4a15a;
    outline-offset: 2px;
}

@media (min-width: 720px) {
    .duyuru-backdrop {
        align-items: center;
        padding: 24px;
    }
}
