.smart-head .logo-image {
	max-height: calc(var(--head-h) - 40px) !important;
}
.ts-button.ts-button-a.ts-button1:hover {
    background-color: #095F2E !important;
}

/* Контейнер формы */
.spc-newsletter .tnp-subscription form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Скрываем лишние лейблы, если они мешают */
.spc-newsletter .tnp-field-email label {
    display: none;
}

/* Поле ввода Email */
.spc-newsletter input.tnp-email {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    color: #ffffff !important;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.spc-newsletter input.tnp-email::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Чекбокс приватности */
.spc-newsletter .tnp-privacy-field {
    margin: 4px 0 8px 0;
    text-align: left;
}

.spc-newsletter .tnp-privacy-field label,
.spc-newsletter .tnp-privacy-field a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
    text-decoration: underline;
}

/* Кнопка Subscribe (обычное состояние) */
.spc-newsletter .tnp-field-button {
    text-align: center !important;
    width: 100%;
}

.spc-newsletter input.tnp-submit {
    width: 100% !important;
    height: 50px !important;
    background-color: #ffffff !important;
    color: #006633 !important; /* Насыщенный зеленый из макета */
    border: 2px solid #ffffff !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    display: block;
}

/* Кнопка Subscribe (Hover состояние) */
.spc-newsletter input.tnp-submit:hover{
    background-color: #004d26 !important; /* Темно-зеленый залив */
    color: #ffffff !important;
    border-color: #004d26 !important;
}

.cd-ugc-panel .cd-ugc-btn--primary{
	  max-width: fit-content;
    align-self: flex-end;
}

[class*="cd-ugc"] {
    --cd-accent: var(--c-main, #2e7d32);
    --cd-accent-contrast: #ffffff;
}

.cd-ugc-btn--primary:hover {
    background-color: #095F2E !important;
}

.cd-ugc-account__actions a[href*="/upload/"] {
    display: none !important;
}

.d4h-account-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.d4h-btn,
.d4h-btn--ghost {
    display: inline-block;
    padding: 0;
    font-family: var(--ui-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: none;
    border: 0;
    box-shadow: none;
    color: var(--c-main, #2e7d32) !important;
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

.d4h-btn:hover {
    background: none !important;
    color: #095F2E !important;
}

.cd-ugc .cd-ugc-switch__opt {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cd-ugc .cd-ugc-switch__opt {
    color: var(--c-main, #2e7d32) !important;
    opacity: 0.6;
    transition: opacity 0.25s ease-in-out;
}

.cd-ugc .cd-ugc-switch__opt:hover {
    opacity: 0.85;
}

.cd-ugc .cd-ugc-switch__opt.is-active {
    color: var(--c-main, #2e7d32) !important;
    opacity: 1;
}

.mobile-menu li a:hover {
    color: var(--c-main, #2e7d32);
	  opacity: 1;
}

.mobile-menu li.current-menu-item > a {
    color: var(--c-main, #2e7d32);
}

.search-modal.mfp-bg {
	background: var(--c-contrast-125);
}

.search-modal .search-field{
	color: var(--c-main);
}

.search-modal .mfp-close{
	-webkit-text-stroke: 0px;
	font-size: 50px;
	font-weight: 300;
}

.live-search-results{
	background: var(--c-contrast-500);
}

/* Само поле выбора файла */
.cd-ugc input[type="file"] {
    height: auto;
    padding: 6px;
    box-shadow: none;
    cursor: pointer;
}

/* Кнопка "Choose file" */
.cd-ugc input[type="file"]::file-selector-button {
    -webkit-appearance: none;
    margin-right: 12px;
    padding: 0 17px;
    height: 34px;
    font-family: var(--ui-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--c-main, #2e7d32);
    color: #fff;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.25s ease-in-out;
}

/* При наведении */
.cd-ugc input[type="file"]::file-selector-button:hover {
    background: #095F2E;
}