:root {
    --brand-green: #006c3a;
    --brand-green-dark: #00582f;
    --brand-green-soft: #eff8f3;
    --brand-yellow: #ffc91d;
    --brand-navy: #1b2a72;
    --text-main: #0f172a;
    --text-soft: #5f6b85;
    --line: #e7edf4;
    --card-shadow: 0 16px 48px rgba(18, 35, 82, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Instrument Sans", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(0, 108, 58, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(255, 201, 29, 0.08), transparent 18%),
        #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    max-width: 1680px;
    margin: 0 auto;
    padding: 18px 20px 28px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img.logo-umri {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img.logo-siam {
    width: 110px;
    height: auto;
    flex: 0 0 auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.brand-copy strong {
    color: #14663b;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-copy span {
    color: #222;
    font-size: 15px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    background: #fff;
    color: #1a246b;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav-toggle-close {
    display: none;
}

.nav-toggle.is-open .nav-toggle-open {
    display: none;
}

.nav-toggle.is-open .nav-toggle-close {
    display: block;
}

.nav-link,
.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #1a246b;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.nav-lang {
    list-style: none;
    cursor: pointer;
}

.nav-lang::-webkit-details-marker {
    display: none;
}

.nav-lang-menu {
    position: relative;
}

.nav-lang-menu[open] .nav-lang-caret {
    transform: rotate(180deg);
}

.nav-lang-caret {
    width: 14px;
    height: 14px;
    transition: transform 0.18s ease;
}

.nav-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    z-index: 30;
}

.nav-lang-option {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1a246b;
    font-size: 14px;
    font-weight: 600;
}

.nav-lang-option:hover {
    background: #f4f8fb;
}

.nav-lang-option.active {
    color: #14663b;
    background: #eef8f2;
}

.nav-link.active {
    color: #14663b;
    border-bottom-color: #14663b;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    margin: 0 2px;
}

.icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.68fr) minmax(438px, 0.68fr);
    gap: 0;
    min-height: 518px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 108, 58, 0.12);
}

.hero-left {
    position: relative;
    min-height: 478px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%),
        radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.08), transparent 20%),
        linear-gradient(90deg, rgba(0, 58, 28, 0.94), rgba(0, 108, 58, 0.87));
}

.hero-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(60deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(120deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 84px, 48px 84px, 48px 84px;
    background-position: 0 0, 0 0, 24px 42px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(700px, 100%);
    padding: 54px 38px 42px 38px;
    color: #fff;
}

.hero-install {
    display: none;
}

.hero-install-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(0, 108, 58, 0.28);
}

.hero-kicker {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.hero-title {
    margin: 6px 0 14px;
    font-size: 56px;
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-title .accent {
    color: var(--brand-yellow);
}

.hero-line {
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: var(--brand-yellow);
    margin-bottom: 18px;
}

.hero-desc {
    max-width: 530px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.45;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    max-width: 620px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hero-feature-badge {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 2px solid rgba(255, 201, 29, 0.9);
    color: var(--brand-yellow);
    background: rgba(255, 201, 29, 0.08);
}

.hero-feature-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.32;
    margin-bottom: 8px;
}

.hero-feature-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.45;
}

.hero-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    min-width: 520px;
    height: 100%;
    background-image: url("../images/siam-umri-reference.png");
    background-repeat: no-repeat;
    background-size: 1323px auto;
    background-position: calc(60% + 12px) 0;
    pointer-events: none;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 112px;
    background: linear-gradient(180deg, rgba(0, 108, 58, 0), rgba(0, 60, 32, 0.78));
}

.login-panel {
    background: linear-gradient(180deg, #fdfefe, #f7fbf8);
    padding: 12px;
}

.login-card {
    height: 100%;
    border-radius: 18px;
    border: 1px solid #e6ebf2;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 0 0 1px rgba(0, 108, 58, 0.03);
    padding: 18px 20px 14px;
}

.login-form {
    display: grid;
    gap: 0;
}

.login-title {
    text-align: center;
    color: var(--brand-navy);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
}

.login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #fff;
}

