/* Version 2 enhancements: announcements, accessible feedback and premium hero */

.top-strip {
    height: 42px;
}

.global-notice-ticker {
    min-width: 0;
    max-width: 710px;
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: .59rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ticker-items {
    height: 24px;
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    white-space: nowrap;
}

.ticker-item.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.ticker-item b {
    color: var(--primary);
    font-size: .62rem;
    text-transform: uppercase;
}

.ticker-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3e554c;
    font-size: .68rem;
}

.ticker-item time {
    color: #84948e;
    font-size: .61rem;
}

.ticker-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: .63rem;
    font-weight: 850;
}

.nav-notice-action {
    position: relative;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid #d6e7e0;
    border-radius: 11px;
    color: var(--primary);
    background: #f5fbf8;
}

.nav-notice-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav-notice-action b {
    position: absolute;
    right: -5px;
    top: -6px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--accent);
    color: #3d331b;
    font-size: .52rem;
}

/* Premium hero carousel */
.hero-v2 {
    min-height: 758px;
    background: #eef7f3;
}

.hero-v2 .hero-track {
    height: 668px;
}

.hero-v2 .hero-slide > img {
    transform: scale(1.025);
    transition: transform 7s ease;
}

.hero-v2 .hero-slide.is-active > img {
    transform: scale(1);
}

.hero-v2 .hero-shade {
    background:
        linear-gradient(90deg, rgba(4, 44, 31, .52) 0%, rgba(4, 44, 31, .19) 48%, rgba(4, 44, 31, .03) 76%),
        linear-gradient(0deg, rgba(7, 44, 33, .18), transparent 38%);
}

.hero-v2 .hero-content {
    align-items: center;
    padding-bottom: 55px;
}

.hero-card-v2 {
    width: min(585px, 55vw);
    margin: 0;
    padding: 36px 38px 31px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 25px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 28px 70px rgba(8, 43, 32, .23);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.hero-card-v2::before,
.hero-card-v2::after {
    display: none;
}

.hero-card-v2 {
    border-top: 5px solid var(--primary);
}

.hero-card-v2.hero-card--yellow {
    border-top-color: var(--accent);
}

.hero-card-v2.hero-card--blue {
    border-top-color: var(--secondary);
}

.hero-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 19px;
}

.hero-kicker,
.hero-class-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero-kicker {
    color: var(--primary);
}

.hero-class-label {
    padding: 6px 9px;
    border-radius: 999px;
    color: #65786f;
    background: #eff6f3;
}

.hero-card-v2 h1 {
    margin: 0 0 16px;
    max-width: 510px;
    color: #142d24;
    font-size: clamp(2.7rem, 4.4vw, 4.15rem);
    line-height: 1.01;
}

.hero-card-v2 p {
    max-width: 500px;
    margin-bottom: 24px;
    font-size: .96rem;
}

.hero-card-v2 .hero-actions {
    margin-bottom: 23px;
}

.hero-assurances {
    display: flex;
    gap: 17px;
    padding-top: 18px;
    border-top: 1px solid #e1ebe7;
    color: #62766d;
    font-size: .65rem;
    font-weight: 750;
}

.hero-assurances span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-assurances svg {
    color: var(--primary);
}

.hero-navigation {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 194px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-counter,
.hero-nav-buttons {
    pointer-events: auto;
}

.hero-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 10px;
    background: rgba(8, 48, 35, .68);
    color: #fff;
    backdrop-filter: blur(10px);
}

.hero-counter strong {
    font-size: .8rem;
}

.hero-counter span {
    width: 34px;
    border-top: 1px solid rgba(255, 255, 255, .65);
}

.hero-counter small {
    color: rgba(255, 255, 255, .7);
    font-size: .65rem;
}

.hero-nav-buttons {
    display: flex;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 28px rgba(5, 41, 29, .2);
}

.hero-nav-buttons button {
    width: 37px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--primary);
}

.hero-nav-buttons button:hover,
.hero-nav-buttons button:focus-visible {
    outline: none;
    background: var(--primary);
    color: #fff;
}

