.mobile-home-shell {
  display: none;
}

@media (min-width: 769px) {
  .mobile-home-shell {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .ann-section,
  .news-section {
    display: none !important;
  }

  .mobile-home-shell {
    display: block;
  }
}

@media (max-width: 768px) {
  :root {
    --home-bg: var(--light, #f8f9fc);
    --home-card: var(--white, #fff);
    --home-line: rgba(26, 75, 140, 0.1);
    --home-soft-blue: rgba(26, 75, 140, 0.08);
    --home-soft-yellow: rgba(255, 180, 0, 0.13);
    --home-soft-red: rgba(255, 107, 107, 0.12);
    --home-soft-green: rgba(34, 197, 94, 0.12);
    --home-radius-xl: 30px;
    --home-radius-lg: 24px;
    --home-radius-md: 18px;
    --home-shadow: 0 20px 55px rgba(13, 50, 100, 0.1);
    --home-shadow-soft: 0 12px 30px rgba(13, 50, 100, 0.07);
    --home-transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body {
    background:
      radial-gradient(
        circle at 12% 0%,
        rgba(107, 140, 190, 0.18),
        transparent 30%
      ),
      radial-gradient(
        circle at 90% 12%,
        rgba(255, 180, 0, 0.12),
        transparent 26%
      ),
      linear-gradient(180deg, #ffffff 0%, var(--home-bg) 34%, #ffffff 100%);
  }

  .school-home {
    overflow: hidden;
    padding-bottom: 36px;
  }

  .school-home .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
  }

  .home-hero-panel {
    padding: 32px 0 34px;
  }

  .home-hero-panel__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 34px;
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.92) 43%,
        rgba(255, 255, 255, 0.28) 70%,
        rgba(255, 255, 255, 0.08) 100%
      ),
      url("/img/school-bg.jpg") center right / cover no-repeat,
      linear-gradient(135deg, #ffffff 0%, rgba(26, 75, 140, 0.1) 100%);
    box-shadow: var(--home-shadow);
  }

  .home-hero-panel__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(
        circle at 60% 18%,
        rgba(255, 180, 0, 0.18),
        transparent 20%
      ),
      linear-gradient(180deg, transparent 54%, rgba(13, 50, 100, 0.18));
  }

  .home-hero-panel__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 58px 30px 58px 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--home-soft-blue);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .home-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 5px rgba(255, 180, 0, 0.16);
  }

  .home-hero-panel h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    color: var(--dark);
    max-width: 680px;
  }

  .home-hero-panel h1 span {
    color: var(--primary);
  }

  .home-hero-panel p {
    margin: 22px 0 0;
    max-width: 520px;
    color: var(--gray);
    font-size: 1.06rem;
    line-height: 1.75;
  }

  .home-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .home-primary-action,
  .home-secondary-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--home-transition);
  }

  .home-primary-action {
    color: #fff;
    background: linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-light) 100%
    );
    box-shadow: 0 14px 26px rgba(26, 75, 140, 0.24);
  }

  .home-primary-action--small {
    min-height: 44px;
    white-space: nowrap;
  }

  .home-secondary-action {
    color: var(--primary-dark);
    background: #fff;
    border: 1px solid var(--home-line);
  }

  .home-primary-action:hover,
  .home-secondary-action:hover,
  .home-section-link:hover,
  .home-tool-link:hover {
    transform: translateY(-2px);
  }

  .home-hero-panel__visual {
    position: relative;
    min-height: 100%;
  }

  .home-hero-cardlet {
    position: absolute;
    right: 24px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 12px 16px;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(13, 50, 100, 0.12);
    font-weight: 800;
  }

  .home-hero-cardlet--top {
    top: 28px;
  }
  .home-hero-cardlet--bottom {
    bottom: 28px;
  }

  .home-section {
    padding: 24px 0;
  }

  .home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
  }

  .home-section-head > div:first-child {
    min-width: 0;
  }

  .home-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border-radius: 12px;
    background: var(--home-soft-blue);
    color: var(--primary);
    vertical-align: middle;
  }

  .home-section-head h2 {
    display: inline;
    margin: 0;
    color: var(--dark);
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .home-section-head p {
    margin: 8px 0 0 42px;
    color: var(--gray);
  }

  .home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--home-line);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--home-transition);
  }

  .announcement-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .announcement-card {
    position: relative;
    min-height: 178px;
    padding: 22px;
    overflow: hidden;
    border-radius: var(--home-radius-lg);
    background: #fff;
    border: 1px solid var(--home-line);
    box-shadow: var(--home-shadow-soft);
  }

  .announcement-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -62px;
    top: -74px;
    border-radius: 999px;
    opacity: 0.9;
  }

  .announcement-card--important {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 107, 107, 0.1) 100%);
  }
  .announcement-card--info {
    background: linear-gradient(135deg, #fff 0%, rgba(26, 75, 140, 0.1) 100%);
  }
  .announcement-card--success {
    background: linear-gradient(135deg, #fff 0%, rgba(34, 197, 94, 0.11) 100%);
  }
  .announcement-card--important::after {
    background: var(--home-soft-red);
  }
  .announcement-card--info::after {
    background: var(--home-soft-blue);
  }
  .announcement-card--success::after {
    background: var(--home-soft-green);
  }

  .announcement-card__badge,
  .home-news-tag {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(26, 75, 140, 0.09);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.035em;
  }

  .announcement-card--important .announcement-card__badge {
    background: rgba(255, 107, 107, 0.15);
    color: #d93a3a;
  }
  .announcement-card--success .announcement-card__badge {
    background: rgba(34, 197, 94, 0.15);
    color: #17824a;
  }

  .announcement-card h3 {
    margin: 14px 0 8px;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .announcement-card p {
    margin: 0;
    color: var(--gray);
    line-height: 1.55;
  }

  .announcement-card time {
    display: inline-flex;
    margin-top: 16px;
    color: var(--gray);
    font-size: 0.86rem;
    font-weight: 700;
  }

  .home-news-modern {
    padding-top: 34px;
  }

  .home-news-layout,
  .home-news-main-column {
    min-width: 0;
  }

  .home-news-main-column {
    display: grid;
    gap: 16px;
  }

  .home-news-spotlight {
    position: relative;
    display: block;
    min-height: 430px;
    overflow: hidden;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    background: var(--primary-dark);
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(255, 255, 255, 0.35);
    isolation: isolate;
  }

  .home-news-spotlight__media,
  .home-news-spotlight__media img,
  .home-news-spotlight__shade {
    position: absolute;
    inset: 0;
  }

  .home-news-spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.65s ease;
  }

  .home-news-spotlight:hover .home-news-spotlight__media img {
    transform: scale(1.06);
  }

  .home-news-spotlight__shade {
    z-index: 1;
    background:
      linear-gradient(
        90deg,
        rgba(4, 15, 35, 0.84) 0%,
        rgba(4, 15, 35, 0.52) 42%,
        rgba(4, 15, 35, 0.06) 100%
      ),
      linear-gradient(0deg, rgba(4, 15, 35, 0.62) 0%, transparent 52%);
  }

  .home-news-spotlight__body {
    position: relative;
    z-index: 2;
    width: min(590px, 72%);
    min-height: 430px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .home-news-tag--lead {
    margin-bottom: auto;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 12px 22px rgba(26, 75, 140, 0.28);
  }

  .home-news-date {
    color: var(--gray);
    font-size: 0.86rem;
    font-weight: 750;
  }

  .home-news-date--invert {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.88);
  }

  .home-news-spotlight__title {
    max-width: 640px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .home-news-spotlight__excerpt {
    max-width: 520px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .home-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 850;
  }

  .home-news-time {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 850;
  }

  .home-news-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .home-news-tile {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 24px;
    background: #fff;
    color: var(--dark);
    text-decoration: none;
    box-shadow: var(--home-shadow-soft);
    transition: var(--home-transition);
  }

  .home-news-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--home-shadow);
  }

  .home-news-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
  }

  .home-news-tile:hover .home-news-tile__media img {
    transform: scale(1.06);
  }

  .home-news-tile__body {
    min-width: 0;
    padding: 20px;
  }

  .home-news-date--small {
    display: block;
    margin-top: 14px;
  }

  .home-news-tile__title {
    margin: 8px 0 0;
    color: var(--dark);
    font-size: 1.15rem;
    line-height: 1.22;
    letter-spacing: -0.025em;
  }

  .home-news-tile__excerpt {
    margin: 10px 0 0;
    color: var(--gray);
    line-height: 1.55;
  }

  .home-news-tile__meta {
    display: inline-flex;
    margin-top: 12px;
    color: var(--gray);
    font-size: 0.86rem;
    font-weight: 800;
  }

  .home-news-tile--support {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    min-height: 210px;
    background: linear-gradient(135deg, #fff 0%, rgba(26, 75, 140, 0.07) 100%);
  }

  .home-news-tile--support .home-news-tile__media {
    order: 2;
    min-height: 100%;
  }

  .home-news-tile--support .home-news-tile__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .home-news-tile--wide {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
    min-height: 250px;
    align-items: stretch;
  }

  .home-news-tile--wide .home-news-tile__media {
    min-height: 250px;
  }

  .home-news-tile--wide .home-news-tile__body {
    padding: 26px 74px 26px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-news-tile--wide .home-news-tile__title {
    font-size: 1.5rem;
  }

  .home-news-tile__arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-soft-blue);
    color: var(--primary);
    font-size: 2rem;
  }

  .home-news-mini-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .home-news-tile--mini {
    min-height: 208px;
  }

  .home-news-tile--mini .home-news-tile__media {
    height: 94px;
  }

  .home-news-tile--mini .home-news-tile__body {
    padding: 13px;
  }

  .home-news-tile--mini .home-news-tag {
    font-size: 0.62rem;
    padding: 5px 8px;
  }

  .home-news-tile--mini .home-news-date,
  .home-news-tile--mini .home-news-tile__meta {
    font-size: 0.72rem;
    margin-top: 7px;
  }

  .home-news-tile--mini .home-news-tile__title {
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .home-news-tile--tone2 .home-news-tag {
    background: rgba(255, 107, 107, 0.13);
    color: #c63b3b;
  }
  .home-news-tile--tone3 .home-news-tag {
    background: rgba(255, 180, 0, 0.18);
    color: #9b6400;
  }
  .home-news-tile--tone4 .home-news-tag {
    background: rgba(34, 197, 94, 0.13);
    color: #177b45;
  }
  .home-news-tile--tone5 .home-news-tag {
    background: rgba(107, 140, 190, 0.16);
    color: var(--primary-dark);
  }

  .home-empty-card {
    border-radius: 24px;
    padding: 32px;
    border: 1px dashed rgba(26, 75, 140, 0.22);
    background: rgba(255, 255, 255, 0.74);
    color: var(--gray);
    text-align: center;
  }

  .home-tools-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
  }

  .home-tool-card {
    overflow: hidden;
    border-radius: var(--home-radius-lg);
    background: #fff;
    border: 1px solid var(--home-line);
    box-shadow: var(--home-shadow-soft);
    padding: 24px;
  }

  .home-tool-card--schedule {
    background: linear-gradient(135deg, #fff 0%, rgba(26, 75, 140, 0.08) 100%);
  }

  @media (max-width: 768px) {
    .home-tool-card--events {
      position: relative;
      background:
        radial-gradient(
          circle at 92% 6%,
          rgba(255, 180, 0, 0.22),
          transparent 30%
        ),
        linear-gradient(135deg, #fff 0%, rgba(255, 180, 0, 0.1) 100%);
    }

    .events-list--modern {
      display: grid;
    }

    .events-list--modern .event-card {
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 12px;
      padding: 11px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(26, 75, 140, 0.09);
      box-shadow: 0 10px 22px rgba(13, 50, 100, 0.055);
    }

    .events-list--modern .event-card::before {
      top: 13px;
      bottom: 13px;
      width: 3px;
    }

    .events-list--modern .event-card:hover {
      transform: none;
    }

    .events-list--modern .event-date {
      width: 52px;
      min-height: 56px;
      border-radius: 15px;
      box-shadow: 0 8px 18px rgba(26, 75, 140, 0.2);
    }

    .events-list--modern .event-date .day {
      font-size: 1.25rem;
    }

    .events-list--modern .event-date .month {
      margin-top: 4px;
      font-size: 0.58rem;
    }

    .events-list--modern .event-meta-row {
      gap: 5px;
      margin-bottom: 5px;
    }

    .events-list--modern .event-badge {
      min-height: 21px;
      padding: 3px 8px;
      font-size: 0.66rem;
    }

    .events-list--modern .event-full-date {
      font-size: 0.68rem;
    }

    .events-list--modern .event-title {
      font-size: 0.92rem;
      line-height: 1.25;
    }

    .events-list--modern .event-location {
      margin-top: 5px;
      font-size: 0.77rem;
      line-height: 1.3;
    }

    .events-list--modern .event-card--empty {
      grid-template-columns: 42px minmax(0, 1fr);
    }

    .events-list--modern .event-empty-icon {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      font-size: 1.1rem;
    }
  }

  @media (max-width: 430px) {
    .events-list--modern .event-card {
      grid-template-columns: 54px minmax(0, 1fr);
      padding: 10px;
    }

    .events-list--modern .event-date {
      width: 48px;
      min-height: 52px;
    }

    .events-list--modern .event-title {
      font-size: 0.88rem;
    }

    .events-list--modern .event-badge {
      font-size: 0.62rem;
    }

    .events-list--modern .event-full-date {
      font-size: 0.64rem;
    }
  }

  .home-tool-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .home-tool-card__head span {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--primary);
    background: rgba(26, 75, 140, 0.08);
  }

  .home-tool-card__head h2 {
    margin: 0;
    color: var(--dark);
    font-size: 1.3rem;
    letter-spacing: -0.025em;
  }

  .schedule-list--modern {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
  }

  .schedule-list--modern .schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(26, 75, 140, 0.08);
  }

  .schedule-list--modern .schedule-item:last-child {
    border-bottom: 0;
  }

  .schedule-lesson {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--primary-dark);
    font-weight: 900;
  }

  .schedule-lesson .num {
    font-size: 1.02rem;
  }

  .schedule-lesson .label {
    color: var(--gray);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .schedule-time {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    color: var(--dark);
    font-weight: 800;
  }

  .home-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
  }

  .events-list--modern {
    display: grid;
    gap: 11px;
  }

  .event-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(26, 75, 140, 0.08);
  }

  .event-date {
    width: 56px;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(26, 75, 140, 0.09);
    color: var(--primary);
    font-weight: 900;
    line-height: 1;
  }

  .event-date .day {
    font-size: 1.35rem;
  }

  .event-date .month {
    margin-top: 5px;
    font-size: 0.68rem;
  }

  .event-title {
    color: var(--dark);
    font-weight: 900;
    line-height: 1.25;
  }

  .event-location,
  .event-full-date,
  .no-events {
    margin-top: 4px;
    color: var(--gray);
    font-size: 0.88rem;
  }

  .home-contact-cta {
    padding: 26px 0 10px;
  }

  .home-contact-cta__inner {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border-radius: 26px;
    background:
      radial-gradient(
        circle at 86% 20%,
        rgba(107, 140, 190, 0.2),
        transparent 24%
      ),
      linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(26, 75, 140, 0.08)
      );
    border: 1px solid var(--home-line);
    box-shadow: var(--home-shadow-soft);
  }

  .home-contact-cta__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(26, 75, 140, 0.09);
    color: var(--primary);
    font-size: 2rem;
  }

  .home-contact-cta h2 {
    margin: 0;
    color: var(--dark);
    letter-spacing: -0.03em;
  }

  .home-contact-cta p {
    margin: 4px 0 0;
    color: var(--gray);
  }

  @media (max-width: 1024px) {
    .home-hero-panel__inner {
      grid-template-columns: 1fr;
    }

    .home-hero-panel__visual {
      min-height: 0;
    }

    .home-hero-cardlet {
      display: none;
    }

    .home-news-mini-rail {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .home-news-modern {
    padding-top: 42px;
  }

  .home-news-modern .home-section-head {
    margin-bottom: 22px;
  }

  .home-news-layout {
    min-width: 0;
  }

  .home-news-main-column {
    display: grid;
    gap: 20px;
  }

  .home-news-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.62fr);
    gap: 16px;
    align-items: stretch;
  }

  .home-news-showcase .home-news-spotlight {
    min-height: 440px;
    border-radius: 18px;
  }

  .home-news-showcase .home-news-spotlight__body {
    width: min(610px, 74%);
    min-height: 440px;
    padding: 28px;
  }

  .home-news-showcase .home-news-spotlight__shade {
    background:
      linear-gradient(
        90deg,
        rgba(4, 15, 35, 0.88) 0%,
        rgba(4, 15, 35, 0.58) 44%,
        rgba(4, 15, 35, 0.12) 100%
      ),
      linear-gradient(0deg, rgba(4, 15, 35, 0.74) 0%, transparent 58%);
  }

  .home-news-support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-news-feed-panel {
    display: grid;
    gap: 14px;
  }

  .home-news-feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
  }

  .home-news-feed-head > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .home-news-feed-accent {
    width: 4px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
  }

  .home-news-feed-head h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  .home-news-feed-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .home-news-feed-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3fa;
    color: var(--gray);
    font-size: 0.72rem;
    font-weight: 850;
  }

  .home-news-feed-pills .is-active {
    background: var(--primary);
    color: #ffffff;
  }

  .home-news-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .home-news-tile,
  .home-news-tile--support,
  .home-news-tile--feed,
  .home-news-tile--wide,
  .home-news-tile--mini {
    position: relative;
    display: block;
    min-height: 250px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(13, 50, 100, 0.14);
    isolation: isolate;
  }

  .home-news-tile--support {
    min-height: 212px;
  }

  .home-news-tile--feed {
    min-height: 265px;
  }

  .home-news-tile__media,
  .home-news-tile--support .home-news-tile__media,
  .home-news-tile--wide .home-news-tile__media,
  .home-news-tile--mini .home-news-tile__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    order: initial;
    overflow: hidden;
    background: #dbe7f4;
  }

  .home-news-tile__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(3, 12, 30, 0.08) 0%,
        rgba(3, 12, 30, 0.68) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 12, 30, 0.62) 0%,
        rgba(3, 12, 30, 0.16) 68%
      );
    pointer-events: none;
  }

  .home-news-tile__media img,
  .home-news-tile--support .home-news-tile__media img,
  .home-news-tile--wide .home-news-tile__media img,
  .home-news-tile--mini .home-news-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-news-tile__body,
  .home-news-tile--support .home-news-tile__body,
  .home-news-tile--wide .home-news-tile__body,
  .home-news-tile--mini .home-news-tile__body {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 18px;
    background: transparent;
  }

  .home-news-tile .home-news-tag {
    color: #ffffff;
    background: rgba(26, 75, 140, 0.8);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .home-news-tile--tone2 .home-news-tag,
  .home-news-tile--tone3 .home-news-tag,
  .home-news-tile--tone4 .home-news-tag,
  .home-news-tile--tone5 .home-news-tag {
    color: #ffffff;
  }

  .home-news-tile--tone2 .home-news-tag {
    background: rgba(255, 107, 107, 0.72);
  }
  .home-news-tile--tone3 .home-news-tag {
    background: rgba(255, 180, 0, 0.84);
    color: #172033;
  }
  .home-news-tile--tone4 .home-news-tag {
    background: rgba(26, 75, 140, 0.82);
  }
  .home-news-tile--tone5 .home-news-tag {
    background: rgba(13, 50, 100, 0.78);
  }

  .home-news-date--small,
  .home-news-tile--mini .home-news-date,
  .home-news-tile--mini .home-news-tile__meta {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.72);
  }

  .home-news-tile__title,
  .home-news-tile--wide .home-news-tile__title,
  .home-news-tile--mini .home-news-tile__title {
    max-width: 100%;
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 1.12rem;
    line-height: 1.22;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  }

  .home-news-tile--support .home-news-tile__title {
    font-size: 1.02rem;
    line-height: 1.24;
  }

  .home-news-tile__excerpt {
    max-width: 100%;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
  }

  .home-news-tile__meta {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.76);
  }

  .home-news-tile__arrow {
    display: none;
  }

  .home-news-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(13, 50, 100, 0.2);
  }

  .home-news-tile:hover .home-news-tile__media img {
    transform: scale(1.06);
  }

  @media (max-width: 1120px) {
    .home-news-showcase {
      grid-template-columns: 1fr;
    }

    .home-news-support-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 900px) {
    .home-news-feed-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}

