/* Njoftime listing only. The scenic hero is derived from the approved reference. */
.notices-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fbf6ef;
    color: #241b19;
}
.notices-body > main {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}
.notices-body .site-header {
    position: relative;
    z-index: 2;
    min-height: 70px;
    padding: 8px max(24px,calc((100% - 1200px)/2));
    border-bottom: 1px solid #e9ded1;
    background: #fffbf5;
    gap: 26px;
}
.notices-body .site-brand {
    order: 0;
    width: 178px;
}
.notices-body .site-brand img {
    max-height: 56px;
}
.notices-body .site-wide-nav {
    order: 1;
    flex: 1;
    justify-content: center;
    gap: clamp(13px,2.3vw,34px);
}
.notices-body .site-wide-nav a {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.notices-body .site-wide-nav a[aria-current=page] {
    color: #8f2d22;
    text-decoration-color: #a64034;
    text-underline-offset: 4px;
}
.notices-body .site-wide-nav .site-auth-link {
    display: none;
}
.notices-header-search {
    order: 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 38px;
    flex: none;
    color: #343b43;
}
.notices-header-search svg {
    width: 23px;
    height: 23px;
}
.notices-header-create {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: 41px;
    padding: 0 23px;
    border-radius: 8px;
    background: linear-gradient(145deg,#c36b4d,#963b2e);
    color: #fff !important;
    text-decoration: none;
    font: 600 14px var(--font-body);
}
.notices-page {
    flex: 1 0 auto;
    min-height: 60vh;
    background: linear-gradient(#fffaf3,#f9f2e8);
}
.notices-hero {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 38px 20px 65px;
    background: url('../images/njoftime-hero-terrace-wide.png?v=20261020-4') center 51%/cover no-repeat;
    text-align: center;
}
.notices-hero-inner {
    max-width: 720px;
    transform: translateY(-40px);
}
.notices-hero h1 {
    margin: 0 0 5px;
    color: #2a0d0c;
    font: 600 clamp(48px,5vw,66px)/1 var(--font-heading);
}
.notices-hero p {
    margin: 0 0 20px;
    color: #241b19;
    font: 700 clamp(23px,calc(1.65vw + 4px),27px)/1.25 var(--font-heading);
}
.notices-hero-create {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 8px 32px;
    border: 2px solid #fff4e8;
    border-radius: 999px;
    background: linear-gradient(145deg,#c87150,#9c3e30);
    box-shadow: 0 3px 12px #6a301c2a;
    color: #fff !important;
    text-decoration: none;
    font: 500 17px var(--font-body);
}
.notices-hero-create span {
    font-size: 27px;
    line-height: 1;
}
.notices-main {
    width: min(1200px,calc(100% - 36px));
    margin: -27px auto 0;
    padding-bottom: 70px;
    position: relative;
}
.notices-filters {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(180px,.55fr) 126px;
    gap: 10px;
    padding: 18px 22px;
    border: 1px solid #e8d9c7;
    border-radius: 11px;
    background: rgba(255,251,245,.96);
    box-shadow: 0 6px 20px #6e4e2e10;
}
.notices-filter {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 42px;
    gap: 11px;
    padding: 0 12px;
    border: 1px solid #e6d7c7;
    border-radius: 7px;
    background: #fffaf5;
    box-shadow: 0 2px 5px #60472d0a;
    color: #343d43;
}
.notices-filter svg {
    flex: none;
    width: 21px;
    height: 21px;
}
.notices-filter input,.notices-filter select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #33363b;
    font: 500 13px var(--font-body);
}
.notices-filter-search input::placeholder {
    color: #777478;
    font: italic 15px var(--font-heading);
    opacity: 1;
}
.notices-filter:focus-within {
    outline: 2px solid #a9513d;
    outline-offset: 1px;
}
.notices-filter select {
    cursor: pointer;
}
.notices-search-button {
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(145deg,#c36b4d,#963b2e);
    color: white;
    font: 600 15px var(--font-body);
    cursor: pointer;
}
.notices-search-button:hover,.notices-header-create:hover,.notices-hero-create:hover {
    filter: brightness(.94);
}
.notices-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.notices-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 0 12px;
    color: #6d6b69;
}
.notices-results-bar p {
    margin: 0;
    font: 500 14px var(--font-body);
}
.notices-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #716d68;
    font: 13px var(--font-body);
}
.notices-sort select {
    min-height: 32px;
    padding: 4px 9px;
    border: 1px solid #e7d9c9;
    border-radius: 7px;
    background: #fffaf5;
    color: #302d2b;
    font: 600 13px var(--font-body);
}
.notices-sort-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.notices-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}
.notices-card {
    display: block;
    min-width: 0;
    padding: 10px;
    border: 1px solid #eddfd0;
    border-radius: 9px;
    background: #fffcf8;
    box-shadow: 0 4px 12px #5139250a;
    color: inherit;
    text-decoration: none;
}
.notices-card:hover,.notices-card:focus-visible {
    border-color: #c7a88d;
    box-shadow: 0 8px 20px #5139251a;
}
.notices-card-portrait {
    display: grid;
    place-items: center;
    height: 142px;
    border-radius: 6px;
    background: linear-gradient(130deg,#e9dccb,#c4aa8f);
    color: #fff9f0;
    font: 600 62px/1 var(--font-heading);
}
.notices-card-body {
    position: relative;
    min-height: 143px;
    padding: 8px 4px 3px;
}
.notices-card-date {
    position: absolute;
    top: -132px;
    right: 6px;
    padding: 5px 9px;
    border-radius: 7px;
    background: #fff0e1;
    color: #a84b36;
    font: 600 11px var(--font-body);
}
.notices-card h2 {
    margin: 0;
    color: #281613;
    font: 600 25px/1.04 var(--font-heading);
    overflow-wrap: anywhere;
}
.notices-card-years {
    margin: 1px 0 5px;
    color: #6a6869;
    font: 14px var(--font-body);
}
.notices-card-excerpt {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #666263;
    font: 14px/1.25 var(--font-body);
}
.notices-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 4px;
    color: #a23f2c;
    font: 600 13px var(--font-body);
}
.notices-card-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notices-card-city svg {
    flex: none;
    width: 16px;
    height: 16px;
}
.notices-card-link {
    flex: none;
}
.notices-card-link span {
    margin-left: 5px;
    font-size: 22px;
    vertical-align: -2px;
}
.notices-empty {
    padding: 55px 25px;
    border: 1px solid #e8d9c7;
    border-radius: 10px;
    background: #fffbf6;
    text-align: center;
}
.notices-empty h2 {
    margin: 0 0 8px;
    font: 600 34px var(--font-heading);
}
.notices-empty p {
    color: #6d6b69;
}
.notices-empty a {
    color: #9d402f;
}
.notices-pagination {
    margin-top: 22px;
}
@media(max-width:1050px) {
    .notices-body .site-header {
        gap: 15px;
    }
    .notices-body .site-wide-nav {
        gap: 12px;
    }
    .notices-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media(max-width:900px) {
    .notices-body .site-header {
        min-height: 76px;
        padding: 9px 20px;
        gap: 18px;
    }
    .notices-body .site-brand {
        width: clamp(175px,50vw,230px);
        margin-right: auto;
    }
    .notices-body .site-brand img {
        max-height: 61px;
    }
    .notices-body .mobile-navigation--site {
        order: 3;
        display: block;
    }
    .notices-body .mobile-navigation__trigger {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #303942;
    }
    .notices-header-search {
        order: 2;
    }
    .notices-header-create {
        display: none;
    }
    .notices-hero {
        min-height: 240px;
        padding: 23px 18px 35px;
        background-image: url('../images/njoftime-hero-terrace-mobile-wide.png?v=20261020-4');
        background-position: center 54%;
    }
    .notices-hero-inner {
        transform: translateY(-20px);
    }
    .notices-hero h1 {
        font-size: clamp(45px,12vw,57px);
    }
    .notices-hero p {
        max-width: none;
        margin: 0 auto 13px;
        font-size: 24px;
    }
    .notices-hero p span {
        display: block;
    }
    .notices-hero-create {
        min-height: 42px;
        padding: 5px 24px;
        font-size: 16px;
    }
    .notices-main {
        width: min(100% - 36px,700px);
        margin-top: -3px;
    }
    .notices-filters {
        grid-template-columns: minmax(0,1fr) minmax(110px,.72fr);
        gap: 7px;
        padding: 14px 16px;
        border-radius: 12px;
    }
    .notices-filter-search {
        grid-column: 1 / -1;
    }
    .notices-filter {
        min-height: 42px;
        padding: 0 12px;
    }
    .notices-filter input,.notices-filter select {
        font-size: 15px;
    }
    .notices-filter-location {
        gap: 8px;
        padding-inline: 9px;
    }
    .notices-filter-location select {
        font-size: 14px;
    }
    .notices-search-button {
        min-height: 43px;
        font-size: 17px;
    }
    .notices-results-bar {
        margin: 16px 0 10px;
    }
    .notices-results-bar p,.notices-sort select {
        font-size: 13px;
    }
    .notices-sort label {
        display: none;
    }
    .notices-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .notices-card {
        display: grid;
        grid-template-columns: minmax(105px,37%) minmax(0,1fr);
        gap: 12px;
        min-height: 137px;
        padding: 7px;
    }
    .notices-card-portrait {
        height: 100%;
        min-height: 122px;
    }
    .notices-card-body {
        min-height: 0;
        padding: 3px 3px 1px 0;
    }
    .notices-card-date {
        top: 3px;
        right: 3px;
        padding: 3px 6px;
        font-size: 9px;
    }
    .notices-card h2 {
        max-width: 100%;
        padding-right: 50px;
        font-size: clamp(19px,5.6vw,24px);
    }
    .notices-card-years {
        font-size: 13px;
    }
    .notices-card-excerpt {
        min-height: 0;
        margin: 4px 0;
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .notices-card-bottom {
        margin-top: 3px;
        font-size: 11px;
    }
    .notices-card-link span {
        margin-left: 2px;
        font-size: 17px;
    }
}
@media(max-width:370px) {
    .notices-body .site-header {
        padding-inline: 13px;
        gap: 10px;
    }
    .notices-body .site-brand {
        width: 166px;
    }
    .notices-main {
        width: calc(100% - 24px);
    }
    .notices-card {
        grid-template-columns: 100px minmax(0,1fr);
        gap: 8px;
    }
    .notices-card h2 {
        font-size: 18px;
    }
}
