/* Shandiz R21F1 | Second section ONLY. CSS owns all visual geometry.
   JavaScript does not measure rendered content and does not write pixel widths,
   heights, or fit decisions back into this section. fullPage remains responsible
   for section-level navigation; this stylesheet owns the content composition. */
#fullpage.shandiz-home #shandiz-home-news.shandiz-news-system {
    --news-column-gap: 24px;
    --news-row-gap: 14px;
    --news-heading-gap: 12px;
    --news-side-gutter: 60px;
    --news-pager-height: 34px;
    --news-pager-gap: 12px;
    --events-padding: 10px;
    --events-gap: 12px;
    --event-control-height: 16px;
    --event-image-width-units: 25;
    --event-image-height-units: 34;
    --event-image-ratio: var(--event-image-width-units) / var(--event-image-height-units);
    --event-control-gap: 4px;
    --event-thumb-gap: 4px;
    --news-thumb-size: 56px;
    --news-date-width: 64px;
    --news-archive-space: 140px;
    color: #fff;
    direction: rtl;
}
#fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .shandiz-news-container {
    width: min(1400px, calc(100% - (2 * var(--news-side-gutter))));
    max-width: 1400px;
    min-width: 0;
    padding: 0;
    margin-inline: auto;
}
#shandiz-home-news.shandiz-news-system .shandiz-news-grid,
#shandiz-home-news.shandiz-news-system .shandiz-news-pair {
    display: grid;
    min-width: 0;
    gap: var(--news-column-gap);
}
#shandiz-home-news.shandiz-news-system .shandiz-news-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: var(--news-row-gap);
}
#shandiz-home-news.shandiz-news-system .shandiz-news-grid > *,
#shandiz-home-news.shandiz-news-system .shandiz-news-pair > * { min-width: 0; }
#shandiz-home-news.shandiz-news-system .shandiz-news-pair { grid-template-columns: minmax(0, 1fr); }
#shandiz-home-news.shandiz-news-system .shandiz-notices-group { grid-column: 1 / -1; }
#shandiz-home-news.shandiz-news-system .shandiz-events-group { min-width: 0; }

