@media screen and (min-width: 1700px) {
  .candidate-years { width: 300px; }
  .main-content {  width: calc(100% - 435px);  }

  .content, .content1 { max-width: unset; }

  .side-media { top: 30%; }

  .contact-left { width: 565px; }
.contact-right { width: calc(100% - 595px); }

  .usefulLink-grid {
    grid-template-columns: repeat(4, 260px);
    justify-content: space-between;
  }

  .news-grid, .members-cont[data-cat="curr_1"] { grid-template-columns: repeat(4, 1fr); }

  .authority-prev > div, .member-num > p,
  .year-prev > div:last-child, .members-prev1 > div {
    font-size: 14px;
    color: var(--color-black);
  }

  .about-selection > div { font-size: 14px; line-height: 24px; }
  .history-text { margin-top: 15px; }
  .history-text > div { line-height: 29px; }

  .pdf-grid .pdf > div p:last-child { font-size: 14px; }

  .selected-cand-desc { gap: 70px; }

  /* .candidate-intro { width: calc(100% - 680px); }
  .candidate-imgs {
    width: 650px; height: 400px;
    > div:first-child { width: 630px; height: 380px; }
    div:nth-child(2), div:nth-child(3) { width: 630px; height: 380px; }
  }

  .useful-link img { height: 190px; }

  .members-cont[data-cat="curr_1"], .news-grid { grid-template-columns: repeat(4, 1fr); }
  .candidate-table-cont { width: calc(100% - 320px); } */
}

@media screen and (max-width: 1366px) {
  .candidates-prev .content { gap: 10px; }
  .candidate-imgs {
    width: 450px; height: 275px;
    > div:first-child { width: 415px; height: 270px; }
    div:nth-child(2) { width: 415px; height: 220px; }
    div:nth-child(3) { width: 415px; height: 220px; }
  }

  .candidate-intro { width: calc(100% - 460px); }

  .news-card.swiper-slide { width: 336px !important; }
}

@media screen and (max-width: 1330px) {
  .Container { padding-left: 16px; padding-right: 16px; }
  footer { padding: 35px 16px !important; }
  .footer-top {
    gap: 10px;
    justify-content: space-between;
  }
  .footer-bottom { padding-right: 0; }

  .other-news-card { padding-right: 18px; }

  .selected-cand-desc { padding: 10px; }
  .cand-right { gap: 10px; }
  .cand-right > div { max-width: 230px; }

  .side-menu { width: 200px; }

  .main-content { margin-left: 200px; width: calc(100vw - 200px); }
} 