.login-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 0;
    background: transparent;
    color: #252b40;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.login-tab.active {
    color: #14663b;
    box-shadow: inset 0 0 0 1px #2fa66e;
    background: linear-gradient(180deg, #fff, #f3faf6);
}

.login-grid {
    position: relative;
}

.login-section {
    display: none;
}

.login-section.is-active {
    display: block;
}

.login-tab-parent-icon {
    color: #f4b21d;
}

.login-note-icon {
    color: #f4b21d;
}

.login-heading {
    margin: 4px 0 14px;
    font-size: 14px;
    font-weight: 800;
}

.login-heading.student {
    color: #14663b;
}

.login-heading.parent {
    color: #f59d0f;
}

.field-group {
    margin-bottom: 14px;
}

.field-help {
    margin-top: 6px;
    color: #8090aa;
    font-size: 11px;
    line-height: 1.4;
}

.field-label {
    display: block;
    margin-bottom: 7px;
    color: #314056;
    font-size: 12px;
    font-weight: 800;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #dfe7f0;
    background: #f7f9fc;
    color: #6c7b95;
    font-size: 13px;
}

.input-shell input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    color: #334155;
    font-size: 13px;
}

.input-shell input::placeholder {
    color: #94a3b8;
}

.input-shell:focus-within {
    border-color: #63bc88;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 166, 110, 0.12);
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 16px;
    font-size: 13px;
}

.meta-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #253047;
}

.meta-row a {
    color: #15803d;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    border: 0;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(180deg, #ffd33f, #ffc400);
    color: #1f2937;
    box-shadow: 0 10px 26px rgba(255, 196, 0, 0.25);
}

.btn-secondary {
    background: linear-gradient(180deg, #0b7c46, #006c3a);
    color: #fff;
}

.login-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #e5ebf2;
    background: #f8fafc;
    color: #66748d;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
}

.login-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.divider-word {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #68768f;
    font-size: 13px;
    font-weight: 700;
    margin: 12px 0 8px;
}

.divider-word::before,
.divider-word::after {
    content: "";
    height: 1px;
    background: #e5ebf2;
    flex: 1 1 auto;
}

.btn-outline {
    min-height: 44px;
    border: 1px solid #8ed1a7;
    background: #fff;
    color: #14663b;
    font-weight: 800;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.9fr) minmax(300px, 0.86fr);
    gap: 18px;
    margin-top: 14px;
}

.card {
    background: #fff;
    border: 1px solid #ecf1f7;
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(19, 37, 83, 0.05);
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 8px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-navy);
    font-size: 18px;
    font-weight: 800;
}

.card-link {
    color: #16793f;
    font-size: 14px;
    font-weight: 700;
}

.card-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.announce-list,
.agenda-list {
    padding: 0 12px 10px;
}

.announce-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 12px 10px;
    border-top: 1px solid #edf2f7;
}

.announce-item:first-child,
.agenda-item:first-child {
    border-top: 0;
}

.announce-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.announce-badge.academic {
    background: #eff9f1;
    color: #15803d;
}

.announce-badge.finance {
    background: #fff5dd;
    color: #f59e0b;
}

.announce-badge.scholarship {
    background: #eefaf3;
    color: #0d8b53;
}

.announce-badge.event {
    background: #f5efff;
    color: #7c3aed;
}

.announce-main {
    min-width: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pill.green {
    background: #edf9f0;
    color: #15803d;
}

.pill.orange {
    background: #fff3db;
    color: #ea9a14;
}

.pill.purple {
    background: #f3ebff;
    color: #7c3aed;
}

.pill.blue {
    background: #ebf2ff;
    color: #2563eb;
}

.announce-title,
.agenda-title {
    color: #1c2b76;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 6px;
}

.announce-desc,
.agenda-meta,
.simple-copy {
    color: #67758d;
    font-size: 13px;
    line-height: 1.5;
}

.announce-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 112px;
}