.hero-thumbnails {
    position: absolute;
    z-index: 9;
    left: 50%;
    bottom: 110px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-thumbnail {
    width: 162px;
    height: 70px;
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 9px;
    padding: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 12px;
    background: rgba(255, 255, 255, .91);
    color: #344c43;
    box-shadow: 0 8px 24px rgba(6, 45, 32, .18);
    text-align: left;
    transition: transform .2s ease, background .2s ease;
}

.hero-thumbnail:hover,
.hero-thumbnail.is-active {
    transform: translateY(-3px);
    background: #fff;
}

.hero-thumbnail img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.hero-thumbnail span {
    display: flex;
    flex-direction: column;
    padding-right: 3px;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1.25;
}

.hero-thumbnail small {
    margin-bottom: 3px;
    color: var(--primary);
    font-size: .54rem;
}

.hero-thumbnail i {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 3px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: #dbe7e2;
}

.hero-thumbnail i::after {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    background: var(--primary);
}

.hero-thumbnail.is-active i::after {
    width: 100%;
    animation: heroProgress var(--hero-delay, 7s) linear;
}

.hero-v2.is-paused .hero-thumbnail.is-active i::after {
    animation-play-state: paused;
}

.hero-v2 .hero-values {
    height: 90px;
    margin-top: 0;
    border: 1px solid #e0ebe7;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 13px 36px rgba(15, 70, 52, .08);
}

@keyframes heroProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Notice board */
.home-notices {
    position: relative;
    background:
        radial-gradient(circle at 7% 10%, rgba(255, 178, 29, .12), transparent 20%),
        linear-gradient(180deg, #f8fcfa, #edf8f4);
    border-top: 1px solid #e4eee9;
}

.home-notices .section-heading > div {
    max-width: 760px;
}

.home-notices .section-heading p {
    margin: 8px 0 0;
}

.notice-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 9px;
    overflow-x: auto;
    border: 1px solid #dbe8e3;
    border-radius: 13px;
    background: rgba(255, 255, 255, .83);
    scrollbar-width: thin;
}

.notice-filter-bar button {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #62746c;
    font-size: .69rem;
    font-weight: 800;
}

.notice-filter-bar button > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tag-color);
}

.notice-filter-bar button:hover,
.notice-filter-bar button.is-active {
    border-color: #cde2d9;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 5px 14px rgba(16, 70, 51, .07);
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.notice-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #dce8e3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(20, 72, 54, .065);
    transition: transform .22s ease, box-shadow .22s ease, opacity .25s ease;
}

.notice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(20, 72, 54, .11);
}

.notice-card.is-filtered-out {
    display: none;
}

.notice-card__top,
.notice-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notice-kind {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--notice-color);
    background: color-mix(in srgb, var(--notice-color) 10%, white);
    font-size: .61rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pinned-label,
.detail-pin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #bc5d17;
    font-size: .59rem;
    font-weight: 850;
    text-transform: uppercase;
}

.notice-card h3 {
    margin: 17px 0 9px;
    color: #1d372d;
    font-size: 1.08rem;
    line-height: 1.28;
}

.notice-card h3 a:hover {
    color: var(--primary);
}

.notice-card > p {
    display: -webkit-box;
    min-height: 63px;
    margin: 0 0 16px;
    overflow: hidden;
    color: #687970;
    font-size: .78rem;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.notice-schedule {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 10px;
    background: #f5f9f7;
}

.notice-schedule span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #52685e;
    font-size: .67rem;
    font-weight: 700;
}

.notice-schedule svg {
    color: var(--primary);
}

.notice-card__footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e8efec;
}

.notice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.notice-tags span,
.notice-tags a {
    padding: 3px 7px;
    border: 1px solid color-mix(in srgb, var(--tag-color) 28%, white);
    border-radius: 999px;
    color: var(--tag-color);
    background: color-mix(in srgb, var(--tag-color) 7%, white);
    font-size: .55rem;
    font-weight: 800;
}

