html{line-height:1.15;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:border-box}body{background-color:#fff;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{color:inherit;font-family:inherit;font-weight:500;line-height:1.2;margin-block-end:1rem;margin-block-start:.5rem}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-block-end:.9rem;margin-block-start:0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em;white-space:pre-wrap}a{background-color:transparent;color:#c36;text-decoration:none}a:active,a:hover{color:#336}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}abbr[title]{border-block-end:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;height:auto;max-width:100%}details{display:block}summary{display:list-item}figcaption{color:#333;font-size:16px;font-style:italic;font-weight:400;line-height:1.4}[hidden],template{display:none}@media print{*,:after,:before{background:transparent!important;box-shadow:none!important;color:#000!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre{white-space:pre-wrap!important}blockquote,pre{-moz-column-break-inside:avoid;border:1px solid #ccc;break-inside:avoid}thead{display:table-header-group}img,tr{-moz-column-break-inside:avoid;break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{-moz-column-break-after:avoid;break-after:avoid}}label{display:inline-block;line-height:1;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:1rem;line-height:1.5;margin:0}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],select,textarea{border:1px solid #666;border-radius:3px;padding:.5rem 1rem;transition:all .3s;width:100%}input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#333}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;width:auto}[type=button],[type=submit],button{background-color:transparent;border:1px solid #c36;border-radius:3px;color:#c36;display:inline-block;font-size:1rem;font-weight:400;padding:.5rem 1rem;text-align:center;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}[type=button]:focus:not(:focus-visible),[type=submit]:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{background-color:#c36;color:#fff;text-decoration:none}[type=button]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}select{display:block}table{background-color:transparent;border-collapse:collapse;border-spacing:0;font-size:.9em;margin-block-end:15px;width:100%}table td,table th{border:1px solid hsla(0,0%,50%,.502);line-height:1.5;padding:15px;vertical-align:top}table th{font-weight:700}table tfoot th,table thead th{font-size:1em}table caption+thead tr:first-child td,table caption+thead tr:first-child th,table colgroup+thead tr:first-child td,table colgroup+thead tr:first-child th,table thead:first-child tr:first-child td,table thead:first-child tr:first-child th{border-block-start:1px solid hsla(0,0%,50%,.502)}table tbody>tr:nth-child(odd)>td,table tbody>tr:nth-child(odd)>th{background-color:hsla(0,0%,50%,.071)}table tbody tr:hover>td,table tbody tr:hover>th{background-color:hsla(0,0%,50%,.102)}table tbody+tbody{border-block-start:2px solid hsla(0,0%,50%,.502)}@media(max-width:767px){table table{font-size:.8em}table table td,table table th{line-height:1.3;padding:7px}table table th{font-weight:400}}dd,dl,dt,li,ol,ul{background:transparent;border:0;font-size:100%;margin-block-end:0;margin-block-start:0;outline:0;vertical-align:baseline}

body{
        background: #fbf9f7;
}
a {
    background-color: transparent;
    color: #599846;
    text-decoration: none;
}
.custom-breadcrumbs{
    FONT-SIZE:12PX;
}


.custom-related-posts-sidebar {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 28px 24px;
}

.custom-related-posts-title {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
}

.custom-related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: hsl(0deg 0% 50% / 0%);
}

.custom-related-post-item {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 14px;
    align-items: start;
}

.custom-related-post-thumb img {
    display: block;
    width: 95px;
    height: 95px;
    object-fit: cover;
}

.custom-related-post-no-thumb {
    display: block;
    width: 95px;
    height: 95px;
    background: #f1f1f1;
}

.custom-related-post-link {
    color: #222;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.45;
}

.custom-related-post-link:hover {
    color: #6aa84f;
}
/* Таблицы в контенте записи */
.entry-content table,
.elementor-widget-theme-post-content table,
.elementor-location-single table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #6f6f6f;
    background: #fff;
}