/* Desktop geometry is a deterministic function of the viewport itself. No
   post-render measurements participate in these values. */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system {
        --news-content-width: min(1400px, calc(100vw - 120px), calc(100dvh + 493px));
        --news-desktop-height-limit: 370px;
        --news-base-feature-size: clamp(280px, min(calc(100dvh - 300px), calc(33.5vw - 18px)), var(--news-desktop-height-limit));
        --news-event-rail-width: clamp(52px, calc(8dvh + 4px), 88px);
        /* The poster's 25:34 frame and the square feature share the same
           desktop height budget. Derive the event column from the poster,
           so its full image stays aligned without empty bottom space. */
        --events-padding: 0px;
        --news-event-poster-width: min(
            calc(var(--news-desktop-height-limit) * var(--event-image-width-units) / var(--event-image-height-units)),
            calc(clamp(300px, calc(36dvh + 100px), 438px) - 2 * var(--events-padding) - var(--events-gap) - var(--news-event-rail-width))
        );
        --news-events-width: calc(var(--news-event-poster-width) + 2 * var(--events-padding) + var(--events-gap) + var(--news-event-rail-width));
        --news-event-frame-height: calc(var(--news-event-poster-width) * var(--event-image-height-units) / var(--event-image-width-units) + 2 * var(--events-padding));
        --news-feature-size: max(var(--news-base-feature-size), var(--news-event-frame-height));
        --news-side-gutter: 60px;
    }
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .shandiz-news-container {
        width: var(--news-content-width);
        max-width: var(--news-content-width);
    }
    #shandiz-home-news.shandiz-news-system .shandiz-news-grid {
        grid-template-columns: minmax(0, 1fr) var(--news-events-width);
        align-items: stretch;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-news-pair {
        grid-template-columns: var(--news-feature-size) minmax(0, 1fr);
        align-items: stretch;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-feature-pane,
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane { height: var(--news-feature-size); }
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .DnnModule,
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .DNNContainer_noTitle,
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .DNNModuleContent,
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane [id$="_ContentPane"] { height: 100%; }
    /* Keep pagination inside the fixed list-pane height. Previously the list
       consumed 100% and the 34px pager overflowed into the notices heading. */
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .DNNModuleContent {
        display: grid;
        grid-template-rows: minmax(0, 1fr) var(--news-pager-height);
        row-gap: var(--news-pager-gap);
        min-height: 0;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .news-list__container {
        grid-row: 1;
        height: auto;
        min-height: 0;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .shandiz-news-pagination {
        grid-row: 2;
        align-self: end;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-list-pane .DNNModuleContent > .text-center:empty {
        display: none;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-events-group #wrap {
        height: var(--news-feature-size);
        grid-template-columns: var(--news-event-rail-width) minmax(0, 1fr);
    }
}
@media (min-width: 680px) and (max-width: 1199px) {
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system { --news-side-gutter: 40px; }
    #shandiz-home-news.shandiz-news-system .shandiz-news-pair {
        grid-template-columns: minmax(260px, 1fr) minmax(0, 1.07fr);
        align-items: stretch;
    }
    #shandiz-home-news.shandiz-news-system .shandiz-events-group {
        width: min(440px, 100%);
        justify-self: center;
    }
}
@media (max-width: 679px) {
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system {
        --news-side-gutter: 20px;
        --news-archive-space: 118px;
        padding-top: 24px;
        padding-bottom: 24px;
    }
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .shandiz-news-container {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
    #shandiz-home-news.shandiz-news-system .shandiz-news-pair { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    #shandiz-home-news.shandiz-news-system .shandiz-events-group { width: 100%; }
}
/* R24 container architecture: module titles and Module Header actions are
   owned by the dedicated ShandizSectionHeader DNN container. news.css no
   longer overrides the shared Rodiba inner container or positions archive
   links absolutely. */
#shandiz-home-news.shandiz-news-system [id$="TopNewsPane"],
#shandiz-home-news.shandiz-news-system [id$="SlickVerticalPan"],
#shandiz-home-news.shandiz-news-system [id$="SlickArticlePane"] { position: relative; }

/* Feature picture: fixed square regardless of captions, image or breakpoint. */
#shandiz-home-news.shandiz-news-system .last-news__container {
    position: relative; display: block; width: 100%; max-width: 100%; height: auto;
    aspect-ratio: 1 / 1; margin: 0; padding: 0; overflow: hidden; background: #111;
}
#shandiz-home-news.shandiz-news-system .last-news__container > img {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    max-width: none; max-height: none; object-fit: cover; object-position: center; margin: 0;
}
#shandiz-home-news.shandiz-news-system .last-news__container .content,
#shandiz-home-news.shandiz-news-system .last-news__container:hover .content {
    position: absolute; inset: auto 0 -1px; display: grid; grid-template-columns: fit-content(74px) minmax(0, 1fr);
    gap: 12px; align-items: center; width: 100%; height: auto; min-height: 92px;
    padding: 12px; margin: 0; box-sizing: border-box; background: rgba(0,0,0,.83);
    z-index: 2; transform: none;
}
#shandiz-home-news.shandiz-news-system .last-news__container .content > div {
    position: static; width: auto; min-width: 0; min-height: 64px; padding: 6px 4px; margin: 0; box-sizing: border-box;
    background: #b0081f; color: #fff; font-size: 11px; text-align: center; line-height: 1.65;
}
#shandiz-home-news.shandiz-news-system .shandiz-news-date-line { display: block; white-space: nowrap; }
#shandiz-home-news.shandiz-news-system .last-news__container .content > a {
    position: static; display: block; padding: 0; margin: 0; min-width: 0; color: #fff;
}
#shandiz-home-news.shandiz-news-system .last-news__container .content p {
    padding: 0; margin: 0; line-height: 1.85; font-size: 14px; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; overflow-wrap: anywhere;
}
/* Paged list: native grid, no Slick track, no cloned rows or measured story heights. */
#shandiz-home-news.shandiz-news-system .news-list__container {
    list-style: none; width: 100%; margin: 0; padding: 0; position: relative;
    display: grid; grid-auto-rows: minmax(88px, auto); gap: 0;
}
#shandiz-home-news.shandiz-news-system .news-list__container {
    grid-template-rows: repeat(var(--news-visible-count, 5), minmax(0, 1fr));
    grid-auto-rows: auto;
}
@media (min-width: 680px) {
    #shandiz-home-news.shandiz-news-system .news-list__container { height: 100%; }
}
#shandiz-home-news.shandiz-news-system .news-list__container > li {
    display: block; position: relative; min-width: 0; min-height: 0; height: auto;
    margin: 0; padding: 8px 0 0; border: 0; box-sizing: border-box; list-style: none;
}
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    /* The first card starts at the top, so its track follows its actual
       content; the remaining visible cards share the rest of the height. */
    #shandiz-home-news.shandiz-news-system .news-list__container {
        grid-template-rows: minmax(var(--news-thumb-size), max-content);
        grid-auto-rows: minmax(0, 1fr);
    }
    #shandiz-home-news.shandiz-news-system .news-list__container > li:first-child {
        padding-top: 0;
    }
    #shandiz-home-news.shandiz-news-system .news-list__container > li:first-child > .row {
        align-items: start;
        height: auto;
    }
    #shandiz-home-news.shandiz-news-system .news-list__container > li:first-child > .row > div:last-child {
        align-self: start;
    }
}
#shandiz-home-news.shandiz-news-system .news-list__container > li::before {
    content: ""; position: absolute; bottom: 0; right: calc(var(--news-thumb-size) + var(--news-date-width)); width: calc(100% - var(--news-thumb-size) - var(--news-date-width)); height: 2px; background: rgba(110,110,110,.42);
}
/* The red underline starts where the thumbnail/date underline ends and
   grows over the gray line on hover or keyboard focus. */
