/* Responsive adjustments for the captured desktop theme. */
.static-menu-toggle,
.static-search-toggle,
.static-home-mobile {
  display: none;
}
.static-archive-title {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.25;
}
.static-note,
.static-404 {
  padding: 20px 0;
}
.static-404 a {
  color: var(--primary);
  text-decoration: underline;
}
.load-more {
  clear: both;
  padding: 20px 0;
  text-align: center;
}
.btn-load-more {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 12px 24px;
  font: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.header-nav a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #0499cc;
  outline-offset: 3px;
}
.header-nav .nav-container ul > li:focus-within > .sub-menu {
  display: block;
}
.post-content {
  overflow-wrap: anywhere;
  width: 100%;
  max-width: 100%;
}
.post-content img,
.post-content iframe {
  max-width: 100%;
}
.no-more {
  padding: 16px 0;
  text-align: center;
}
@media (max-width: 1020px) {
  .header-wrap,
  .nav-container,
  .main-container,
  .footer-container,
  .breaking,
  .main,
  .footer-row {
    max-width: 100%;
    min-width: 0;
  }
  .header .header-wrap .header-box {
    gap: 12px;
  }
  .header-brand {
    flex-shrink: 0;
  }
  .header-input-search {
    width: min(33vw, 395px);
  }
  .nav-container {
    width: 100%;
  }
  .header-nav .nav-container nav {
    min-width: 0;
    overflow-x: auto;
  }
  .header-nav .nav-container nav > ul {
    width: max-content;
  }
}
@media (max-width: 1020px) {
  body {
    min-width: 0;
  }
  .content {
    width: 100%;
    min-width: 0;
  }
  .header {
    position: relative;
    width: 100%;
    z-index: 50;
  }
  .header .header-wrap {
    height: auto;
    padding: 4px 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .header .header-wrap .header-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    min-height: 40px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .header-brand {
    width: auto;
    margin: 0;
    text-align: left;
    flex: 1;
    min-width: 0;
  }
  .header-brand img.brand-logo {
    width: min(190px, calc(100vw - 140px));
    max-width: 100%;
    height: auto;
    margin: 0;
  }
  .header-actions {
    margin: 0 0 0 8px;
    gap: 0;
    flex-shrink: 0;
  }
  .header-actions .mode,
  .static-menu-toggle,
  .static-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 40px;
    padding: 8px;
    border: 0;
    background-color: transparent;
    color: #666;
    cursor: pointer;
    box-sizing: border-box;
  }
  .header-actions .mode {
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .static-search-toggle svg,
  .static-menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }
  .static-menu-toggle svg {
    fill: currentColor;
    stroke: none;
  }
  .darkmode .static-search-toggle,
  .darkmode .static-menu-toggle {
    color: #ddd;
  }
  .header-search {
    display: none;
    order: 5;
    width: 100%;
    padding: 8px 0 10px;
  }
  .static-search-open .header-search {
    display: block;
  }
  .header-search-form,
  .header-search-wrapper {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .header-input-search {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .btn-search {
    width: 70px;
    flex-shrink: 0;
  }
  .header-nav .nav-container {
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .header-nav a {
    line-height: 36px;
    white-space: nowrap;
    text-transform: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0 12px;
  }
  .header-nav .nav-container nav {
    scrollbar-width: none;
  }
  .header-nav .nav-container nav::-webkit-scrollbar {
    display: none;
  }
  .static-home-desktop {
    display: none;
  }
  .static-home-mobile {
    display: inline;
  }
  .header-nav .nav-container ul > li .sub-menu {
    display: none;
  }
  .static-menu-open .header-nav .nav-container {
    height: auto;
    max-height: 65vh;
    overflow-y: auto;
  }
  .static-menu-open .header-nav .nav-container nav {
    width: 100%;
    overflow: visible;
  }
  .static-menu-open .header-nav .nav-container nav > ul {
    width: 100%;
    display: block;
  }
  .static-menu-open .header-nav .nav-container ul > li {
    max-height: none;
  }
  .static-menu-open .header-nav .nav-container ul > li .sub-menu {
    display: block;
    position: static;
    padding-left: 18px;
  }
  .static-menu-open .header-nav .nav-container a {
    padding-left: 10px;
  }
  .breaking {
    width: calc(100% - 24px);
    margin: 0 12px;
  }
  .main-container {
    width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
  }
  .main {
    width: 100%;
  }
  .article-row {
    display: block;
    margin: 0;
  }
  .article {
    width: 100%;
    max-width: 100%;
    padding: 0;
    flex: none;
  }
  .article-wrapper,
  .article-box,
  .latest-area {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .latest-area,
  .post-detail {
    margin-right: 0;
  }
  .sidebar {
    display: none;
  }
  .article-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }
  .article-item .article-image {
    width: 36%;
    flex: 0 0 36%;
    height: auto;
    aspect-ratio: 16 / 10;
    padding: 0;
    margin-right: 0;
  }
  .article-item .article-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .article-item .article-text {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 0;
  }
  .article-title a {
    font-size: 15px;
    line-height: 1.45;
  }
  .article-time,
  .article-category {
    font-size: 10px;
    line-height: 1.5;
  }
  .article-item .summary {
    display: none;
  }
  .headline-big {
    width: 100%;
  }
  .headline-image {
    max-width: 100%;
  }
  .headline-title a {
    font-size: 22px;
  }
  .slider-title a {
    font-size: 12px;
  }
  .btn-next {
    right: 0;
  }
  .btn-prev {
    left: 0;
  }
  .recommendation .overview {
    display: flex;
    overflow-x: auto;
  }
  .slider-item {
    min-width: 0;
  }
  .post-title {
    font-size: 27px;
    line-height: 1.25;
  }
  .post-header .sub-title {
    font-size: 15px;
  }
  .post-content {
    font-size: 17px;
    line-height: 1.75;
  }
  .post-header .grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .share {
    max-width: 100%;
  }
  .post-content table {
    display: block;
    overflow-x: auto;
  }
  .post-content figure {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .big-video {
    display: block;
  }
  .big-video .big-image,
  .big-video .big-text {
    width: 100%;
  }
  .video .small-video {
    width: 50%;
  }
  .footer-container {
    width: 100%;
    padding: 24px 18px;
    box-sizing: border-box;
  }
  .footer-row {
    display: block;
  }
  .footer-left,
  .footer-right {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .footer .menu li {
    margin: 0;
  }
  .static-archive-title {
    font-size: 24px;
  }
  .header.fixed {
    position: relative;
  }
  .content.fixed {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
