@media (max-width: 1100px) {
  .bdc-header-inner {
    grid-template-columns: 260px 1fr 46px;
    gap: 14px;
  }

  .bdc-brand img {
    width: 82px;
    height: 82px;
  }

  .bdc-brand-text strong {
    font-size: 20px;
  }

  .bdc-brand-text small {
    font-size: 9px;
  }

  .bdc-menu {
    gap: 17px;
  }

  .bdc-hero-portrait {
    right: 88px;
    height: 420px;
  }

  .bdc-theme-grid,
  .bdc-post-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bdc-author-inner {
    grid-template-columns: 150px 1fr;
  }

  .bdc-author-gallery {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .bdc-header-inner {
    min-height: 78px;
    grid-template-columns: 1fr 44px 48px;
  }

  .bdc-menu-toggle {
    display: block;
    justify-self: end;
  }

  .bdc-primary-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 20px;
    background: #041529;
    border-top: 1px solid rgba(173, 128, 52, 0.25);
  }

  .bdc-primary-nav.is-open {
    display: block;
  }

  .bdc-menu {
    display: grid;
    gap: 6px;
  }

  .bdc-menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .bdc-menu a {
    min-height: 38px;
  }

  .bdc-hero,
  .bdc-hero-inner {
    min-height: auto;
  }

  .bdc-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .bdc-hero-copy {
    text-align: center;
    padding: 42px 0 8px;
  }

  .bdc-hero p,
  .bdc-title-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .bdc-hero-actions {
    justify-content: center;
  }

  .bdc-hero-portrait {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(310px, 86vw);
    height: auto;
    margin: 0 auto -2px;
    transform: none;
  }

  .bdc-hero-portrait img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .bdc-featured-inner {
    grid-template-columns: 1fr;
  }

  .bdc-author-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bdc-author-avatar img {
    margin: 0 auto;
  }

  .bdc-author-gallery {
    grid-column: auto;
  }

  .bdc-footer-inner {
    grid-template-columns: 1fr;
    padding: 34px 0 22px;
    text-align: center;
  }

  .bdc-footer-logo img {
    margin: 0 auto;
  }

  .bdc-footer-logo {
    justify-content: center;
  }

  .bdc-archive-section .bdc-post-grid,
  .bdc-related .bdc-post-grid,
  .bdc-load-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdc-about-page-grid {
    grid-template-columns: 1fr;
  }

  .bdc-about-page-photo {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .bdc-contact-form {
    grid-template-columns: 1fr;
  }

  .bdc-view-list .bdc-article-card {
    grid-template-columns: 210px 1fr;
  }

  .bdc-archive-section .bdc-view-list .bdc-article-card,
  .bdc-latest-three .bdc-view-list .bdc-article-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .bdc-container,
  .bdc-header-inner,
  .bdc-footer-inner,
  .bdc-pagination {
    width: min(100% - 28px, 1120px);
  }

  .bdc-brand img {
    width: 74px;
    height: 74px;
  }

  .bdc-brand-text strong {
    font-size: 17px;
  }

  .bdc-brand-text small {
    display: none;
  }

  .bdc-header-search {
    right: 14px;
  }

  .bdc-search-toggle {
    width: 42px;
    height: 42px;
  }

  .bdc-search-toggle span::before {
    top: 12px;
    left: 12px;
  }

  .bdc-search-toggle span::after {
    top: 27px;
    left: 26px;
  }

  .bdc-hero h1 {
    font-size: 45px;
  }

  .bdc-hero p {
    font-size: 17px;
  }

  .bdc-button {
    width: 100%;
  }

  .bdc-section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .bdc-section-heading span {
    width: 170px;
    margin: 0 auto;
  }

  .bdc-section-heading h2 {
    font-size: 22px;
  }

  .bdc-theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdc-post-grid,
  .bdc-archive-section .bdc-post-grid,
  .bdc-related .bdc-post-grid,
  .bdc-load-more-grid {
    grid-template-columns: 1fr;
  }

  .bdc-featured-card {
    padding: 28px 24px;
  }

  .bdc-featured-card h2 {
    font-size: 25px;
  }

  .bdc-author-gallery {
    grid-template-columns: 1fr;
  }

  .bdc-author-gallery img {
    height: auto;
  }

  .bdc-social-icons {
    gap: 20px;
  }

  .bdc-view-list .bdc-article-card {
    grid-template-columns: 1fr;
  }

  .bdc-archive-section .bdc-view-list .bdc-article-card,
  .bdc-latest-three .bdc-view-list .bdc-article-card {
    grid-template-columns: 1fr;
  }

  .bdc-view-list .bdc-card-image {
    aspect-ratio: 1.18 / 1;
    min-height: 0;
  }

  .bdc-single-meta,
  .bdc-share,
  .bdc-author-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .bdc-theme-grid {
    grid-template-columns: 1fr;
  }

  .bdc-hero h1 {
    font-size: 40px;
  }
}