@media (max-width: 768px) {
  .mobile-ann-board .cork-board {
    position: relative;
    overflow: hidden;
    padding: 24px 16px 18px;
    border: 1px solid rgba(96, 55, 31, 0.25);
    border-radius: 20px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px) 0
        0 / 18px 18px,
      linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px) 0
        0 / 18px 18px,
      linear-gradient(135deg, #a8663d 0%, #c47d50 45%, #d7955f 100%);
    box-shadow:
      inset 0 0 0 6px rgba(96, 55, 31, 0.28),
      inset 0 2px 18px rgba(0, 0, 0, 0.2),
      0 20px 38px rgba(96, 55, 31, 0.2);
  }

  .mobile-ann-board .stickers-grid,
  .mobile-ann-board .stickers-grid--1,
  .mobile-ann-board .stickers-grid--2,
  .mobile-ann-board .stickers-grid--3 {
    display: flex;
    flex-direction: column;
    max-width: none;
    gap: 14px;
  }

  .mobile-ann-board .sticker,
  .mobile-ann-board .sticker--pos1,
  .mobile-ann-board .sticker--pos2,
  .mobile-ann-board .sticker--pos3 {
    min-height: 112px;
    padding: 26px 18px 20px;
    border-radius: 10px 10px 14px 14px;
    transform: none !important;
    box-shadow: 0 13px 20px rgba(68, 39, 20, 0.2);
  }

  .mobile-ann-board .sticker {
    overflow: hidden;
    border-left: 4px solid rgba(26, 75, 140, 0.22);
  }

  .mobile-ann-board .sticker::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(
      135deg,
      transparent 50%,
      rgba(0, 0, 0, 0.08) 50%
    );
    pointer-events: none;
  }

  .mobile-ann-board .sticker:hover,
  .mobile-ann-board .sticker:focus-visible {
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 26px rgba(68, 39, 20, 0.25);
  }

  .mobile-ann-board .sticker-pin {
    top: -9px;
    left: 24px;
    width: 18px;
    height: 18px;
    transform: none;
  }

  .mobile-ann-board .sticker-title {
    min-width: 0;
    max-width: 100%;
    font-size: 1.34rem;
    line-height: 1.12;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .ann-modal-sheet {
    max-height: 86svh;
    border-radius: 22px 22px 0 0;
  }

  .ann-modal-head {
    gap: 12px;
    padding: 8px 54px 14px 18px;
  }

  .ann-modal-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .ann-modal-title {
    font-size: 1.55rem;
    letter-spacing: 0;
  }

  .ann-modal-content {
    padding: 16px 18px 20px;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
  }
}

