:root {
    --school-blue: #2563eb;
    --school-blue-dark: #174dc2;
    --school-blue-soft: #edf5ff;
    --school-blue-soft-2: #f5f9ff;
    --school-text: #14213d;
    --school-muted: #69758a;
    --school-soft: #eef3fa;
    --school-border: #dfe8f4;
    --school-white: #ffffff;
    --school-bg: #f7faff;
    --school-shadow: 0 18px 45px rgba(20, 33, 61, .07);
    --school-shadow-soft: 0 10px 25px rgba(20, 33, 61, .045);
    --school-radius-xl: 22px;
    --school-radius-lg: 18px;
    --school-radius-md: 14px;
    --school-radius-sm: 10px;
    --school-transition: .22s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .06), transparent 360px),
        linear-gradient(180deg, #ffffff 0%, var(--school-bg) 100%);
    color: var(--school-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.modal-open {
    overflow: hidden;
}

#reading-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--school-blue), #60a5fa);
    z-index: 10000;
    transition: width .1s ease;
}

.school-news-page {
    width: min(1260px, calc(100% - 32px));
    margin: 26px auto 46px;
}

/* hero */
.school-news-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 28px;
    min-height: 520px;
    padding: 42px;
    border: 1px solid rgba(223, 232, 244, .95);
    border-radius: 18px;
    background:
        radial-gradient(circle at 48% -10%, rgba(37, 99, 235, .10), transparent 270px),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f1f6ff 100%);
    box-shadow: var(--school-shadow-soft);
    overflow: hidden;
}

.school-news-hero--no-image {
    grid-template-columns: 1fr;
    min-height: 390px;
}

.school-news-hero::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -160px;
    left: 42%;
    border-radius: 50%;
    background: rgba(37, 99, 235, .075);
    pointer-events: none;
}

.school-news-hero__content {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8px;
}

.school-news-breadcrumbs {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: #64748b;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.school-news-breadcrumbs a {
    color: #315a99;
    text-decoration: none;
}

.school-news-breadcrumbs a:hover {
    color: var(--school-blue);
}

.school-news-breadcrumbs i {
    font-size: 10px;
    color: #9aacbf;
}

.school-news-breadcrumbs span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.school-news-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 34px;
    margin-bottom: 25px;
    color: #1d2b4f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.school-news-label span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--school-blue);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, .12);
}

.school-news-title {
    max-width: 650px;
    margin: 0;
    color: #111c36;
    font-size: clamp(2.1rem, 4.2vw, 4.05rem);
    line-height: 1.13;
    font-weight: 850;
    letter-spacing: -.055em;
}

.school-news-title-line {
    width: 96px;
    height: 4px;
    margin: 28px 0 34px;
    border-radius: 999px;
    background: var(--school-blue);
}

.school-news-date {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
}

.school-news-date__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--school-blue);
    background: #eaf3ff;
}

.school-news-mobile-meta {
    display: none;
}

.school-news-dots {
    position: absolute;
    right: 8px;
    bottom: 2px;
    width: 96px;
    height: 72px;
    opacity: .9;
    background-image: radial-gradient(var(--school-blue) 2px, transparent 2px);
    background-size: 18px 18px;
}

.school-news-hero__image {
    position: relative;
    z-index: 2;
    align-self: center;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: #dbeafe;
    box-shadow: 0 14px 34px rgba(20, 33, 61, .12);
}

.school-news-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* content */
.school-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    margin-top: 42px;
    align-items: start;
}

.school-news-content-card {
    position: relative;
    min-width: 0;
    padding: 0 0 0 46px;
    border-left: 4px solid var(--school-blue);
}

.school-news-content {
    max-width: 760px;
    color: #25324a;
    font-size: 17px;
    line-height: 1.75;
}

.school-news-content > *:first-child {
    margin-top: 0;
}

.school-news-content > *:last-child {
    margin-bottom: 0;
}

.school-news-content p {
    margin: 0 0 17px;
}

.school-news-content p:first-child,
.school-news-content > b:first-child,
.school-news-content > strong:first-child {
    color: #14213d;
    font-weight: 800;
}

.school-news-content h2,
.school-news-content h3,
.school-news-content h4 {
    margin: 28px 0 14px;
    color: #111c36;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.school-news-content h2 {
    font-size: 1.6rem;
}

.school-news-content h3 {
    font-size: 1.35rem;
}