.entry-content table tbody tr:nth-child(odd),
.elementor-widget-theme-post-content table tbody tr:nth-child(odd),
.elementor-location-single table tbody tr:nth-child(odd) {
    background: #dbecef;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #c6d7d9;
}
table td, table th {
    border: 1px solid hsl(0deg 0% 50% / 26%);
    line-height: 1.5;
    padding: 15px;
    vertical-align: middle;
}

.entry-content table tbody tr:nth-child(even),
.elementor-widget-theme-post-content table tbody tr:nth-child(even),
.elementor-location-single table tbody tr:nth-child(even) {
    background: #ffffff;
}

.entry-content table td,
.entry-content table th,
.elementor-widget-theme-post-content table td,
.elementor-widget-theme-post-content table th,
.elementor-location-single table td,
.elementor-location-single table th {
    padding: 18px 26px;
    vertical-align: middle;
    border: none;
    text-align: left;
    font-weight: 400;
}

.entry-content table td:first-child,
.entry-content table th:first-child,
.elementor-widget-theme-post-content table td:first-child,
.elementor-widget-theme-post-content table th:first-child,
.elementor-location-single table td:first-child,
.elementor-location-single table th:first-child {
    width: 38%;
}

.entry-content table td:last-child,
.entry-content table th:last-child,
.elementor-widget-theme-post-content table td:last-child,
.elementor-widget-theme-post-content table th:last-child,
.elementor-location-single table td:last-child,
.elementor-location-single table th:last-child {
    width: 62%;
}

/* Списки с зелёными галочками */
.page-content ul,
.page-sid-content ul,
.elementor-widget-theme-post-content ul,
.elementor-location-single ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.page-content ul li,
.page-sid-content ul li,
.elementor-widget-theme-post-content ul li,
.elementor-location-single ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #6f6f6f;
    line-height: 1.5;
}

.page-content ul li:last-child,
.page-sid-content ul li:last-child,
.elementor-widget-theme-post-content ul li:last-child,
.elementor-location-single ul li:last-child {
    margin-bottom: 0;
}

.page-content .elementor-widget-text-editor ul li::before,
.page-sid-content .elementor-widget-text-editor ul li::before,
.elementor-widget-theme-post-content ul li::before,
.elementor-location-single ul li::before {
    content: "✔";
    position: absolute;
    left: 8px;
    top: 4px;
    font-size: 14px;
    line-height: 1;
    color: #63b32e;
    font-weight: 700;
}
.elementor-editor-element-setting::before {
        content: none!important;
}
.elementor-editor-element-settings{
    margin: 0px!important;
}
h2 {

    font-size: 1.25rem;
    font-weight: 500;
    font-style: normal;
    line-height: 1.612em;
    text-decoration: none;
    text-transform: none;

    margin-top: 0.7em;
    margin-bottom: 0.52em;
    font-family: "Roboto", sans-serif!important;
}

.post-template-default .page-content{
    display: flex;
    max-width: 1360px;
    margin: 0 auto;
    gap: 40px;
    padding-top: 4em;
}
.content-single{
    flex-basis: 75%;
}
.sidebar-single{
        flex-basis: 25%;
}
#content{
    background: #fbf9f7;
}

.custom-post-hero {
    position: relative;
    min-height: var(--hero-height, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 10px 0 20px;
}

.custom-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(120, 120, 120, var(--hero-overlay, 0.38));
}

