#top #footer.association-footer{padding:20px 0;background:#272727;color:#fff}
#footer.association-footer .container{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 28px}
.association-footer nav{display:flex;gap:8px 22px;flex-wrap:wrap}
#footer.association-footer a{color:#fff;font-size:15px}
#olympiad .olympiad-heading{display:grid;place-items:center;text-align:center;height:100px;box-sizing:border-box;margin:0;padding:0 16px;font-size:24px}
#top #av-tab-section-1 .av-tab-section-inner-container{display:block;width:100%!important;left:0!important;right:0!important;margin:0;transform:none!important;height:auto!important;min-height:0!important}
#top #av-tab-section-1 .av-layout-tab{display:none;width:100%!important;padding:12px 0;height:auto!important;min-height:0!important}
#top #av-tab-section-1 .av-layout-tab.av-active-tab-content{display:block}
#top #av-tab-section-1 .av-tab-section-outer-container{height:auto!important;min-height:0!important}
#top #av-tab-section-1 .avia-content-slider{margin-block:0}
#top #av-tab-section-1 .slide-image img{width:100%;height:auto;aspect-ratio:1.65;object-fit:contain}

@media screen and (max-width: 767px) {
  #top #main .container {
    width: calc(100% - 32px);
    max-width: 640px;
    padding-inline: 0;
    box-sizing: border-box;
  }
  #top #main .container .container { width: 100%; }
  #top .entry-content-wrapper p,
  #top .entry-content p {
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: break-word;
  }
  #top #main .entry-title, #top #main .av-special-heading-tag {
    line-height: 1.5;
    overflow-wrap: break-word;
  }
  #top .entry-content-wrapper img, #top .entry-content-wrapper video {
    max-width: 100%;
    height: auto;
  }
  #top .entry-content-wrapper iframe { max-width: 100%; }
  #top #main .olympiad-heading { height: auto; min-height: 72px; font-size: 21px; }
  #top #av-tab-section-1 .av-tab-section-tab-title-container {
    display: flex;
    justify-content: center;
    padding: 8px 16px;
    gap: 6px;
    box-sizing: border-box;
  }
  #top #av-tab-section-1 .av-section-tab-title {
    flex: 0 1 14rem;
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  #top #av-tab-section-1 .av-active-tab-title { box-shadow: inset 0 -3px currentColor; }
  #top #av-tab-section-1 .slide-entry-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  #top #av-tab-section-1 .slide-entry-wrap::after { display: none; }
  #top #av-tab-section-1 .slide-entry {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
  }
  #top #av-tab-section-1 .slide-image { border-radius: 8px; }
  #top #av-tab-section-1 .slide-entry-title { font-size: 16px; line-height: 1.6; }
  #footer.association-footer .container { align-items: flex-start; flex-direction: column; gap: 8px; }
  #footer.association-footer nav { gap: 0 16px; }
  #footer.association-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  #top a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
}
@media screen and (max-width: 350px) {
  #top #av-tab-section-1 .slide-entry-wrap { grid-template-columns: minmax(0, 1fr); }
}

.anj-hero { display:none }
@media (max-width:767px) {
  #top #header .logo, #top #header .logo a { width:132px!important;max-width:48vw!important; display:flex;align-items:center }
  #top #header .logo img {width:100%!important;height:auto!important;max-height:38px!important;object-fit:contain}
  #top.home #full_slider_1 {display:none!important}
  #top .anj-hero {display:block;clear:both;background:#202321;color:#fff}
  .anj-track {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .anj-track::-webkit-scrollbar {display:none}
  .anj-track article {flex:0 0 100%;min-width:0;scroll-snap-align:start}
  .anj-track article img {display:block;width:100%;height:auto;aspect-ratio:1500/430;object-fit:contain}
  .anj-track article div {padding:15px 20px 0}
  #top .anj-track h2,#top .anj-track h2 a {font-size:20px;line-height:1.5;color:white;margin:0;letter-spacing:0}
  #top .anj-track p {font-size:14px;line-height:1.65;color:#eee;margin:4px 0}
  .anj-tools {display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:4px 14px 10px}
  #top .anj-tools button {font:22px/1 sans-serif;background:transparent;color:white;border:1px solid #777;border-radius:50%;width:44px;height:44px;padding:0;cursor:pointer}
  .anj-tools output {min-width:50px;text-align:center}
  #top.page-id-813 .tmm .tmm_container {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
  #top.page-id-813 .tmm_container > :not(.tmm_member),#top.page-id-813 .tmm_container::after,#top.page-id-813 .tmm_container::before {display:none}
  #top.page-id-813 .tmm .tmm_member {width:auto!important;min-width:0;margin:0!important;float:none;padding:12px 6px;box-sizing:border-box}
  #top.page-id-813 .tmm .tmm_photo {width:74px!important;height:74px!important;max-width:100%;margin:0 auto 8px!important;padding:0!important;background-position:center}
  #top.page-id-813 .tmm_textblock {padding:0 3px;overflow-wrap:anywhere}
  #top.page-id-813 .tmm_names {font-size:16px;line-height:1.5}
  #top.page-id-813 .tmm_job,#top.page-id-813 .tmm_desc p {font-size:13px;line-height:1.6}
}

@media (max-width:767px) {
  #top.home #av_section_2 .content {padding-block:22px!important}
  #top.home #av_section_2 .flex_column_table {
    display:grid!important;direction:rtl;grid-template-columns:repeat(6,minmax(0,1fr));
    gap:16px 6px;width:100%;margin:0!important;
  }
  #top.home #av_section_2 .flex_column_table::after,
  #top.home #av_section_2 .flex_column_table::before,
  #top.home #av_section_2 .av-flex-placeholder {display:none!important}
  #top.home #av_section_2 .flex_column_table > .flex_column {
    display:block!important;float:none!important;min-width:0;width:auto!important;
    grid-column:span 2;margin:0!important;padding:0!important;text-align:center;
  }
  #top.home #av_section_2 .flex_column_table > .flex_column:nth-child(-n+3) {grid-column:span 3}
  #top.home #av_section_2 .avia-image-container {margin:0 auto!important}
  #top.home #av_section_2 .avia_image img {width:52px!important;height:auto}
  #top.home #av_section_2 .avia_textblock p {margin:5px 0 0;font-size:14px;line-height:1.5}
}