.notice-card__footer > a {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: .64rem;
    font-weight: 850;
}

.notice-filter-empty,
.notice-empty {
    padding: 42px 20px;
    text-align: center;
}

.notice-filter-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #71827a;
}

.notice-filter-empty[hidden] {
    display: none;
}

.notice-filter-empty button {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 850;
}

.notice-empty {
    grid-column: 1 / -1;
    border: 1px dashed #c6dad2;
    border-radius: 16px;
    background: #f8fbfa;
}

.notice-empty > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 15px;
    color: var(--primary);
    background: #e5f6ef;
}

.notice-empty h2,
.notice-empty h3 {
    margin: 0 0 5px;
}

.notice-empty p {
    margin: 0 0 15px;
}

/* Announcement archive and detail */
.notice-page-hero,
.notice-detail-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 178, 29, .18), transparent 24%),
        linear-gradient(125deg, #e9f8f2, #fbfdfc 66%);
}

.notice-page-hero::after,
.notice-detail-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -170px;
    width: 390px;
    height: 390px;
    border: 70px solid rgba(8, 127, 91, .05);
    border-radius: 50%;
}

.notice-page-hero__grid {
    min-height: 390px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
}

.notice-page-hero h1,
.notice-detail-hero h1 {
    max-width: 850px;
    margin: 11px 0 16px;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: -.05em;
}

.notice-page-hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.notice-page-hero p,
.notice-detail-heading p {
    max-width: 720px;
    color: #63756d;
    font-size: 1rem;
}

.notice-hero-mark {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(255, 255, 255, .67);
    color: var(--primary);
    box-shadow: 0 18px 50px rgba(20, 70, 53, .11);
    backdrop-filter: blur(10px);
}

.notice-hero-mark span {
    color: #6b7d75;
    font-size: .68rem;
    text-align: center;
}

.notice-hero-mark strong {
    display: block;
    color: var(--primary);
    font-size: 1.25rem;
}

.notice-archive {
    background: #f9fcfb;
}

.notice-search-panel {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) 1fr 1fr auto auto;
    align-items: end;
    gap: 12px;
    margin-top: -132px;
    margin-bottom: 60px;
    padding: 20px;
    position: relative;
    z-index: 4;
    border: 1px solid #dbe8e3;
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 50px rgba(20, 70, 53, .11);
}

.notice-search-panel label {
    display: grid;
    gap: 6px;
    color: #52675e;
    font-size: .65rem;
    font-weight: 800;
}

.notice-search-panel label > div {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #ceddd7;
    border-radius: 9px;
    background: #fbfdfc;
    color: #84958e;
}

.notice-search-panel input,
.notice-search-panel select {
    width: 100%;
    height: 44px;
    border: 1px solid #ceddd7;
    border-radius: 9px;
    background: #fbfdfc;
    color: #30473e;
    outline: none;
    font-size: .76rem;
}

.notice-search-panel input {
    height: 100%;
    border: 0;
    background: transparent;
}

.notice-search-panel select {
    padding: 0 10px;
}

.notice-search-panel input:focus,
.notice-search-panel select:focus,
.notice-search-panel label > div:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 127, 91, .09);
}

.clear-filter {
    align-self: center;
    color: var(--primary);
    font-size: .68rem;
    font-weight: 850;
}

.notice-result-heading h2 {
    margin: 3px 0 22px;
    font-size: 1.8rem;
}

.site-pagination {
    margin-top: 35px;
}

.site-pagination nav > div:first-child {
    display: none;
}

.site-pagination nav > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.site-pagination nav p {
    color: #71827a;
    font-size: .69rem;
}

.site-pagination nav span[aria-current] > span,
.site-pagination nav a,
.site-pagination nav span[aria-disabled] > span {
    display: inline-grid;
    min-width: 36px;
    height: 36px;
    place-items: center;
    padding: 0 9px;
    border: 1px solid #d4e2dc;
    border-radius: 8px;
    background: #fff;
    color: #52675e;
    font-size: .69rem;
}

.site-pagination nav span[aria-current] > span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.notice-detail-hero {
    padding: 62px 0 75px;
}