.custom-post-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.custom-post-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}
.custom-post-hero {
    position: relative;
    min-height: var(--hero-height, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.custom-post-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.custom-post-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.custom-post-hero__title {
    margin: 0;
    color: #fff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}

.archive-news-page__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

.archive-news-page__title {
    margin: 0 0 24px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f1f1f;
}

.archive-news-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.archive-news-card {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    background: #fff;
}

.archive-news-card__image-link {
    display: block;
}

.archive-news-card__image {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.archive-news-card__image--placeholder {
    display: block;
    width: 100%;
    height: 290px;
    background: #ececec;
}

.archive-news-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.archive-news-card__title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}

.archive-news-card__title a {
    color: #111;
    text-decoration: none;
}

.archive-news-card__title a:hover {
    color: #69a84f;
}

.archive-news-card__excerpt {
    color: #6f6f6f;
    font-size: 18px;
    line-height: 1.65;
}

.archive-news-page__sidebar {
    width: 100%;
}

.archive-news-sidebar {
    background: #fff;
    padding: 30px 24px;
}

.archive-news-sidebar__title {
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #1f1f1f;
}

.archive-news-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.archive-news-sidebar__item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.archive-news-sidebar__thumb {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: cover;
}

.archive-news-sidebar__thumb--placeholder {
    display: block;
    width: 92px;
    height: 92px;
    background: #efefef;
}

.archive-news-sidebar__link {
    color: #222;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.45;
}

.archive-news-sidebar__link:hover {
    color: #69a84f;
}

.archive-news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.archive-news-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #e3e3e3;
    background: #fff;
    color: #1f1f1f;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}

.archive-news-pagination__item:hover {
    color: #fff;
    background: #222;
    border-color: #222;
}

.archive-news-pagination__item.active,
.archive-news-pagination__item.current {
    color: #fff;
    background: #222;
    border-color: #222;
}

.archive  #content{
    max-width:1360px;
}
.breads {
    max-width: 1360px;
    margin: 0 auto;
}

.ipharmtech-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility .25s ease;
}
.ipharmtech-popup.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.ipharmtech-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.ipharmtech-popup__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 6px;
	padding: 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.ipharmtech-popup__close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: transparent;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	color: #222;
    z-index: 99;
}
.ipharmtech-popup__close:hover {
    background-color: #59984600;
    color: #599846;
    text-decoration: none;
}
body.ipharmtech-popup-open {
	overflow: hidden;
}


.more-link-btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 10px 18px;
   
    text-decoration: none;
    background: #fff;
    transition: all 0.3s ease;
}

.more-link-btn-custom .link_text {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #2f2f2f;
    font-size: 14px;
    transition: max-width 0.3s ease, opacity 0.25s ease;
}

.more-link-btn-custom .link_icon {
position: relative;
    display: inline-flex;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 1px solid #a1a1a1;
    padding-bottom: 4px;
}

.more-link-btn-custom .link_icon::before {
    content: "→";
    color: #2f2f2f;
    font-size: 20px;
    line-height: 1;
}

.more-link-btn-custom:hover .link_text {
    max-width: 140px;
    opacity: 1;
}
.more-link-btn .elementor-image-box-title{
    padding: 0 15px;
}


.sub-menu .current-menu-item a:before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #599846!important;
    border-radius: 50%;
    position: absolute;
    left: -4px!important;
    top: 50%;
    transform: translateY(-50%);
}

.page-sidebar-template__title{
    text-align: center;
    color: #599846;
    padding-top: 50px;
    padding-bottom: 60px;
    
}

.page-sid-content{
    max-width: 1360px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
    gap:30px;
}
.page-sidebar-template__article{
    background: #fff;
    padding: 20px;
    margin-bottom: 50px;
    max-width: 980px;

}
.page-sidebar-template__sidebar{
    position: sticky;
    top: 120px;
    align-self: start;
    margin-bottom: 49px;
}
.sidebar-single{
    max-width:350px;
}

#new-tab table tbody td.green-box {
    color: #fff !important;
    background-color: #599846 !important;
    border-radius: 10px;
    border: 0px solid #ffff !important;
    border-left: 0px solid #c8c8c8 !important;
}
#new-tab table tbody td.grey-box {
    background-color: #c6d7d970 !important;
    border-radius: 10px;
    border-left: 0px solid #c8c8c8 !important;
    border-bottom: 0px solid #dfdfdf !important;
    border-top: 0px solid #dfdfdf;
    padding-left: 20px !important;
}