@media (max-width: 430px) {
  .mobile-ann-board .cork-board {
    border-width: 4px;
    border-radius: 16px;
    padding: 22px 14px 16px;
  }
}

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(
        circle at top left,
        rgba(26, 75, 140, 0.1),
        transparent 38%
      ),
      linear-gradient(180deg, #ffffff 0%, #f3f7fd 44%, #ffffff 100%);
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .school-home {
    padding: 0 0 86px;
  }

  .school-home .container {
    width: 100%;
    padding: 0 14px;
  }

  .home-hero-panel {
    padding: 12px 0 16px;
  }

  .home-hero-panel__inner {
    min-height: 290px;
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(13, 50, 100, 0.1);
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.91) 47%,
        rgba(255, 255, 255, 0.42) 100%
      ),
      url("/img/school-bg.jpg") center right / cover no-repeat,
      linear-gradient(135deg, #fff, rgba(26, 75, 140, 0.08));
  }

  .home-hero-panel__inner::before {
    background: linear-gradient(
      180deg,
      transparent 56%,
      rgba(13, 50, 100, 0.1)
    );
  }

  .home-hero-panel__content {
    max-width: none;
    padding: 25px 20px;
    justify-content: flex-start;
  }

  .home-kicker {
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 0.66rem;
  }

  .home-hero-panel h1 {
    max-width: 280px;
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1;
    letter-spacing: -0.06em;
  }

  .home-hero-panel p {
    max-width: 286px;
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .home-hero-actions {
    margin-top: 18px;
    gap: 9px;
  }

  .home-primary-action,
  .home-secondary-action {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .home-section {
    padding: 16px 0;
  }

  .home-section-head {
    margin-bottom: 12px;
    align-items: center;
  }

  .home-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    margin-right: 7px;
  }

  .home-section-head h2 {
    font-size: 1.23rem;
  }

  .home-section-head p {
    display: none;
  }

  .home-section-link {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 0.86rem;
  }

  .announcement-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 1px 4px 8px 1px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .announcement-strip::-webkit-scrollbar,
  .home-news-mini-rail::-webkit-scrollbar {
    display: none;
  }

  .announcement-card {
    flex: 0 0 78%;
    min-height: 146px;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(13, 50, 100, 0.07);
    scroll-snap-align: start;
  }

  .announcement-card__badge {
    font-size: 0.64rem;
    padding: 5px 8px;
  }

  .announcement-card h3 {
    margin-top: 11px;
    font-size: 1rem;
  }

  .announcement-card p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .announcement-card time {
    margin-top: 12px;
    font-size: 0.78rem;
  }

  .home-news-modern {
    padding-top: 18px;
  }

  .home-news-main-column {
    gap: 12px;
  }

  .home-news-spotlight {
    min-height: 340px;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(13, 50, 100, 0.14);
  }

  .home-news-spotlight__shade {
    background:
      linear-gradient(
        90deg,
        rgba(4, 15, 35, 0.82) 0%,
        rgba(4, 15, 35, 0.38) 64%,
        rgba(4, 15, 35, 0.06) 100%
      ),
      linear-gradient(0deg, rgba(4, 15, 35, 0.68) 0%, transparent 62%);
  }

  .home-news-spotlight__body {
    width: 100%;
    min-height: 340px;
    padding: 18px;
  }

  .home-news-tag--lead {
    font-size: 0.64rem;
    padding: 6px 9px;
  }

  .home-news-date--invert {
    margin-bottom: 9px;
    font-size: 0.78rem;
  }

  .home-news-spotlight__title {
    max-width: 86%;
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    line-height: 1.05;
  }

  .home-news-spotlight__excerpt {
    max-width: 86%;
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-news-read-more {
    min-height: 38px;
    margin-top: 15px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .home-news-time {
    right: 14px;
    bottom: 14px;
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .home-news-support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .home-news-tile {
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(13, 50, 100, 0.07);
  }

  .home-news-tile__body {
    padding: 14px;
  }

  .home-news-tag {
    padding: 5px 8px;
    font-size: 0.62rem;
  }

  .home-news-date--small {
    margin-top: 10px;
    font-size: 0.72rem;
  }

  .home-news-tile__title {
    margin-top: 7px;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .home-news-tile__excerpt {
    display: none;
  }

  .home-news-tile__meta {
    margin-top: 10px;
    font-size: 0.72rem;
  }

  .home-news-tile--support {
    display: flex;
    flex-direction: column;
    min-height: 220px;
  }

  .home-news-tile--support .home-news-tile__media {
    order: 0;
    height: 100px;
    min-height: 100px;
  }

  .home-news-tile--support .home-news-tile__body {
    flex: 1;
  }

  .home-news-tile--wide {
    grid-template-columns: 42% 1fr;
    min-height: 172px;
  }

  .home-news-tile--wide .home-news-tile__media {
    min-height: 172px;
  }

  .home-news-tile--wide .home-news-tile__body {
    padding: 14px 44px 14px 14px;
  }

  .home-news-tile--wide .home-news-tile__title {
    font-size: 1rem;
  }

  .home-news-tile__arrow {
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }

  .home-news-mini-rail {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding: 1px 4px 8px 1px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-news-tile--mini {
    flex: 0 0 42%;
    min-height: 188px;
    scroll-snap-align: start;
  }

  .home-news-tile--mini .home-news-tile__media {
    height: 86px;
  }

  .home-news-tile--mini .home-news-tile__body {
    padding: 11px;
  }

  .home-tools-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-tool-card {
    padding: 16px;
    border-radius: 20px;
  }

  .home-tool-card__head {
    margin-bottom: 12px;
  }

  .home-tool-card__head span {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .home-tool-card__head h2 {
    font-size: 1.06rem;
  }

  .schedule-list--modern .schedule-item {
    grid-template-columns: 160px 1fr;
    padding: 7px 0;
  }

  .schedule-time {
    font-size: 0.88rem;
  }

  .events-list--modern {
    gap: 9px;
  }

  .event-card {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 9px;
    border-radius: 16px;
  }

  .event-date {
    width: 50px;
    min-height: 52px;
    border-radius: 14px;
  }

  .event-date .day {
    font-size: 1.12rem;
  }

  .event-title {
    font-size: 0.92rem;
  }

  .event-location,
  .event-full-date,
  .no-events {
    font-size: 0.78rem;
  }

  .home-contact-cta {
    padding: 16px 0 2px;
  }

  .home-contact-cta__inner {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .home-contact-cta__icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 1.35rem;
  }

  .home-contact-cta h2 {
    font-size: 1.05rem;
  }

  .home-contact-cta p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .home-contact-cta .home-primary-action {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }
}

@media (max-width: 430px) {
  .school-home .container {
    padding: 0 12px;
  }

  .home-hero-panel__inner {
    min-height: 310px;
  }

  .home-hero-panel h1 {
    max-width: 250px;
    position: relative;
    top: 120px;
  }

  .home-hero-panel p {
    max-width: 260px;
  }

  .home-news-support-grid {
    grid-template-columns: 1fr;
  }

  .home-news-tile--support {
    display: grid;
    grid-template-columns: 1fr 118px;
    min-height: 156px;
  }

  .home-news-tile--support .home-news-tile__media {
    order: 2;
    height: auto;
    min-height: 156px;
  }

  .home-news-tile--mini {
    flex-basis: 58%;
  }

  .announcement-card {
    flex-basis: 86%;
  }
}

@media (max-width: 768px) {
  .home-news-showcase,
  .home-news-main-column,
  .home-news-feed-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-news-spotlight {
    min-height: 360px;
    border-radius: 22px;
  }

  .home-news-spotlight__body {
    width: 100%;
    min-height: 360px;
    padding: 18px;
  }

  .home-news-spotlight__title {
    max-width: 92%;
    font-size: clamp(1.52rem, 7vw, 2.15rem);
  }

  .home-news-spotlight__excerpt {
    max-width: 92%;
  }

  .home-news-support-grid,
  .home-news-feed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-news-feed-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .home-news-feed-head > div:first-child {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .home-news-feed-accent {
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
  }

  .home-news-feed-head h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.02rem;
    font-weight: 900;
  }

  .home-news-feed-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-news-feed-pills span {
    flex: 0 0 auto;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eef3fa;
    color: var(--gray);
    font-size: 0.7rem;
    font-weight: 850;
  }

  .home-news-feed-pills .is-active {
    background: var(--primary);
    color: #ffffff;
  }

  .home-news-tile,
  .home-news-tile--support,
  .home-news-tile--feed,
  .home-news-tile--wide,
  .home-news-tile--mini {
    display: block;
    min-height: 230px;
    border-radius: 20px;
  }

  .home-news-tile--support {
    min-height: 210px;
  }

  .home-news-tile__media,
  .home-news-tile--support .home-news-tile__media,
  .home-news-tile--wide .home-news-tile__media,
  .home-news-tile--mini .home-news-tile__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    order: initial;
  }

  .home-news-tile__body,
  .home-news-tile--support .home-news-tile__body,
  .home-news-tile--wide .home-news-tile__body,
  .home-news-tile--mini .home-news-tile__body {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 16px;
  }

  .home-news-tile__title,
  .home-news-tile--wide .home-news-tile__title,
  .home-news-tile--mini .home-news-tile__title {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.22;
  }

  .home-news-tile__excerpt {
    display: -webkit-box;
    color: rgba(255, 255, 255, 0.78);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-news-date--small,
  .home-news-tile__meta {
    color: rgba(255, 255, 255, 0.74);
  }
}

@media (max-width: 768px) {
  .mobile-home-shell .home-news-showcase,
  .mobile-home-shell .home-news-support-grid,
  .mobile-home-shell .home-news-feed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight,
  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(118px, 0.42fr);
    min-height: 178px;
    overflow: hidden;
    border: 1px solid rgba(26, 75, 140, 0.1);
    border-radius: 20px;
    background: #ffffff;
    color: var(--dark);
    box-shadow: 0 14px 34px rgba(13, 50, 100, 0.12);
    isolation: isolate;
  }

  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    grid-template-columns: minmax(0, 0.6fr) minmax(132px, 0.4fr);
    min-height: 292px;
    border-radius: 24px;
  }

  .mobile-home-shell .home-news-spotlight__media,
  .mobile-home-shell .home-news-tile__media,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media {
    position: relative;
    inset: auto;
    order: 2;
    width: auto;
    height: auto;
    min-height: inherit;
    overflow: hidden;
    background: #dbe7f4;
  }

  .mobile-home-shell .home-news-spotlight__media::after,
  .mobile-home-shell .home-news-tile__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.56) 18%,
      rgba(255, 255, 255, 0) 46%
    );
    pointer-events: none;
  }

  .mobile-home-shell .home-news-spotlight__media img,
  .mobile-home-shell .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media img {
    position: static;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .mobile-home-shell .home-news-spotlight__shade {
    display: none;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body,
  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    position: relative;
    z-index: 2;
    order: 1;
    width: auto;
    min-height: inherit;
    padding: 17px 32px 17px 16px;
    margin-right: -28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.98) 74%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body {
    padding: 24px 42px 24px 20px;
    margin-right: -36px;
  }

  .mobile-home-shell .home-news-tag,
  .mobile-home-shell .home-news-tag--lead,
  .mobile-home-shell .home-news-read-more,
  .mobile-home-shell .home-news-time,
  .mobile-home-shell .home-news-tile__meta,
  .mobile-home-shell .home-news-tile__arrow,
  .mobile-home-shell .home-news-tile__excerpt,
  .mobile-home-shell .home-news-spotlight__excerpt {
    display: none !important;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title,
  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    max-width: 100%;
    margin: 0;
    color: var(--primary-dark);
    text-shadow: none;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    line-height: 1.08;
  }

  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    font-size: 1.02rem;
    line-height: 1.24;
  }

  .mobile-home-shell .home-news-date,
  .mobile-home-shell .home-news-date--plain,
  .mobile-home-shell .home-news-date--small {
    display: inline-flex;
    margin: 12px 0 0;
    color: var(--gray);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
  }
}

@media (max-width: 430px) {
  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    grid-template-columns: minmax(0, 0.64fr) minmax(104px, 0.36fr);
    min-height: 272px;
  }

  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    grid-template-columns: minmax(0, 0.64fr) minmax(98px, 0.36fr);
    min-height: 166px;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body {
    padding: 20px 34px 20px 16px;
    margin-right: -30px;
  }

  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    padding: 15px 28px 15px 14px;
    margin-right: -24px;
  }
}

