@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800;900&display=swap');

/*overwrite*/
.content-inner {    
    background: none;    
    border-radius: unset;
    box-shadow: none;
    border: none;
   
}


.sos-crimes-page {
    --sos-bg: #f7f8fb;
    --sos-surface: rgba(255,255,255,.84);
    --sos-surface-strong: rgba(255,255,255,.96);
    --sos-text: #0f172a;
    --sos-title-blue: #2448b8;
    --sos-muted: #475569;
    --sos-line: rgba(148,163,184,.18);
    --sos-red: #ef4444;
    --sos-gold: #f5c542;
    --sos-shadow: 0 24px 60px rgba(15,23,42,.10);
    position: relative;
    min-height: 100vh;
    margin: -15px;
    padding: 18px 12px 36px;
    color: var(--sos-text);
    font-family: "Vazirmatn", system-ui, sans-serif;
    /*background:
        radial-gradient(circle at top left, rgba(255,31,31,.10), rgba(255,31,31,0) 26%),
        radial-gradient(circle at 86% 14%, rgba(245,197,66,.08), rgba(245,197,66,0) 18%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 54%, #f4f7fb 100%);*/
    overflow: hidden;
}

.sos-crimes-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
}

.sos-crimes-page a,
.sos-crimes-page button {
    text-decoration: none;
}

.sos-shell {
    position: relative;
    width: min(1280px, 100%);
    margin: 0 auto;
    border-radius: 32px;
    border: 1px solid var(--sos-line);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.88));
    box-shadow: 0 24px 60px rgba(15,23,42,.10);
    overflow: hidden;
}

.sos-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--sos-line);
}
@media (max-width: 768px) {
    .sos-hero {
        grid-template-columns: 1fr;
    }
}

.sos-hero-copy {
    min-width: 0;
}

.sos-lang-en .sos-hero,
.sos-lang-en .sos-hero-copy,
.sos-lang-en .sos-search-field {
    direction: ltr;
    text-align: left;
}

.sos-lang-en .sos-hero-actions {
    direction: ltr;
}

.sos-lang-fa .sos-hero,
.sos-lang-fa .sos-hero-copy {
    direction: rtl;
    text-align: right;
}

.sos-hero h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
    color: var(--sos-title-blue);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.sos-hero p {
    margin: 0;
    color: var(--sos-muted);
    font-size: 15px;
    line-height: 1.55;
    max-width: 720px;
}

.sos-hero p strong,
.sos-hero p b {
    display: block;
    margin-bottom: 2px;
    color: var(--sos-red);
    font-size: 1.2em;
    font-weight: 900;
    text-transform: uppercase;
}

.sos-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    /*flex-wrap: wrap;*/
}

/**/
    .sort-field {
        position: relative;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        min-width: 148px;
    }

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 42px;
    width: 100%;
    /*min-width: 148px;*/
    padding: 5px unset 5px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.84));
    box-shadow: 0 10px 22px rgba(15,23,42,.06);
    color: var(--sos-title-blue);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: start;
}

    .sort-field::after {
        content: "";
        position: absolute;
        inset-inline-end: 16px;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        color: var(--title-blue);
        transform: translateY(-2px) rotate(45deg);
        pointer-events: none;
    }

    .sort-select:focus {
        border-color: rgba(239,68,68,.28);
        box-shadow: 0 14px 28px rgba(15,23,42,.09);
    }

/**/

.sos-back-link {
    width: 42px;
    min-height: 42px;
    /*padding: 0 18px;*/
    border-radius: 999px;
    border: 1px solid var(--sos-line);
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
    color: var(--sos-title-blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.sos-back-link:hover {
    border-color: rgba(239,68,68,.24);
    box-shadow: 0 14px 28px rgba(15,23,42,.09);
    transform: translateY(-1px);
}

.sos-back-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sos-sort {
    position: relative;
    /*width: 200px;*/
}

    .sos-sort .normal {
        position: absolute;
        color: inherit;
        font-size: 14px;
        font-weight: 500;
        top: 55%;
        transform: translateY(-50%);
        left: 24px;
    }

    .sos-sort .sos-sort-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 24px;
        width: 20px;
        background: url(icon-select.svg);
        pointer-events: none;
    }

/*#ddlSOSSortBy {*/
    /*width: 100%;*/
    /*height: 42px;
    padding: 5px;
    border: 1px solid var(--sos-line);
    border-radius: 100px;
    font-size: 14px;
}*/
@media (max-width: 768px) {
    .sos-back-link {
        padding: 10px 8px;
        font-size: 10px;
        line-height: 1;
        min-height: 38px;
    }
}




.sos-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 42px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--sos-line);
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 22px rgba(15,23,42,.06);
}