#shandiz-home-news.shandiz-news-system .news-list__container > li::after {
    content: ""; position: absolute; bottom: 0;
    right: calc(var(--news-thumb-size) + var(--news-date-width));
    width: 0; height: 2px; background: #b0081f; z-index: 3;
    pointer-events: none; transition: width .3s ease;
}
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    /* The first grid cell may be taller than its 56px thumb. Both segments
       use the thumb's lower edge, including the hover/focus segment. */
    #shandiz-home-news.shandiz-news-system .news-list__container > li:first-child::before,
    #shandiz-home-news.shandiz-news-system .news-list__container > li:first-child::after {
        bottom: calc(100% - var(--news-thumb-size));
    }
}
#shandiz-home-news.shandiz-news-system .news-list__container > li:hover::after,
#shandiz-home-news.shandiz-news-system .news-list__container > li:focus-within::after {
    width: calc(100% - var(--news-thumb-size) - var(--news-date-width));
}
#shandiz-home-news.shandiz-news-system .news-list__container > li > .row {
    display: grid; grid-template-columns: calc(var(--news-thumb-size) + var(--news-date-width)) minmax(0,1fr);
    height: 100%; width: 100%; align-items: end; column-gap: 12px; padding: 0; margin: 0;
}
#shandiz-home-news.shandiz-news-system .news-list__container .row::before,
#shandiz-home-news.shandiz-news-system .news-list__container .row::after { display: none; }
#shandiz-home-news.shandiz-news-system .news-list__container .row > div {
    width: auto; min-width: 0; float: none; padding: 0; margin: 0;
}
#shandiz-home-news.shandiz-news-system .news-list__container .red-border {
    position: relative; display: grid;
    grid-template-columns: var(--news-thumb-size) var(--news-date-width);
    grid-template-rows: minmax(0, 1fr);
    width: 100%; height: var(--news-thumb-size); padding: 0; margin: 0;
    /* R51: The underline belongs to the frame, outside its image area. */
    box-sizing: border-box; border-bottom: 2px solid #b0081f; overflow: hidden;
}
#shandiz-home-news.shandiz-news-system .news-list__container .red-border::after {
    content: none;
}
#shandiz-home-news.shandiz-news-system .news-list__container .red-border > img {
    display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; aspect-ratio: 1 / 1;
    object-fit: cover; object-position: center; margin: 0; padding: 0;
}
#shandiz-home-news.shandiz-news-system .news-list__container .release-date {
    position: static; display: flex; align-items: center; justify-content: center; width: 100%;
    height: 100%; padding: 2px; margin: 0; background: #474b52; color: #fff; box-sizing: border-box;
}
#shandiz-home-news.shandiz-news-system .news-list__container .release-date > span {
    display: block; padding: 0; margin: 0; font-size: 10px; line-height: 1.5; text-align: center;
}
#shandiz-home-news.shandiz-news-system .news-list__container .row > div:last-child { align-self: center; }
#shandiz-home-news.shandiz-news-system .news-list__container .row > div:last-child a {
    display: block; min-width: 0; min-height: 32px; padding: 0; color: #c8c8c8;
}
#shandiz-home-news.shandiz-news-system .news-list__container .row p {
    height: auto; max-height: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
    transition: color .3s ease;
}
#shandiz-home-news.shandiz-news-system .news-list__container > li:hover .row p,
#shandiz-home-news.shandiz-news-system .news-list__container > li:focus-within .row p { color: #fff; }
#shandiz-home-news.shandiz-news-system .news-list__container > li:hover .row a,
#shandiz-home-news.shandiz-news-system .news-list__container > li:focus-within .row a { text-decoration: none; }
#shandiz-home-news.shandiz-news-system .shandiz-news-pagination {
    display: flex; direction: rtl; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px; min-height: var(--news-pager-height); padding: 2px 0 0; margin: 0; box-sizing: border-box;
}
#shandiz-home-news.shandiz-news-system .shandiz-news-pagination button {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border: 1px solid #888; border-radius: 50%; background: transparent; color: #fff; font: inherit; font-size: 12px;
    margin: 0; padding: 0; cursor: pointer; box-sizing: border-box;
}
#shandiz-home-news.shandiz-news-system .shandiz-news-pagination button[aria-current="page"] { background: #fff; color: #222; }
/* Native event rail: 3 complete portrait thumbnails. The same 25:34 ratio
   applies to the poster AND thumbnail boxes at every width. */
