/* =========================================================
   WordPress-specific additions (keep main.css = HTML source)
   ========================================================= */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .navbar { top: 46px; } }

/* default page / 404 content */
.wp-content-default { padding-top: 160px; padding-bottom: 80px; }
.wp-content-default img { max-width: 100%; height: auto; }

/* Contact Form 7 inside .am-form */
.am-form .wpcf7-form-control-wrap { display: block; }
.am-form .phone-field .wpcf7-form-control-wrap { flex: 1; height: 100%; display: flex; }
.am-form .phone-field .phone-country .wpcf7-form-control-wrap { position: absolute; inset: 0; }
.am-form .phone-field .phone-country select { width: 100%; height: 100%; }
.am-form .wpcf7-not-valid { border-color: var(--ui-negative) !important; }
.am-form .wpcf7-not-valid-tip { color: var(--ui-negative); font-size: 14px; margin-top: 4px; }
.am-form .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 12px 16px; border-radius: 8px; }

/* menus rendered by wp_nav_menu */
.list-f-menu .menu-item { list-style: none; }

/* WYSIWYG blocks: no bottom margin when nothing follows (matches .mb-0 in the HTML) */
.wysiwyg:last-child > *:last-child { margin-bottom: 0; }

/* Sustainability "choices": uploaded icon instead of <i class="bi"> */
.icon-div .icon-img { display: block; width: 24px; height: 24px; object-fit: contain; margin-bottom: 14px; }

/* ---- language switcher dropdown ---- */
.header-links-c .language-drop i.bi { transition: transform .2s ease; }
.header-links-c .language-drop[aria-expanded="true"] i.bi { transform: rotate(180deg); }
.header-links-c .dropdown-menu {
    min-width: 0;
    width: 100%;
    padding: 0;
    margin-top: 6px !important;
    overflow: hidden;
    border: 1px solid var(--accents-1);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}
.header-links-c .dropdown-item {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    padding: 6px 10px;
    color: var(--main-brand);
    background: #fff;
}
.header-links-c .dropdown-item:hover,
.header-links-c .dropdown-item:focus { color: var(--main-brand); background: var(--accents-4); }
.header-links-c .dropdown-item.active,
.header-links-c .dropdown-item:active { color: #fff; background: var(--main-brand); }