.elementor-widget-text-editor strong{
    
    color: #363636;

}
.elementor-widget-text-editor table strong{
    color:#7a7a7a
}

    .side-menu .elementor-image-box-wrapper{
        display: flex;
        gap: 20px;
        align-items: center;
    }
    .side-menu .elementor-image-box-img{
            flex-basis: 180px;
}

.footer-menu2 .elementor-icon-list-item{
        list-style-type: none;
}



:root {
	--ipharm-green: #559c43;
	--ipharm-green-dark: #347a34;
	--ipharm-text: #333333;
	--ipharm-muted: #777777;
	--ipharm-border: #e7e7e7;
	--ipharm-header-height: 78px;
}


html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body.mobile-menu-open {
	overflow: hidden;
}



.site-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid #eeeeee;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.site-header__inner {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1440px;
	min-height: var(--ipharm-header-height);
	margin: 0 auto;
	padding: 0 20px;
}

.site-header__logo {
	display: block;
	flex: 0 0 auto;
	width: 200px;
	margin-right: 45px;
	line-height: 0;
}

.site-header__logo img {
	display: block;
	width: 100%;
	height: auto;
}



.desktop-navigation {
	flex: 1 1 auto;
	min-width: 0;
}

.header-menu,
.header-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

.header-menu > li {
	position: relative;
}

.header-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--ipharm-header-height);
	padding: 0;
	color: var(--ipharm-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.header-menu > li > a:hover,
.header-menu > li.current-menu-item > a,
.header-menu > li.current-menu-ancestor > a {
	color: var(--ipharm-green);
}

.header-menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 17px;
	left: 0;
	height: 2px;
	background: var(--ipharm-green);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
} 

.header-menu > li:hover > a::after,
.header-menu > li.current-menu-item > a::after,
 {
	transform: scaleX(1);
}



.header-menu .menu-item-has-children > a {
	padding-right: 13px;
}

.header-menu .menu-item-has-children > a::before {
	position: absolute;
	top: 50%;
	right: 0;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	content: "";
	transform: rotate(45deg);
}



.header-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: -20px;
	z-index: 20;
	display: block;
	min-width: 250px;
	padding: 9px 0;
	background: #ffffff;
	border: 1px solid var(--ipharm-border);
	border-radius: 2px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;
}

.header-menu li:hover > .sub-menu,
.header-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-menu .sub-menu li {
	position: relative;
}

.header-menu .sub-menu a {
	position: relative;
	display: block;
	padding: 11px 38px 11px 20px;
	color: var(--ipharm-text);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}

.header-menu .sub-menu a:hover,
.header-menu .sub-menu .current-menu-item > a {
	color: var(--ipharm-green);
	background: #f5faf3;
}



.header-menu .sub-menu .menu-item-has-children > a::before {
	top: 50%;
	right: 18px;
	margin-top: -4px;
	transform: rotate(-45deg);
}



.header-menu .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 1px);
	transform: translateX(10px);
}

.header-menu .sub-menu li:hover > .sub-menu,
.header-menu .sub-menu li:focus-within > .sub-menu {
	transform: translateX(0);
}



.site-header__contacts {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 22px;
	margin-left: 30px;
}

.header-socials {
	display: flex;
	align-items: center;
	gap: 13px;
}

.header-socials__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #151515;
	text-decoration: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.header-socials__link:hover {
	color: var(--ipharm-green);
	transform: translateY(-2px);
}