@media (max-width: 768px) {
  .mobile-home-shell .home-news-main-column,
  .mobile-home-shell .home-news-showcase,
  .mobile-home-shell .home-news-support-grid,
  .mobile-home-shell .home-news-feed-grid {
    gap: 14px;
  }

  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight,
  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    display: block;
    min-height: 184px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(13, 50, 100, 0.12);
  }

  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    min-height: 260px;
    border-radius: 24px;
  }

  .mobile-home-shell .home-news-spotlight__media,
  .mobile-home-shell .home-news-tile__media,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 54%;
    height: 100%;
    min-height: 100%;
    z-index: 1;
    border-radius: 0;
  }

  .mobile-home-shell .home-news-spotlight__media {
    width: 56%;
  }

  .mobile-home-shell .home-news-spotlight__media img,
  .mobile-home-shell .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .mobile-home-shell .home-news-spotlight__media::after,
  .mobile-home-shell .home-news-tile__media::after {
    inset: 0 auto 0 -54%;
    width: 82%;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.98) 34%,
      rgba(255, 255, 255, 0.72) 62%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body,
  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    width: 72%;
    min-height: inherit;
    margin: 0;
    padding: 20px 34px 20px 18px;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 72%,
      rgba(255, 255, 255, 0.94) 88%,
      rgba(255, 255, 255, 0) 100%
    );
    justify-content: center;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body {
    width: 74%;
    padding: 24px 42px 24px 20px;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    font-size: clamp(1.32rem, 5.2vw, 1.72rem);
    line-height: 1.12;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    font-size: clamp(0.98rem, 3.6vw, 1.16rem);
    line-height: 1.26;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mobile-home-shell .home-news-date,
  .mobile-home-shell .home-news-date--plain,
  .mobile-home-shell .home-news-date--small {
    margin-top: 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 430px) {
  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    min-height: 242px;
  }

  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    min-height: 168px;
  }

  .mobile-home-shell .home-news-spotlight__media {
    width: 54%;
  }

  .mobile-home-shell .home-news-tile__media,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media {
    width: 52%;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body {
    width: 74%;
    padding: 20px 34px 20px 16px;
  }

  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    width: 74%;
    padding: 17px 30px 17px 15px;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    font-size: clamp(1.22rem, 5.4vw, 1.52rem);
  }
}