#shandiz-home-news.shandiz-news-system #wrap {
    display: grid; grid-template-columns: clamp(52px, 20%, 82px) minmax(0,1fr);
    direction: rtl; gap: var(--events-gap); align-items: start; min-width: 0;
    width: 100%; height: auto; margin: 0; padding: var(--events-padding);
    box-sizing: border-box; background: #111;
}
#shandiz-home-news.shandiz-news-system #wrap::before,
#shandiz-home-news.shandiz-news-system #wrap::after { display: none; }
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    #shandiz-home-news.shandiz-news-system #wrap {
        grid-template-columns: var(--news-event-rail-width) minmax(0,1fr);
        /* Paint the black frame outside the box to preserve shared row height. */
        box-shadow: 0 0 0 10px #111;
    }
}
#shandiz-home-news.shandiz-news-system #slider-news {
    display: block; list-style: none; min-width: 0; width: 100%; height: auto;
    padding: 0; margin: 0; float: none; contain: none;
}
#shandiz-home-news.shandiz-news-system #slider-news > li {
    display: block; list-style: none; position: relative; width: 100%; height: auto;
    aspect-ratio: var(--event-image-ratio); margin: 0; padding: 0; overflow: hidden; background: #080808;
}
#shandiz-home-news.shandiz-news-system #slider-news > li > a {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; color: #fff;
}
#shandiz-home-news.shandiz-news-system #slider-news .picture-news {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0;
}
#shandiz-home-news.shandiz-news-system #slider-news .picture-news img {
    display: block; width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: contain; object-position: center; margin: 0; padding: 0;
}
#shandiz-home-news.shandiz-news-system #slider-news .description {
    position: absolute;
    inset: auto 0 -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    padding: 24px 8px 8px;
    margin: 0;
    overflow: visible;
    background: rgba(0,0,0,.88);
    box-sizing: border-box;
    color: #fff;
    z-index: 2;
}
#shandiz-home-news.shandiz-news-system #slider-news .description .date {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 16px);
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 4px 16px;
    box-sizing: border-box;
    overflow: hidden;
    background: #b0081f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
}
#shandiz-home-news.shandiz-news-system #slider-news .description h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    width: 100%;
    max-height: 38px;
    padding: 0 8px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    overflow-wrap: anywhere;
}
#shandiz-home-news.shandiz-news-system .events-slider {
    width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; padding: 0; float: none;
    display: grid; grid-template-rows: var(--event-control-height) auto var(--event-control-height);
    row-gap: var(--event-control-gap); align-self: stretch;
}
#shandiz-home-news.shandiz-news-system .events-slider .arrows__box { display: contents; }
#shandiz-home-news.shandiz-news-system .events-slider .arrow {
    grid-column: 1; position: static; inset: auto; display: flex; align-items: center; justify-content: center;
    width: 100%; height: var(--event-control-height); min-height: 0; margin: 0; padding: 0;
    background: #b0081f; color: #fff; border: 0; border-radius: 0; font-size: 14px; cursor: pointer; box-sizing: border-box;
}
#shandiz-home-news.shandiz-news-system .events-slider .arrow--next { grid-row: 1; }
#shandiz-home-news.shandiz-news-system .events-slider .arrow--prev { grid-row: 3; }
#shandiz-home-news.shandiz-news-system .events-slider .arrow:disabled { opacity: .4; cursor: default; }
#shandiz-home-news.shandiz-news-system .slider-nav-news {
    grid-row: 2; grid-column: 1; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: var(--event-thumb-gap); width: 100%; height: auto; min-width: 0; padding: 0; margin: 0; overflow: hidden;
}
#shandiz-home-news.shandiz-news-system .shandiz-event-choice {
    display: block; position: relative; width: 100%; height: auto; max-height: 100%; aspect-ratio: var(--event-image-ratio); align-self: center; min-height: 0;
    min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; overflow: hidden;
    background: #080808; cursor: pointer; box-sizing: border-box;
}
#shandiz-home-news.shandiz-news-system .shandiz-event-choice > img {
    display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; padding: 0; margin: 0; border: 0;
}
/* R51: Clip the selected image inside a real border, not a separate overlay.
   border-box preserves the button's outer dimensions and the rail's gaps. */
