@media (max-width:1200px) {
  [data-search-results] {
    min-height: 820px;
  }
  .sidebar {
    display: grid;
  grid-template-columns: 1fr;
  width: auto;
  max-width: none;
  }
  .related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .drawer .pill-row {
    gap: 6px;
  justify-content: space-between;
  align-items: center;
  }
  .layout,.post-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .layout>.sidebar,.post-layout>.sidebar {
    display: none;
  }
  .cards-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--card-grid-gap);
  }
}
@media (max-width:720px) {
  [data-search-results] {
    min-height: 520px;
  }
}
@media (max-width:700px) {
  .breadcrumbs {
    font-size: .9rem;
  }
  .post-meta-bar {
    padding: 4px 6px;
  flex-wrap: nowrap;
  grid-template-columns: minmax(0,1fr) auto;
  }
  .post-meta-bar .meta-left {
  text-overflow: ellipsis;
  white-space: nowrap;
  scrollbar-width: none;
  }
  .post-actions {
    gap: 6px;
  }
  .action-btn {
    width: 34px;
  }
  .hero-mode {
    padding: 0 14px;
  }
  .hero-subscribe-btn {
    padding: 12px 14px;
  }
  .modal-overlay {
    padding: 12px var(--panel-inline-pad);
  }
  .modal {
    padding: 12px var(--panel-inline-pad);
  width: min(430px,100%);
  }
  .modal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-link {
    padding: 11px 12px;
  min-height: 54px;
  }
  .footer-inner {
    padding: 16px 14px 22px;
  }
  .footer-link {
    font-size: .82rem;
  }
  .copyright {
    font-size: .78rem;
  margin-top: 8px;
  }
  .sidebar {
    display: none;
  }
  .sidebar .widget {
    padding: 18px var(--panel-inline-pad);
  }
  .widget h2,.widget h3 {
    font-size: 1.1rem;
  }
  .list-link {
    padding: 16px var(--panel-inline-pad);
  }
  .list-link small {
    min-width: 84px;
  }
  .footer-links {
    margin-bottom: 12px;
  }
  .content-wrap,.widget,.card {
    border-radius: 6px;
  }
  .widget {
    padding: 16px var(--panel-inline-pad);
  }
  .content-wrap {
    padding: var(--content-wrap-pad-mobile,var(--panel-block-pad) var(--panel-inline-pad));
  }
  .sidebar .list-link {
    padding: 16px var(--panel-inline-pad);
  }
  .sidebar .list-link small {
    min-width: 82px;
  }
  .post-meta-bar .meta-left::-webkit-scrollbar {
    display: none;
  }
  .post-actions .action-btn {
    width: 40px;
  }
  .drawer {
    width: min(88vw,350px);
  top: var(--header-offset);
  bottom: auto;
  z-index: 1950;
  border-left: 1px solid var(--line-soft);
  border-top: 1px solid rgba(213,173,103,.08);
  overflow: auto;
  }
  .sidebar .widget h3 {
    font-size: 1rem;
  }
  .widget>.pill:first-child,.content-wrap>.pill:first-child {
    font-size: .64rem;
  }
  .drawer-extra {
    display: grid;
  margin: 0;
  }
  .drawer-extra .widget {
    display: block;
  }
  .drawer-extra .widget h3 {
    font-size: 1rem;
  }
  .drawer-extra .muted {
    font-size: .92rem;
  }
  .drawer-extra .pill {
    font-size: .62rem;
  letter-spacing: .16em;
  }
  .drawer-extra .pill-row {
    gap: 8px;
  }
  .drawer-extra .pill-row .pill {
    font-size: .8rem;
  }
  .drawer-extra .list-links {
    gap: 10px;
  }
  .drawer-extra .list-link {
    padding: 14px var(--panel-inline-pad);
  }
  .drawer-extra .list-link small {
    min-width: 76px;
  }
  :root {
    --header: 44px;
  --header-offset: calc(var(--header) + env(safe-area-inset-top,0px));
  }
  .header-search {
    gap: 2px;
  }
  .search-form.is-open {
    width: min(210px,calc(100vw - 118px));
  }
  .search-form button,.hamburger {
    font-size: 26px;
  }
  .page-hero {
    padding: 0;
  }
  .post-meta-bar {
    min-height: 34px;
  }
  .page-hero.post-hero {
    --post-hero-edge-gap: var(--panel-block-pad);
    --post-hero-top-gap: var(--post-hero-edge-gap);
    --post-hero-bottom-gap: var(--post-hero-edge-gap);
    --post-hero-title-bottom-gap: 0px;
    padding: var(--post-hero-top-gap) var(--panel-inline-pad) var(--post-hero-bottom-gap);
  }
  .meta-left {
    font-size: .68rem;
  }
  .page-hero:not(.post-hero) {
    padding: var(--page-hero-top-gap) var(--panel-inline-pad) var(--page-hero-bottom-gap);
  }
  .drawer .widget {
    padding: 14px var(--panel-inline-pad);
  }
  .drawer .widget h2,.drawer .widget h3 {
    font-size: .98rem;
  }
  .drawer .muted {
    font-size: .82rem;
  }
  .drawer .list-link {
    padding: 10px;
  align-items: center;
  justify-content: space-between;
  }
  .drawer .list-link small {
    min-width: 56px;
  display: inline-grid;
  }
  .search-form button svg,.hamburger svg {
    width: 23px;
  }
  .drawer .list-links {
    display: grid;
  }
  .drawer .pill {
    padding: 6px 10px;
  margin-bottom: 10px;
  }
  .modal-title {
    font-size: 1rem;
  }
  .modal-ico {
    width: 34px;
  }
  .hamburger,.search-form,.search-form button {
    width: 32px;
  }
  .site-header .search-form input {
    font-size: 16px;
  }
  .hero-subscribe .hero-mode-row {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 0;
  }
  .hero-subscribe .hero-mode,.hero-subscribe .hero-subscribe-btn.hero-subscribe-inline {
    min-height: 40px;
    border: 0;
    box-shadow: none;
    font: 800 .86rem/1 var(--system-font);
    border-radius: 0;
  }
  .hero-subscribe .hero-mode {
    border-radius: 0;
  }
  .hero-subscribe .hero-subscribe-btn.hero-subscribe-inline {
    border-radius: 0;
  }
  .site-header .search-form.is-open {
    width: min(170px,calc(100vw - 126px));
  max-width: min(170px,calc(100vw - 126px));
  }
  #modal-categories .modal,#modal-follow .modal,#modal-share .modal {
    width: min(400px,100%);
  }
  #modal-categories .modal-link,#modal-follow .modal-link,#modal-share .modal-link {
    min-height: 44px;
  padding: 8px 11px;
  font-size: .8rem;
  }
  #modal-categories .modal-ico,#modal-follow .modal-ico,#modal-share .modal-ico {
    width: 26px;
  height: 26px;
  min-width: 26px;
  flex-basis: 26px;
  }
  .hero-subscribe .hero-mode {
    background: var(--post-media-surface);
  }
  .hero-subscribe .hero-subscribe-btn.hero-subscribe-inline {
    background: linear-gradient(180deg,var(--red),var(--red-strong));
  }
  .hero-subscribe .hero-subscribe-btn.hero-subscribe-inline::before {
    font-size: .78rem;
  }
}
@media (max-width:1200px) and (orientation:landscape) {
  body.listing-page .layout {
    display: block;
    padding-bottom: var(--content-gap);
  }
  body.listing-page .main-col.stack {
    display: grid;
    align-self: start;
    gap: var(--content-gap);
  }
  body.listing-page .cards-grid {
    align-content: start;
  }

  :root {
    --shell-max: 100%;
  }
  .drawer {
    width: min(64vw,300px);
  }
  #modal-categories.modal-overlay,#modal-follow.modal-overlay,#modal-share.modal-overlay {
    padding: 12px var(--panel-inline-pad);
    justify-content: center;
    align-items: center;
  }
  #modal-categories .modal,#modal-follow .modal,#modal-share .modal {
    width: min(520px,calc(100dvw - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    overflow-y: auto;
    padding: 6px;
  }
  #modal-categories .modal-head,#modal-follow .modal-head,#modal-share .modal-head {
    min-height: 32px;
    margin-bottom: 5px;
    padding: 0 0 5px;
  }
  #modal-categories .modal-title,#modal-follow .modal-title,#modal-share .modal-title {
    min-height: 26px;
    font-size: .82rem;
  }
  #modal-categories .modal-close,#modal-follow .modal-close,#modal-share .modal-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex-basis: 32px;
  }
  #modal-categories .modal-grid,#modal-follow .modal-grid,#modal-share .modal-grid {
    gap: 7px;
    padding-bottom: 0;
  }
  #modal-categories .modal-link,#modal-follow .modal-link,#modal-share .modal-link {
    min-height: 34px;
    padding: 6px 9px;
    font-size: .76rem;
  }
  #modal-categories .modal-ico,#modal-follow .modal-ico,#modal-share .modal-ico {
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-basis: 22px;
  }
}
@media (max-width:1100px) {
  .hamburger {
    display: grid;
  }
  .layout {
    grid-template-columns: minmax(0,1fr);
  }
  .sidebar {
    display: none;
  }
  .post-layout {
    grid-template-columns: 1fr;
  }
  .cards-grid,.related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .drawer {
    display: block;
  height: calc(100dvh - var(--header-offset));
  padding: 0 var(--content-gap) var(--content-gap);
  border-top: 0;
  border-radius: 0;
  background: var(--surface-deep);
  }
  .drawer-backdrop {
    z-index: 1900;
  top: var(--header-offset);
  bottom: auto;
  left: 0;
  right: 0;
  }
  .drawer-head {
    display: none;
  }
  .drawer .drawer-extra,.drawer>[data-drawer-sidebar] {
    display: grid;
  gap: var(--content-gap);
  padding-top: var(--content-gap);
  margin: 0;
  }
}
@media (min-width:560px) and (max-width:1200px) {
  .layout,.post-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .cards-grid,.related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: var(--card-grid-gap);
    align-content: start;
  }
}
@media (max-width:559px) {
  :root {
    --page-gutter: 14px;
  }
  .layout>.sidebar,.post-layout>.sidebar,.sidebar {
    display: none;
  }
  .cards-grid,.related-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .card {
    width: 100%;
  min-width: 0;
  }
  .card-title {
    font-size: clamp(.78rem,4.8vw,1rem);
  }
  .card .meta-bar {
    gap: 4px;
    min-height: 32px;
    padding: 4px var(--card-content-pad) var(--card-content-pad);
  }
  .card .meta-chip {
    height: 20px;
    padding: 0 6px;
    font-size: clamp(.58rem,3.45vw,.72rem);
  }
  .layout {
    display: flex;
    flex-direction: column;
  }
  .main-col.stack {
    flex: 1 1 auto;
    min-height: 0;
    gap: var(--content-gap);
  }
  .pagination {
    grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 6px;
  width: 100%;
  max-width: 100%;
  }
  .pagination-link {
    min-width: 0;
  min-height: 42px;
  border-radius: 6px;
  }
  .pagination-link.is-active::before,.pagination-link[aria-current="page"]::before {
    border-radius: 6px;
  }
  .pagination-link.is-active::after,.pagination-link[aria-current="page"]::after {
    left: 10px;
  right: 10px;
  bottom: 7px;
  height: 3px;
  }
}
@media (max-width:1100px) and (orientation:portrait) {
  :root {
    --page-gutter: 14px;
  }
}
@media (max-width:1100px) {
  :root {
    --header: 56px;
    --header-offset: calc(var(--header) + env(safe-area-inset-top,0px));
  }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    padding-top: env(safe-area-inset-top,0px);
  }
  .site-header .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6px;
    height: var(--header);
    min-height: var(--header);
    max-width: var(--shell-max);
  }
  .site-header .brand {
    display: grid;
    place-items: center start;
    height: 100%;
    min-height: var(--header);
    margin: 0;
    padding: 0;
  }
  .site-header .header-search {
    display: grid;
    place-items: center end;
    height: 100%;
    min-height: var(--header);
    margin-left: 0;
    padding: 0;
  }
  .site-header .brand img {
    display: block;
    align-self: auto;
    padding: 0 0 5px;
    box-sizing: content-box;
  }
  .site-header .hamburger {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
    font-size: 0;
    transform: none;
    align-self: auto;
  }
  .site-header .hamburger svg {
    display: block;
    width: 24px;
    height: 24px;
  }
}
@media (max-width:560px) {
  .fnc-wrap {
    width: 100%;
  max-width: none;
  margin: 0;
  }
  .fnc-card {
    border-radius: 6px;
  padding: 11px var(--panel-inline-pad);
  }
  .fnc-grid {
    grid-template-columns: 1fr;
  }
  .fnc-email,.fnc-ticket {
    padding: 7px 9px;
  }
  .fnc-textarea {
    min-height: 160px;
  }
}
@media (max-width:380px) {
  .fnc-actions {
    gap: 8px;
  }
  .fnc-pill {
    padding: 11px 12px;
  }
}
@media (max-width:700px) {
  .video-shell::before {
    width: 64px;
  height: 45px;
  border-radius: 6px;
  }
  .video-shell::after {
    border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-width: 17px;
  }
  body.search-page [data-search-results],body.search-page .empty-state {
    min-height: 0;
  }
}
@media (max-width:1200px) {
  .drawer .sidebar-search-widget {
    padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  }
  .drawer .sidebar-search-widget .search-form,.drawer .sidebar-search-widget .search-form.is-open {
    width: 100%;
  }
  .drawer .sidebar-search-widget .search-form button {
    font-size: 22px;
  }
  .drawer .sidebar-search-widget .search-form input:focus {
    scroll-margin-top: 0;
  }
}
@media (max-width:1100px) {
  body.drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }
}

