.home-brand > strong,
.home-brand > small,
.mobile-regions,
.mobile-projects-heading {
  display: none;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
    width: 100%;
    background:
      radial-gradient(circle at 50% 0, rgba(16, 54, 78, .72), transparent 28rem),
      #020b13;
  }

  .site-frame {
    width: 100%;
    max-width: none;
    box-shadow: none;
  }

  .design-canvas {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    min-height: 100vh;
    padding: 76px 0 0;
    aspect-ratio: auto;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(5, 28, 44, .98), #020d17 32%, #031522 100%);
  }

  .design-image,
  .home-main-nav,
  .action-hotspot,
  .anchor {
    display: none;
  }

  .home-brand {
    position: absolute !important;
    inset: 10px 104px auto 14px !important;
    z-index: 80 !important;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    width: auto !important;
    height: 56px !important;
    color: #fff;
    text-decoration: none;
  }

  .home-brand::before {
    content: "✦";
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid #d9a13b;
    border-radius: 50%;
    color: #e8b34d;
    background: radial-gradient(circle, #10344b, #031522 72%);
    box-shadow: 0 0 0 3px rgba(217, 161, 59, .14);
    font-size: 23px;
  }

  .home-brand > strong,
  .home-brand > small {
    display: block;
  }

  .home-brand > strong {
    align-self: end;
    color: #e5ad43;
    font: 700 23px/1 Georgia, serif;
    letter-spacing: .8px;
  }

  .home-brand > small {
    align-self: start;
    overflow: hidden;
    color: #dce5e9;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .35px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-button {
    position: fixed;
    z-index: 90;
    top: max(.65rem, env(safe-area-inset-top));
    right: .65rem;
    display: grid;
    grid-template-columns: 1.25rem auto;
    align-items: center;
    column-gap: .45rem;
    min-width: 86px;
    min-height: 48px;
    padding: .55rem .75rem;
    border: 1px solid rgba(232, 161, 47, .78);
    border-radius: .45rem;
    color: #08121b;
    background: linear-gradient(#f3bc5d, #c98727);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    cursor: pointer;
  }

  .mobile-menu-button span {
    grid-column: 1;
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 1px 0;
    background: currentColor;
  }

  .mobile-menu-button b {
    grid-column: 2;
    grid-row: 1 / span 3;
    font-size: .7rem;
  }

  .mobile-menu {
    position: fixed;
    z-index: 100;
    inset: 0 0 0 auto;
    display: block;
    width: min(88vw, 390px);
    overflow-y: auto;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
    border-left: 1px solid rgba(232, 161, 47, .55);
    background: #03111e;
    box-shadow: -25px 0 70px rgba(0, 0, 0, .55);
  }

  .mobile-menu[hidden],
  .menu-backdrop[hidden] {
    display: none;
  }

  .mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .35rem .2rem 1rem;
    color: var(--gold);
  }

  .mobile-menu__close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 161, 47, .45);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: 1.7rem;
    cursor: pointer;
  }

  .mobile-menu a,
  .mobile-menu summary {
    display: block;
    min-height: 44px;
    padding: .9rem .8rem;
    border-bottom: 1px solid rgba(232, 161, 47, .15);
    color: #fff;
    font-size: .88rem;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-menu details a {
    padding-left: 1.65rem;
    color: var(--muted);
  }

  .mobile-menu__languages {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
  }

  .mobile-menu__languages a {
    flex: 1;
    border: 1px solid rgba(232, 161, 47, .5);
    text-align: center;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 95;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(2px);
  }

  .home-hero-slider {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: clamp(250px, 64vw, 430px);
    border-block: 1px solid rgba(214, 157, 43, .45);
  }

  .home-hero-slider .hero-slide.is-legacy .hero-slide__media {
    background-size: auto 360%;
    background-position: center 9.2%;
  }

  .hero-slide__content {
    width: min(78%, 580px);
  }

  .hero-slide__content h2 {
    font-size: clamp(26px, 7vw, 46px);
  }

  .hero-slide__content p {
    margin: 12px auto;
    font-size: clamp(13px, 2.5vw, 16px);
  }

  .hero-slide__content a {
    min-height: 44px;
    padding: 13px 20px;
    font-size: 12px;
  }

  .hero-slide__arrow {
    width: 44px;
    height: 52px;
    font-size: 26px;
  }

  .hero-slider__dots {
    bottom: 12px;
    gap: 5px;
  }

  .hero-slider__dots button {
    width: 28px;
    height: 28px;
    border: 0;
    background: radial-gradient(circle, transparent 0 3px, #e5ad43 4px 5px, transparent 6px);
  }

  .hero-slider__dots button.is-active {
    background: radial-gradient(circle, #e5ad43 0 5px, transparent 6px);
  }

  .home-donation-button {
    position: fixed;
    inset: auto 14px max(14px, env(safe-area-inset-bottom)) auto;
    z-index: 85;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 11px;
  }

  .dynamic-panel {
    position: relative;
    inset: auto;
    width: calc(100% - 28px);
    margin: 0 14px;
    border-radius: 8px;
    container-type: normal;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  }

  .dynamic-panel--news {
    order: 2;
    height: 560px;
  }

  .dynamic-panel--events {
    order: 3;
    height: 620px;
  }

  .dynamic-panel__header {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    height: 112px;
    padding: 15px 18px;
    gap: 10px;
  }

  .dynamic-panel__header h2 {
    width: 100%;
    font-size: 22px;
    line-height: 1.1;
  }

  .dynamic-panel__header-actions {
    width: 100%;
    gap: 8px;
  }

  .dynamic-panel__header-actions a {
    margin-left: auto;
    font-size: 11px;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 21px;
  }

  .news-slider__viewport {
    height: 400px;
    touch-action: pan-y;
  }

  .news-slide {
    height: 100%;
    padding: 16px 16px 48px;
  }

  .news-slide__image {
    height: 190px;
    border-radius: 6px;
  }

  .news-slide__content {
    padding: 16px 2px 12px;
  }

  .news-slide__content time {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .news-slide__content h3 {
    margin-bottom: 8px;
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.25;
  }

  .news-slide__content p {
    font-size: 14px;
    line-height: 1.45;
  }

  .news-slider__dots {
    bottom: 13px;
    gap: 6px;
  }

  .news-slider__dots button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border: 0;
    background: radial-gradient(circle, transparent 0 3px, #e8a12f 4px 5px, transparent 6px);
  }

  .news-slider__dots button.is-active {
    background: radial-gradient(circle, #e8a12f 0 5px, transparent 6px);
  }

  .events-ticker__viewport {
    height: 400px;
    margin: 12px 18px 0;
    touch-action: pan-y;
  }

  .event-row {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 8px 0;
  }

  .event-row > time {
    width: 58px;
    height: 58px;
    border-radius: 6px;
  }

  .event-row > time strong {
    font-size: 25px;
  }

  .event-row > time span {
    margin-top: 4px;
    font-size: 9px;
  }

  .event-row h3 {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.25;
  }

  .event-row p {
    font-size: 12px;
  }

  .events-ticker__button {
    right: 18px;
    bottom: 16px;
    left: 18px;
    min-height: 48px;
    border-radius: 4px;
    font-size: 12px;
  }

  .mobile-regions {
    position: relative;
    order: 4;
    display: block;
    margin: 0 14px;
    padding: 30px 22px;
    overflow: hidden;
    border: 1px solid rgba(214, 157, 43, .62);
    border-radius: 8px;
    background:
      radial-gradient(circle at 75% 40%, rgba(232, 161, 47, .16) 0 3px, transparent 4px),
      radial-gradient(circle at 62% 58%, rgba(232, 161, 47, .13) 0 3px, transparent 4px),
      radial-gradient(circle at 88% 68%, rgba(232, 161, 47, .12) 0 3px, transparent 4px),
      linear-gradient(135deg, #06263a, #02131f);
  }

  .mobile-regions::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(232, 161, 47, .14);
    border-radius: 50%;
    box-shadow:
      0 0 0 28px rgba(232, 161, 47, .025),
      0 0 0 58px rgba(232, 161, 47, .018);
    pointer-events: none;
  }

  .mobile-regions small,
  .mobile-projects-heading small {
    color: #d9a13b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
  }

  .mobile-regions h2,
  .mobile-projects-heading h2 {
    margin: 6px 0 18px;
    color: #fff;
    font: 700 25px/1.15 Georgia, serif;
  }

  .mobile-regions__countries {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
  }

  .mobile-regions__countries span {
    padding: 7px 10px;
    border: 1px solid rgba(232, 161, 47, .34);
    border-radius: 999px;
    color: #d9e2e7;
    background: rgba(1, 15, 25, .5);
    font-size: 11px;
  }

  .mobile-regions > a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #e8a12f;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }

  .home-projects-panel {
    position: relative;
    inset: auto;
    order: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: auto;
    height: auto;
    margin: 0 14px;
    padding: 0;
  }

  .mobile-projects-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 4px 0;
  }

  .mobile-projects-heading h2 {
    margin-bottom: 0;
  }

  .mobile-projects-heading > a {
    flex: 0 0 auto;
    min-height: 44px;
    padding-top: 15px;
    color: #e8a12f;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }

  .home-project-card {
    min-height: 350px;
    border-radius: 8px;
    container-type: normal;
  }

  .home-project-card:hover,
  .home-project-card:focus-visible {
    transform: translateY(-3px);
  }

  .home-project-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .home-project-body {
    height: auto;
    padding: 28px 20px 22px;
  }

  .home-project-icon {
    display: none;
  }

  .home-project-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.2;
  }

  .home-project-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .footer-menu-overlay {
    position: relative;
    inset: auto;
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    height: auto;
    margin-top: 12px;
    padding: 28px 14px 20px;
    overflow: visible;
    container-type: normal;
    border-top: 1px solid rgba(232, 161, 47, .45);
    background: #020e18;
  }

  .footer-menu-overlay::before {
    content: "DTKV";
    grid-column: 1 / -1;
    padding: 0 10px 22px;
    color: #e5ad43;
    font: 700 24px/1 Georgia, serif;
    letter-spacing: 1px;
  }

  .footer-menu-column {
    padding: 16px 10px;
    border-left: 0;
    border-top: 1px solid rgba(232, 161, 47, .12);
  }

  .footer-menu-column a {
    min-height: 32px;
    margin: 0;
    padding: 7px 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .footer-menu-column .footer-menu-title {
    min-height: 40px;
    margin-bottom: 5px;
    font-size: 14px;
  }

  .footer-menu-column--contact a:not(.footer-menu-title) {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-menu-column--contact span {
    display: block;
    color: #c4cdd3;
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-bottom-nav {
    position: relative;
    inset: auto;
    order: 7;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    width: 100%;
    min-height: 0;
    padding: 18px 18px 86px;
    background: #020e18;
    white-space: normal;
  }

  .footer-bottom-nav a,
  .footer-bottom-nav span {
    font-size: 11px;
    line-height: 1.4;
  }
}

@media (max-width: 560px) {
  .home-hero-slider {
    height: 265px;
  }

  .hero-slider__arrow--prev {
    left: 6px;
  }

  .hero-slider__arrow--next {
    right: 6px;
  }

  .home-projects-panel,
  .footer-menu-overlay {
    grid-template-columns: 1fr;
  }

  .home-project-card {
    min-height: 0;
  }

  .footer-menu-overlay::before,
  .mobile-projects-heading {
    grid-column: 1;
  }
}

@media (max-width: 360px) {
  .home-brand {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .home-brand::before {
    width: 42px;
    height: 42px;
  }

  .home-brand > strong {
    font-size: 20px;
  }

  .dynamic-panel,
  .mobile-regions,
  .home-projects-panel {
    width: calc(100% - 20px);
    margin-inline: 10px;
  }

  .dynamic-panel__header {
    padding-inline: 14px;
  }

  .mobile-projects-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .mobile-projects-heading > a {
    align-self: flex-end;
  }
}