.header-socials__link svg {
	display: block;
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.header-socials__link--max {
	width: 24px;
	height: 24px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.header-socials__link--max span {
	font-size: 7px;
	font-weight: 700;
	line-height: 1;
}

.header-phone {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--ipharm-text);
	text-decoration: none;
	white-space: nowrap;
    gap:5px;
}

.header-phone__number {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
}

.header-phone__schedule {
	margin-top: 2px;
	color: #999999;
	font-size: 10px;
	line-height: 1.2;
}

.header-phone:hover .header-phone__number {
	color: var(--ipharm-green);
}

.header-order-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	min-height: 42px;
	padding: 10px 22px;
	background: var(--ipharm-green);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.header-order-button:hover {
	background: var(--ipharm-green-dark);
	color: #ffffff;
	transform: translateY(-1px);
}



.mobile-menu-button {
	display: none;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.mobile-menu-button span {
	display: block;
	width: 25px;
	height: 2px;
	background: #333333;
	transition: background-color 0.2s ease;
}

.mobile-menu-button:hover span {
	background: var(--ipharm-green);
}
.mobile-menu-button:hover,
.mobile-menu-button:focus,
.mobile-menu__close:focus,
.mobile-menu__close:hover,
.mobile-submenu-toggle:hover,
.mobile-submenu-toggle:focus {
    background-color: #ffffff00;
        outline: none!important;
}
.mobile-menu__close:hover .mobile-menu__close span{
        background: #589843;
}
.sub-menu .current-menu-item a:before{
    content:none;
}


.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 1998;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1999;
	display: flex;
	flex-direction: column;
	width: min(390px, 90vw);
	height: 100%;
	height: 100dvh;
	background: #ffffff;
	box-shadow: -15px 0 40px rgba(0, 0, 0, 0.16);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(105%);
	transition: transform 0.35s ease;
}

.mobile-menu.is-open {
	transform: translateX(0);
}

.mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--ipharm-border);
}

.mobile-menu__logo {
	display: block;
	width: 175px;
	line-height: 0;
}