#shandiz-home-news.shandiz-news-system .shandiz-event-choice[aria-current="true"] {
    border: 2px solid var(--shandiz-red);
}
/* R47F2: Let the grid stretch each button across its track; the
   absolutely positioned image then covers the full button box. */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    #shandiz-home-news.shandiz-news-system .events-slider {
        /* R48: The two control gaps and two thumbnail gaps share one value. */
        --event-thumb-gap: 15px;
        --event-control-gap: var(--event-thumb-gap);
    }
    #shandiz-home-news.shandiz-news-system .events-slider .slider-nav-news {
        /* R47F3: This grid owns the thumbnail height; release the legacy 83px cap. */
        --event-thumb-max-height: none;
    }
    #shandiz-home-news.shandiz-news-system .events-slider .shandiz-event-choice {
        height: auto;
        aspect-ratio: auto;
        align-self: stretch;
    }
    #shandiz-home-news.shandiz-news-system .events-slider .shandiz-event-choice > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
#shandiz-home-news.shandiz-news-system #slider-news { touch-action: pan-y; }
#shandiz-home-news.shandiz-news-system .shandiz-event-active { animation: shandiz-event-fade .18s ease-out; }
@keyframes shandiz-event-fade { from { opacity: .65; } to { opacity: 1; } }
/* Notices keep the original Hypermedia markup and fixed card geometry. R27
   preserves the date and title in the resting state, then moves only the white
   description panel from below the fixed body viewport to its final position.
   This is a real translateY slide-up; card and section heights never change. */
#fullpage.shandiz-home #shandiz-home-news.shandiz-news-system [id$="SlickArticlePane"] { padding-bottom: 0; }
#shandiz-home-news.shandiz-news-system .notifications__container { margin: 0 !important; padding: 0; min-width: 0; }
#shandiz-home-news.shandiz-news-system .notification-items {
    --notice-card-height: 96px;
    --notice-date-height: 32px;
    --notice-body-height: 64px;
    position: relative; top: auto; margin: 0; padding: 0; z-index: 1;
}
#shandiz-home-news.shandiz-news-system .notification-items.slick-initialized { padding-bottom: 40px; }
#shandiz-home-news.shandiz-news-system .notification-items .slick-list { padding: 0; margin: 0; overflow: hidden; }
#shandiz-home-news.shandiz-news-system .notification-items .slick-track { display: flex; align-items: stretch; }
#shandiz-home-news.shandiz-news-system .notification-items .slick-slide {
    margin: 0; padding: 0 8px; height: auto; perspective: 450px;
}
#shandiz-home-news.shandiz-news-system .notification-items .slick-slide > div,
#shandiz-home-news.shandiz-news-system .notification-items .x,
#shandiz-home-news.shandiz-news-system .notification-items .x > a {
    height: var(--notice-card-height);
    min-height: var(--notice-card-height);
    max-height: var(--notice-card-height);
}
#shandiz-home-news.shandiz-news-system .notification-items .x > a {
    display: block; position: relative; overflow: hidden; overflow: clip; isolation: isolate;
    color: #fff; background: #141414; text-decoration: none;
    perspective: none; transform-style: flat;
}
#shandiz-home-news.shandiz-news-system .notification-items .notification-content,
#shandiz-home-news.shandiz-news-system .notification-items .notification-content:hover {
    position: absolute; inset: 0; display: block; width: 100%;
    height: var(--notice-card-height); min-height: var(--notice-card-height); max-height: var(--notice-card-height);
    margin: 0; padding: 0; box-sizing: border-box; z-index: 2; pointer-events: none;
    transform: none; transform-style: flat; -webkit-transform-style: flat;
}
#shandiz-home-news.shandiz-news-system .notification-items .notification-date {
    position: absolute; inset: 0 0 auto; z-index: 4;
    display: flex; align-items: center; gap: 5px;
    width: 100%; height: var(--notice-date-height); min-height: var(--notice-date-height); max-height: var(--notice-date-height);
    padding: 5px 8px; margin: 0; box-sizing: border-box;
    background: #b0081f; color: #fff; white-space: nowrap; overflow: hidden;
}
#shandiz-home-news.shandiz-news-system .notification-items .notification-date span {
    min-width: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; line-height: 20px;
}
#shandiz-home-news.shandiz-news-system .notification-items .notification-date i { flex: 0 0 auto; padding: 0; }
#fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .notification-items .notification-title {
    position: absolute; inset: var(--notice-date-height) 0 auto; z-index: 1;
    display: flex; align-items: center; width: 100%;
    height: var(--notice-body-height); min-height: var(--notice-body-height); max-height: var(--notice-body-height);
    padding: 5px 10px; margin: 0; box-sizing: border-box; overflow: hidden;
    background: #141414; color: #fff; transform: none; opacity: 1; transition: none;
}
#fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .notification-items .notification-title p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    width: 100%; max-height: 100%; margin: 0; padding: 0;
    color: #fff; line-height: 18px; font-size: 12px; overflow: hidden; overflow-wrap: anywhere;
}
#shandiz-home-news.shandiz-news-system .notification-items .notification-content > p,
#shandiz-home-news.shandiz-news-system .notification-items .notification-content:hover > p {
    position: absolute; inset: var(--notice-date-height) 0 auto;
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    width: 100%; height: var(--notice-body-height); min-height: var(--notice-body-height); max-height: var(--notice-body-height);
    margin: 0; padding: 5px 10px; box-sizing: border-box;
    line-height: 18px; font-size: 12px; overflow: hidden; overflow-wrap: anywhere;
    background: #fff; color: #111; opacity: 1; visibility: visible;
    pointer-events: none; z-index: 3; backface-visibility: hidden;
    transform: translate3d(0,100%,0);
    transition: transform 420ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