@media (max-width: 768px) {
  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight,
  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    min-height: 152px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(13, 50, 100, 0.1);
  }

  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    min-height: 204px;
    border-radius: 20px;
  }

  .mobile-home-shell .home-news-spotlight__media,
  .mobile-home-shell .home-news-tile__media,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media {
    width: 60%;
  }

  .mobile-home-shell .home-news-spotlight__media {
    width: 62%;
  }

  .mobile-home-shell .home-news-spotlight__media::after,
  .mobile-home-shell .home-news-tile__media::after {
    inset: 0 auto 0 -62%;
    width: 92%;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 30%,
      rgba(255, 255, 255, 0.88) 56%,
      rgba(255, 255, 255, 0.34) 78%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body,
  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    width: 64%;
    padding: 17px 30px 15px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 76%,
      rgba(255, 255, 255, 0.82) 91%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body {
    width: 66%;
    padding: 20px 34px 17px 18px;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    color: var(--primary-dark);
    font-size: clamp(1.06rem, 4.2vw, 1.28rem);
    font-weight: 900;
    line-height: 1.16;
    -webkit-line-clamp: 4;
  }

  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    color: var(--primary-dark);
    font-size: clamp(0.86rem, 3.35vw, 1rem);
    font-weight: 850;
    line-height: 1.24;
    -webkit-line-clamp: 3;
  }

  .mobile-home-shell .home-news-date,
  .mobile-home-shell .home-news-date--plain,
  .mobile-home-shell .home-news-date--small {
    margin-top: auto;
    padding-top: 12px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 850;
  }
}

@media (max-width: 430px) {
  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    min-height: 196px;
  }

  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    min-height: 142px;
  }

  .mobile-home-shell .home-news-spotlight__media,
  .mobile-home-shell .home-news-tile__media,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media {
    width: 58%;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body,
  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    width: 66%;
    padding: 15px 28px 14px 15px;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    font-size: clamp(1rem, 4.15vw, 1.18rem);
  }

  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    font-size: clamp(0.82rem, 3.45vw, 0.94rem);
  }
}

@media (max-width: 768px) {
  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight,
  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    position: relative;
    display: block;
    min-height: 158px;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(26, 75, 140, 0.1);
    box-shadow: 0 12px 28px rgba(13, 50, 100, 0.11);
  }

  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    min-height: 236px;
    border-radius: 24px;
  }

  .mobile-home-shell .home-news-spotlight::before,
  .mobile-home-shell .home-news-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 38%,
      rgba(255, 255, 255, 0.82) 56%,
      rgba(255, 255, 255, 0.34) 72%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .mobile-home-shell .home-news-spotlight__media,
  .mobile-home-shell .home-news-tile__media,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
  }

  .mobile-home-shell .home-news-spotlight__media::after,
  .mobile-home-shell .home-news-tile__media::after {
    display: none;
  }

  .mobile-home-shell .home-news-spotlight__media img,
  .mobile-home-shell .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--support .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__media img,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: none;
  }

  .mobile-home-shell .home-news-spotlight__shade {
    display: none;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body,
  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    position: relative;
    z-index: 2;
    width: min(68%, 250px);
    min-height: inherit;
    margin: 0;
    padding: 18px 18px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body {
    width: min(70%, 270px);
    padding: 22px 20px 18px;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    color: var(--primary-dark);
    font-size: clamp(1.12rem, 4.55vw, 1.42rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    -webkit-line-clamp: 4;
  }

  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    color: var(--primary-dark);
    font-size: clamp(0.9rem, 3.55vw, 1.04rem);
    font-weight: 850;
    line-height: 1.26;
    letter-spacing: 0;
    -webkit-line-clamp: 3;
  }

  .mobile-home-shell .home-news-date,
  .mobile-home-shell .home-news-date--plain,
  .mobile-home-shell .home-news-date--small {
    margin-top: auto;
    padding-top: 12px;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 850;
  }
}

@media (max-width: 430px) {
  .mobile-home-shell .home-news-spotlight,
  .mobile-home-shell .home-news-showcase .home-news-spotlight {
    min-height: 222px;
  }

  .mobile-home-shell .home-news-tile,
  .mobile-home-shell .home-news-tile--support,
  .mobile-home-shell .home-news-tile--feed,
  .mobile-home-shell .home-news-tile--wide,
  .mobile-home-shell .home-news-tile--mini {
    min-height: 148px;
  }

  .mobile-home-shell .home-news-spotlight__body,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__body,
  .mobile-home-shell .home-news-tile__body,
  .mobile-home-shell .home-news-tile--support .home-news-tile__body,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__body,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__body {
    width: 70%;
    max-width: none;
    padding-left: 16px;
  }

  .mobile-home-shell .home-news-spotlight__title,
  .mobile-home-shell .home-news-showcase .home-news-spotlight__title {
    font-size: clamp(1.04rem, 4.35vw, 1.26rem);
  }

  .mobile-home-shell .home-news-tile__title,
  .mobile-home-shell .home-news-tile--support .home-news-tile__title,
  .mobile-home-shell .home-news-tile--wide .home-news-tile__title,
  .mobile-home-shell .home-news-tile--mini .home-news-tile__title {
    font-size: clamp(0.84rem, 3.55vw, 0.98rem);
  }
}