@media screen and (max-width: 1260px) {
  .web-title { font-size: 16px; line-height: 20px; }
  .search.active input { width: 200px; }
  .menu-item > a:first-child { 
    font-size: 12px; line-height: 16px; 
    padding: 10px 0;
    &::after { left: 0; }
  }

  .candidates-prev .content { gap: 10px; }
  .candidate-intro { width: calc(100% - 310px); }
  .candidate-imgs {
    width: 300px; height: 170px;
    > div:first-child { width: 275px; height: 155px; }
    div:nth-child(2), div:nth-child(3) { width: 280px; height: 160px; }
  }

  .inner-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .members-cont[data-cat="curr_1"] { 
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .member-name .pos {
    gap: 10px;
    font-size: 12px;
    line-height: 17px;
  }

  .cand-right { gap: 10px; }
  .content { gap: 20px; }
  .contact-left { width: 440px; }
  .contact-right { width: calc(100% - 460px); }

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

  .cand-head { flex-direction: column; align-items: unset; }
}

@media screen and (max-width: 1000px) {
  .side-menu { display: none; }
  .main-content { margin-left: 0; width: 100vw; }

  .header-actions { order: 1; }
  .header-actions > *:not(:last-child) { display: none; }
  .menu-toggle { display: flex; }

  .mobile-language-change {
    order: 4;
    display: block !important;
    position: relative;
    z-index: 2100;
    > div:first-child {
      background: var(--bg-color);
      border: 1px solid rgba(0, 0, 0, 0.12);
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px; height: 35px;
      cursor: pointer;
    }
  }

  .mobile-language-change > div:last-of-type {
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: absolute;
    padding: 2px 6px;
    left: 0; top: 45px;
    width: 35px;
    z-index: 2100;
    &.active {
      display: flex;
    }
  }

  header {
    background: white;
    border-bottom: none;
    border-top: 8px solid var(--primary-color);
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 2000;
    &::after {
      content: '';
      background: var(--secondary-color);
      width: 100%; height: 4px;
      position: absolute;
      top: 0px; left: 0;
    }
  }

  .web-title {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    order: 2;
    img {
      display: inline;
      width: 60px;
    }
  }

  .search button {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    img { filter: brightness(0) saturate(100%) invert(16%) sepia(34%) 
      saturate(425%) hue-rotate(159deg) brightness(89%) contrast(93%); }
  }

  .search input { background: var(--bg-color); }
}

@media screen and (max-width: 900px) {  
  .banner { height: 350px; }

  .about-pc, .candidates-prev, .legal-prev,
  .useful-links { padding: 32px 16px; }
  .about-pc-cards { grid-template-columns: 1fr; gap: 12px; }

  .activities-prev { padding: 32px 16px 48px; }

  .history::after { left: 249px; }
  .history::before { left: 246px; }
  .history-item > img {
    width: 200px;
    height: auto;
  }

  .history-desc { width: calc(100% - 234px); }
  
  .members-status {
    flex-direction: column;
    width: 100%;
    > div { width: 100%; }
    &::after { width: calc(100% - 12px); }
  }

  .members-status.status1::after { left: 6px; top: 92px; }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .latest { padding: 0 20px 20px; }

  .news { flex-direction: column; }
  .curr-news, .other-news { width: 100%; }
  .news-img { height: auto; }

  .page-title {
    padding: 16px;
    > span {
      font-size: 18px;
      line-height: 24px;
    }
  }

  .selected-cand-desc {
    flex-direction: column;
    align-items: unset;
    gap: 10px;
    > a { margin-left: 0; width: 61px; }
  }

  .cand-right {
    flex-direction: column;
    > div {
      display: flex;
      align-items: center;
      max-width: unset;
      gap: 10px;
      p:first-child { margin-bottom: 0; }
    }
  }
}

@media screen and (max-width: 767px) {
  .contact { flex-direction: column; }
  .contact-right, .contact-left { width: 100%; }
  .contact-right iframe { height: 300px; }
}

@media screen and (max-width: 700px) {
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    > a { padding: 20px; }
  }

  .activity-desc > p:first-child { font-size: 14px; line-height: 19px; }
  .activity-desc > p:last-child { font-size: 12px; line-height: 16px; }

  .candidate-imgs { display: none; }
  .candidate-intro { width: 100%; }

  .candidate-intro > a {
    padding: 16px;
    > div:first-child { width: 54px; height: 50px; }
    span {
      font-size: 13px;
      line-height: 17px;
      width: calc(100% - 100px);
    }
    i { font-size: 13px; }
  }
  
  .sec-title p, .sec-title1 p { 
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 35px;
    &::after { bottom: -15px; }
  }

  .legal-framework {
    background: transparent;
    border-radius: 16px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-framework a {
    background: #FAFAFA;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    font-size: 12px; line-height: 16px;
    height: unset;
    padding: 16px;
    &:first-child { border-radius: 16px 16px 0 0; }
    &:last-child { border-bottom: none; border-radius: 0 0 16px 16px; }
    &:hover { border-color: rgba(0, 0, 0, 0.06); }
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-logo a { margin-bottom: 0; }
  .footer-menu {
    margin-top: 0;
    > p:first-child { margin-bottom: 12px; }
  }

  .contact-item span { max-width: unset; }

  .footer-bottom {
    flex-direction: column;
    align-items: unset;
    gap: 4px;
  }

  .inner-nav {
    background: transparent;
    border-radius: 0;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 5px;
    a { font-size: 12px; line-height: 16px; }
  }

  .text-title {
    font-size: 14px;
    line-height: 19px;
    padding: 16px;
  }

  .page-text {
    font-size: 12px;
    line-height: 20px;
    padding: 16px;
  }

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

  .history::after { left: 25px; }
  .history::before { left: 22px; }
  .history-item { 
    flex-direction: column; 
    > img { position: relative; z-index: 2; }
  }

  .history-desc { 
    flex-direction: column;
    gap: 15px;
    width: 100%; 
    > div:first-child {
      position: unset;
    }
  }

  .history-text {
    background: var(--bg-color2);
    width: 100%;
    margin-left: 0;
    z-index: 2;
    position: relative;
    > p:first-child {
      font-size: 16px;
      line-height: 20px;
      font-feature-settings: 'case' 1;
      margin-bottom: 15px;
    }
  }

  .members-head {
    background: transparent;
    border-bottom: none;
    flex-direction: column;
    align-items: unset;
    padding: 0;
    gap: 10px;
    > span { font-size: 16px; line-height: 22px; }
  }

  .member {
    flex-direction: column;
    gap: 10px;
  }

  .member-info {
    width: 100%;
    padding: 16px;
    > p { font-size: 14px; line-height: 22px; margin-bottom: 10px; }
    > p:first-child { font-size: 18px; line-height: 20px; margin-bottom: 20px; }
  }

  .member-details-cont { 
    margin-bottom: 25px;
    max-width: 100%;
    min-width: 0;
  }
  .member-details {
    padding: 16px;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
    .member-category-title { 
      margin-left: 0;
      div { width: 38px; height: 38px; }
    }
    p, span, strong, div {
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
  }

  .member-category-title {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 15px;
  }

  .member-category-list1::after { left: 1.5px; height: calc(100% - 33px); }
  .member-category-list1 > div {
    padding-left: 15px;
    gap: 10px;
    > p { font-size: 13px; line-height: 16px; width: 85px; }
    > div { 
      width: calc(100% - 95px);
      gap: 5px;
      span:first-child { font-size: 13px; line-height: 17px; } 
      span:last-child { font-size: 12px; line-height: 16px; }
    }
    &::after { left: -1px; }
  }

  .member-category-list1 > div:only-child { padding-left: 0; }

  .share-member > p { margin-bottom: 10px; }

  .member-name .pos {
    gap: 5px;
    flex-wrap: wrap;
  }

  .member-name { padding: 16px; }
  .member-desc-content { padding: 15px 16px; }

  .latest-news {
    grid-template: 1fr / 1fr;
  }

  .latest {
    padding: 20px;
    width: 100%;
    &:first-child { grid-row: unset; }
    &:last-child { grid-column-start: unset; }
    .title {
      font-size: 16px !important;
      line-height: 20px !important;
      height: 40px !important;
    }
  }
  .latest:first-child .intro { display: none; }

  .more1 {
    width: 120px; height: 40px;
  }

  .pdf-grid { grid-template-columns: 1fr; }
  .candidates-cont { flex-direction: column; }
  .candidate-years, .candidate-table-cont { width: 100%; }
  
  .candidate-form {
    flex-direction: column;
    align-items: flex-start;
    .search-news { margin-left: 0; }
  }

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

@media screen and (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .search-news { width: 100% !important; }
  .select-status { 
    width: 100%; 
    select { width: 100%; }
  }
}

@media screen and (max-width: 500px) {
  .web-title {
    font-size: 13px;
    line-height: 16px;
    img { width: 38px; }
  }

  .banner { height: 220px; }
  .btn-prev, .btn-next {
    font-size: 12px;
    width: 36px; height: 36px;
  }
  .btn-prev { left: 12px; }
  .btn-next { right: 12px; }

  .banner-swiper .swiper-pagination {
    background: transparent;
    border: none;
  }
  .banner-swiper .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.6); }
  .banner-swiper .swiper-pagination-bullet-active { background: var(--secondary-color); } 

  .news-prev .news-head > a span:nth-child(2) { display: inline; } 
  .news-prev .news-head > a span:nth-child(1) { display: none; } 
  .news-head > a:not(.goback) {
    font-size: 8px;
    line-height: 13px;
    width: 130px; height: 33px;
    span:last-child { margin-top: -3px; }
  }

  .news-head, .cand-head {
    margin-bottom: 20px;
    > p {
      font-size: 18px;
      line-height: 30px;
      &::before { bottom: -5px; }
    }
  }

  .about-pc-card > a { 
    border: 1px solid #E9E9E9;
    font-size: 14px; line-height: 17px;
    &:hover { border-color: var(--primary-color); }
  }

  .about-pc-card > div { height: unset; }

  .members-prev {
    flex-direction: column;
    > p:first-child { margin-bottom: 0; }
    > div { width: 100%; }
  }

  .years-prev {
    padding: 20px !important;
    grid-template-columns: repeat(2, 1fr);
    &::after { top: 115px; }
    &::before { top: 111px; }
  }

  .year-prev > div:last-child { 
    padding: 10px;
    font-size: 10px;
    line-height: 13px;
    min-height: 100px;
  }

  .usefulLink-grid { grid-template-columns: repeat(1, 260px); justify-content: center; }

  .members-status { border-radius: 22px; }
  .members-status::after { 
    height: 60px; 
  }
  .members-status.status1::after { top: 76px; }

  .members-status > div {
    gap: 5px;
    font-size: 11px;
    line-height: 13px;
    height: 60px;
    svg { transform: scale(0.7); }
  }

  .members-cont[data-cat="curr_1"] { grid-template-columns: 1fr; }

  .curr-news .title {
    font-size: 20px;
    line-height: 24px;
  }

  .curr-news .text {
    padding: 16px;
    font-size: 14px;
    line-height: 23px;
  }

  .share {
    flex-direction: column;
    align-items: unset;
    gap: 10px;
    padding: 16px;
  }

  .pdf { padding: 13px 16px; }
  .protocol { padding: 16px; }
  .page-title {
    flex-direction: column;
    align-items: unset;
  }

  .cand-right > div {
    flex-direction: column;
    align-items: unset;
  }

  .cand-left img { width: 60px; height: 60px; }
  .selected-cand-desc { padding: 16px; }
  .selected-cand-desc > a  { width: unset; margin-left: auto; }
  .contact-info {
    padding: 15px;
    align-items: flex-start;
    gap: 10px;
    > div:first-child {
      width: 35px; height: 35px;
    }
  }

  .contact-info > div:last-child {
    width: calc(100% - 45px);
    p, span, a { font-size: 12px; line-height: 16px; }
  }
}

@media screen and (max-width: 450px) {
  .history-item > img { width: 100%; }
  .member > img { width: 100%; height: auto; }

  .header-content > .language-change {
    display: none;
  }

  .web-title { font-size: 11px; line-height: 13px; }

  .news-card.swiper-slide { width: 100% !important; }

  .access-icon, .access { background: var(--secondary-color); }
  .side-media { display: none; }
  .reset-cont { background: var(--primary-color); }
  .accessibility-wrapper { top: 35%; }

  .select-year { width: 100%; select { width: 100%; } }
  .cand-head > p { margin-bottom: 15px; }
  footer .socials a:first-child { display: flex; }

  .accessibility-wrapper {
    display: none;
  }

  .mobile-language-change {
    order: 4;
    display: block !important;
    position: relative;
    > div:first-child {
      background: var(--bg-color);
      border: 1px solid rgba(255, 255, 255, 0.6);
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px; height: 35px;
    }
  }

  .mobile-language-change > div:last-of-type {
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: absolute;
    padding: 2px 6px;
    left: 0; top: 45px;
    width: 35px;
    &.active {
      display: flex;
    }
  }

  .mobile-accessibility {
    display: block;
    position: relative;
    order: 3;
    margin-left: auto;
    > div:first-child {
      background: var(--primary-color);
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px; height: 35px;
    }
  }

  .access {
    background: var(--primary-color);
    border-radius: 5px;
    position: absolute;
    right: 0; height: 170px;
    display: none; top: 45px;
    &.active { display: flex; }
  }

  .reset-cont { background: var(--secondary-color); }
}