.sos-view-switch__btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    color: var(--sos-title-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.sos-view-switch__btn.is-active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 10px 20px rgba(239,68,68,.2);
}

.sos-view-switch__btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sos-submit-video-btn,
.sos-media-filter a,
.sos-tag-filter a {
    min-height: 42px;
    border-radius: 999px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.sos-submit-video-btn {
    appearance: none;
    border: 0;
    padding: 0 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;   
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(239,68,68,.25);
}
@media (max-width: 768px) {
    .sos-submit-video-btn {
        min-height: 38px;
        padding: 0 8px;
        font-size: 9px;
        line-height: 1;
    }
}

.sos-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 5px;
    align-items: center;
    min-height: 48px;
    padding: 14px 24px 12px;
    margin: 0;
    border-bottom: 1px solid var(--sos-line);
}

.sos-toolbar-filters {
    display: none;
}

.sos-media-filter,
.sos-tag-filter,
.sos-crimes-page .tags-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sos-media-filter > li {
    float: none;
    margin: 0;
}

.sos-media-filter {
    display: none;
}

.sos-media-filter.nav-pills > li + li {
    margin-left: 0;
}

.sos-media-filter a,
.sos-tag-filter a,
.sos-crimes-page .tags-filter a {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--sos-line);
    border-radius: 0;
    background: rgba(255,255,255,.92);
    color: var(--sos-title-blue);
    box-shadow: none;
}

.sos-tag-filter a,
.sos-crimes-page .tags-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    line-height: 1;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(15,23,42,.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.sos-tag-filter a:hover,
.sos-crimes-page .tags-filter a:hover {
    transform: translateY(-1px);
    border-color: rgba(36,72,184,.22);
    color: var(--sos-title-blue);
    box-shadow: 0 14px 26px rgba(15,23,42,.08);
}

.sos-media-filter li:first-child a {
    border-radius: 4px 0 0 4px;
}

.sos-media-filter li:last-child a {
    border-radius: 0 4px 4px 0;
}

.sos-media-filter .active a,
.sos-tag-filter a.active,
.sos-crimes-page .tags-filter a.active {
    background: #c63d46;
    color: #fff;
    border-color: #c63d46;
    box-shadow: 0 14px 28px rgba(198,61,70,.18);
}

.search-panel {
    padding: 0 10px 10px;
    display: flex;
    justify-content: flex-end;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 58px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.84));
    box-shadow: 0 14px 30px rgba(15,23,42,.06);
    cursor: text;
    overflow: hidden;
    transition: width .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.search-field:hover,
    .search-field:focus-within {
        width: min(100%, 320px);
        border: 1px solid rgba(239,68,68,.24);
        box-shadow: 0 16px 32px rgba(15,23,42,.08);
    }

.search-field__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-field__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
}

    .search-field__icon svg {
        width: 18px;
        height: 18px;
        display: block;
    }

.search-field__input {
    width: 0;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 0;
    font: inherit;
    font-size: 14px;
    color: #0f172a;
    background: transparent;
    outline: none;
    opacity: 0;
    transition: width .24s ease, opacity .18s ease;
}

.search-field:hover .search-field__input,
.search-field:focus-within .search-field__input {
    width: 100%;
    padding: 2px 0;
    opacity: 1;
}


.sos-search-panel {
    --sos-search-collapsed: 72px;
    --sos-search-expanded: 320px;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    width: min(100%, var(--sos-search-expanded));
    min-width: 0;
}

.sos-search-panel .form-inline,
.sos-search-panel .input-group {
    display: block;
    width: auto;
    margin: 0;
}

.sos-search-panel .input-group.sos-search-field {
    display: flex;
    width: var(--sos-search-collapsed);
}

.sos-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    width: var(--sos-search-collapsed);
    min-width: var(--sos-search-collapsed);
    height: 50px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--sos-line);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.84));
    box-shadow: 0 14px 30px rgba(15,23,42,.06);
    cursor: text;
    overflow: hidden;
    transition: width .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.sos-search-field:focus-within {
    width: min(100%, var(--sos-search-expanded));
    border-color: rgba(239,68,68,.24);
    box-shadow: 0 16px 32px rgba(15,23,42,.08);
}