@media (max-width: 768px) {
  .mobile-news-redesign {
    padding: 18px 0 22px;
  }

  .mobile-news-redesign__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
  }

  .mobile-news-redesign__head h2 {
    margin: 6px 0 0;
    color: var(--primary-dark);
    font-size: 1.42rem;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .mobile-news-redesign__head p {
    margin: 5px 0 0;
    color: var(--gray);
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .mobile-news-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 180, 0, 0.18);
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-news-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(26, 75, 140, 0.08);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .mobile-news-redesign__stack {
    display: grid;
    gap: 14px;
  }

  .mobile-news-lead-card,
  .mobile-news-feature-card,
  .mobile-news-river-item {
    color: inherit;
    text-decoration: none;
  }

  .mobile-news-lead-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(26, 75, 140, 0.1);
    box-shadow: 0 18px 42px rgba(13, 50, 100, 0.13);
    isolation: isolate;
  }

  .mobile-news-lead-card__media {
    position: relative;
    overflow: hidden;
    background: #dbe7f4;
  }

  .mobile-news-lead-card__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 25%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 38%,
      rgba(255, 255, 255, 0.72) 66%,
      #ffffff 100%
    );
    pointer-events: none;
  }

  .mobile-news-lead-card__media img,
  .mobile-news-feature-card__media img,
  .mobile-news-river-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-news-lead-card__body {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
    padding: 15px 16px 18px;
    /*background:
      radial-gradient(
        circle at 94% 0%,
        rgba(255, 180, 0, 0.12),
        transparent 28%
      ),
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);*/
  }

  .mobile-news-lead-card__body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -42px;
    height: 44px;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.36) 38%,
      rgba(255, 255, 255, 0.78) 68%,
      #ffffff 100%
    );
    pointer-events: none;
  }

  .mobile-news-lead-card__body > * {
    position: relative;
    z-index: 1;
  }

  .mobile-news-lead-card__body h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.18rem, 5vw, 1.55rem);
    line-height: 1.16;
    letter-spacing: 0;
    font-weight: 900;
  }

  .mobile-news-date {
    display: inline-flex;
    width: fit-content;
    color: var(--gray);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.2;
  }

  .mobile-news-feature-grid {
    display: grid;
    gap: 10px;
  }

  .mobile-news-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
    align-items: center;
    padding: 11px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 75, 140, 0.08);
    box-shadow: 0 10px 24px rgba(13, 50, 100, 0.07);
  }

  .mobile-news-feature-card__media {
    width: 88px;
    height: 76px;
    overflow: hidden;
    border-radius: 14px;
    background: #dbe7f4;
  }

  .mobile-news-feature-card__body {
    min-width: 0;
  }

  .mobile-news-feature-card__body h3 {
    margin: 7px 0 0;
    color: var(--primary-dark);
    font-size: 0.92rem;
    line-height: 1.24;
    letter-spacing: 0;
    font-weight: 850;
  }

  .mobile-news-feature-card--tone2 .mobile-news-feature-card__body {
    background: transparent;
  }

  .mobile-news-river {
    display: grid;
    gap: 10px;
    padding-top: 4px;
  }

  .mobile-news-river__title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
  }

  .mobile-news-river__title span {
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
  }

  .mobile-news-river__title h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 900;
  }

  .mobile-news-river__list {
    display: grid;
    gap: 10px;
  }

  .mobile-news-river-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
    align-items: center;
    padding: 11px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 75, 140, 0.08);
    box-shadow: 0 10px 24px rgba(13, 50, 100, 0.07);
  }

  .mobile-news-river-item__body {
    min-width: 0;
  }

  .mobile-news-river-item__body h4 {
    margin: 7px 0 0;
    color: var(--primary-dark);
    font-size: 0.92rem;
    line-height: 1.24;
    letter-spacing: 0;
    font-weight: 850;
  }

  .mobile-news-river-item__media {
    width: 88px;
    height: 76px;
    overflow: hidden;
    border-radius: 14px;
    background: #dbe7f4;
  }
}