#shandiz-home-news.shandiz-news-system .notification-items .x > a:hover .notification-content > p,
#shandiz-home-news.shandiz-news-system .notification-items .x > a:focus .notification-content > p,
#shandiz-home-news.shandiz-news-system .notification-items .x > a:focus-visible .notification-content > p {
    transform: translate3d(0,0,0);
}
#shandiz-home-news.shandiz-news-system .notification-items .slick-arrow {
    position: absolute; top: auto; bottom: 0; display: block; width: 32px; height: 32px;
    padding: 0; margin: 0; border: 1px solid #888; border-radius: 50%; color: #fff; background: #252525;
    font-size: 0; z-index: 3;
}
#shandiz-home-news.shandiz-news-system .notification-items .slick-prev { right: calc(50% + 6px); left: auto; }
#shandiz-home-news.shandiz-news-system .notification-items .slick-next { left: calc(50% + 6px); right: auto; }
#shandiz-home-news.shandiz-news-system .notification-items .slick-arrow::before {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; margin: 0; padding: 0; font-size: 14px; color: #fff; border-radius: inherit;
}
#shandiz-home-news.shandiz-news-system .notification-items .slick-disabled { opacity: .4; }
#shandiz-home-news.shandiz-news-system .notification-items .slick-hidden { display: none !important; }
/* Short desktop windows use a compact typography preset selected by CSS only. */
@media (min-width: 1200px) and (max-height: 700px) and (hover: hover) and (pointer: fine) {
    #shandiz-home-news.shandiz-news-system .news-list__container .row p { -webkit-line-clamp: 3; line-height: 1.5; }
    #shandiz-home-news.shandiz-news-system .last-news__container .content,
    #shandiz-home-news.shandiz-news-system .last-news__container:hover .content {
        grid-template-columns: fit-content(64px) minmax(0,1fr); gap: 8px; min-height: 80px; padding: 8px;
    }
    #shandiz-home-news.shandiz-news-system .last-news__container .content > div { min-height: 60px; }
    #shandiz-home-news.shandiz-news-system .last-news__container .content p { font-size: 13px; line-height: 1.7; }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide > div,
    #shandiz-home-news.shandiz-news-system .notification-items .x,
    #shandiz-home-news.shandiz-news-system .notification-items .x > a { height: 96px; }
}
#shandiz-home-news.shandiz-news-system [hidden] { display: none !important; }
#shandiz-home-news.shandiz-news-system .shandiz-news-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
#shandiz-home-news.shandiz-news-system [data-image-state="failed"] { visibility: hidden; }
#shandiz-home-news.shandiz-news-system a:focus-visible,
#shandiz-home-news.shandiz-news-system button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
@media (max-width: 679px) {
    #shandiz-home-news.shandiz-news-system .last-news__container { max-width: 520px; margin-inline: auto; }
}
/* No-JS/editor fallback: no data is hidden and images keep their ratios. */
#shandiz-home-news.shandiz-news-system:not([data-news-ready]) .events-slider { display: none; }
#shandiz-home-news.shandiz-news-system:not([data-news-ready]) #wrap { grid-template-columns: minmax(0,1fr); }
#shandiz-home-news.shandiz-news-system:not([data-news-ready]) #slider-news > li { max-width: 340px; margin: 0 auto 20px; }
@media (max-width: 679px) {
    #shandiz-home-news.shandiz-news-system .last-news__container .content { gap: 8px; padding: 10px; }
    #shandiz-home-news.shandiz-news-system .last-news__container .content p { font-size: 13px; }
    #shandiz-home-news.shandiz-news-system .notification-items {
        --notice-card-height: 114px;
        --notice-body-height: 82px;
    }
    #shandiz-home-news.shandiz-news-system .notification-items.slick-initialized {
        padding-bottom: 48px;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-arrow {
        bottom: 2px;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-prev {
        left: calc(50% + 4px);
        right: auto;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-next {
        left: calc(50% - 44px);
        right: auto;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-prev::before,
    #shandiz-home-news.shandiz-news-system .notification-items .slick-next::before {
        font-family: FontAwesome;
        font-size: 25px;
        color: #b0081f;
        opacity: 1;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-prev::before { content: "\f105"; }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-next::before { content: "\f104"; }
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .notification-items .notification-title p { font-size: 14px; line-height: 23.8px; }
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content > p,
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content:hover > p { font-size: 13px; line-height: 22px; }
}

/* R22 visual refinement: keep the pager and the notices header visually separate
   without changing section geometry ownership or JavaScript sizing. */
#shandiz-home-news.shandiz-news-system .shandiz-notices-group {
    margin-top: 2px;
}
#shandiz-home-news.shandiz-news-system .events-slider .arrow:hover:not(:disabled),
#shandiz-home-news.shandiz-news-system .events-slider .arrow:focus-visible {
    background: #c10a26;
}