.sos-search-panel .input-group.sos-search-field:focus-within {
    width: min(100%, var(--sos-search-expanded));
}

.sos-search-field__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sos-title-blue);
    flex-shrink: 0;
}

.sos-search-field__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sos-search-field__input {
    width: 0;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 0;
    font: inherit;
    font-size: 14px;
    color: #0f172a;
    background: transparent;
    outline: none;
    opacity: 0;
    transition: width .24s ease, opacity .18s ease;
}

.sos-search-field .form-control.sos-search-field__input {
    height: auto;
    border: 0 !important;
    border-radius: 999px;
    box-shadow: none !important;
    background: transparent !important;
    outline: 0;
}

.sos-search-field .input-group-btn {
    display: none;
}

.sos-search-field__input::placeholder {
    color: #64748b;
}

.sos-search-field:focus-within .sos-search-field__input {
    width: 100%;
    padding: 2px 0;
    opacity: 1;
}

.sos-tag-filter {
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.sos-crimes-page .tags-filter {
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.sos-crimes-page .tags-filter > i {
    display: none;
}

.sos-page-message {
    padding: 18px 24px 0;
    color: var(--sos-muted);
    font-size: 15px;
    line-height: 1.9;
    display: none;
}

.sos-supporters-section > .row {
    margin: 0;
}

.sos-supporters-section > .row > [class*="col-"] {
    float: none;
    width: 100%;
    padding: 0;
}

#ListSection {
    min-height: 220px;
}

.sos-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 24px;
}
@media (max-width: 768px) {
    .sos-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.sos-gallery-grid[data-view="list"] {
    grid-template-columns: 1fr;
    gap: 16px;
}

.sos-card {
    border: 1px solid var(--sos-line);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.88));
    box-shadow: 0 18px 42px rgba(15,23,42,.08);
}

.sos-gallery-grid[data-view="list"] .sos-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: 24px;
}

.sos-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111827;
    border: 0;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
}

.sos-gallery-grid[data-view="list"] .sos-thumb {
    width: 132px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(15,23,42,.12);
}

.sos-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sos-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.42)),
        linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 44%);
}

.sos-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(255,255,255,.24);
    z-index: 1;
    box-shadow: 0 18px 36px rgba(0,0,0,.28);
}

.sos-gallery-grid[data-view="list"] .sos-play {
    width: 42px;
    height: 42px;
}

.sos-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 24px solid white;
}

.sos-gallery-grid[data-view="list"] .sos-play::before {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 14px;
}

.sos-file-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 42px;
    z-index: 1;
}

.sos-content {
    padding: 18px;
}

.sos-gallery-grid[data-view="list"] .sos-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sos-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(248,250,252,.9);
    border: 1px solid var(--sos-line);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.sos-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sos-gold);
    box-shadow: 0 0 14px rgba(245,197,66,.65);
}

.sos-card h2 {
    margin: 14px 0 10px;
    font-size: 26px;
    line-height: 1.35;
    color: var(--sos-title-blue);
    font-weight: 900;
}

.sos-gallery-grid[data-view="list"] .sos-card h2 {
    margin: 10px 0 8px;
    font-size: 22px;
    line-height: 1.3;
}

.sos-summary {
    margin: 0 0 14px;
    color: var(--sos-muted);
    font-size: 15px;
    line-height: 1.95;
}

.sos-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
@media (max-width: 768px) {
    .sos-tags {
        padding:10px;        
    }
}

.sos-tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(248,250,252,.92);
    border: 1px solid var(--sos-line);
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.sos-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
}

.sos-btn--primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 12px 24px rgba(239,68,68,.20);
}

.sos-btn--ghost {
    background: rgba(255,255,255,.9);
    border: 1px solid var(--sos-line);
    color: var(--sos-title-blue);
}

.sos-empty-state {
    padding: 24px;
    color: var(--sos-muted);
    font-size: 15px;
    font-weight: 700;
}

.spacing-paging {
    margin: 10px 0 30px;
}

.select2-dropdown.increasezindex {
    z-index: 99999;
}

.sos-media-dialog.modal {
    padding: 20px !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.sos-media-dialog.modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.sos-media-dialog .modal-backdrop {
    opacity: 1 !important;
    background: rgba(15,23,42,.62);
    backdrop-filter: blur(8px);
}

.sos-media-dialog .modal-dialog {
    width: min(960px, 100%);
    max-width: 960px;
    margin: 0;
    transform: none !important;
}

.sos-media-dialog .modal-content {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid rgba(148,163,184,.18);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.9));
    box-shadow: 0 28px 70px rgba(15,23,42,.18);
}