@media (max-width: 430px) {
  .mobile-news-redesign__head h2 {
    font-size: 1.28rem;
  }

  .mobile-news-redesign__head p {
    max-width: 220px;
  }

  .mobile-news-lead-card {
    border-radius: 24px;
  }

  .mobile-news-lead-card__body h3 {
    font-size: clamp(1.08rem, 5.3vw, 1.38rem);
  }

  .mobile-news-feature-card__body h3,
  .mobile-news-river-item__body h4 {
    font-size: 0.88rem;
  }

  .mobile-news-feature-card,
  .mobile-news-river-item {
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  .mobile-news-feature-card__media,
  .mobile-news-river-item__media {
    width: 78px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .mobile-home-shell .home-tool-card--events,
  .home-tool-card--events {
    position: relative;
    padding: 16px;
    overflow: hidden;
    border-radius: 24px;
    background:
      radial-gradient(
        circle at 96% -8%,
        rgba(255, 180, 0, 0.24),
        transparent 34%
      ),
      radial-gradient(
        circle at 0% 100%,
        rgba(26, 75, 140, 0.1),
        transparent 32%
      ),
      linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid rgba(26, 75, 140, 0.1);
    box-shadow: 0 16px 36px rgba(13, 50, 100, 0.1);
  }

  .mobile-home-shell .home-tool-card--events::before,
  .home-tool-card--events::before {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background: rgba(255, 180, 0, 0.14);
    pointer-events: none;
  }

  .mobile-home-shell .home-tool-card--events .home-tool-card__head,
  .home-tool-card--events .home-tool-card__head {
    position: relative;
    z-index: 2;
    margin-bottom: 13px;
  }

  .mobile-home-shell .home-tool-card--events .home-tool-card__head span,
  .home-tool-card--events .home-tool-card__head span {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    color: var(--primary-dark);
    background: rgba(255, 180, 0, 0.2);
  }

  .mobile-home-shell .home-tool-card--events .home-tool-card__head h2,
  .home-tool-card--events .home-tool-card__head h2 {
    color: var(--primary-dark);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  .mobile-home-shell .home-tool-card--events .events-list,
  .mobile-home-shell .home-tool-card--events .events-list--modern,
  .home-tool-card--events .events-list,
  .home-tool-card--events .events-list--modern {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
  }

  .mobile-home-shell .home-tool-card--events .event-card,
  .home-tool-card--events .event-card,
  .events-list--modern .event-card {
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 68px;
    padding: 10px 11px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(26, 75, 140, 0.09);
    box-shadow: 0 9px 20px rgba(13, 50, 100, 0.065);
  }

  .mobile-home-shell .home-tool-card--events .event-date,
  .home-tool-card--events .event-date,
  .events-list--modern .event-date {
    width: 46px;
    min-width: 55px;
    min-height: 55px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(
      145deg,
      var(--primary) 0%,
      var(--primary-light) 100%
    );
    box-shadow: 0 8px 16px rgba(26, 75, 140, 0.22);
  }

  .mobile-home-shell .home-tool-card--events .event-date .day,
  .home-tool-card--events .event-date .day,
  .events-list--modern .event-date .day {
    display: block;
    font-size: 1.16rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .mobile-home-shell .home-tool-card--events .event-date .month,
  .home-tool-card--events .event-date .month,
  .events-list--modern .event-date .month {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.54rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-home-shell .home-tool-card--events .event-details,
  .home-tool-card--events .event-details,
  .events-list--modern .event-details {
    min-width: 0;
  }

  .mobile-home-shell .home-tool-card--events .event-title,
  .home-tool-card--events .event-title,
  .events-list--modern .event-title {
    margin: 0;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.01em;
  }

  .mobile-home-shell .home-tool-card--events .event-location,
  .mobile-home-shell .home-tool-card--events .event-full-date,
  .home-tool-card--events .event-location,
  .home-tool-card--events .event-full-date,
  .events-list--modern .event-location,
  .events-list--modern .event-full-date {
    margin-top: 5px;
    color: var(--gray);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.28;
  }

  .mobile-home-shell .home-tool-card--events .no-events,
  .home-tool-card--events .no-events,
  .events-list--modern .no-events {
    margin: 0;
    padding: 15px 14px;
    border-radius: 18px;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(26, 75, 140, 0.16);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    font-style: normal;
  }
}

@media (max-width: 430px) {
  .mobile-home-shell .home-tool-card--events,
  .home-tool-card--events {
    padding: 14px;
    border-radius: 22px;
  }

  .mobile-home-shell .home-tool-card--events .event-card,
  .home-tool-card--events .event-card,
  .events-list--modern .event-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 20px;
    min-height: 64px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .mobile-home-shell .home-tool-card--events .event-date,
  .home-tool-card--events .event-date,
  .events-list--modern .event-date {
    width: 42px;
    min-width: 55px;
    min-height: 55px;
    border-radius: 14px;
  }

  .mobile-home-shell .home-tool-card--events .event-date .day,
  .home-tool-card--events .event-date .day,
  .events-list--modern .event-date .day {
    font-size: 1.08rem;
  }

  .mobile-home-shell .home-tool-card--events .event-date .month,
  .home-tool-card--events .event-date .month,
  .events-list--modern .event-date .month {
    font-size: 0.5rem;
  }

  .mobile-home-shell .home-tool-card--events .event-title,
  .home-tool-card--events .event-title,
  .events-list--modern .event-title {
    font-size: 18px;
  }

  .mobile-home-shell .home-tool-card--events .event-location,
  .mobile-home-shell .home-tool-card--events .event-full-date,
  .home-tool-card--events .event-location,
  .home-tool-card--events .event-full-date,
  .events-list--modern .event-location,
  .events-list--modern .event-full-date {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .mobile-home-shell .home-section-icon,
  .mobile-home-shell .home-block-icon,
  .mobile-home-shell .home-tool-card__head .home-block-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 14px;
    color: var(--primary-dark);
  }

  .mobile-home-shell .home-section-icon {
    margin-right: 8px;
    vertical-align: middle;
  }

  .mobile-home-shell .home-section-icon--news {
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.12), rgba(255, 255, 255, 0.94));
    color: var(--primary);
  }

  .mobile-home-shell .home-block-icon--schedule,
  .mobile-home-shell .home-tool-card--schedule .home-tool-card__head .home-block-icon--schedule {
    color: var(--primary-dark);
  }

  .mobile-home-shell .home-block-icon--events,
  .mobile-home-shell .home-tool-card--events .home-tool-card__head .home-block-icon--events {
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.2), rgba(255, 255, 255, 0.95));
    color: var(--primary-dark);
  }

  .mobile-home-shell .school-site-icon {
    width: 25px;
    height: 25px;
    display: block;
    overflow: visible;
  }

  .mobile-home-shell .school-site-icon-img {
    width: 27px;
    height: 27px;
    display: block;
    object-fit: contain;
  }

  .mobile-home-shell .school-site-icon__paper,
  .mobile-home-shell .school-site-icon__bell {
    fill: #fff;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-home-shell .school-site-icon__fold,
  .mobile-home-shell .school-site-icon__box {
    fill: rgba(26, 75, 140, 0.07);
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-home-shell .school-site-icon__line,
  .mobile-home-shell .school-site-icon__pin,
  .mobile-home-shell .school-site-icon__clock-hand {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-home-shell .school-site-icon__line--soft {
    stroke: var(--primary-light);
    stroke-width: 2.2;
  }

  .mobile-home-shell .school-site-icon__accent {
    fill: rgba(255, 180, 0, 0.95);
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-home-shell .school-site-icon__dot {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-home-shell .school-site-icon__fill-blue {
    fill: rgba(107, 140, 190, 0.34);
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-home-shell .school-site-icon__clock {
    fill: #fff;
    stroke: var(--secondary);
    stroke-width: 2.8;
  }

  .mobile-home-shell .mobile-news-redesign__title {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }

  .mobile-home-shell .mobile-news-redesign__title h2 {
    margin: 0;
  }
}

@media (max-width: 430px) {
  .mobile-home-shell .home-section-icon,
  .mobile-home-shell .home-block-icon,
  .mobile-home-shell .home-tool-card__head .home-block-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 13px;
  }

  .mobile-home-shell .school-site-icon {
    width: 23px;
    height: 23px;
  }

  .mobile-home-shell .school-site-icon-img {
    width: 25px;
    height: 25px;
  }
}

/* Bulletin board redesign */
@media (max-width: 768px) {
  #mobile-announcements {
    padding-top: 20px !important;
    overflow: visible !important;
  }

  #mobile-announcements .home-section-head {
    align-items: center;
    margin-bottom: 16px;
  }

  #mobile-announcements .cork-board {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 16px 22px !important;
    border: 7px solid #8a552f !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 15% 18%, rgba(255,255,255,.18) 0 1px, transparent 1.6px),
      radial-gradient(circle at 76% 44%, rgba(91,55,29,.26) 0 1px, transparent 1.8px),
      repeating-linear-gradient(45deg, rgba(78,45,24,.08) 0 1px, transparent 1px 8px),
      repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 11px),
      linear-gradient(135deg,#dca16e 0%,#c9824f 44%,#b76c3c 100%) !important;
    background-size: 27px 27px, 31px 31px, 11px 11px, 13px 13px, 100% 100% !important;
    box-shadow:
      inset 0 0 0 6px rgba(103, 58, 30, .42),
      inset 0 2px 18px rgba(0, 0, 0, .22),
      0 18px 32px rgba(93, 54, 29, .22) !important;
    touch-action: pan-y !important;
  }

  #mobile-announcements .cork-board::before,
  #mobile-announcements .cork-board::after {
    content: "" !important;
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(76, 43, 22, .2), rgba(255, 255, 255, .18), rgba(76, 43, 22, .14)) !important;
    pointer-events: none !important;
  }

  #mobile-announcements .cork-board::before {
    top: 10px !important;
  }

  #mobile-announcements .cork-board::after {
    bottom: 10px !important;
    opacity: .5 !important;
  }

  #mobile-announcements .stickers-grid,
  #mobile-announcements .stickers-grid--1,
  #mobile-announcements .stickers-grid--2,
  #mobile-announcements .stickers-grid--3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    transform: none !important;
  }

  #mobile-announcements .sticker,
  #mobile-announcements .sticker--pos1,
  #mobile-announcements .sticker--pos2,
  #mobile-announcements .sticker--pos3,
  #mobile-announcements .sticker:hover,
  #mobile-announcements .sticker:focus,
  #mobile-announcements .sticker:focus-visible,
  #mobile-announcements .sticker:active {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: calc(100% - 2px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 132px !important;
    padding: 30px 18px 16px !important;
    border: 1px solid rgba(88, 58, 33, .18) !important;
    border-radius: 7px 7px 15px 15px !important;
    box-shadow: 4px 10px 22px rgba(58, 33, 17, .26), 0 1px 3px rgba(0,0,0,.1) !important;
    transition: box-shadow .2s ease, transform .2s ease !important;
    animation: none !important;
    will-change: auto !important;
    overflow: hidden !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: pan-y !important;
  }

  #mobile-announcements .sticker--yellow {
    background:
      linear-gradient(180deg, rgba(255,255,255,.48), rgba(255,255,255,0) 44%),
      repeating-linear-gradient(0deg, transparent 0 27px, rgba(80, 55, 25, .065) 28px),
      #fff2a8 !important;
    transform: rotate(-1deg) !important;
  }

  #mobile-announcements .sticker--pink {
    background:
      linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 44%),
      repeating-linear-gradient(0deg, transparent 0 27px, rgba(80, 35, 55, .06) 28px),
      #ffe1ed !important;
    transform: rotate(.9deg) !important;
  }

  #mobile-announcements .sticker--blue {
    background:
      linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 44%),
      repeating-linear-gradient(0deg, transparent 0 27px, rgba(25, 65, 95, .06) 28px),
      #dff2ff !important;
    transform: rotate(-.45deg) !important;
  }

  #mobile-announcements .sticker:hover,
  #mobile-announcements .sticker:focus-visible {
    box-shadow: 6px 15px 28px rgba(58, 33, 17, .32) !important;
  }

  #mobile-announcements .sticker::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 11px !important;
    width: 68px !important;
    height: 16px !important;
    border-radius: 3px !important;
    background: rgba(255, 255, 255, .46) !important;
    box-shadow: 0 2px 8px rgba(75, 46, 24, .12) !important;
    transform: translateX(-50%) rotate(-2deg) !important;
    pointer-events: none !important;
  }

  #mobile-announcements .sticker::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 0 0 28px 28px !important;
    border-color: transparent transparent rgba(0,0,0,.1) transparent !important;
    background: transparent !important;
    pointer-events: none !important;
  }

  #mobile-announcements .sticker-pin {
    display: block !important;
    position: absolute !important;
    top: -9px !important;
    left: 50% !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    transform: translateX(-50%) !important;
    z-index: 3 !important;
    box-shadow: 0 5px 10px rgba(57, 31, 16, .38), inset 0 1px 2px rgba(255,255,255,.7) !important;
    pointer-events: none !important;
  }

  #mobile-announcements .sticker-pin::after {
    content: "" !important;
    position: absolute !important;
    top: 5px !important;
    left: 6px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.68) !important;
  }

  #mobile-announcements .sticker-cat {
    display: block !important;
    margin: 0 0 9px !important;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    font-size: .64rem !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(57, 39, 24, .52) !important;
  }

  #mobile-announcements .sticker-title {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-family: 'Caveat', 'Segoe Print', cursive !important;
    font-size: 1.38rem !important;
    font-weight: 750 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    color: #2d241a !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }

  #mobile-announcements .sticker-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 13px !important;
    padding-top: 9px !important;
    border-top: 1px dashed rgba(57, 39, 24, .18) !important;
  }

  #mobile-announcements .sticker-date {
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif !important;
    font-size: .68rem !important;
    font-weight: 850 !important;
    color: rgba(57, 39, 24, .5) !important;
  }
}

/* KeoFox mobile announcements scroll fix */