@media (prefers-reduced-motion: reduce) {
    #shandiz-home-news.shandiz-news-system .shandiz-event-active { animation: none; }
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content > p { transition: none; }
}

/* R21 first-paint stability: before controllers/plugins finish their own
   initialization, reserve the same first-page footprint that will remain after
   initialization. This prevents the raw server-rendered lists from briefly
   expanding the section and then collapsing it. */
#shandiz-home-news.shandiz-news-system:not([data-news-ready]) .news-list__container > li:nth-child(n+6),
#shandiz-home-news.shandiz-news-system:not([data-news-ready]) #slider-news > li:nth-child(n+2) {
    display: none !important;
}
#shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 96px;
    overflow: hidden;
}
#shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized) > * {
    min-width: 0;
    height: 96px;
}
@media (min-width: 1200px) and (max-height: 759px) {
    #shandiz-home-news.shandiz-news-system:not([data-news-ready]) .news-list__container > li:nth-child(n+5) {
        display: none !important;
    }
}
@media (min-width: 680px) and (max-width: 1199px) {
    #shandiz-home-news.shandiz-news-system:not([data-news-ready]) .news-list__container > li:nth-child(n+5) {
        display: none !important;
    }
}
@media (max-width: 679px) {
    #shandiz-home-news.shandiz-news-system:not([data-news-ready]) .news-list__container > li:nth-child(n+4) {
        display: none !important;
    }
    #shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized) {
        grid-template-columns: minmax(0, 1fr);
        height: 114px;
    }
    #shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized) > * {
        height: 114px;
    }
    #shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized) > *:nth-child(n+2) {
        display: none !important;
    }
}

/* R31 | Two-line resting cards with upward expansion over the module header.
   The card row has a 104px footprint, with 30px below the module heading. In the resting state the
   red date and black title fill that footprint. On hover/focus the existing
   date+summary block moves 60px upward while the black title remains anchored
   at the bottom. The expanded content is intentionally allowed to overlap the
   dedicated "اطلاعیه ها" header; no empty 155px reservation is kept in flow. */