.announce-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7a89a0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #b7e0c8;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    background: #fff;
}

.agenda-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 12px;
    border-top: 1px solid #edf2f7;
}

.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 48px;
    height: 58px;
    border-radius: 12px;
    background: #f6f8fb;
    color: #222;
    font-weight: 800;
}

.date-box .day {
    font-size: 16px;
    line-height: 1;
}

.date-box .month {
    font-size: 12px;
    color: #4b5563;
}

.side-stack {
    display: grid;
    gap: 18px;
}

.mobile-card,
.help-card {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
}

.mobile-card {
    min-height: 176px;
    padding: 18px 170px 18px 18px;
    background:
        radial-gradient(circle at top left, rgba(0, 108, 58, 0.08), transparent 35%),
        linear-gradient(180deg, #fbfffd, #f4faf7);
}

.mobile-title {
    color: #14663b;
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 8px;
}

.store-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 126px;
    height: 40px;
    padding: 0 12px 0 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, #171717, #070707);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.store-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.store-icon-apple {
    width: 17px;
    height: 17px;
    color: #fff;
}

.store-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.store-kicker {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 2px;
}

.store-name {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.store-name {
    font-size: 11px;
}

.store-name::first-letter {
    font-size: inherit;
}

.store-badge .store-name {
    font-size: 11px;
}

.store-badge:first-child .store-name,
.store-badge:last-child .store-name {
    font-size: 11px;
}

.store-badge .store-name {
    font-family: "Instrument Sans", sans-serif;
}

.store-badge .store-name strong,
.store-badge .store-kicker strong {
    font-weight: inherit;
}

.store-copy .store-name {
    font-size: 11px;
    font-weight: 700;
}

.phone-mock-image {
    position: absolute;
    right: 50px;
    bottom: 6px;
    width: 136px;
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.22));
    transform: rotate(11deg);
    transform-origin: bottom right;
}

.help-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.help-title {
    color: #14663b;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.help-visual {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: #6478a0;
}

.btn-help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    width: fit-content;
    margin-top: 14px;
    padding: 0 14px;
    border-radius: 8px;
    background: #0c7a45;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #5f6f87;
    font-size: 14px;
    margin-top: 24px;
    padding: 6px 2px 0;
}

.footer-links,
.footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-socials a {
    color: #60739a;
}