@media (max-width: 768px) {
  .mobile-home-shell,
  .mobile-ann-board,
  .mobile-ann-board .container,
  .mobile-ann-board .cork-board,
  .mobile-ann-board .stickers-grid,
  .mobile-ann-board .sticker {
    overscroll-behavior-x: contain;
    touch-action: pan-y;
  }

  .mobile-ann-board .cork-board,
  .mobile-ann-board .stickers-grid {
    overflow-x: clip;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto;
  }

  .mobile-ann-board .stickers-grid,
  .mobile-ann-board .stickers-grid--1,
  .mobile-ann-board .stickers-grid--2,
  .mobile-ann-board .stickers-grid--3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    transform: none !important;
  }

  .mobile-ann-board .sticker,
  .mobile-ann-board .sticker--pos1,
  .mobile-ann-board .sticker--pos2,
  .mobile-ann-board .sticker--pos3,
  .mobile-ann-board .sticker:hover,
  .mobile-ann-board .sticker:focus,
  .mobile-ann-board .sticker:focus-visible,
  .mobile-ann-board .sticker:active {
    transform: none !important;
    scroll-snap-align: none !important;
  }

  .announcement-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow-x: clip !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: pan-y;
  }

  .announcement-card {
    width: 100% !important;
    flex: none !important;
    scroll-snap-align: none !important;
  }
}


/* KeoFox mobile announcements static fix v2 */
@media (max-width: 768px) {
  #mobile-announcements,
  #mobile-announcements * {
    scroll-snap-type: none !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    -webkit-overflow-scrolling: auto !important;
  }

  #mobile-announcements {
    overflow: visible !important;
    overscroll-behavior: auto !important;
    overscroll-behavior-x: none !important;
    touch-action: pan-y !important;
  }

  #mobile-announcements .container,
  #mobile-announcements .cork-board,
  #mobile-announcements .stickers-grid {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    transform: none !important;
    touch-action: pan-y !important;
  }

  #mobile-announcements .cork-board {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #mobile-announcements .stickers-grid,
  #mobile-announcements .stickers-grid--1,
  #mobile-announcements .stickers-grid--2,
  #mobile-announcements .stickers-grid--3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  #mobile-announcements .sticker,
  #mobile-announcements .sticker--pos1,
  #mobile-announcements .sticker--pos2,
  #mobile-announcements .sticker--pos3,
  #mobile-announcements .sticker:hover,
  #mobile-announcements .sticker:focus,
  #mobile-announcements .sticker:focus-visible,
  #mobile-announcements .sticker:active {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 16px 18px 16px 54px !important;
    border: 1px solid rgba(26, 75, 140, 0.1) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(13, 50, 100, 0.08) !important;
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
    animation: none !important;
    will-change: auto !important;
    overflow: hidden !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: pan-y !important;
  }

  #mobile-announcements .sticker::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--secondary), #ffd66b);
    box-shadow: 0 8px 18px rgba(255, 180, 0, 0.25);
    transform: translateY(-50%);
    pointer-events: none;
  }

  #mobile-announcements .sticker::after {
    display: none !important;
  }

  #mobile-announcements .sticker-pin {
    display: none !important;
  }

  #mobile-announcements .sticker-title {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    color: var(--primary-dark) !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }

  #mobile-announcements .sticker:focus-visible {
    outline: 3px solid rgba(26, 75, 140, 0.22) !important;
    outline-offset: 3px !important;
  }

  #mobile-announcements .sticker:active {
    background: rgba(26, 75, 140, 0.035) !important;
    border-color: rgba(26, 75, 140, 0.18) !important;
  }
}

/* Final bulletin board skin: keep the static scroll behavior, restore the visual board. */
@media (max-width: 768px) {
  #mobile-announcements .cork-board {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 16px 22px !important;
    border: 7px solid #8a552f !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 15% 18%, rgba(255,255,255,.18) 0 1px, transparent 1.6px),
      radial-gradient(circle at 76% 44%, rgba(91,55,29,.26) 0 1px, transparent 1.8px),
      repeating-linear-gradient(45deg, rgba(78,45,24,.08) 0 1px, transparent 1px 8px),
      repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 11px),
      linear-gradient(135deg,#dca16e 0%,#c9824f 44%,#b76c3c 100%) !important;
    background-size: 27px 27px, 31px 31px, 11px 11px, 13px 13px, 100% 100% !important;
    box-shadow:
      inset 0 0 0 6px rgba(103, 58, 30, .42),
      inset 0 2px 18px rgba(0, 0, 0, .22),
      0 18px 32px rgba(93, 54, 29, .22) !important;
  }

  #mobile-announcements .cork-board::before,
  #mobile-announcements .cork-board::after {
    content: "" !important;
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(76, 43, 22, .2), rgba(255, 255, 255, .18), rgba(76, 43, 22, .14)) !important;
    pointer-events: none !important;
  }

  #mobile-announcements .cork-board::before { top: 10px !important; }
  #mobile-announcements .cork-board::after { bottom: 10px !important; opacity: .5 !important; }

  #mobile-announcements .stickers-grid,
  #mobile-announcements .stickers-grid--1,
  #mobile-announcements .stickers-grid--2,
  #mobile-announcements .stickers-grid--3 {
    gap: 18px !important;
    position: relative !important;
    z-index: 1 !important;
  }

  #mobile-announcements .sticker,
  #mobile-announcements .sticker:hover,
  #mobile-announcements .sticker:focus,
  #mobile-announcements .sticker:focus-visible,
  #mobile-announcements .sticker:active {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: calc(100% - 2px) !important;
    min-height: 132px !important;
    padding: 30px 18px 16px !important;
    border: 1px solid rgba(88, 58, 33, .18) !important;
    border-radius: 7px 7px 15px 15px !important;
    box-shadow: 4px 10px 22px rgba(58, 33, 17, .26), 0 1px 3px rgba(0,0,0,.1) !important;
    overflow: hidden !important;
  }

  #mobile-announcements .sticker--yellow,
  #mobile-announcements .sticker--yellow:hover,
  #mobile-announcements .sticker--yellow:focus,
  #mobile-announcements .sticker--yellow:focus-visible,
  #mobile-announcements .sticker--yellow:active {
    background:
      linear-gradient(180deg, rgba(255,255,255,.48), rgba(255,255,255,0) 44%),
      repeating-linear-gradient(0deg, transparent 0 27px, rgba(80, 55, 25, .065) 28px),
      #fff2a8 !important;
    transform: rotate(-1deg) !important;
  }

  #mobile-announcements .sticker--pink,
  #mobile-announcements .sticker--pink:hover,
  #mobile-announcements .sticker--pink:focus,
  #mobile-announcements .sticker--pink:focus-visible,
  #mobile-announcements .sticker--pink:active {
    background:
      linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 44%),
      repeating-linear-gradient(0deg, transparent 0 27px, rgba(80, 35, 55, .06) 28px),
      #ffe1ed !important;
    transform: rotate(.9deg) !important;
  }

  #mobile-announcements .sticker--blue,
  #mobile-announcements .sticker--blue:hover,
  #mobile-announcements .sticker--blue:focus,
  #mobile-announcements .sticker--blue:focus-visible,
  #mobile-announcements .sticker--blue:active {
    background:
      linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 44%),
      repeating-linear-gradient(0deg, transparent 0 27px, rgba(25, 65, 95, .06) 28px),
      #dff2ff !important;
    transform: rotate(-.45deg) !important;
  }

  #mobile-announcements .sticker::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 11px !important;
    width: 68px !important;
    height: 16px !important;
    border-radius: 3px !important;
    background: rgba(255, 255, 255, .46) !important;
    box-shadow: 0 2px 8px rgba(75, 46, 24, .12) !important;
    transform: translateX(-50%) rotate(-2deg) !important;
    pointer-events: none !important;
  }

  #mobile-announcements .sticker::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 0 0 28px 28px !important;
    border-color: transparent transparent rgba(0,0,0,.1) transparent !important;
    background: transparent !important;
    pointer-events: none !important;
  }

  #mobile-announcements .sticker-pin {
    display: block !important;
    position: absolute !important;
    top: -9px !important;
    left: 50% !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    transform: translateX(-50%) !important;
    z-index: 3 !important;
    box-shadow: 0 5px 10px rgba(57, 31, 16, .38), inset 0 1px 2px rgba(255,255,255,.7) !important;
    pointer-events: none !important;
  }

  #mobile-announcements .sticker-cat {
    display: block !important;
    margin: 0 0 9px !important;
    font-size: .64rem !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(57, 39, 24, .52) !important;
  }

  #mobile-announcements .sticker-title {
    font-family: 'Caveat', 'Segoe Print', cursive !important;
    font-size: 1.38rem !important;
    font-weight: 750 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    color: #2d241a !important;
    text-align: center !important;
  }

  #mobile-announcements .sticker-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 13px !important;
    padding-top: 9px !important;
    border-top: 1px dashed rgba(57, 39, 24, .18) !important;
  }

  #mobile-announcements .sticker-date {
    font-size: .68rem !important;
    font-weight: 850 !important;
    color: rgba(57, 39, 24, .5) !important;
  }
}