.notice-detail-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 35px;
}

.notice-detail-heading h1 {
    font-size: clamp(2.45rem, 4.7vw, 4.5rem);
}

.notice-detail-heading .notice-tags {
    margin-top: 22px;
}

.detail-pin {
    min-width: max-content;
    padding: 9px 12px;
    border-radius: 9px;
    background: #fff3e7;
}

.notice-detail-section {
    background: #fff;
}

.notice-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 335px;
    gap: 75px;
    align-items: start;
}

.notice-rich {
    font-size: 1.02rem;
}

.notice-facts {
    position: sticky;
    top: 115px;
    padding: 25px;
    border: 1px solid #dbe8e3;
    border-radius: 17px;
    background: linear-gradient(145deg, #edf9f4, #fff);
    box-shadow: 0 12px 35px rgba(20, 70, 53, .08);
}

.notice-facts h2 {
    margin: 0 0 15px;
    font-size: 1.25rem;
}

.notice-facts dl,
.notice-facts dd {
    margin: 0;
}

.notice-facts dl > div {
    padding: 12px 0;
    border-bottom: 1px solid #dfeae5;
}

.notice-facts dt {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #74867e;
    font-size: .61rem;
    font-weight: 850;
    text-transform: uppercase;
}

.notice-facts dt svg {
    color: var(--primary);
}

.notice-facts dd {
    margin: 4px 0 0 25px;
    color: #314a40;
    font-size: .76rem;
    font-weight: 750;
}

.wide-button {
    width: 100%;
    margin-top: 12px;
}

.back-notices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 18px;
    color: var(--primary);
    font-size: .68rem;
    font-weight: 850;
}

.related-notices {
    background: #f2f9f6;
}