#shandiz-home-news.shandiz-news-system .shandiz-notices-group .shandiz-module-header {
    --shandiz-module-header-gap: 30px;
    overflow: visible;
}
#shandiz-home-news.shandiz-news-system .shandiz-notices-group .shandiz-module-header__title,
#shandiz-home-news.shandiz-news-system .shandiz-notices-group .shandiz-module-header__rule,
#shandiz-home-news.shandiz-news-system .shandiz-notices-group .shandiz-module-header__content > .linkArchive {
    position: relative;
    z-index: 1;
}
#shandiz-home-news.shandiz-news-system .shandiz-notices-group .shandiz-module-header__content > .DNNModuleContent {
    position: relative;
    z-index: 2;
    overflow: visible;
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    #shandiz-home-news.shandiz-news-system .notification-items {
        --notice-card-height: 104px;
        --notice-date-height: 32px;
        --notice-detail-height: 60px;
        --notice-title-height: 72px;
        position: relative;
        height: var(--notice-card-height);
        min-height: var(--notice-card-height);
        max-height: var(--notice-card-height);
        overflow: visible;
        z-index: 4;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-list,
    #shandiz-home-news.shandiz-news-system .notification-items .slick-track,
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide,
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide > div,
    #shandiz-home-news.shandiz-news-system .notification-items .x,
    #shandiz-home-news.shandiz-news-system .notification-items .x > a {
        height: var(--notice-card-height) !important;
        min-height: var(--notice-card-height) !important;
        max-height: var(--notice-card-height) !important;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-list {
        overflow: visible;
        clip-path: inset(-64px 0 0 0);
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-track {
        align-items: stretch;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide {
        position: relative;
        perspective: 450px;
        z-index: 1;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide:hover,
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide:focus-within {
        z-index: 10;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .slick-slide > div,
    #shandiz-home-news.shandiz-news-system .notification-items .x {
        position: relative;
        overflow: visible;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .x > a {
        display: block;
        position: relative;
        inset: auto;
        overflow: visible;
        color: #fff;
        background: transparent;
        text-decoration: none;
        perspective: 450px;
        transform-style: preserve-3d;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content,
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content:hover {
        position: absolute;
        inset: auto 0 var(--notice-title-height);
        display: block;
        width: 100%;
        height: calc(var(--notice-date-height) + var(--notice-detail-height));
        min-height: calc(var(--notice-date-height) + var(--notice-detail-height));
        max-height: calc(var(--notice-date-height) + var(--notice-detail-height));
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        z-index: 4;
        pointer-events: none;
        transform: translate3d(0,var(--notice-detail-height),0);
        transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
        transition: transform 300ms cubic-bezier(.7,.5,.3,1);
        will-change: transform;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .notification-date {
        position: relative;
        inset: auto;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        height: var(--notice-date-height);
        min-height: var(--notice-date-height);
        max-height: var(--notice-date-height);
        padding: 5px 8px;
        margin: 0;
        box-sizing: border-box;
        background: #b0081f;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content > p,
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content:hover > p {
        position: relative;
        inset: auto;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        width: 100%;
        height: var(--notice-detail-height);
        min-height: var(--notice-detail-height);
        max-height: var(--notice-detail-height);
        margin: 0;
        padding: 7px 10px;
        box-sizing: border-box;
        overflow: hidden;
        overflow-wrap: anywhere;
        line-height: 15px;
        font-size: 12px;
        background: #fff;
        color: #111;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        z-index: 1;
        transform-origin: 50% 0;
        transform: rotateX(-60deg);
        backface-visibility: hidden;
        transition: transform 300ms cubic-bezier(.7,.5,.3,1);
        will-change: transform;
    }
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .notification-items .notification-title {
        position: absolute;
        inset: auto 0 0;
        z-index: 5;
        display: flex;
        align-items: center;
        width: 100%;
        height: var(--notice-title-height);
        min-height: var(--notice-title-height);
        max-height: var(--notice-title-height);
        padding: 8px 15px;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
        background: #141414;
        color: #fff;
        transform: none;
        opacity: 1;
        transition: none;
    }
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system .notification-items .notification-title p {
        -webkit-line-clamp: 2;
        line-height: 20px;
        max-height: 40px;
    }
    #shandiz-home-news.shandiz-news-system .notification-items .x > a:hover .notification-content,
    #shandiz-home-news.shandiz-news-system .notification-items .x > a:focus .notification-content,
    #shandiz-home-news.shandiz-news-system .notification-items .x > a:focus-visible .notification-content {
        transform: translate3d(0,0,0);
    }
    #shandiz-home-news.shandiz-news-system .notification-items .x > a:hover .notification-content > p,
    #shandiz-home-news.shandiz-news-system .notification-items .x > a:focus .notification-content > p,
    #shandiz-home-news.shandiz-news-system .notification-items .x > a:focus-visible .notification-content > p {
        transform: rotateX(0deg);
    }
    #shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized),
    #shandiz-home-news.shandiz-news-system .notification-items:not(.slick-initialized) > * {
        height: var(--notice-card-height);
        min-height: var(--notice-card-height);
        max-height: var(--notice-card-height);
    }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content,
    #shandiz-home-news.shandiz-news-system .notification-items .notification-content > p {
        transition: none;
    }
}


/* Short desktop screens retain R31's preferred compact news size. The
   common row can grow to the event poster's intrinsic frame height.
   The 104px notices and their 30px header gap are unchanged. */
@media (min-width: 1200px) and (max-height: 820px) and (hover: hover) and (pointer: fine) {
    #fullpage.shandiz-home #shandiz-home-news.shandiz-news-system {
        --news-base-feature-size: clamp(280px, min(calc(100dvh - 370px), calc(33.5vw - 18px)), var(--news-desktop-height-limit));
        --news-row-gap: 6px;
    }
}
