.columnArchive,
.columnDetail {
    padding-block: 28px 72px;
}

.columnDetail {
    padding-block-start: clamp(32px, 4vw, 48px);
}

.columnBreadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    font-size: 14px;
}

.columnLayout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(228px, 25%);
    align-items: start;
    gap: clamp(24px, 3vw, 38px);
}

.columnMain > h1,
.columnHeading h1 {
    margin: 20px 0;
    color: var(--blue);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.columnSidebar {
    display: grid;
    gap: 20px;
    min-width: 0;
    margin-block-start: 20px;
    scroll-margin-top: calc(var(--headerHeight) + 14px);
    font-size: 15px;
    line-height: 1.6;
}

.columnSidebarPanel {
    padding: clamp(16px, 1.8vw, 22px);
    border: 1px solid #dbe8f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 3px 4px 0 #e8f1f8;
}

.columnSidebarPanel h2 {
    margin: 0 0 8px;
    padding-block-end: 8px;
    border-block-end: 2px solid #dbe8f3;
    color: var(--blue);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.columnSidebarPanel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.columnCategoryList li + li {
    border-block-start: 1px solid #edf2f7;
}

.columnCategoryList a,
.columnTagList a {
    display: block;
    color: var(--blue);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.columnCategoryList a {
    padding: 9px 10px;
    border-radius: 6px;
}

.columnTagList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.columnTagList li {
    max-width: 100%;
}

.columnTagList a {
    padding: 5px 10px;
    border: 1px solid #f1cfac;
    border-radius: 999px;
    background: #fff1e4;
    color: #753b12;
    font-size: 14px;
}

.columnTagList a:hover {
    background: #ffe5cb;
    border-color: #d89b66;
}

.columnTagList a[aria-current="page"] {
    background: #ffe0c2;
    border-color: #b9672e;
    font-weight: 700;
}

.columnCategoryList a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.columnCategoryList a:focus-visible,
.columnFilter > summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.columnTagList a:focus-visible {
    outline: 2px solid #a6551f;
    outline-offset: 2px;
}

.columnFilter {
    display: none;
}

.columnArchive .page-numbers,
.columnBack a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #cdd9d2;
    border-radius: 6px;
    white-space: nowrap;
}

.columnCategoryList [aria-current] {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    font-weight: 700;
}

.columnArchive .page-numbers.current {
    color: #fff;
    background: #24583b;
    border-color: #24583b;
}

.columnGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
    gap: 22px;
}

.columnCard {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe3de;
    border-radius: 12px;
}

.columnCard > a {
    display: block;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.columnCard > a:focus-visible {
    outline-offset: -3px;
}

.columnCard > a:hover h2 {
    text-decoration: underline;
}

.columnCardImage {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.columnCardContent {
    padding: 16px 18px;
    overflow-wrap: anywhere;
}

.columnCardTags {
    margin: 0;
    padding: 0 18px 16px;
    list-style: none;
}

.columnDetailTags {
    margin: 1.5em 0 0;
    padding: 0;
    list-style: none;
}

.columnCardContent h2 {
    margin: 5px 0 8px;
    font-size: 18px;
    line-height: 1.55;
}

.columnCardContent p,
.columnCardContent time,
.columnHeading time {
    color: #49584f;
    font-size: 14px;
}

.columnCardContent p {
    margin: 0;
}

.columnArchive .pagination,
.columnBack {
    margin-block: 30px 0;
    text-align: center;
}

.columnDetail .columnMain > article {
    width: min(100%, 820px);
    margin-inline: auto;
    padding-inline: clamp(0px, (100% - 580px) / 8, 28px);
}

.columnHeading h1 {
    margin-block: clamp(24px, 3vw, 34px) 16px;
}

.columnHeading time {
    margin-inline-end: .75em;
}

.columnHeroImage {
    display: block;
    width: 100%;
    height: auto;
    margin-block: clamp(26px, 3vw, 36px) 0;
    border-radius: 10px;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) {
    --column-button-padding-block: clamp(14px, 4.4vw, 17px);
    margin-block: 30px;
    font-size: 16px;
    overflow-wrap: anywhere;
    line-height: 1.9;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) img,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) figure {
    max-width: 100%;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) img {
    height: auto;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-table {
    overflow-x: auto;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-table td,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-table th {
    padding: .7em .85em;
    border: 1px solid #dbe8f3;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-table th {
    background: #edf6ff;
    color: var(--blue);
}

.columnBody .columnTableLabel {
    display: none;
}

@media (max-width: 768px) {
    .columnBody .wp-block-table .columnCardTable {
        position: relative;
        display: grid;
        gap: 12px;
        border: 0;
        background: transparent;
    }

    .columnBody .columnCardTable > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .columnBody .columnCardTable > tbody {
        display: grid;
        gap: 12px;
    }

    .columnBody .columnCardTable > tbody > tr {
        display: block;
        overflow: hidden;
        border: 1px solid #dbe8f3;
        border-radius: 10px;
        background: #fff;
    }

    .columnBody .wp-block-table .columnCardTable > tbody > tr > :is(td, th) {
        display: block;
        width: auto;
        padding: 10px 14px;
        border: 0;
        background: #fff;
        color: inherit;
        text-align: start;
        line-height: 1.7;
    }

    .columnBody .wp-block-table .columnCardTable > tbody > tr > :first-child {
        background: #edf6ff;
        color: var(--blue);
        font-weight: 700;
    }

    .columnBody .wp-block-table .columnCardTable > tbody > tr > :nth-child(n+3) {
        border-block-start: 1px solid #edf2f7;
    }

    .columnBody .columnTableLabel {
        display: block;
        margin-block-end: 2px;
        color: var(--blue);
        font-size: 14px;
        font-weight: 700;
    }
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(h2, h3, h4) {
    color: var(--blue);
    font-weight: 800;
    line-height: 1.55;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) h2 {
    margin-block-start: 2em;
    padding-block-end: .35em;
    border-bottom: 2px solid #dbe8f3;
}

.columnBody {
    margin-block: clamp(34px, 4.5vw, 52px);
    line-height: 2;
}

.columnBody > p {
    margin-block: 1.25em;
}

.columnBody > :is(ul, ol, figure) {
    margin-block: 1.5em;
}

.columnBody > h2 {
    margin-block: clamp(44px, 5vw, 60px) .7em;
}

.columnBody > h3 {
    margin-block: 1.6em .65em;
}

.columnBody > :first-child {
    margin-block-start: 0;
}

.columnBody > :last-child {
    margin-block-end: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.block-box, .vk_borderBox, .columnRelatedLink, .wp-block-details) {
    margin-block: 1.4em;
    padding: 1em;
    border: 1px solid #dbe8f3;
    border-radius: 12px;
    background: #edf6ff;
}

@media (max-width: 768px) {
    .columnBody .block-box:has(> .wp-block-list, > .box-content > .wp-block-list),
    .columnBody .vk_borderBox_body:has(> .wp-block-list > li > :is(ol, ul)) {
        padding: 12px;
    }

    .columnBody :is(.block-box, .block-box > .box-content) > .wp-block-list,
    .columnBody .wp-block-list:not(.is-style-numeric-list-enclosed):has(> li > :is(ol, ul)) {
        padding-inline-start: 1.5em;
        line-height: 1.8;
    }

    .columnBody .wp-block-list li > :is(ol, ul):not(.is-style-numeric-list-enclosed) {
        padding-inline-start: 1.25em;
    }

    .columnBody .wp-block-list.is-style-blank-box-navy.has-border:has(> li > :is(ol, ul)) {
        padding-block: 12px;
        padding-inline: 1.8em 12px;
        line-height: 1.8;
    }

    .columnBody .block-box > .box-label + .box-content > .wp-block-list:first-child {
        margin-block-start: 0;
    }
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .blank-box,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .caption-box,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .tab-caption-box {
    background: #fff;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .bb-tab {
    border-block-start: 3px solid var(--blue);
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.bb-check, .has-green-border-color) {
    border-color: #a6d8bd;
    border-block-start-color: #197645;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .bb-hint {
    border-color: #f3dfab;
    border-block-start-color: #bd7800;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .caption-box > .box-label,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .tab-caption-box > .box-label {
    padding: .35em .6em;
    border-radius: 6px;
    background: #edf6ff;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .information-box {
    border-color: #bbd8f0;
    border-inline-start: 3px solid var(--blue);
    background: #f3f9ff;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .profile-box {
    border-color: #d7dce3;
    background: #f8fafc;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-blank-box-navy.has-border {
    padding: .8em 1em .8em 2.2em;
    border: 1px solid #bbd8f0;
    border-radius: 12px;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.is-style-numeric-list-step, .is-style-numeric-list-enclosed) > li::marker {
    color: var(--blue);
    font-weight: 800;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-numeric-list-step > li + li {
    margin-block-start: .65em;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.block-box, .vk_borderBox, .wp-block-details) > :first-child {
    margin-block-start: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.block-box, .vk_borderBox, .box-content, .wp-block-details) > :last-child {
    margin-block-end: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.box-label, .vk_borderBox_title, .wp-block-details > summary) {
    color: var(--blue);
    font-weight: 800;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .box-label {
    margin-block-end: .5em;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .vk_borderBox {
    padding: 0;
    border-color: #bbd8f0;
    background: #fff;
    color: var(--ink) !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .vk_borderBox_title_container {
    padding: .6em 1em;
    border-radius: 11px 11px 0 0;
    background: var(--blue) !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .vk_borderBox_title {
    margin: 0;
    color: #fff;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .vk_borderBox_body {
    padding: 1em;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) :is(.alert-box, .st-red) {
    border-color: #efbfc1;
    border-inline-start: 3px solid #ab454a;
    background: #fff1f2 !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-danger-box {
    border-color: #ffdfc8;
    background-color: #fff5ec !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-group.has-background {
    padding: 1em;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-group.is-style-warning-box {
    margin-block: 1.5em;
    padding: clamp(16px, 3vw, 26px);
    border: 1px solid #f3dfab;
    border-radius: 12px;
    background: #fff4d7 !important;
    color: #664b11;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-warning-box > :first-child {
    margin-block-start: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-warning-box .button-block {
    margin-block: 1.25em 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-warning-box .button-block :is(.btn, .wp-block-button__link) {
    position: relative;
    display: block;
    box-sizing: border-box;
    --column-button-padding-inline: 2.5em;
    background: #303030 !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .is-style-warning-box .button-block :is(.btn, .wp-block-button__link)::after {
    content: "";
    position: absolute;
    inset-inline-end: 1.2em;
    inset-block-start: 50%;
    width: .45em;
    height: .45em;
    border-inline-end: 2px solid currentColor;
    border-block-start: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .columnRelatedLink a {
    display: block;
    font-weight: 700;
    text-underline-offset: 3px;
}

.columnBody .columnArticleCard {
    position: relative;
    display: block;
    margin-block: 1.8em 1.4em;
    padding: 18px;
    border: 1px solid #dbe8f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 0 #e8f1f8;
    color: inherit;
    text-decoration: none;
}

.columnArticleCardLabel {
    position: absolute;
    inset-block-start: -12px;
    inset-inline-start: 18px;
    padding: 1px 9px;
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

.columnArticleCardMain {
    display: grid;
    gap: 14px;
}

.columnArticleCardMain.hasThumbnail {
    grid-template-columns: min(28%, 180px) minmax(0, 1fr);
    align-items: start;
}

.columnArticleCardImage img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
}

.columnArticleCardTitle,
.columnArticleCardSummary {
    display: block;
    overflow-wrap: anywhere;
}

.columnArticleCardTitle {
    color: var(--blue);
    font-size: 17px;
    line-height: 1.55;
}

.columnArticleCardSummary {
    margin-block-start: 6px;
    color: #49584f;
    font-size: 14px;
    line-height: 1.65;
}

.columnArticleCardFooter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-block-start: 12px;
    color: #49584f;
    font-size: 12px;
}

.columnArticleCard:hover .columnArticleCardTitle,
.columnArticleCard:focus-visible .columnArticleCardTitle {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 540px) {
    .columnArticleCardMain.hasThumbnail {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-wrap.sbp-r {
    flex-direction: row-reverse;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-person {
    flex: 0 0 clamp(48px, 12%, 76px);
    text-align: center;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-icon {
    margin: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-icon img {
    border-radius: 50%;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-balloon {
    flex: 1;
    min-width: 0;
    padding: .75em 1em;
    border: 1px solid #bbd8f0;
    border-radius: 12px;
    background: #f3f9ff;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-balloon > :first-child {
    margin-block-start: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .speech-balloon > :last-child {
    margin-block-end: 0;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .button-block {
    margin-block: 1em;
    text-align: center;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .column-migrated-buttons,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .column-migrated-buttons > .wp-block-button {
    display: block;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .column-migrated-buttons .wp-block-button__link {
    width: auto;
    max-width: 100%;
    font-size: inherit;
    line-height: inherit;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .column-button-bordered > .wp-block-button__link {
    border: 3px solid #000;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .button-block .btn,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link {
    display: inline-block;
    box-sizing: border-box;
    max-inline-size: 100%;
    padding: var(--column-button-padding-block) var(--column-button-padding-inline, 1.25em);
    border-radius: 999px;
    background: var(--blue) !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-buttons:has(.wp-block-button__link:is([href^="tel:"], .has-watery-blue-background-color)) {
    container-type: inline-size;
    gap: clamp(12px, 2vw, 20px);
    margin-block-start: 1.75em;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-buttons:has(.wp-block-button__link:is([href^="tel:"], .has-watery-blue-background-color)) .wp-block-button__link {
    font-size: 20px;
    font-size: clamp(16px, 3.4cqi, 20px);
    line-height: 1.8;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link.has-green-background-color {
    background: #197645 !important;
    border-color: #197645;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link.has-watery-green-background-color {
    border: 1px solid #86bd9e;
    background: #edf8f1 !important;
    color: #24583b !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link.has-ex-b-background-color {
    border: 1px solid #e7d3a4;
    background: #fff4d7 !important;
    color: #664b11 !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link.has-dark-grey-background-color {
    background: #4b535b !important;
}

:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link.has-watery-blue-background-color,
:is(.columnBody, .editor-styles-wrapper:where(.post-type-amt_column)) .wp-block-button__link[href^="tel:"] {
    border: 1px solid var(--blue);
    background: #edf6ff !important;
    color: var(--blue) !important;
}

@media (min-width: 901px) {
    .columnSidebar {
        --column-sidebar-top: calc(var(--headerHeight) + var(--wp-admin--admin-bar--height, 0px) + 16px);
        position: sticky;
        inset-block-start: var(--column-sidebar-top);
        max-height: calc(100dvh - var(--column-sidebar-top) - var(--fixedContactHeight, 80rem) - 14px);
        padding: 2px 6px 5px 2px;
        overflow-y: auto;
    }
}

@media (max-width: 900px) {
    .columnLayout {
        grid-template-columns: minmax(0, 1fr);
    }

    .columnArchive .columnLayout > .columnSidebar {
        display: none;
    }

    .columnFilter {
        display: block;
        margin-block-end: 16px;
    }

    .columnFilter > summary {
        padding: 10px 12px;
        border: 1px solid #dbe8f3;
        border-radius: 8px;
        background: #edf6ff;
        color: var(--blue);
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .columnFilter > .columnSidebar {
        margin-block-start: 12px;
    }
}