.sos-media-dialog .modal-header {
    min-height: 0;
    padding: 0;
    border: 0;
}

.sos-media-dialog .modal-header .modal-title,
.sos-media-dialog .modal-header > div {
    display: none;
}

.sos-media-dialog .modal-header .close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--sos-title-blue);
    opacity: 1;
    text-shadow: none;
    box-shadow: 0 10px 24px rgba(15,23,42,.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
}

.sos-media-dialog .modal-header .close:hover,
.sos-media-dialog .modal-header .close:focus {
    color: #ef4444;
    background: #fff;
    opacity: 1;
    outline: 0;
}

.sos-media-dialog .modal-body {
    padding: 0;
    overflow: visible;
}

.sos-media-dialog .sos-popup-media {
    display: grid;
    gap: 14px;
    direction: @(SessionUtilities.CurrentLanguageID == (int)Enums.Language.Farsi ? "rtl" : "ltr");
    text-align: @(SessionUtilities.CurrentLanguageID == (int)Enums.Language.Farsi ? "right" : "left");
    color: var(--sos-text);
    font-family: "Vazirmatn", system-ui, sans-serif;
}

.sos-media-dialog .sos-popup-header {
    display: grid;
    gap: 10px;
    padding: 0 50px 0 0;
    background: transparent;
    border: 0;
}

.sos-media-dialog .sos-popup-date-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.sos-media-dialog .media-body__date {
    margin: 0;
    color: inherit;
}

.sos-media-dialog .sos-popup-title {
    margin: 0;
    color: var(--sos-title-blue);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
}

.sos-media-dialog .sos-popup-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sos-media-dialog .sos-popup-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--sos-line);
    background: rgba(248,250,252,.92);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.sos-media-dialog .sos-popup-download {
    margin-left: auto;
}

.sos-media-dialog .sos-popup-download a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--sos-title-blue);
    background: rgba(255,255,255,.92);
    border: 1px solid var(--sos-line);
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.sos-media-dialog .sos-popup-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    overflow: hidden;
    border-radius: 22px;
    background: #020617;
}

.sos-media-dialog .sos-popup-player,
.sos-media-dialog .sos-popup-player > div,
.sos-media-dialog .sos-popup-player .video-fluid {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

.sos-media-dialog .sos-popup-player iframe,
.sos-media-dialog .sos-popup-player video,
.sos-media-dialog .sos-popup-player img,
.sos-media-dialog .sos-popup-player object,
.sos-media-dialog .sos-popup-player embed {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    border: 0;
    display: block;
}

.sos-media-dialog .sos-popup-frame .share-buttons {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 3;
    width: auto;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 10px 24px rgba(15,23,42,.18);
}

.sos-media-dialog .sos-popup-frame .media-controls a {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--sos-title-blue);
    box-shadow: 0 10px 24px rgba(15,23,42,.16);
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sos-media-dialog .sos-popup-frame .control-previous {
    left: 14px;
}

.sos-media-dialog .sos-popup-frame .control-next {
    right: 14px;
}

.sos-media-dialog .sos-popup-frame .media-controls a[style*="display: none"] {
    display: none !important;
}

.sos-media-dialog .sos-popup-description {
    margin: 0;
    color: var(--sos-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.crime-video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 5000;
}

.crime-video-modal.is-open {
    display: flex;
}

.crime-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.68);
    backdrop-filter: blur(8px);
}

.crime-video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid rgba(148,163,184,.18);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.9));
    box-shadow: 0 28px 70px rgba(15,23,42,.18);
}

.crime-video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: #020617;
}

.crime-video-modal__content {
    width: 100%;
    height: 100%;
}

.crime-video-modal__content iframe,
.crime-video-modal__content video,
.crime-video-modal__content audio {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.crime-video-modal__content audio {
    position: absolute;
    inset: 0;
    width: calc(100% - 48px);
    height: auto;
    margin: auto;
}

.crime-video-modal__close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--sos-title-blue);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15,23,42,.14);
}

.crime-video-modal__title {
    font-size: 18px;
    font-weight: 900;
    color: var(--sos-title-blue);
}

.crime-video-modal__warning[hidden] {
    display: none;
}

.crime-video-modal__warning {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2,6,23,.74);
    backdrop-filter: blur(6px);
}

.crime-video-modal__warning-dialog {
    width: min(420px, 100%);
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 60px rgba(15,23,42,.28);
    text-align: center;
}

