/* Mobile-only refinements. Desktop rules are intentionally untouched. */
@media (max-width: 760px) {
    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    #page .container { width: auto; max-width: none; margin-left: 16px; margin-right: 16px; padding-left: 0; padding-right: 0; }
    #page .htop { height: 30px; line-height: 30px; font-size: 0; }
    #page .htop .container { display: flex; justify-content: flex-end; }
    #page .htop .header-top-links { display: flex; float: none; gap: 10px; height: 30px; font-size: 11px; }
    #page .header { padding: 14px 0; height: auto; }
    #page .header .association-brand { float: none; width: 100%; height: auto; padding: 0; line-height: normal; }
    #page .header .association-brand > a { display: flex; width: 100%; height: auto; max-width: 100%; gap: 10px; }
    #page .header .association-emblem { width: 52px; height: 52px; flex: 0 0 52px; }
    #page .header .association-name { min-width: 0; font-size: clamp(16px, 4.65vw, 26px); line-height: 1.5; white-space: nowrap; }
    #page .header .sobox { display: block; position: static; width: 100%; margin-top: 12px; }
    #page .sobox .input-group { padding-top: 0; }
    #page .sobox .input { height: 38px; font-size: 14px; border-radius: 0; border-color: #dce4ed; }
    #page .sobox .button { height: 38px; min-width: 44px; padding: 6px 14px; border-radius: 0; background: #2e6098; border-color: #2e6098; }
    #page .navigation-anchor { height: auto !important; }
    #page .menuwrap { height: auto; min-height: 46px; line-height: normal; position: relative; background-color: #2e6098; }
    #page .menuwrap > .container { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
    #page .menuwrap .icon-navicon { position: static; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 6px 0 0; border: 0; border-radius: 0; background: transparent; color: #fff; font-size: 18px; }
    #page .mobile-nav-label { font-size: 14px; }
    #page .mobile-service-link { color: #fff; font-size: 13px; line-height: 46px; }
    #page #menu { display: none; position: static; width: 100%; flex: 0 0 100%; margin: 0; background: transparent; padding: 0 0 12px; }
    #page #menu.is-mobile-open { display: block; }
    #page #menu > ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; height: auto; line-height: normal; gap: 1px; background: rgba(255,255,255,.12); }
    #page #menu > ul > li { float: none; width: auto; height: auto; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; background: #2e6098; font-size: 15px; line-height: normal; }
    #page #menu > ul > li > a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 15px; text-align: left; color: #fff; }
    #page .mobile-submenu-toggle { width: 40px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #d4e1ee; font-size: 16px; cursor: pointer; }
    #page .mobile-submenu-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
    #page #menu > ul > li > ul { position: static; grid-column: 1 / -1; width: auto; height: auto; padding: 4px 0; display: none; background: rgba(0,30,65,.22); }
    #page #menu > ul > li.is-expanded > ul { display: block; }
    #page #menu > ul > li > ul > li { width: 100%; height: auto; float: none; }
    #page #menu > ul > li > ul > li > a { padding: 5px 12px; height: auto; min-height: 36px; line-height: 26px; font-size: 13px; text-align: left; }
    #page .home-notice { margin-top: 12px; margin-bottom: 16px; }
    #page .home-notice img { width: 100%; height: 64px; min-height: 0; aspect-ratio: auto; object-fit: cover; object-position: 49.9% 46.3%; }
    #page .association-home { padding-bottom: 28px; }
    #page .home-main-grid, #page .home-secondary-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    #page .association-home .home-section-heading { min-height: 38px; margin-bottom: 12px; }
    #page .association-home .home-section-heading h2 { font-size: 18px; line-height: 38px; }
    #page .home-news-carousel { height: auto; aspect-ratio: 1.8 / 1; }
    #page .home-carousel-arrow { opacity: 1; width: 32px; height: 44px; }
    #page .home-carousel-dots { gap: 0; right: 8px; bottom: 4px; }
    #page .home-carousel-dots button { width: 22px; height: 22px; border: 8px solid transparent; background-clip: content-box; }
    #page .association-home .home-overview h3 { font-size: 16px; margin-top: 12px; }
    #page .association-home .home-overview p { font-size: 13px; line-height: 1.9; }
    #page .association-home .home-lead { font-size: 16px; }
    #page .association-home .home-news-list li { min-height: 43px; gap: 7px; }
    #page .association-home .home-news-date { flex-basis: 70px; font-size: 11px; }
    #page .home-shortcuts { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 18px 8px; gap: 20px 8px; margin-bottom: 24px; }
    #page .home-shortcut-icon { width: 52px; height: 52px; }
    #page .home-shortcut-icon i { font-size: 28px; }
    #page .association-home .home-shortcuts > a { font-size: 13px; gap: 8px; }
    #page .home-category-links { gap: 8px; }
    #page .home-category-links a { padding: 7px 12px; }
    #page .about-layout { display: block; margin-top: 20px; margin-bottom: 30px; }
    #page .about-side-heading { padding: 10px 14px; font-size: 17px; line-height: 24px; }
    #page .about-side-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 6px; margin-bottom: 20px; scrollbar-width: thin; }
    #page .about-side-nav a { flex: 0 0 auto; white-space: nowrap; padding: 8px 11px; line-height: 24px; font-size: 14px; }
    #page .about-side-nav a.is-active { background: #e4edf6; }
    #page .about-identity { display: none; }
    #page .about-heading { align-items: flex-start; gap: 4px; }
    #page .about-heading h1 { font-size: 18px; padding: 6px 0; }
    #page .about-breadcrumb { width: 100%; order: -1; gap: 5px; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
    #page .about-article { padding-top: 20px; min-height: 0; font-size: 14px; line-height: 2; }
    #page .about-article p { margin-bottom: 18px; line-height: 2; overflow-wrap: anywhere; }
    #page .about-article img { max-width: 100%; height: auto; }
    #page .article-list-body { padding-top: 14px; min-height: 0; }
    #page .article-text-list li { padding: 5px 0 15px; margin-bottom: 12px; }
    #page .article-list-item-heading a { font-size: 16px; line-height: 1.7; }
    #page .article-list-summary-row { gap: 10px; margin-top: 8px; }
    #page .article-list-excerpt { font-size: 13px; line-height: 1.9; }
    #page .article-list-summary-row time { flex-basis: 68px; font-size: 11px; line-height: 24.7px; }
    #page .article-list-pagination { margin-top: 20px; gap: 6px; }
    #page .article-list-pagination button { min-width: 36px; min-height: 40px; padding: 6px 10px; }
    #page .images-list-layout .article-text-list li { gap: 12px; }
    #page .images-list-layout .image-list-thumbnail { width: 96px; height: 88px; flex: 0 0 96px; }
    #page .images-list-layout .article-list-summary-row { display: block; }
    #page .images-list-layout .article-list-excerpt { min-height: 3.8em; }
    #page .images-list-layout .article-list-summary-row time { margin-top: 4px; line-height: 20px; }
    #page .article-detail-header { padding: 20px 0 16px; }
    #page .article-detail-header h2 { font-size: 20px; line-height: 1.65; margin-bottom: 10px; }
    #page .article-detail-body { padding-top: 20px; }
    #page .article-adjacent { gap: 14px; padding-top: 18px; }
    #page .article-adjacent > div { gap: 12px; }
    #page .article-back a { display: inline-block; padding: 8px 0 8px 16px; }
    #page .search-information { padding: 14px; margin-bottom: 18px; }
    #page .search-result-summary { margin-bottom: 12px; font-size: 13px; }
    #page .association-footer-grid { grid-template-columns: minmax(0,1fr) 100px; gap: 22px 20px; padding-top: 28px; }
    #page .footer-about, #page .footer-quick-links { grid-column: 1 / -1; }
    #page .association-footer-grid .footer-about { padding-top: 0; }
    #page .association-site-footer { font-size: 13px; }
    #page .association-site-footer h3 { font-size: 16px; margin-bottom: 10px; }
    #page .footer-quick-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
    #page .footer-quick-links h3 { width: 100%; margin-bottom: 4px; }
    #page .association-site-footer .footer-quick-links > a { display: block; min-height: 34px; margin: 0; line-height: 34px; }
    #page .association-site-footer .footer-follow img { width: 96px; height: 96px; }
    #page .association-site-footer p { line-height: 1.9; margin-bottom: 6px; }
    #page .association-site-footer .footer-partner-links { gap: 4px 14px; padding-top: 22px; padding-bottom: 14px; font-size: 12px; }
    #page .association-footer-copyright { padding: 12px 0; font-size: 11px; }
    #page .association-footer-copyright > .container { gap: 5px 10px; }
}
@media (max-width: 359px) {
    #page .container { margin-left: 12px; margin-right: 12px; }
    #page .header .association-emblem { width: 44px; height: 44px; flex-basis: 44px; }
    #page .header .association-brand > a { gap: 8px; }
    #page .header .association-name { font-size: 16px; }
    #page .images-list-layout .image-list-thumbnail { flex-basis: 80px; width: 80px; height: 80px; }
    #page .association-footer-grid { grid-template-columns: minmax(0,1fr) 88px; gap: 20px 12px; }
    #page .association-site-footer .footer-follow img { width: 84px; height: 84px; }
}
@media (max-width: 760px) {
    #page .association-footer-grid .footer-about,
    #page .association-footer-grid .footer-contact,
    #page .association-footer-grid .footer-follow { display: none; }
}

@media (max-width: 760px) {
    #page .images-list-layout .article-list-summary-row time { text-align: left; }
}

@media (max-width: 760px) {
    #page .association-masthead::before {
        display: block;
        left: 0;
        right: 0;
        background-size: 100% 100%, cover;
        background-position: center, 78% 66%;
        background-image: linear-gradient(to bottom, rgba(255,255,255,.88), rgba(255,255,255,.68) 55%, rgba(255,255,255,.4)), url("/template/index/static/images/header-rescue-background.png");
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 36%, #000 92%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 36%, #000 92%, transparent 100%);
    }
}