.school-news-content ul,
.school-news-content ol {
    margin: 18px 0;
    padding-left: 24px;
}

.school-news-content li {
    margin: 7px 0;
}

.school-news-content a {
    color: var(--school-blue);
    font-weight: 700;
    text-decoration: none;
}

.school-news-content a:hover {
    text-decoration: underline;
}

.school-news-content blockquote {
    position: relative;
    max-width: 420px;
    margin: 28px 0;
    padding: 22px 24px 22px 76px;
    border: 1px solid rgba(223, 232, 244, .9);
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    color: #334155;
    box-shadow: var(--school-shadow-soft);
}

.school-news-content blockquote::before {
    content: "“";
    position: absolute;
    left: 24px;
    top: 10px;
    color: var(--school-blue);
    font-size: 68px;
    line-height: 1;
    font-weight: 900;
}

.school-news-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 22px auto;
    border-radius: var(--school-radius-md);
}

.school-news-content iframe,
.school-news-content table {
    max-width: 100%;
}

.school-news-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.school-news-back,
.school-news-copy {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--school-border);
    background: #fff;
    color: #1f3f72;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--school-shadow-soft);
    cursor: pointer;
    transition: var(--school-transition);
}

.school-news-back:hover,
.school-news-copy:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .35);
    color: var(--school-blue);
}

/* right info */
.school-news-info {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 30px;
    padding-left: 36px;
    border-left: 1px solid var(--school-border);
}

.school-info-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.school-info-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf5ff;
    color: var(--school-blue);
    font-size: 20px;
}

.school-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: #172033;
    font-size: 14px;
    line-height: 1.25;
}

.school-info-item span {
    display: block;
    color: #536179;
    font-size: 14px;
    line-height: 1.35;
}

.school-share-box {
    padding-top: 4px;
}

.school-share-box h3 {
    margin: 0 0 14px;
    color: #172033;
    font-size: 15px;
    font-weight: 850;
}

.school-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.school-share-row a,
.school-share-row button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--school-border);
    border-radius: 50%;
    background: #fff;
    color: var(--school-blue);
    cursor: pointer;
    text-decoration: none;
    transition: var(--school-transition);
}

.school-share-row a:hover,
.school-share-row button:hover {
    transform: translateY(-2px);
    background: var(--school-blue);
    color: #fff;
    border-color: var(--school-blue);
}

/* media center */
.news-media-center {
    margin-top: 52px;
    padding: 20px;
    border: 1px solid var(--school-border);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: var(--school-shadow-soft);
}

.news-media-center__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.news-media-center__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #18478d;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.news-media-center__title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.news-media-center__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5ff;
    color: var(--school-blue);
    font-size: 21px;
}

.news-media-center__title-row h2 {
    margin: 0 0 6px;
    color: #0f2347;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.03em;
}

.news-media-center__title-row p {
    margin: 0;
    max-width: 700px;
    color: #63738d;
    font-size: 14px;
    line-height: 1.6;
}

.news-media-center__stats {
    flex: 0 0 auto;
    display: flex;
    overflow: hidden;
    border: 1px solid #cfdae8;
    border-radius: 18px;
    background: #f7faff;
}

.media-stat-card {
    min-width: 86px;
    padding: 14px 12px 12px;
    text-align: center;
}

.media-stat-card + .media-stat-card {
    border-left: 1px solid #cfdae8;
}

.media-stat-card strong {
    display: block;
    margin-bottom: 4px;
    color: #18478d;
    font-size: 21px;
    line-height: 1;
    font-weight: 900;
}

.media-stat-card span {
    display: block;
    color: #52647f;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
}

.news-media-center__tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 8px;
    border-radius: 18px;
    background: #edf3fa;
}

.media-filter-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #1f3f72;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--school-transition);
}

.media-filter-btn b {
    min-width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .1);
    color: #18478d;
    font-size: 13px;
    font-weight: 900;
}

.media-filter-btn.is-active {
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.news-media-center__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.news-media-center__section-head h3 {
    margin: 0;
    color: #0f2347;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.news-media-center__section-head span {
    color: #52647f;
    font-size: 14px;
    font-weight: 800;
}

.news-media-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.media-item {
    position: relative;
    grid-column: span 3;
    min-height: 156px;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(208, 219, 233, .95);
    border-radius: 18px;
    background: #e8eef7;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, opacity .22s ease;
}

button.media-item {
    appearance: none;
    font: inherit;
    text-align: left;
}

.media-item--large {
    grid-column: span 6;
    grid-row: span 2;
    min-height: 324px;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.media-item video {
    pointer-events: none;
}

.media-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 16, 32, .54), rgba(7, 16, 32, .06) 58%);
    pointer-events: none;
    transition: opacity .22s ease;
}

