/*
Theme Name: Assn74 Association
Theme URI: https://assn74.ru/
Author: UUGK
Description: Тема для Ассоциации образовательных учреждений СПО Челябинской области. Дизайн по макету Figma, кастомный тип записи «Выдающиеся личности», SVG-маски миниатюр новостей, файл-карточки и настройки футера.
Version: 2.4.0
Text Domain: assn74
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
*/

:root {
  --color-blue: #004260;
  --color-blue-dark: #003d5a;
  --color-burgundy: #651a3b;
  --color-text: #063e5f;
  --color-bg: #f8f8f6;
  --color-white: #ffffff;
  --color-muted: #6b8494;
  --container: 1220px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 47, 74, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .82; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 104px)); margin-inline: auto; }
.narrow-container { width: min(1110px, calc(100% - 116px)); }
.section-light { background: var(--color-bg); }
.visually-hidden, .screen-reader-text {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

.site-header { min-height: 96px; background: var(--color-blue); color: var(--color-white); position: sticky; top: 0; z-index: 50; }
.header-inner { min-height: 96px; display: flex; align-items: center; gap: 42px; }
.header-logo { width: auto; min-width: 54px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.header-logo img { max-width: 270px; max-height: 64px; width: auto; height: auto; }
.custom-logo-link img { max-width: 270px; max-height: 64px; width: auto; height: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 500; letter-spacing: .01em; color: rgba(255,255,255,.9); }
.main-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { white-space: nowrap; transition: opacity .2s ease; color: rgba(255,255,255,.92); }
.main-nav a:hover { opacity: .72; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: #fff; font-weight: 800; }

.main-nav .menu-item-has-children > a {
  position: relative;
  padding-right: 18px;
}
.main-nav .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: .75;
}
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  z-index: 100;
  min-width: 270px;
  display: none;
  margin: 0;
  padding: 12px;
  list-style: none;
  border-radius: 16px;
  background: var(--color-blue);
  box-shadow: 0 18px 45px rgba(0, 34, 52, .22);
  border: 1px solid rgba(255,255,255,.14);
}
.main-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  display: block;
}
.main-nav .sub-menu li {
  width: 100%;
}
.main-nav .sub-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  white-space: normal;
  line-height: 1.18;
  color: rgba(255,255,255,.92);
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a,
.main-nav .sub-menu .current_page_item > a {
  background: rgba(255,255,255,.12);
  opacity: 1;
}
.main-nav .sub-menu .menu-item-has-children > a::after {
  right: 12px;
  transform: translateY(-50%) rotate(-45deg);
}
.main-nav .sub-menu .sub-menu {
  top: -12px;
  left: calc(100% + 12px);
}


.menu-toggle { display: none; width: 46px; height: 42px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 8px; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 23px; height: 2px; background: currentColor; border-radius: 99px; content: ""; position: relative; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }

.header-search, .footer-search, .search-form { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.header-search input, .footer-search input, .search-form input[type="search"] {
  width: 263px; height: 45px; padding: 0 48px 0 18px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 5px; outline: none; background: transparent; color: var(--color-white);
}
.header-search input:focus, .footer-search input:focus, .search-form input[type="search"]:focus { border-color: var(--color-white); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.header-search button, .footer-search button, .search-form button {
  position: absolute; right: 10px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--color-white); cursor: pointer; display: grid; place-items: center;
}
.header-search svg, .footer-search svg, .search-form svg { width: 18px; height: 18px; fill: currentColor; }

.hero { padding: 64px 0 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 570px) minmax(420px, 1fr); gap: 44px; align-items: center; }
.hero h1 { max-width: 570px; margin: 0; font-size: clamp(34px, 3.15vw, 46px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
.hero-note { width: min(100%, 666px); margin-top: 72px; padding: 28px 31px; border: 2px solid var(--color-blue); border-radius: var(--radius-lg); font-size: 21px; line-height: 1.15; color: #1a5a7b; background: rgba(255,255,255,.25); }
.btn, .wp-block-button__link, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 34px; border-radius: 999px; border: 0; font-weight: 800; letter-spacing: .005em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; cursor: pointer;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); opacity: 1; }
.btn-primary, .wp-block-button__link, input[type="submit"] { background: var(--color-burgundy); color: var(--color-white); }
.hero .btn-primary { margin-top: 66px; min-height: 86px; padding: 0 55px; }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; height: 560px; align-self: stretch; background: #d9e0e7; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.mission { padding: 64px 0 76px; background: var(--color-burgundy); color: var(--color-white); }
.mission p { max-width: 910px; margin: 0; font-size: 21px; line-height: 1.18; letter-spacing: -.005em; }
.mission strong { font-weight: 800; }

.goals { padding: 78px 0 0; }
h1, h2, h3, h4 { color: var(--color-text); }
h2, .section-title { margin: 0 0 42px; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; font-weight: 800; letter-spacing: -.018em; }
.goal-list { display: flex; flex-direction: column; gap: 24px; }
.goal-card { min-height: 86px; display: flex; align-items: center; padding: 22px 27px; border: 2px solid var(--color-blue); border-radius: 15px; color: var(--color-blue-dark); background: rgba(255,255,255,.18); font-size: 22px; line-height: 1.12; font-weight: 800; }
.goal-card-wide { width: 965px; max-width: 100%; }
.goal-card-medium { width: 782px; max-width: 100%; }

.tasks { padding: 22px 0 0; }
.tasks h2 { margin-left: 10px; margin-bottom: 42px; }
.task-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 32px 24px; }
.task-card { min-height: 155px; padding: 34px 31px; border-radius: var(--radius-lg); background: var(--color-burgundy); color: var(--color-white); display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 24px; }
.task-icon-img { width: 76px; height: 76px; object-fit: contain; }
.task-card h3 { margin: 0; color: var(--color-white); font-size: 18px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }

.news { padding: 110px 0 156px; }
.news h2 { margin-left: 14px; margin-bottom: 88px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 70px; }
.news-card { position: relative; overflow: hidden; border-radius: 18px; background: var(--color-blue); aspect-ratio: 2.08 / 1; min-height: 212px; box-shadow: 0 8px 18px rgba(0, 47, 74, .04); }
.news-card:hover { opacity: 1; }
.news-media { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.news-card-placeholder { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.2)); }
.news-link { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 31px 32px; color: var(--color-white); }
.news-arrow { position: absolute; top: 20px; left: 21px; width: 42px; height: 42px; color: var(--color-white); }
.news-card time { width: fit-content; margin-bottom: 26px; padding: 4px 12px 5px; border-radius: 999px; background: var(--color-white); color: var(--color-blue); font-size: 20px; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.news-card strong { max-width: 285px; color: var(--color-white); font-size: 17px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.news-more-wrap { margin-top: 72px; display: flex; justify-content: center; }
.news-more-wrap .btn { min-height: 82px; margin-top: 0; padding: 0 48px; white-space: nowrap; }

.content-section { padding: 62px 0 92px; }
.page-header { margin-bottom: 34px; }
.page-header h1 { margin: 0 0 14px; font-size: clamp(34px, 3vw, 48px); line-height: 1.04; font-weight: 800; }
.entry-content { font-size: 18px; line-height: 1.65; }
.entry-content a { color: var(--color-burgundy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 16px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; background: #fff; border-radius: 14px; overflow: hidden; }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid rgba(0,66,96,.15); text-align: left; }
.entry-content th { background: rgba(0,66,96,.08); }

.breadcrumbs { margin: 0 0 24px; color: var(--color-muted); font-size: 14px; }
.breadcrumbs a { color: var(--color-blue); font-weight: 700; }
.breadcrumbs .sep { margin: 0 8px; color: rgba(6,62,95,.35); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); min-height: 100%; display: flex; flex-direction: column; }
.post-card-thumb { height: 210px; background: rgba(0,66,96,.08); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-date { width: fit-content; padding: 5px 12px; margin-bottom: 14px; border-radius: 99px; background: var(--color-blue); color: #fff; font-size: 14px; }
.post-card h2, .post-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.14; }
.post-card p { margin: 0 0 20px; color: #446678; }
.post-card .btn { margin-top: auto; align-self: start; min-height: 46px; padding: 0 22px; }

.assn-pagination, .nav-links { margin-top: 42px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.assn-pagination .page-numbers, .nav-links .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; color: var(--color-blue); font-weight: 800; box-shadow: 0 8px 22px rgba(0,47,74,.07); }
.assn-pagination .current, .nav-links .current { background: var(--color-burgundy); color: #fff; }

.person-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.person-card {
  min-height: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,66,96,.06);
}
.person-photo {
  height: 280px;
  padding: 18px;
  background: rgba(0,66,96,.06);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-photo img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
}
.person-empty { height: 100%; display: grid; place-items: center; color: rgba(0,66,96,.45); }
.person-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.person-body h2, .person-body h3 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.12;
}
.person-awards {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0,66,96,.14);
  color: #446678;
}
.person-awards ul {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.person-single {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 42px;
  background: #fff;
  padding: 34px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.person-single-photo {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0,66,96,.06);
  min-height: 0;
  align-self: start;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.person-single-photo img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}
.person-single-content h1 { margin-top: 0; font-size: clamp(32px, 3vw, 46px); line-height: 1.05; }
.person-single-content .person-position { font-size: 20px; }
.person-single-content .entry-content { max-width: 760px; }

.assn-file-block { margin: 24px 0; }
.assn-file-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid rgba(0,66,96,.12); border-radius: 18px; box-shadow: 0 8px 20px rgba(0,47,74,.05); }
.assn-file-main { display: flex; align-items: center; gap: 15px; min-width: 0; }
.assn-file-icon { width: 48px; height: 58px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 13px; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0,47,74,.08); }
.assn-file-icon--pdf { background: #c92a2a; }
.assn-file-icon--word { background: #1d5fbf; }
.assn-file-icon--excel { background: #2b8a3e; }
.assn-file-icon--ppt { background: #d9480f; }
.assn-file-icon--zip { background: #6f42c1; }
.assn-file-icon--image { background: #0b7285; }
.assn-file-icon--file { background: #607d8b; }
.assn-file-name { display: block; color: var(--color-blue); font-weight: 800; overflow-wrap: anywhere; }
.assn-file-size { margin-top: 4px; color: var(--color-muted); font-size: 14px; }
.assn-file-download { min-height: 44px; padding: 0 20px; border: 1.5px solid var(--color-burgundy); border-radius: 99px; color: var(--color-burgundy); font-weight: 800; white-space: nowrap; }

.assn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 36px;
  display: grid;
  place-items: center;
  background: rgba(0, 28, 42, .86);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.assn-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.assn-lightbox__inner {
  position: relative;
  width: min(100%, 1180px);
  height: min(100%, 820px);
  display: grid;
  place-items: center;
}
.assn-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  background: #fff;
}
.assn-lightbox__btn {
  position: absolute;
  z-index: 2;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--color-blue);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.assn-lightbox__close {
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}
.assn-lightbox__prev,
.assn-lightbox__next {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 1;
}
.assn-lightbox__prev { left: 0; }
.assn-lightbox__next { right: 0; }
.assn-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-blue);
  font-weight: 800;
  font-size: 14px;
}
body.assn-lightbox-open { overflow: hidden; }
.entry-content figure.wp-block-image img,
.entry-content .wp-block-gallery img,
.entry-content .gallery img {
  cursor: zoom-in;
}


.site-footer { padding: 88px 0 52px; background: var(--color-blue); color: var(--color-white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr; grid-template-areas: "brand menu contacts" "top extra search" "copy copy copy"; gap: 70px 80px; align-items: start; }
.footer-brand { grid-area: brand; padding-top: 3px; }
.footer-brand a { display: inline-flex; align-items: center; }
.footer-brand img { width: 293px; height: auto; max-height: 70px; object-fit: contain; object-position: left center; }
.footer-menu { grid-area: menu; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.1; font-weight: 700; }
.footer-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-menu a:hover, .footer-contacts a:hover { opacity: .78; }
.footer-extra { grid-area: extra; display: grid; gap: 10px; }
.footer-extra a { color: rgba(255,255,255,.82); font-weight: 700; }
.footer-contacts { grid-area: contacts; display: flex; flex-direction: column; gap: 12px; margin: 0; font-style: normal; color: rgba(255,255,255,.82); }
.contact-row { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 8px; min-height: 28px; }
.contact-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--color-white); }
.contact-icon svg { width: 26px; height: 26px; fill: currentColor; }
.contact-icon-mail { font-size: 26px; line-height: 1; font-weight: 900; }
.contact-row em { font-style: italic; font-size: 16px; overflow-wrap: anywhere; }
.back-top { grid-area: top; width: min(100%, 555px); height: 30px; display: inline-flex; align-items: center; justify-content: center; align-self: end; border-radius: 999px; background: var(--color-white); color: var(--color-blue); font-size: 13px; font-style: italic; font-weight: 700; }
.footer-search { grid-area: search; justify-self: end; align-self: end; }
.footer-search input { width: 274px; height: 48px; font-style: italic; }
.footer-search input::placeholder { color: rgba(255,255,255,.9); }
.copyright { grid-area: copy; margin: -24px 0 0; color: rgba(255,255,255,.58); font-size: 15px; }

@media (max-width: 1100px) {
  .container, .narrow-container { width: min(100% - 52px, var(--container)); }
  .header-inner { flex-wrap: wrap; gap: 22px 24px; padding: 22px 0; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .main-nav { display: none; order: 4; width: 100%; flex-basis: 100%; padding: 18px 0 0; }
  body.menu-open .main-nav, .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-top: 1px solid rgba(255,255,255,.14); }
  .main-nav a { display: block; padding: 14px 0; white-space: normal; }
  .main-nav .menu-item-has-children > a { padding-right: 24px; }
  .main-nav .menu-item-has-children > a::after { right: 2px; }
  .main-nav .sub-menu,
  .main-nav .sub-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 18px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .main-nav .sub-menu::before { display: none; }
  .main-nav .sub-menu li { border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav .sub-menu a {
    padding: 12px 0;
    border-radius: 0;
    color: rgba(255,255,255,.82);
    font-size: 14px;
  }
  .main-nav .sub-menu .menu-item-has-children > a::after {
    right: 2px;
    transform: translateY(-65%) rotate(45deg);
  }
  .header-search { order: 3; margin-left: 0; width: 100%; }
  .header-search input { width: min(100%, 360px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { height: 460px; }
  .task-grid, .news-grid, .footer-grid, .card-grid, .person-grid { grid-template-columns: 1fr; }
  .footer-search { justify-self: start; }
  .footer-grid { grid-template-areas: "brand" "menu" "contacts" "extra" "top" "search" "copy"; gap: 42px; }
  .copyright { margin-top: 0; }
  .person-single { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .container, .narrow-container { width: min(100% - 32px, var(--container)); }
  .site-header, .header-inner { min-height: auto; }
  .header-logo img, .custom-logo-link img { max-width: 220px; max-height: 56px; }
  .header-search input, .footer-search input { width: min(100%, 260px); }
  .hero { padding: 44px 0 48px; }
  .hero h1 { font-size: 32px; }
  .hero-note { margin-top: 36px; padding: 22px; font-size: 18px; }
  .btn, .news-more-wrap .btn { min-height: 58px; padding: 0 28px; }
  .hero .btn-primary { margin-top: 34px; min-height: 64px; }
  .hero-photo { height: 340px; border-radius: 18px; }
  .mission { padding: 46px 0; }
  .mission p { font-size: 18px; }
  .goals { padding-top: 56px; }
  h2, .section-title { margin-bottom: 28px; font-size: 30px; }
  .goal-card { min-height: 70px; padding: 18px 20px; font-size: 18px; }
  .tasks { padding-top: 18px; }
  .task-grid { gap: 18px; }
  .task-card { grid-template-columns: 70px 1fr; min-height: 132px; padding: 25px 22px; gap: 18px; }
  .task-icon-img { width: 62px; height: 62px; }
  .task-card h3 { font-size: 16px; }
  .news { padding: 70px 0 96px; }
  .news h2 { margin-left: 0; margin-bottom: 42px; }
  .news-grid { gap: 24px; }
  .news-card { min-height: 180px; border-radius: 16px; }
  .news-link { padding: 24px 22px; }
  .news-arrow { width: 34px; height: 34px; top: 18px; left: 18px; }
  .news-card time { margin-bottom: 20px; font-size: 17px; }
  .news-card strong { font-size: 15px; max-width: 220px; }
  .news-more-wrap { margin-top: 42px; }
  .content-section { padding: 42px 0 72px; }
  .entry-content { font-size: 16px; }
  .post-card-thumb { height: 190px; }
  .person-photo { height: 240px; }
  .person-single { padding: 22px; border-radius: 18px; }
  .person-single-photo { min-height: 0; }
  .person-single-photo img { max-height: 380px; }
  .assn-file-inner { align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 54px 0 38px; }
  .footer-brand img { width: 250px; }
}

@media (max-width: 460px) {
  .task-card { grid-template-columns: 1fr; }
  .news-card { min-height: 210px; aspect-ratio: auto; }
  .news-card strong { max-width: 205px; }
}


@media (max-width: 760px) {
  .assn-lightbox { padding: 18px; }
  .assn-lightbox__close { top: 8px; right: 8px; }
  .assn-lightbox__prev,
  .assn-lightbox__next {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }
  .assn-lightbox__prev { left: 8px; }
  .assn-lightbox__next { right: 8px; }
  .assn-lightbox__counter { bottom: 8px; }
}