@media (max-width: 1360px) {
    .hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.92fr);
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-art {
        width: 50%;
        min-width: 420px;
        background-position: calc(100% + 84px) -68px;
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .side-stack {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1120px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-left {
        min-height: 620px;
    }

    .hero-copy {
        width: 100%;
        padding-right: 28px;
    }

    .hero-art {
        width: 100%;
        min-width: 0;
        height: 56%;
        background-size: cover;
        background-position: center 26%;
        opacity: 0.95;
    }

    .content-grid,
    .side-stack {
        grid-template-columns: 1fr;
    }

    .help-visual {
        /* position: static; */
        margin-top: 16px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        padding: 14px 14px 24px;
    }

    .brand-block {
        gap: 8px;
    }

    .brand img.logo-umri {
        width: 48px;
        height: 48px;
    }

    .brand img.logo-siam {
        width: 88px;
    }

    .brand-copy {
        display: none;
    }

    .topbar > a {
        width: calc(100% - 60px);
    }

    .brand {
        gap: 10px;
    }

    .nav-toggle {
        display: inline-flex;
        position: absolute;
        top: 2px;
        right: 0;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 12px;
        padding: 10px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link,
    .nav-lang {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 10px;
        font-size: 14px;
        border-bottom: 0;
        border-radius: 12px;
    }

    .nav-link.active {
        background: #eef8f2;
    }

    .nav-divider {
        display: none;
    }

    .nav-lang-menu {
        width: 100%;
    }

    .nav-lang-dropdown {
        position: static;
        margin-top: 6px;
        min-width: 0;
        box-shadow: none;
    }

    .hero-left {
        min-height: 680px;
    }

    .hero-copy {
        padding: 36px 22px 24px;
    }

    .hero-kicker {
        font-size: 22px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-install {
        display: block;
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 18px;
        z-index: 120;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-art {
        height: 100%;
        background-position: center bottom;
    }

    .login-panel {
        padding: 10px;
    }

    .login-title {
        font-size: 22px;
    }

    .mobile-card {
        padding-right: 140px;
    }

    .phone-mock-image {
        right: 25px;
        bottom: 45px;
        width: 100px;
    }

    .announcements-card {
        position: relative;
        overflow: hidden;
        border-radius: 26px;
        border-color: rgba(22, 121, 63, 0.12);
        background:
            radial-gradient(circle at left bottom, rgba(22, 121, 63, 0.08), transparent 30%),
            radial-gradient(circle at right bottom, rgba(22, 121, 63, 0.06), transparent 28%),
            #fff;
        box-shadow: 0 22px 44px rgba(18, 35, 82, 0.08);
    }

    .announcements-card .card-head {
        padding: 24px 22px 16px;
        align-items: center;
    }

    .announcements-card .card-title {
        position: relative;
        gap: 25px;
        font-size: 18px;
        line-height: 1.2;
    }

    .announcements-card .card-title::before {
        content: "";
        position: absolute;
        left: -4px;
        top: 50%;
        width: 64px;
        height: 64px;
        border-radius: 20px;
        background: linear-gradient(180deg, #edf8f1 0%, #e5f5eb 100%);
        transform: translateY(-50%);
    }

    .announcements-card .card-title > * {
        position: relative;
        z-index: 1;
    }

    .announcements-card .card-title .icon {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }

    .announcements-card .card-title span {
        font-size: 19px;
    }

    .announcements-card .card-link {
        align-self: flex-start;
        font-size: 15px;
        font-weight: 800;
    }

    .announcements-card .announce-list {
        display: grid;
        gap: 16px;
        padding: 0 16px 18px;
    }

    .announce-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        padding: 22px 18px;
        border: 1px solid #edf2f7;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(19, 37, 83, 0.06);
    }

    .announce-item:first-child,
    .announce-item {
        border-top: 1px solid #edf2f7;
    }

    .announce-badge {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        margin-top: 0;
    }

    .announce-badge .icon {
        width: 32px;
        height: 32px;
    }

    .pill {
        min-height: 34px;
        padding: 0 16px;
        margin-bottom: 14px;
        font-size: 13px;
        font-weight: 800;
        align-self: flex-start;
    }

    .announce-title {
        font-size: 22px;
        line-height: 1.28;
        margin-bottom: 12px;
        letter-spacing: -0.03em;
    }

    .announce-desc {
        font-size: 15px;
        line-height: 1.65;
    }

    .announce-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        margin-top: 4px;
        padding-left: 88px;
    }

    .announce-date {
        font-size: 14px;
        color: #64748b;
        white-space: normal;
    }

    .announce-date .icon {
        width: 20px;
        height: 20px;
        color: #15803d;
    }

    .mini-btn {
        min-height: 46px;
        padding: 0 20px;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 800;
    }

    .mini-btn .icon,
    .card-link-arrow .icon {
        width: 18px;
        height: 18px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 580px) {
    .announcements-card .card-head {
        padding: 22px 18px 14px;
    }

    .announcements-card .card-title {
        gap: 25px;
    }

    .announcements-card .card-title::before {
        left: -2px;
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .announcements-card .card-title .icon {
        width: 28px;
        height: 28px;
        margin-left: 10px;
    }

    .announcements-card .card-title span {
        font-size: 17px;
    }

    .announcements-card .announce-list {
        padding: 0 12px 16px;
    }

    .announce-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 16px;
    }

    .announce-badge {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .announce-badge .icon {
        width: 28px;
        height: 28px;
    }

    .announce-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .announce-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .announce-side {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .mini-btn {
        width: 100%;
        justify-content: center;
    }
}