/* Toast notifications */
.toast-region {
    position: fixed;
    z-index: 1000;
    top: 102px;
    right: 18px;
    width: min(390px, calc(100% - 28px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.app-toast {
    --toast-color: var(--primary);
    position: relative;
    display: grid;
    grid-template-columns: 39px 1fr auto;
    align-items: start;
    gap: 11px;
    padding: 14px 13px 15px;
    overflow: hidden;
    border: 1px solid #d7e6e0;
    border-left: 4px solid var(--toast-color);
    border-radius: 13px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 50px rgba(16, 58, 44, .18);
    backdrop-filter: blur(12px);
    pointer-events: auto;
    animation: toastIn .35s ease both;
}

.app-toast.is-leaving {
    animation: toastOut .3s ease both;
}

.toast-error { --toast-color: #c94444; }
.toast-warning { --toast-color: #db8d00; }

.toast-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--toast-color);
    background: color-mix(in srgb, var(--toast-color) 10%, white);
}

.app-toast > div {
    min-width: 0;
}

.app-toast strong {
    display: block;
    color: #283f36;
    font-size: .76rem;
}

.app-toast p {
    margin: 2px 0 0;
    color: #667870;
    font-size: .69rem;
    line-height: 1.45;
}

.app-toast ul {
    max-height: 130px;
    margin: 7px 0 0;
    padding-left: 17px;
    overflow: auto;
    color: #785050;
    font-size: .64rem;
}

.app-toast > button {
    padding: 4px;
    border: 0;
    background: transparent;
    color: #84938d;
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    transform-origin: left;
    background: var(--toast-color);
    animation: toastProgress var(--toast-duration, 6s) linear forwards;
}

.app-toast:hover .toast-progress {
    animation-play-state: paused;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(35px); }
    to { opacity: 1; transform: none; }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(35px); }
}

@keyframes toastProgress {
    to { transform: scaleX(0); }
}

@media (max-width: 1180px) {
    .global-notice-ticker { max-width: 560px; }
    .main-nav { gap: 11px; }
    .main-nav > ul { gap: 13px; }
    .hero-thumbnail { width: 145px; }
    .notice-search-panel { grid-template-columns: 1.3fr 1fr 1fr auto; }
    .notice-search-panel .clear-filter { grid-column: 1 / -1; }
}

@media (max-width: 950px) {
    .global-notice-ticker { max-width: 460px; }
    .ticker-label { display: none; }
    .global-notice-ticker { grid-template-columns: minmax(160px, 1fr) auto; }
    .hero-card-v2 { width: min(555px, calc(100% - 100px)); }
    .hero-thumbnails { display: none; }
    .hero-navigation { bottom: 112px; }
    .notice-grid { grid-template-columns: repeat(2, 1fr); }
    .notice-search-panel { margin-top: -95px; grid-template-columns: 1fr 1fr; }
    .notice-search-panel .btn { align-self: end; }
    .notice-search-panel .clear-filter { grid-column: auto; align-self: end; padding-bottom: 10px; }
}

@media (max-width: 850px) {
    .top-strip { height: 38px; }
    .top-contact { display: none; }
    .global-notice-ticker { width: 100%; max-width: none; }
    .main-nav { inset: 112px 0 0; }
    .site-header.is-sticky .main-nav { inset: 74px 0 0; }
    .main-nav .nav-notice-action { width: 100%; height: 44px; display: flex; justify-content: flex-start; gap: 10px; margin-top: 15px; padding: 0 13px; }
    .nav-notice-action span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .nav-notice-action b { position: static; margin-left: auto; border: 0; }
    .hero-v2 { min-height: 690px; }
    .hero-v2 .hero-track { height: 600px; }
    .hero-v2 .hero-content { padding-bottom: 35px; }
    .hero-card-v2 { width: min(590px, calc(100% - 84px)); margin: 0 42px; }
    .hero-navigation { bottom: 107px; }
    .hero-v2 .hero-values { height: 90px; }
    .notice-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .notice-facts { position: static; }
}

@media (max-width: 620px) {
    .ticker-all { font-size: 0; }
    .ticker-all svg { width: 18px; height: 18px; }
    .ticker-item b { display: none; }
    .main-nav { inset: 108px 0 0; }
    .site-header.is-sticky .main-nav { inset: 70px 0 0; }
    .hero-v2 { min-height: 748px; }
    .hero-v2 .hero-track { height: 660px; }
    .hero-v2 .hero-content { align-items: flex-end; padding-bottom: 32px; }
    .hero-card-v2 { width: calc(100% - 24px); margin: 0 12px; padding: 24px 21px 20px; border-radius: 19px; }
    .hero-card__top { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 13px; }
    .hero-class-label { padding: 4px 8px; }
    .hero-card-v2 h1 { font-size: 2.25rem; }
    .hero-card-v2 p { margin-bottom: 18px; font-size: .84rem; }
    .hero-card-v2 .hero-actions { margin-bottom: 15px; }
    .hero-assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 13px; }
    .hero-assurances span:last-child { display: none; }
    .hero-navigation { top: 18px; bottom: auto; justify-content: flex-end; }
    .hero-counter { display: none; }
    .hero-v2 .hero-values { height: 88px; }
    .home-notices .section-heading .btn { width: 100%; margin-top: 18px; }
    .notice-grid { grid-template-columns: 1fr; }
    .notice-card { padding: 19px; }
    .notice-card > p { min-height: 0; }
    .notice-page-hero__grid { min-height: 355px; grid-template-columns: 1fr; }
    .notice-hero-mark { display: none; }
    .notice-page-hero h1, .notice-detail-hero h1 { font-size: 2.75rem; }
    .notice-search-panel { margin-top: -78px; grid-template-columns: 1fr; padding: 15px; }
    .notice-search-panel .clear-filter { text-align: center; padding: 5px; }
    .notice-detail-heading { flex-direction: column; }
    .detail-pin { order: -1; }
    .notice-detail-hero { padding: 45px 0 58px; }
    .notice-detail-section { padding-top: 55px; }
    .toast-region { top: 82px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-v2 .hero-slide > img,
    .ticker-item,
    .app-toast,
    .toast-progress,
    .hero-thumbnail i::after {
        animation: none !important;
        transition: none !important;
    }
}