.media-item:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .36);
    box-shadow: 0 16px 30px rgba(37, 99, 235, .13);
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.045);
    filter: brightness(.97);
}

.media-item__badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    max-width: calc(100% - 24px);
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #52647f;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .13);
}

.media-item__badge i {
    color: var(--school-blue);
}

.media-item__play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 4;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255,255,255,.88);
    border-radius: 50%;
    background: rgba(15, 23, 42, .38);
    color: #fff;
    font-size: 17px;
    backdrop-filter: blur(8px);
}

.media-item__play i {
    margin-left: 3px;
}

.media-item.is-filter-hidden,
.media-item.is-collapsed {
    display: none !important;
}

.news-media-center__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.news-media-center__more {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--school-border);
    border-radius: 999px;
    background: #fff;
    color: #1f3f72;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: var(--school-shadow-soft);
    transition: var(--school-transition);
}

.news-media-center__more:hover {
    transform: translateY(-2px);
    color: var(--school-blue);
    border-color: rgba(37, 99, 235, .35);
}

/* single media fix */
.news-media-grid.media-grid--single,
.news-media-grid.media-grid--single-filter {
    grid-template-columns: minmax(280px, 520px);
    justify-content: start;
}

.news-media-grid.media-grid--single .media-item,
.news-media-grid.media-grid--single-filter .media-item {
    grid-column: auto !important;
    width: 100%;
    min-height: 292px;
}

.news-media-grid.media-grid--few {
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: start;
}

.news-media-grid.media-grid--few .media-item {
    grid-column: auto !important;
    min-height: 220px;
}

/* mobile share */
.school-mobile-share {
    display: none;
}

/* similar */
.school-similar-section {
    margin-top: 48px;
}

.school-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--school-border);
}

.school-section-title > div {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.school-section-title i {
    color: var(--school-blue);
    font-size: 19px;
}

.school-section-title h2 {
    margin: 0;
    color: #13213c;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -.03em;
}

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

.school-similar-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 104px;
    padding: 10px;
    border: 1px solid var(--school-border);
    border-radius: 14px;
    background: rgba(255,255,255,.75);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--school-shadow-soft);
    transition: var(--school-transition);
}

.school-similar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .25);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .10);
}

.school-similar-card img,
.school-similar-fallback {
    width: 116px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    background: #edf5ff;
}

.school-similar-fallback {
    display: grid;
    place-items: center;
    color: var(--school-blue);
    font-size: 24px;
}

.school-similar-card h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
}

.school-similar-card span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
}

/* photo modal */
.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 88px;
    background: rgba(7, 10, 18, .88);
    backdrop-filter: blur(8px);
}

.photo-modal.is-open {
    display: flex;
}

.photo-modal__stage {
    position: relative;
    max-width: min(1180px, 100%);
    max-height: 100%;
    display: grid;
    place-items: center;
}

