header .b-logo, footer .b-copyright .f-logo {
    background: url("../images/gpo-expert.svg?v=2") no-repeat left center / contain;
}
header .b-logo { width: 310px; max-width: 100%; height: 66px; }
header .b-header-sublogo-list { left: 83px; top: 69px; }
footer .b-copyright .f-logo { display: block; width: 222px; height: 48px; }

.gpo-hero {
    display: grid;
    grid-template-columns: minmax(178px, 19fr) minmax(0, 58fr) minmax(218px, 23fr);
    margin: 0 0 40px;
    align-items: stretch;
}
.gpo-hero > br { display: none; }
.gpo-category-list { display: grid; grid-template-rows: repeat(5, 1fr); height: 100%; }
.gpo-category-list li { min-width: 0; }
.gpo-category-list button {
    display: block; box-sizing: border-box; width: 100%; height: 100%; min-height: 44px;
    padding: 10px; cursor: pointer; background: white; color: #003741;
    border: 1px solid #cedadc; border-bottom: 0; font: inherit; line-height: 1.25;
}
.gpo-category-list li:last-child button { border-bottom: 1px solid #cedadc; }
.gpo-category-list button[aria-pressed="true"] { background: #fbb732; border-color: #fbb732; color: #142c30; }
.gpo-category-list button:focus-visible { outline: 3px solid #005675; outline-offset: -4px; }
.gpo-slides { position: relative; min-width: 0; overflow: hidden; background: #efa219; }
.gpo-slides > ul, .gpo-slides li, .gpo-slides a { display: block; height: 100%; }
.gpo-slides li[hidden] { display: none; }
.gpo-hero .gpo-slides img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; display: block; }
.gpo-hero .b-form {
    box-sizing: border-box; width: auto; height: auto; margin: 0; float: none;
    display: flex; flex-direction: column; justify-content: center; padding: 22px clamp(16px, 2vw, 28px);
}
.gpo-hero .b-form-phrase-title { margin-bottom: 5px; font-size: 18px; }
.gpo-hero .b-form-phrase-text { margin-bottom: 15px; }
.gpo-hero .b-form-phrase-desc { margin: 0; }
.gpo-hero .b-form-phrase-desc br { display: none; }
.gpo-hero .b-form form { margin-bottom: 14px; }
.gpo-hero .b-form input[type="text"] { box-sizing: border-box; width: 100%; height: 36px; }
.gpo-hero .b-form-phrase-text, .gpo-hero .b-form-phrase-desc { color: #cfdee0; }

[data-home="yes"] .b-tiser {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center; gap: clamp(20px, 4vw, 52px);
}
[data-home="yes"] .b-tiser::before, [data-home="yes"] .b-tiser::after { display: none; }
[data-home="yes"] .b-tiser .b-tiser-img, [data-home="yes"] .b-tiser .b-tiser-text { width: auto; height: auto; margin: 0; padding: 0; float: none; }
[data-home="yes"] .b-tiser-img img { display: block; width: 100%; height: auto; }
[data-home="yes"] .b-tiser .b-tiser-text-title { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 12px; }
[data-home="yes"] .b-tiser-text-announce { line-height: 1.5; }
.b-main-news .b-main-news-list > ul {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px;
}
.b-main-news .b-main-news-list .b-main-news-item {
    box-sizing: border-box; width: auto; height: auto; margin: 0; float: none;
    padding: 16px 0 0; display: grid; grid-template-columns: minmax(75px, 32%) minmax(0, 1fr);
    grid-template-rows: auto 1fr; align-content: start; gap: 5px 14px; border-top: 1px solid #d8e0e1;
}
.b-main-news .b-main-news-item .b-main-news-item-img {
    width: 100%; height: auto; aspect-ratio: 1; margin: 0; grid-row: span 2;
    background: #f2f4f4; align-self: start;
}
.b-main-news-item-img a, .b-main-news .b-main-news-item-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.b-main-news .b-main-news-item .b-main-news-item-date { margin: 0; color: #586e72; font-size: 13px; }
.b-main-news .b-main-news-item .b-main-news-item-announce h4 a,
.b-main-news .b-main-news-item .b-main-news-item-announce .b-main-news-item-announce-title {
    font-size: 17px; line-height: 1.23; margin: 0 0 5px; overflow-wrap: anywhere;
}
.b-main-news .b-main-news-btn-wrap { margin-top: 28px; }

footer { min-width: 0; padding: 28px 0; }
footer .wrap-in {
    box-sizing: border-box; width: min(calc(100% - 32px), 1080px); margin: 0 auto; padding: 0;
}
footer .wrap-in:first-child { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
footer nav .b-footer-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; }
footer nav .b-footer-nav li { float: none; padding: 0; }
footer nav li::before { display: none; }
footer .wrap-in:nth-child(2) {
    display: grid; grid-template-columns: auto auto 1fr 1.25fr; gap: 26px;
    align-items: start; border-top: 1px solid #39616a; padding-top: 24px;
}
footer .b-copyright, footer .b-socialnetwork, footer .b-footer-contact, footer .b-footer-text {
    width: auto; margin: 0; float: none; bottom: auto;
}
footer .b-footer-contact, footer .b-footer-text, footer .b-copyright-text { color: #c2d2d4; }
footer .gpo-credit { display: flex; width: fit-content; align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 15px; }
.gpo-credit img { display: block; width: 105px; height: auto; padding: 6px 9px; border-radius: 3px; background: white; }
@media (max-width: 1099px) {
    [data-home="yes"] { min-width: 0; padding: 0; }
    [data-home="yes"] header, [data-home="yes"] .b-tiser-list { min-width: 0; }
    [data-home="yes"] .b-content { padding-inline: 0; }
    [data-home="yes"] .b-content .wrap-in { box-sizing: border-box; width: min(calc(100% - 32px), 1080px); }
    [data-home="yes"] .b-tiser-list ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 20px; }
    [data-home="yes"] .b-tiser-list .i-tiser-list-item { width: auto; float: none; padding: 0; }
    footer .wrap-in:nth-child(2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .gpo-hero { grid-template-columns: minmax(0, 1fr); }
    .gpo-category-list { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
    .gpo-category-list button, .gpo-category-list li:last-child button { border: 1px solid #cedadc; border-radius: 3px; padding: 7px 11px; }
    .gpo-slides { aspect-ratio: 597 / 314; }
    .gpo-hero .b-form { padding: 20px; }
    .gpo-hero .b-form form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    .gpo-hero .b-form input[type="text"] { width: auto; flex: 1 1 140px; min-width: 0; margin: 0; }
    .b-main-news .b-main-news-list > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .b-main-news .b-main-news-list > ul, [data-home="yes"] .b-tiser, footer .wrap-in:nth-child(2) { grid-template-columns: 1fr; }
    [data-home="yes"] .b-page-title h1 { font-size: clamp(25px, 7vw, 34px); line-height: 1.12; }
    [data-home="yes"] .b-tiser-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-home="yes"] .b-partners-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    [data-home="yes"] .b-partners .i-partners-item { box-sizing: border-box; width: auto; height: auto; margin: 0; padding: 0 0 0 42px; }
    [data-home="yes"] .b-partners .b-partners-title { margin-bottom: 16px; float: none; }
    [data-home="yes"] .b-partners .b-partners-list { margin: 0 0 20px; }
    .gpo-hero .b-form form { display: grid; grid-template-columns: 1fr; justify-items: start; }
    .gpo-hero .b-form input[type="text"] { width: 100%; }
    footer .wrap-in:first-child { flex-direction: column; align-items: flex-start; }
    footer .wrap-in:nth-child(2) { gap: 20px; }
    footer .b-footer-text { max-width: 48ch; }
}

@media (min-width: 1000px) and (max-width: 1099px) {
    [data-home="yes"] header .wrap-in, [data-home="yes"] .b-nav .wrap-in { width: calc(100% - 32px); }
    [data-home="yes"] header .b-header-contact { left: 35%; }
    [data-home="yes"] header .b-header-contact-list { margin-right: 38px; }
    [data-home="yes"] header .b-socialnetwork { left: 73%; }
    [data-home="yes"] .b-nav { min-width: 0; }
    [data-home="yes"] .b-nav nav .b-nav-list li a { padding-left: 21px; padding-right: 9px; }
}
@media (max-width: 999px) {
    header .b-header-sublogo-list { top: auto; left: auto; }
    [data-home="yes"] header { position: relative; padding: 18px 0; }
    [data-home="yes"] header > .wrap-in {
        display: grid; justify-items: center; align-items: center; gap: 12px;
        width: calc(100% - 32px); height: auto; padding: 0; text-align: center;
    }
    [data-home="yes"] header .b-logo { width: min(65vw, 270px); height: 55px; }
    [data-home="yes"] header .b-header-sublogo-list {
        position: static; display: flex; justify-content: center; flex-wrap: wrap; margin: 0; 
    }
    [data-home="yes"] header .b-header-contact {
        position: static; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 18px;
    }
    [data-home="yes"] header .b-header-contact .b-header-contact-list { margin: 0; color: #b8ced1; }
    [data-home="yes"] header .b-header-contact-list li { font-size: 13px; margin: 0 0 4px; }
    [data-home="yes"] header .b-header-contact-list .i-phone a { font-size: 15px; }
    [data-home="yes"] header .b-header-contact-list .i-phone::before { display: none; }
    [data-home="yes"] header .wrap-in > .i-btn { position: static; }
    [data-home="yes"] header .newmenu { z-index: 5; width: auto; left: 8px; top: 20px; }
    [data-home="yes"] header .open_menu {
        background: transparent; border: 0; box-sizing: content-box; cursor: pointer;
    }
    [data-home="yes"] header .b-nav { max-height: 72vh; width: min(330px, calc(100vw - 32px)); min-width: 0; overflow: auto; }
    [data-home="yes"] header .b-nav .wrap-in { width: auto; }
}
@media (max-width: 650px) {
    .gpo-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .gpo-category-list li:last-child { grid-column: 1 / -1; }
    .gpo-category-list button { font-size: 15px; }
}
.b-partners .i-partners-item[data-id]::before { background-size: contain; }
@media (max-width: 999px) {
    [data-home="yes"] header .b-back-call.open, footer .b-back-call.open {
        position: relative; top: auto !important; right: auto; width: min(100%, 269px); height: auto;
    }
    [data-home="yes"] header .b-back-call.open .b-form, footer .b-back-call.open .b-form {
        position: relative; box-sizing: border-box; width: 100%; height: auto; padding: 18px; margin: 0;
    }
}