.mobile-menu__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.mobile-menu__close {
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.mobile-menu__close span {
	position: absolute;
	top: 20px;
	left: 8px;
	width: 27px;
	height: 2px;
	background: #333333;
}

.mobile-menu__close span:first-child {
	transform: rotate(45deg);
}

.mobile-menu__close span:last-child {
	transform: rotate(-45deg);
}




.mobile-header-menu,
.mobile-header-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-navigation {
	padding: 10px 20px 20px;
}

.mobile-header-menu li {
	position: relative;
	border-bottom: 1px solid #eeeeee;
}

.mobile-header-menu li:last-child {
	border-bottom: 0;
}

.mobile-header-menu a {
	display: block;
	padding: 15px 45px 15px 0;
	color: var(--ipharm-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
}

.mobile-header-menu .current-menu-item > a,
.mobile-header-menu .current-menu-ancestor > a {
	color: var(--ipharm-green);
}



.mobile-header-menu .sub-menu {
	display: none;
	padding: 0 0 9px 15px;
	border-left: 2px solid #e4efdf;
}

.mobile-header-menu .sub-menu .sub-menu {
	margin-left: 10px;
}

.mobile-header-menu .sub-menu a {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
	font-weight: 400;
}



.mobile-submenu-toggle {
	position: absolute;
	top: 5px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.mobile-submenu-toggle::before {
	width: 8px;
	height: 8px;
	border-right: 2px solid #555555;
	border-bottom: 2px solid #555555;
	content: "";
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.mobile-header-menu li.submenu-open > .mobile-submenu-toggle::before {
	transform: rotate(225deg);
}

.mobile-header-menu li.submenu-open > .sub-menu {
	display: block;
}



.mobile-menu__contacts {
	margin-top: auto;
	padding: 22px 20px 28px;
	background: #f7f9f6;
	border-top: 1px solid var(--ipharm-border);
}

.mobile-contact-link {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 16px;
	color: var(--ipharm-text);
	text-decoration: none;
}

.mobile-contact-link__icon {
	display: flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
	color: var(--ipharm-green);
}

.mobile-contact-link__icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mobile-contact-link strong,
.mobile-contact-link small {
	display: block;
}

.mobile-contact-link strong {
	font-size: 14px;
	font-weight: 600;
}

.mobile-contact-link small {
	margin-top: 3px;
	color: var(--ipharm-muted);
	font-size: 11px;
}

.mobile-menu__socials {
	margin: 18px 0;
}

.mobile-menu__socials .header-socials {
	gap: 18px;
}

.mobile-menu__socials .header-socials__link {
	width: 30px;
	height: 30px;
}

.mobile-menu__socials .header-socials__link svg {
	width: 22px;
	height: 22px;
}

.mobile-order-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	background: var(--ipharm-green);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.mobile-order-button:hover {
	background: var(--ipharm-green-dark);
	color: #ffffff;
}
.site-header:not(.dynamic-header){
    max-width:100%;
}

h2{
    font-size: 1.65rem;
    color: #363636;
    font-weight: 600;
}

h3 {
    font-size: 1.45rem;
        color: #363636;
        font-weight: 600;
}

h4 {
        color: #363636;
        font-size: 1.25rem;
        font-weight: 600;
}
h5 {
        color: #363636;
        font-size: 1.15rem;
}
@media (max-width: 1250px) {
	.site-header__logo {
		width: 170px;
		margin-right: 25px;
	}

	.header-menu {
		gap: 18px;
	}

	.header-menu > li > a {
		font-size: 13px;
	}

	.site-header__contacts {
		gap: 15px;
		margin-left: 20px;
	}

	.header-order-button {
		min-width: 100px;
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media (max-width: 1080px) {
	.desktop-navigation,
	.header-order-button {
		display: none;
	}

	.site-header__inner {
		min-height: 92px;
	}

	.site-header__logo {
		width: 180px;
		margin-right: auto;
	}

	.site-header__contacts {
		margin-left: auto;
	}

	.mobile-menu-button {
		display: flex;
	}
}

@media (max-width: 700px) {
	.site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"socials socials"
			"logo contacts";
		min-height: auto;
		padding: 12px 18px 14px;
	}

	.site-header__logo {
		grid-area: logo;
		width: 165px;
		margin: 0;
	}

	.site-header__contacts {
		display: contents;
	}

	.site-header__contacts > .header-socials {
		grid-area: socials;
		justify-content: flex-end;
		margin-bottom: 13px;
	}

	.site-header__contacts > .header-phone {
		grid-area: contacts;
		align-self: center;
		margin-right: 52px;
	}

	.mobile-menu-button {
		position: absolute;
		right: 15px;
		bottom: 15px;
	}

	.header-phone__number {
		font-size: 14px;
	}

	.header-phone__schedule {
		font-size: 9px;
	}
}

@media (max-width: 430px) {
	.site-header__inner {
		padding-right: 14px;
		padding-left: 14px;
	}

	.site-header__logo {
		width: 145px;
	}

	.site-header__contacts > .header-phone {
		margin-right: 43px;
	}

	.header-phone__number {
		font-size: 13px;
	}

	.mobile-menu-button {
		right: 9px;
	}

	.mobile-menu {
		width: 92vw;
	}
}


.admin-bar .mobile-menu,
.admin-bar .mobile-menu-overlay {
	top: 32px;
	height: calc(100dvh - 32px);
}


.elementor-message-success{
        font-size: 0px;
}

.elementor-message-svg:before {

    content: 'Ваша заявка была успешно отправлена.';
    width: 100%;
    font-size: 18px;
}


.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #5aaa46;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #438b34;
}

.scroll-top-btn span {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 16px;
  height: 16px;
  border-left: 3px solid #ffffff;
  border-top: 3px solid #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #055a54;
    color: #fff;
    text-decoration: none;
}
/* лёгкий круговой акцент в стиле сайта */
.scroll-top-btn::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

/* мобильная версия */
@media (max-width: 767px) {
  .scroll-top-btn {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }

  .scroll-top-btn span {
    width: 14px;
    height: 14px;
    border-left-width: 2px;
    border-top-width: 2px;
  }
}
@media screen and (max-width: 782px) {
	.admin-bar .mobile-menu,
	.admin-bar .mobile-menu-overlay {
		top: 46px;
		height: calc(100dvh - 46px);
	}
}
/*-------------------------------------------Media---------------------------------------*/



@media (min-width: 1025px) {
    .archive-news-page__sidebar, .custom-related-posts-sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

@media (max-width: 1024px) {
    .archive-news-page__container {
        grid-template-columns: 1fr;
    }

    .archive-news-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-news-card__image,
    .archive-news-card__image--placeholder {
        height: 260px;
    }
    .custom-post-hero__title {
        font-size: 38px;
    }
    .post-template-default .page-content{
        padding-top: 1em;
    }
    .page-sid-content{
        flex-wrap:wrap;
        margin: 20px;
    }
    .sidebar-single{
        max-width:100%;
    }
    .page-sidebar-template__sidebar{
        width:100%;
       
    }
    
}


@media (max-width: 767px) {
    .archive-news-page__container {
        padding: 24px 16px 40px;
    }

    .archive-news-page__title {
        font-size: 30px;
    }

    .archive-news-card__title {
        font-size: 22px;
    }

    .archive-news-card__excerpt {
        font-size: 16px;
    }

    .archive-news-pagination__item {
        min-width: 46px;
        height: 46px;
        font-size: 16px;
    }
    .custom-post-hero {
        min-height: 280px;
        padding: 40px 16px;
    }

    .custom-post-hero__title {
        font-size: 28px;
    }
    .entry-content table,
    .elementor-widget-theme-post-content table,
    .elementor-location-single table {
        display: block;
        overflow-x: auto;
    }

    .entry-content table td,
    .entry-content table th,
    .elementor-widget-theme-post-content table td,
    .elementor-widget-theme-post-content table th,
    .elementor-location-single table td,
    .elementor-location-single table th {
        padding: 14px 16px;
        font-size: 14px;
    }
    .post-template-default .page-content{
        flex-wrap:wrap;
    }
    .content-single{
        flex-basis: 100%;
    }
    .sidebar-single{
            flex-basis: 100%;
    }
    .page-sidebar-template__title{

            font-size: 28px;
            padding: 20px;
    }

     html,
      body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
      }
    
      .elementor,
      .elementor-section,
      .elementor-container,
      .elementor-widget-wrap,
      .elementor-widget-container {
        max-width: 100%;
      }
    
      .table-scroll {
        width: calc(100vw - 30px);
        max-width: calc(86vw - 30px);
        overflow-x: auto;
            overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    
        /* всегда видимый скролл */
        scrollbar-width: auto;
        scrollbar-color: #6aa84f #e9ecef;
      }
      /* Chrome, Edge, Safari */
          .table-scroll::-webkit-scrollbar {
            height: 10px;
          }
        
          .table-scroll::-webkit-scrollbar-track {
            background: #e9ecef;
            border-radius: 20px;
          }
        
          .table-scroll::-webkit-scrollbar-thumb {
            background: #6aa84f;
            border-radius: 20px;
            border: 2px solid #e9ecef;
          }
        
          .table-scroll::-webkit-scrollbar-thumb:hover {
            background: #5a9442;
          }
    
      .table-scroll table {
        min-width: 720px;
        width: max-content;
        max-width: none !important;
        zoom:75%;
      }
    
      .table-scroll th,
      .table-scroll td {
        white-space: nowrap;
      }
      .more-link-btn-custom .link_text {
        max-width: 140px;
        opacity: 1;
    }
    	.ipharmtech-popup {
		padding: 12px;
	}
	.ipharmtech-popup__dialog {
		padding: 22px 18px;
		max-width: 100%;
	}
    .page-sid-content {
        flex-wrap: wrap;
        margin: 0;
    }
    .site-header1{
        position: relative;
    }
    .elementor-element-4711198c{
        padding:0!important;
    }
}


