@media (max-width: 1024px) {
  body.mblt-footer-mobile-buttons, body.mblt-header-and-footer-mobile-buttons { margin-bottom: 0 !important; }
  .ymt-shell { width: min(100% - 24px, 1216px); }
  .ymt-header-main { min-height: 82px; }
  .ymt-home-grid { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; }
  .ymt-hero { height: 290px; }
  .ymt-hero-copy { padding: 18px; }
  .ymt-hero-copy h2 { font-size: 19px; }
  .ymt-card-image { aspect-ratio: 2.8/1; }
  .ymt-category-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ymt-footer-inner { grid-template-columns: 200px minmax(0, 1fr) auto; gap: 14px; }
  .ymt-footer-menu a { padding-inline: 8px; }
  .ymt-footer-actions { gap: 13px; }
  body:not(.home):not(.no-sidebar) .content-in { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .ymt-shell { width: min(100% - 24px, 1216px); }
  .ymt-header-main { position: relative; min-height: 72px; gap: 10px; }
  .ymt-brand { gap: 8px; }
  .ymt-brand img { width: 34px; height: 34px; }
  .ymt-brand strong { font-size: 20px; }
  .ymt-brand small, .ymt-utility-nav { display: none; }
  .ymt-header-tools { display: flex; min-width: 0; justify-content: flex-end; }
  .ymt-header-utility { gap: 0; }
  .ymt-date-search { position: static; }
  .ymt-date-search summary { min-width: 72px; min-height: 44px; justify-content: center; border: 1px solid var(--color-border); border-radius: 5px; background: #fff; font-size: 12px; }
  .ymt-date-search summary::after { display: none; }
  .ymt-date-search-panel { top: 66px; right: 0; left: 0; width: auto; }
  .ymt-date-search-panel::before { right: 76px; }
  .ymt-search-toggle { display: inline-grid; min-width: 52px; min-height: 44px; place-items: center; border: 1px solid var(--color-border); border-radius: 5px; background: #fff; font-size: 12px; font-weight: 700; }
  .ymt-search { position: absolute; top: 66px; right: 0; left: 0; z-index: 60; display: none; width: auto; padding: 8px; border: 1px solid var(--color-border); border-radius: 5px; background: #fff; box-shadow: var(--shadow-card); }
  .ymt-search.is-open { display: flex; }
  .ymt-search input { height: 44px; font-size: 16px; }
  .ymt-search button { width: 48px; }
  .ymt-global-nav { overflow: hidden; }
  .ymt-nav-scroll { display: flex; overflow-x: auto; min-height: 46px; padding-bottom: 1px; scrollbar-width: thin; }
  .ymt-global-nav a { flex: 0 0 auto; min-width: 92px; min-height: 44px; padding: 0 12px; }
  .ymt-home { padding-top: 12px; }
  .ymt-home-grid { display: flex; flex-direction: column; }
  .ymt-home-primary, .ymt-home-sidebar { width: 100%; }
  .ymt-hero { height: auto; }
  .ymt-hero-track { min-height: 0; }
  .ymt-hero-slide { grid-template-columns: 1fr; }
  .ymt-hero-slide.is-active { position: relative; }
  .ymt-hero-image { aspect-ratio: 16/9; }
  .ymt-hero-copy { padding: 18px 17px 38px; }
  .ymt-hero-copy h2 { margin-block: 8px 6px; font-size: 21px; }
  .ymt-hero-copy p { font-size: 17px; }
  .ymt-card-image { aspect-ratio: 16/9; }
  .ymt-home-sidebar { grid-template-columns: 1fr; }
  .ymt-category-sections { gap: 24px; }
  .ymt-category-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ymt-footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding-block: 18px; }
  .ymt-footer-identity { justify-items: center; }
  .ymt-footer-menu { flex-wrap: wrap; }
  .ymt-footer-actions { gap: 22px; }
  body:not(.home) .content-in { width: calc(100% - 24px); margin-top: 16px; }
  body:not(.home):not(.no-sidebar) .content-in { display: block; }
  body:not(.home):not(.no-sidebar) .sidebar { margin-top: 20px; }
  body:not(.home) .entry-content table {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto;
    table-layout: fixed;
    overflow-wrap: anywhere;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .ymt-shell { width: min(100% - 20px, 1216px); }
  .ymt-header-main { gap: 6px; }
  .ymt-brand { gap: 6px; }
  .ymt-brand strong { font-size: 16px; letter-spacing: 0; }
  .ymt-header-tools { gap: 4px; }
  .ymt-date-search summary { min-width: 64px; padding-inline: 5px; }
  .ymt-search-toggle { min-width: 48px; }
  .ymt-side-panel { padding: 11px; }
  .ymt-category-section-heading h2 { font-size: 20px; }
  .ymt-category-articles { grid-template-columns: 1fr; gap: 10px; }
  .ymt-category-articles .ymt-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .ymt-category-articles .ymt-card-image { height: 100%; min-height: 106px; aspect-ratio: auto; }
  .ymt-category-articles .ymt-card-body { display: flex; flex-direction: column; justify-content: center; padding: 9px 11px; }
  .ymt-category-articles .ymt-card-body .ymt-category-label { position: static; align-self: flex-start; }
  .ymt-category-articles .ymt-card h3 { min-height: 0; margin: 5px 0; font-size: 15px; }
  .ymt-footer-menu li + li { border: 0; }
  .ymt-footer-menu a { padding: 5px 8px; }
  .ymt-contact-email, .ymt-html-sitemap section { padding: 16px; }
  .ymt-html-sitemap time { display: block; margin: 2px 0 0; }
}