.photo-modal__stage img {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    display: block;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.photo-modal__title {
    position: absolute;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.photo-modal__close,
.photo-modal__nav {
    position: fixed;
    z-index: 10045;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.photo-modal__close {
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
}

.photo-modal__nav {
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translateY(-50%);
    font-size: 20px;
}

.photo-modal__nav--prev {
    left: 28px;
}

.photo-modal__nav--next {
    right: 28px;
}

.photo-modal__close:hover,
.photo-modal__nav:hover {
    background: var(--school-blue);
    border-color: var(--school-blue);
}

/* video modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 23, .86);
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
}

.video-modal-dialog {
    width: min(1080px, 100%);
    overflow: hidden;
    border-radius: 20px;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 18px;
    background: rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.video-modal-title {
    color: #fff;
    font-size: 15px;
    font-weight: 850;
}

.close-modal {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.close-modal:hover {
    background: var(--school-blue);
}

.video-modal-body {
    background: #000;
}

.video-modal-body video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
}

/* back to top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--school-blue);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .28);
    opacity: 0;
    visibility: hidden;
    transition: var(--school-transition);
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--school-blue-dark);
}

/* animations */
.fade-in {
    animation: schoolFade .45s ease both;
}

@keyframes schoolFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* responsive */
@media (max-width: 1160px) {
    .school-news-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .school-news-hero__image {
        height: 380px;
    }

    .school-news-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .school-news-info {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 0;
        padding-top: 26px;
        border-left: 0;
        border-top: 1px solid var(--school-border);
    }

    .school-share-box {
        grid-column: 1 / -1;
    }

    .news-media-center__header {
        flex-direction: column;
    }

    .news-media-center__stats {
        width: 100%;
        max-width: 420px;
    }

    .news-media-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .media-item {
        grid-column: span 2;
    }

    .media-item--large {
        grid-column: span 4;
    }

    .school-similar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .school-news-page {
        width: min(100% - 24px, 1260px);
        margin-top: 18px;
    }

    .school-news-hero {
        padding: 26px;
        gap: 22px;
    }

    .school-news-breadcrumbs {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 24px;
    }

    .school-news-label {
        margin-top: 0;
    }

    .school-news-dots {
        display: none;
    }

    .school-news-content-card {
        padding-left: 26px;
    }

    .news-media-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }

    .media-item {
        grid-column: span 2;
        min-height: 140px;
    }

    .media-item--large {
        grid-column: span 3;
        min-height: 270px;
    }
}

@media (max-width: 720px) {
    .school-news-page {
        width: min(100% - 20px, 1260px);
        margin: 14px auto 36px;
    }

    .school-news-hero {
        display: flex;
        flex-direction: column-reverse;
        min-height: auto;
        padding: 14px;
        border-radius: 22px;
        gap: 0;
        background: #fff;
    }

    .school-news-hero::before {
        display: none;
    }

    .school-news-hero__image {
        width: 100%;
        height: auto;
        border-radius: 18px;
        box-shadow: none;
    }

    .school-news-hero__content {
        padding: 18px 4px 4px;
    }

    .school-news-breadcrumbs {
        margin-bottom: 18px;
        font-size: 12px;
        gap: 8px;
    }

    .school-news-label {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .school-news-label span {
        width: 10px;
        height: 10px;
    }

    .school-news-title {
        max-width: 100%;
        font-size: clamp(1.65rem, 8vw, 2.45rem);
        line-height: 1.15;
        letter-spacing: -.045em;
    }

    .school-news-title-line {
        width: 72px;
        height: 3px;
        margin: 18px 0 16px;
    }

    .school-news-date {
        display: none;
    }

    .school-news-mobile-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
    }

    .school-news-mobile-meta span {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 11px;
        border-radius: 999px;
        background: #edf5ff;
        color: #24518d;
        font-size: 12px;
        font-weight: 850;
    }

    .school-news-mobile-meta i {
        color: var(--school-blue);
    }

    .school-news-layout {
        display: block !important;
        margin-top: 20px;
    }

    .school-news-info {
        display: none !important;
    }

    .school-news-content-card {
        padding: 18px !important;
        border-left: 0 !important;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid var(--school-border);
        box-shadow: var(--school-shadow-soft);
    }

    .school-news-content {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.68;
    }

    .school-news-content blockquote {
        max-width: 100%;
        padding: 18px 18px 18px 58px;
    }

    .school-news-content blockquote::before {
        left: 18px;
        font-size: 54px;
    }

    .school-news-actions {
        margin-top: 22px;
        align-items: stretch;
        flex-direction: column;
    }

    .school-news-back,
    .school-news-copy {
        width: 100%;
        min-height: 44px;
    }

    .news-media-center {
        margin-top: 24px !important;
        padding: 16px !important;
        border-radius: 22px !important;
    }

    .news-media-center__header {
        gap: 14px;
        margin-bottom: 16px;
    }

    .news-media-center__title-row {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .news-media-center__title-row h2 {
        font-size: 21px;
    }

    .news-media-center__title-row p {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .news-media-center__stats {
        width: 100%;
        max-width: none;
        display: flex;
    }

    .media-stat-card {
        flex: 1;
        min-width: 0;
        padding: 12px 8px 10px;
    }

    .media-stat-card strong {
        font-size: 20px;
    }

    .media-stat-card span {
        font-size: 11.5px;
    }

    .news-media-center__tabs {
        margin-bottom: 16px;
        padding: 6px;
        border-radius: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .news-media-center__tabs::-webkit-scrollbar {
        display: none;
    }

    .media-filter-btn {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 13px;
        border-radius: 12px;
        font-size: 14px;
    }

    .news-media-center__section-head {
        margin-bottom: 12px;
    }

    .news-media-center__section-head h3 {
        font-size: 17px;
    }

    .news-media-center__section-head span {
        font-size: 13px;
    }

    .news-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .media-item,
    .media-item--large {
        grid-column: span 1 !important;
        min-height: 132px !important;
        border-radius: 16px !important;
    }

    .media-item--large:first-child {
        grid-column: span 2 !important;
        min-height: 236px !important;
    }

    .news-media-grid.media-grid--single,
    .news-media-grid.media-grid--single-filter {
        grid-template-columns: 1fr !important;
    }

    .news-media-grid.media-grid--single .media-item,
    .news-media-grid.media-grid--single-filter .media-item {
        grid-column: span 1 !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .media-item__badge {
        left: 10px;
        bottom: 10px;
        height: 32px;
        max-width: calc(100% - 20px);
        padding: 0 10px;
        font-size: 12px;
    }

    .media-item__play {
        width: 48px;
        height: 48px;
        font-size: 15px;
    }

    .news-media-center__more {
        width: 100%;
        min-height: 46px;
    }

    .school-mobile-share {
        display: block;
        margin-top: 24px;
        padding: 16px;
        border: 1px solid var(--school-border);
        border-radius: 22px;
        background:
            radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 220px),
            linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        box-shadow: var(--school-shadow-soft);
    }

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

    .school-mobile-share__head span {
        display: block;
        margin-bottom: 4px;
        color: #18478d;
        font-size: 11px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: .075em;
        text-transform: uppercase;
    }

    .school-mobile-share__head h2 {
        margin: 0;
        color: #0f2347;
        font-size: 21px;
        line-height: 1.12;
        font-weight: 900;
        letter-spacing: -.035em;
    }

    .school-mobile-share__icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: #edf5ff;
        color: var(--school-blue);
        font-size: 18px;
    }

    .school-mobile-share__buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .school-mobile-share__btn {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 14px;
        border-radius: 14px;
        border: 1px solid var(--school-border);
        background: #ffffff;
        color: #1f3f72;
        text-decoration: none;
        font-size: 14px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
        transition: var(--school-transition);
    }

    .school-mobile-share__btn--tg {
        background: #edf8ff;
        color: #0088cc;
        border-color: rgba(0, 136, 204, .16);
    }

    .school-mobile-share__btn--fb {
        background: #f0f5ff;
        color: #1877f2;
        border-color: rgba(24, 119, 242, .16);
    }

    .school-mobile-share__btn--copy {
        background: #ffffff;
        color: #1f3f72;
    }

    .school-similar-section {
        margin-top: 28px;
    }

    .school-similar-card {
        grid-template-columns: 96px 1fr;
    }

    .school-similar-card img,
    .school-similar-fallback {
        width: 96px;
        height: 74px;
    }

    .photo-modal {
        padding: 64px 14px;
    }

    .photo-modal__stage img {
        max-height: calc(100vh - 150px);
        border-radius: 12px;
    }

    .photo-modal__nav {
        width: 44px;
        height: 44px;
    }

    .photo-modal__nav--prev {
        left: 12px;
    }

    .photo-modal__nav--next {
        right: 12px;
    }

    .video-modal {
        padding: 10px;
    }

    .video-modal-dialog {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .school-news-page {
        width: min(100% - 18px, 1260px);
    }

    .school-news-hero {
        padding: 12px;
    }

    .school-news-hero__content {
        padding: 16px 2px 2px;
    }

    .school-news-title-line {
        margin: 16px 0 14px;
    }

    .school-mobile-share {
        padding: 14px;
        border-radius: 20px;
    }

    .school-mobile-share__buttons {
        gap: 9px;
    }

    .news-media-center__title-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .news-media-center__icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .news-media-center__title-row h2 {
        font-size: 19px;
    }

    .news-media-grid {
        grid-template-columns: 1fr !important;
    }

    .media-item,
    .media-item--large,
    .media-item--large:first-child {
        grid-column: span 1 !important;
        min-height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .media-stat-card strong {
        font-size: 18px;
    }

    .media-stat-card span {
        font-size: 11px;
    }
}