.crime-video-modal__warning-message {
    margin: 0;
    color: #dc2626 !important;
    font-size: 21.6px;
    line-height: 1.35;
    font-weight: 900 !important;
    text-align: center;
}

.sos-lang-en .crime-video-modal__warning-message {
    direction: ltr;
    unicode-bidi: plaintext;
}

.crime-video-modal__warning-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.crime-video-modal__warning-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 48px;
    border: 0 !important;
    border-radius: 14px;
    padding: 12px 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 800 !important;
    color: #fff !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    text-shadow: none;
}

.crime-video-modal__warning-button:hover {
    transform: translateY(-1px);
}

.crime-video-modal__warning-button--continue {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(34,197,94,.22) !important;
}

.crime-video-modal__warning-button--cancel {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(239,68,68,.22) !important;
}

body.has-modal-open {
    overflow: hidden;
}

.sos-media-dialog .sos-popup-description:empty {
    display: none;
}

.sos-media-dialog .thumbnail,
.sos-media-dialog .media-content {
    max-width: 100% !important;
}

.smaller{
    font-size:13px;
}

@@media (max-width: 900px) {
    .sos-crimes-page {
        margin: -10px;
        padding: 12px 0 28px;
    }

    .sos-shell {
        width: min(100%, calc(100% - 16px));
        border-radius: 22px;
    }

    .sos-hero,
    .sos-toolbar {
        grid-template-columns: 1fr;
    }

    .sos-toolbar {
        gap: 12px;
    }

    .sos-hero h1 {
        font-size: clamp(20px, 5.2vw, 28px);
        letter-spacing: 1px;
    }

    .sos-hero-actions {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 6px;
    }

    .sos-back-link {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 8px;
        font-size: 10px;
    }

    .sos-submit-video-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 8px;
        font-size: 10px;
    }

    .sos-search-panel {
        justify-content: stretch;
        width: 100%;
        min-width: 0;
    }

        .sos-search-field,
        .sos-search-field:focus-within,
        .sos-search-panel .input-group.sos-search-field,
        .sos-search-panel .input-group.sos-search-field:focus-within {
            width: 100%;
            min-width: 0;
        }

            .sos-search-field .sos-search-field__input {
                width: 100%;
                padding: 2px 0;
                opacity: 1;
            }

    .sos-gallery-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

        .sos-gallery-grid[data-view="list"] .sos-card {
            grid-template-columns: 108px minmax(0, 1fr);
            gap: 12px;
            padding: 14px;
        }

        .sos-gallery-grid[data-view="list"] .sos-thumb {
            width: 108px;
            border-radius: 18px;
        }

    .sos-media-dialog.modal {
        padding: 12px !important;
    }

        .sos-media-dialog.modal.in {
            align-items: flex-start;
        }

    .sos-media-dialog .modal-content {
        padding: 12px;
        border-radius: 22px;
    }

    .sos-media-dialog .sos-popup-header {
        padding-right: 48px;
    }

    .sos-media-dialog .sos-popup-frame {
        min-height: 190px;
        border-radius: 18px;
    }

    .crime-video-modal__warning-dialog {
        padding: 22px 18px;
    }

    .crime-video-modal__warning-message {
        font-size: 17px;
    }
    
}

@media (max-width: 768px) {
    /*.sos-back-link, .sos-submit-video-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        justify-content: center;
        white-space: nowrap;
    }*/

    /**/
    .sos-hero {
        grid-template-columns: 1fr;
    }

        .sos-hero h1 {
            font-size: clamp(18px, 5.2vw, 28px);
            line-height: 1.08;
        }

    .sos-hero-actions {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        /*justify-content: space-between;*/
    }

    .sort-field {
        min-width: unset;
    }

    .sort-select {
        min-height: 38px;
        /*width: 112px;*/
        /*min-width: 112px;*/
        padding-inline: 10px 34px;
        /* font-size: 10px;*/
    }

    .submit-video-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        justify-content: center;
        white-space: nowrap;
        box-shadow: 0 10px 20px rgba(239,68,68,.2);
    }

    .back-link {
        width: 38px;
        min-height: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .submit-video-btn {
        min-height: 38px;
        padding: 0 8px;
        font-size: 9px;
        line-height: 1;
    }

    .sos-view-switch {
        width: 78px;
        flex: 0 0 78px;
        height: 38px;
    }

    .sos-toolbar {
        padding: 14px 12px 12px;
    }

    /**/
}
