/*!
	Theme Name: building47 Canvas
	Theme URI: https://building47.com
	Description: Map Styles
	Author: building47
	Version: 2.2
	Author URI: https://building47.com
	Template: hello-elementor
*/

/* ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩ COUNTRY MAP ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩ */

/* ------------------------- COUNTRY MAP VARIABLES ------------------------- */

:root {
    /* --- Map --- */
    --b47-country-map-neutral:                      var(--b47-gray-300);
    --b47-inverse-country-map-neutral:              var(--b47-gray-700);
    --b47-country-map-restricted:                   var(--b47-primary-color);
    --b47-inverse-country-map-restricted:           var(--b47-inverse-primary-color);
    --b47-country-map-hostile:                      var(--b47-tertiary-color);
    --b47-inverse-country-map-hostile:              var(--b47-inverse-tertiary-color);
    --b47-country-map-monitored:                    var(--b47-secondary-color);
    --b47-inverse-country-map-monitored:            var(--b47-inverse-secondary-color);
    --b47-country-map-hover-mix:                    80%;
    --b47-country-map-border:                       var(--b47-neutral-background-color);
    --b47-inverse-country-map-border:               var(--b47-inverse-neutral-background-color);
    --b47-country-map-inset-bg:                     var(--b47-neutral-background-color);
    --b47-inverse-country-map-inset-bg:             var(--b47-inverse-neutral-background-color);
    --b47-country-map-inset-line:                   var(--b47-gray-500);
    --b47-inverse-country-map-inset-line:           var(--b47-gray-400);
    --b47-country-map-inset-line-width:             2px;
    --b47-country-map-focus:                        var(--b47-contrast-border-color);
    --b47-inverse-country-map-focus:                var(--b47-inverse-contrast-border-color);

    /* --- Tooltip --- */
    --b47-country-map-tooltip-width:                17.5rem;
    --b47-country-map-small-tooltip-width:          15rem;
    --b47-country-map-tooltip-radius:               var(--b47-radius-8);
    --b47-country-map-tooltip-shadow:               var(--b47-shadow-xxlarge);
    --b47-country-map-tooltip-image-ratio:          280 / 160;
    --b47-country-map-tooltip-padding:              var(--b47-spacing-16) var(--b47-spacing-20) var(--b47-spacing-20) var(--b47-spacing-20);
    --b47-country-map-tooltip-status-gap:           var(--b47-spacing-8);
    --b47-country-map-tooltip-title-gap:            var(--b47-spacing-4);
    --b47-country-map-tooltip-text-lines:           3;
    --b47-country-map-status-padding:               var(--b47-spacing-4) var(--b47-spacing-10);
    --b47-country-map-status-radius:                var(--b47-radius-max);

    /* --- Legend --- */
    --b47-country-map-legend-right:                 5.3%;
    --b47-country-map-legend-bottom:                var(--b47-spacing-24);
    --b47-country-map-legend-display:               grid;
    --b47-country-map-legend-lift:                  var(--b47-spacing-32);
    --b47-country-map-legend-padding:               var(--b47-spacing-8);
    --b47-country-map-legend-gap:                   var(--b47-spacing-8);
    --b47-country-map-legend-radius:                var(--b47-radius-16);
    --b47-country-map-legend-item-padding:          var(--b47-spacing-10) var(--b47-spacing-14);
    --b47-country-map-legend-item-gap:              var(--b47-spacing-8);
    --b47-country-map-legend-dot-size:              var(--b47-spacing-10);
    --b47-country-map-legend-count-gap:             var(--b47-spacing-6);
    --b47-country-map-legend-count-display:         inline;
    --b47-country-map-small-legend-padding:         var(--b47-spacing-6);
    --b47-country-map-small-legend-gap:             var(--b47-spacing-6);
    --b47-country-map-small-legend-item-padding:    var(--b47-spacing-6) var(--b47-spacing-10);
    --b47-country-map-small-legend-name-size:       0.75rem;
    --b47-country-map-small-legend-count-display:   none;

    /* --- Typography --- */
    --b47-country-map-status-family:                var(--b47-overline-family);
    --b47-country-map-status-size:                  0.625rem;
    --b47-country-map-status-weight:                var(--b47-overline-weight);
    --b47-country-map-status-line-height:           var(--b47-overline-line-height);
    --b47-country-map-status-letter-spacing:        var(--b47-overline-letter-spacing);
    --b47-country-map-status-transform:             var(--b47-text-transform-uppercase);
    --b47-country-map-title-family:                 var(--b47-body-small-family);
    --b47-country-map-title-size:                   var(--b47-body-small-size);
    --b47-country-map-title-weight:                 var(--b47-font-weight-normal);
    --b47-country-map-title-line-height:            var(--b47-body-small-line-height);
    --b47-country-map-title-letter-spacing:         var(--b47-body-small-letter-spacing);
    --b47-country-map-title-transform:              var(--b47-text-transform-none);
    --b47-country-map-text-family:                  var(--b47-body-tiny-family);
    --b47-country-map-text-size:                    var(--b47-body-tiny-size);
    --b47-country-map-text-weight:                  var(--b47-body-tiny-weight);
    --b47-country-map-text-line-height:             var(--b47-body-tiny-line-height);
    --b47-country-map-text-letter-spacing:          var(--b47-body-tiny-letter-spacing);
    --b47-country-map-text-transform:               var(--b47-text-transform-none);
    --b47-country-map-legend-name-family:           var(--b47-body-tiny-family);
    --b47-country-map-legend-name-size:             12px;
    --b47-country-map-legend-name-weight:           var(--b47-font-weight-medium);
    --b47-country-map-legend-name-line-height:      var(--b47-body-tiny-line-height);
    --b47-country-map-legend-name-letter-spacing:   var(--b47-body-tiny-letter-spacing);
    --b47-country-map-legend-name-transform:        var(--b47-text-transform-uppercase);
    --b47-country-map-legend-count-weight:          var(--b47-font-weight-normal);

    /* --- Colors --- */
    --b47-country-map-tooltip-bg:                   var(--b47-neutral-background-color);
    --b47-inverse-country-map-tooltip-bg:           var(--b47-inverse-neutral-background-color);
    --b47-country-map-tooltip-image-bg:             var(--b47-secondary-background-color);
    --b47-inverse-country-map-tooltip-image-bg:     var(--b47-inverse-secondary-background-color);
    --b47-country-map-tooltip-title-color:          var(--b47-heading-color);
    --b47-inverse-country-map-tooltip-title-color:  var(--b47-inverse-heading-color);
    --b47-country-map-tooltip-text-color:           var(--b47-secondary-text-color);
    --b47-inverse-country-map-tooltip-text-color:   var(--b47-inverse-secondary-text-color);
    --b47-country-map-restricted-text:              var(--b47-white);
    --b47-country-map-hostile-text:                 var(--b47-white);
    --b47-country-map-monitored-text:               var(--b47-gray-950);
    --b47-country-map-legend-bg:                    transparent;
    --b47-inverse-country-map-legend-bg:            transparent;
    --b47-country-map-legend-item-bg:               var(--b47-neutral-background-color);
    --b47-inverse-country-map-legend-item-bg:       var(--b47-inverse-neutral-background-color);
    --b47-country-map-legend-item-hover-bg:         var(--b47-white-background-color);
    --b47-country-map-legend-name-color:            var(--b47-heading-color);
    --b47-inverse-country-map-legend-name-color:    var(--b47-inverse-heading-color);
    --b47-country-map-legend-count-color:           var(--b47-secondary-text-color);
    --b47-inverse-country-map-legend-count-color:   var(--b47-inverse-secondary-text-color);
    --b47-country-map-legend-off-color:             var(--b47-gray-400);
    --b47-inverse-country-map-legend-off-color:     var(--b47-gray-500);

    /* --- Locator --- */
    --b47-country-locator-sea:                      var(--b47-secondary-background-color);
    --b47-inverse-country-locator-sea:              var(--b47-inverse-secondary-background-color);
    --b47-country-locator-land:                     var(--b47-gray-300);
    --b47-inverse-country-locator-land:             var(--b47-gray-700);
    --b47-country-locator-ocean:                    var(--b47-neutral-background-color);
    --b47-inverse-country-locator-ocean:            var(--b47-inverse-neutral-background-color);
    --b47-country-locator-border:                   var(--b47-neutral-background-color);
    --b47-inverse-country-locator-border:           var(--b47-inverse-neutral-background-color);
    --b47-country-locator-inset-line:               var(--b47-gray-500);
    --b47-country-locator-restricted:               var(--b47-primary-color);
    --b47-inverse-country-locator-restricted:       var(--b47-inverse-primary-color);
    --b47-country-locator-hostile:                  var(--b47-tertiary-color);
    --b47-inverse-country-locator-hostile:          var(--b47-inverse-tertiary-color);
    --b47-country-locator-monitored:                var(--b47-secondary-color);
    --b47-inverse-country-locator-monitored:        var(--b47-inverse-secondary-color);
    --b47-country-locator-current:                  var(--b47-country-locator-monitored);
    --b47-country-locator-pin:                      var(--b47-gray-950);
    --b47-inverse-country-locator-pin:              var(--b47-gray-950);
    --b47-country-locator-pin-outline:              var(--b47-white);
    --b47-country-locator-pin-outline-width:        3px;

    /* --- Status pill --- */
    --b47-country-status-padding:                   var(--b47-spacing-4) var(--b47-spacing-10);
    --b47-country-status-radius:                    var(--b47-radius-max);
    --b47-country-status-family:                    var(--b47-overline-family);
    --b47-country-status-size:                      var(--b47-overline-size);
    --b47-country-status-weight:                    var(--b47-overline-weight);
    --b47-country-status-line-height:               var(--b47-overline-line-height);
    --b47-country-status-letter-spacing:            var(--b47-overline-letter-spacing);
    --b47-country-status-transform:                 var(--b47-text-transform-uppercase);
    --b47-country-status-restricted-bg:             var(--b47-primary-color);
    --b47-country-status-restricted-text:           var(--b47-white);
    --b47-country-status-hostile-bg:                var(--b47-tertiary-color);
    --b47-country-status-hostile-text:              var(--b47-white);
    --b47-country-status-monitored-bg:              var(--b47-secondary-color);
    --b47-country-status-monitored-text:            var(--b47-gray-950);

    /* --- Country section --- */
    --b47-country-section-gap:                      var(--b47-spacing-12);
    --b47-country-section-title-family:             var(--b47-h3-family);
    --b47-country-section-title-size:               var(--b47-h3-size);
    --b47-country-section-title-weight:             var(--b47-h3-weight);
    --b47-country-section-title-line-height:        var(--b47-h3-line-height);
    --b47-country-section-title-letter-spacing:     var(--b47-h3-letter-spacing);
    --b47-country-section-title-color:              var(--b47-heading-color);
    --b47-inverse-country-section-title-color:      var(--b47-inverse-heading-color);

    /* --- Country more (cards with other countries from the continent) --- */
    --b47-country-more-columns:                     5;
    --b47-country-more-gap:                         var(--b47-spacing-24);
    --b47-country-more-radius:                      var(--b47-radius-16);
    --b47-country-more-min-height:                  17.5rem;
    --b47-country-more-image-ratio:                 280 / 160;
    --b47-country-more-padding:                     var(--b47-spacing-16) var(--b47-spacing-20) var(--b47-spacing-20) var(--b47-spacing-20);
    --b47-country-more-body-gap:                    var(--b47-spacing-8);
    --b47-country-more-status-size:                 0.625rem;
    --b47-country-more-title-gap:                   var(--b47-spacing-4);
    --b47-country-more-text-lines:                  3;
    --b47-country-more-title-family:                var(--b47-body-small-family);
    --b47-country-more-title-size:                  var(--b47-body-small-size);
    --b47-country-more-title-weight:                var(--b47-font-weight-normal);
    --b47-country-more-title-line-height:           var(--b47-body-small-line-height);
    --b47-country-more-title-letter-spacing:        var(--b47-body-small-letter-spacing);
    --b47-country-more-text-family:                 var(--b47-body-tiny-family);
    --b47-country-more-text-size:                   var(--b47-body-tiny-size);
    --b47-country-more-text-weight:                 var(--b47-body-tiny-weight);
    --b47-country-more-text-line-height:            var(--b47-body-tiny-line-height);
    --b47-country-more-text-letter-spacing:         var(--b47-body-tiny-letter-spacing);
    --b47-country-more-bg:                          var(--b47-neutral-background-color);
    --b47-inverse-country-more-bg:                  var(--b47-inverse-neutral-background-color);
    --b47-country-more-image-bg:                    var(--b47-secondary-background-color);
    --b47-inverse-country-more-image-bg:            var(--b47-inverse-secondary-background-color);
    --b47-country-more-title-color:                 var(--b47-heading-color);
    --b47-inverse-country-more-title-color:         var(--b47-inverse-heading-color);
    --b47-country-more-text-color:                  var(--b47-secondary-text-color);
    --b47-inverse-country-more-text-color:          var(--b47-inverse-secondary-text-color);
    --b47-country-more-focus:                       var(--b47-contrast-border-color);
    --b47-inverse-country-more-focus:               var(--b47-inverse-contrast-border-color);

    /* --- Country list --- */
    --b47-country-list-columns:                     4;
    --b47-country-list-column-width:                15rem;
    --b47-country-list-column-gap:                  var(--b47-spacing-32);
    --b47-country-list-frame-padding-x:             var(--b47-spacing-56);
    --b47-country-list-frame-padding-y:             2.875rem;
    --b47-country-list-item-gap:                    var(--b47-spacing-8);
    --b47-country-list-controls-gap:                var(--b47-spacing-8);
    --b47-country-list-controls-margin:             var(--b47-spacing-32);
    --b47-country-list-group-gap:                   var(--b47-spacing-32);
    --b47-country-list-heading-gap:                 var(--b47-spacing-12);
    --b47-country-list-count-gap:                   var(--b47-spacing-6);
    --b47-country-list-tab-family:                  var(--b47-country-list-link-family);
    --b47-country-list-tab-size:                    var(--b47-country-list-link-size);
    --b47-country-list-tab-weight:                  var(--b47-country-list-link-weight);
    --b47-country-list-tab-line-height:             var(--b47-country-list-link-line-height);
    --b47-country-list-tab-letter-spacing:          var(--b47-country-list-link-letter-spacing);
    --b47-country-list-tab-gap:                     var(--b47-spacing-20);
    --b47-country-list-tab-justify:                 flex-start;
    --b47-country-list-tab-line-color:              var(--b47-default-border-color);
    --b47-inverse-country-list-tab-line-color:      var(--b47-inverse-subtle-border-color);
    --b47-country-list-tab-line-color-active:       var(--b47-contrast-text-color);
    --b47-inverse-country-list-tab-line-color-active: var(--b47-inverse-contrast-text-color);
    --b47-country-list-link-family:                 var(--b47-body-small-family);
    --b47-country-list-link-size:                   var(--b47-body-small-size);
    --b47-country-list-link-weight:                 var(--b47-body-small-weight);
    --b47-country-list-link-line-height:            var(--b47-body-small-line-height);
    --b47-country-list-link-letter-spacing:         var(--b47-body-small-letter-spacing);
    --b47-country-list-link-color:                  var(--b47-secondary-text-color);
    --b47-inverse-country-list-link-color:          var(--b47-inverse-secondary-text-color);
    --b47-country-list-link-hover-decoration:       underline;
    --b47-country-list-link-hover-underline-offset: 4px;
    --b47-country-list-heading-family:              var(--b47-body-medium-family);
    --b47-country-list-heading-size:                var(--b47-body-medium-size);
    --b47-country-list-heading-weight:              var(--b47-font-weight-medium);
    --b47-country-list-heading-line-height:         var(--b47-body-medium-line-height);
    --b47-country-list-heading-letter-spacing:      var(--b47-body-medium-letter-spacing);
    --b47-country-list-heading-color:               var(--b47-heading-color);
    --b47-inverse-country-list-heading-color:       var(--b47-inverse-heading-color);
    --b47-country-list-count-display:               inline;
    --b47-country-list-count-family:                var(--b47-body-tiny-family);
    --b47-country-list-count-size:                  var(--b47-body-tiny-size);
    --b47-country-list-count-weight:                var(--b47-body-tiny-weight);
    --b47-country-list-count-line-height:           var(--b47-body-tiny-line-height);
    --b47-country-list-count-letter-spacing:        var(--b47-body-tiny-letter-spacing);
    --b47-country-list-count-color:                 var(--b47-secondary-text-color);
    --b47-inverse-country-list-count-color:         var(--b47-inverse-secondary-text-color);

    /* --- Country search --- */
    --b47-country-search-width:                     17.5rem;
    --b47-country-search-placeholder-color:         var(--b47-category-tabs-color);
    --b47-inverse-country-search-placeholder-color: var(--b47-category-tabs-inverse-color);
    --b47-country-search-text-color:                var(--b47-category-tabs-color-active);
    --b47-inverse-country-search-text-color:        var(--b47-category-tabs-inverse-color-active);
    --b47-country-search-family:                    var(--b47-body-tiny-family);
    --b47-country-search-size:                      var(--b47-body-tiny-size);
    --b47-country-search-weight:                    var(--b47-body-tiny-weight);
    --b47-country-search-line-height:               var(--b47-body-tiny-line-height);
    --b47-country-search-letter-spacing:            var(--b47-body-tiny-letter-spacing);

    /* --- Country page layout (same gap as the single post) --- */
    --b47-country-layout-gap:                       100px;

    /* --- Country card (the blocks inside .page-cards) --- */
    --b47-country-block-bg:                         var(--b47-neutral-background-color);
    --b47-inverse-country-block-bg:                 var(--b47-inverse-neutral-background-color);
    --b47-country-block-padding:                    var(--b47-spacing-24);
    --b47-country-block-radius:                     var(--b47-radius-24);
}

/* --- Responsive --- */

@media only screen and (max-width: 1440px) {
    :root {
        --b47-country-layout-gap:                   var(--b47-spacing-80);
    }
}

@media only screen and (max-width: 1200px) {
    :root {
        --b47-country-layout-gap:                   var(--b47-spacing-64);
    }
}

@media only screen and (max-width: 1024px) {
    :root {
        --b47-country-layout-gap:                   var(--b47-padding-section-medium);
        --b47-country-list-columns:                 3;
        --b47-country-more-columns:                 2;
        --b47-country-map-legend-bottom:            var(--b47-spacing-8);
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --b47-country-more-columns:                 1;
        --b47-country-list-columns:                 2;
        --b47-country-list-column-gap:              var(--b47-spacing-40);
        --b47-country-list-frame-padding-x:         var(--b47-spacing-24);
        --b47-country-list-frame-padding-y:         var(--b47-spacing-16);
        --b47-country-list-tab-family:              var(--b47-body-tiny-family);
        --b47-country-list-tab-size:                var(--b47-body-tiny-size);
        --b47-country-list-tab-weight:              var(--b47-body-tiny-weight);
        --b47-country-list-tab-line-height:         var(--b47-body-tiny-line-height);
        --b47-country-list-tab-letter-spacing:      var(--b47-body-tiny-letter-spacing);
        --b47-country-list-tab-gap:                 var(--b47-spacing-8);
        --b47-country-list-count-display:           none;
        --b47-country-list-tab-justify:             space-between;
        --b47-country-more-gap:                     var(--b47-spacing-32);
        --b47-country-block-padding:                var(--b47-spacing-16);
        --b47-country-block-radius:                 var(--b47-radius-16);
        --b47-country-map-legend-gap:               var(--b47-spacing-6);
        --b47-country-map-legend-display:           grid;
        --b47-country-map-legend-item-padding:      var(--b47-spacing-6) var(--b47-spacing-10);
        --b47-country-map-legend-name-size:         var(--b47-spacing-10);
        --b47-country-map-legend-count-display:     none;
        --b47-country-map-legend-mobile-top:        0;
        --b47-country-map-legend-dot-size:          var(--b47-spacing-8);
    }
}

/* -------------------------- COUNTRY MAP CLASSES -------------------------- */

/* --- Map --- */

.elementor-widget-shortcode:has(.country-map) {
    width:                                          100%;
}
.country-map {
    position:                                       relative;
    width:                                          100%;
}
.country-map_svg {
    display:                                        block;
    width:                                          100%;
    height:                                         auto;
}
.country-map_land,
.country-map_country path {
    fill:                                           var(--b47-country-map-neutral);
}
.country-map_ocean {
    fill:                                           var(--b47-country-map-inset-bg);
}
.country-map_borders {
    fill:                                           var(--b47-country-map-border);
}
.country-map_inset-border {
    fill:                                           none;
    stroke:                                         var(--b47-country-map-inset-line);
    stroke-width:                                   var(--b47-country-map-inset-line-width);
    vector-effect:                                  non-scaling-stroke;
}

/* --- Countries --- */

.country-map_country path {
    transition:                                     fill var(--b47-transition-fast);
    vector-effect:                                  non-scaling-stroke;
}
.country-map_country.is-restricted path {
    fill:                                           var(--b47-country-map-restricted);
}
.country-map_country.is-hostile path {
    fill:                                           var(--b47-country-map-hostile);
}
.country-map_country.is-monitored path {
    fill:                                           var(--b47-country-map-monitored);
}
.country-map_country.is-restricted:hover path,
.country-map_country.is-restricted:focus-visible path {
    fill:                                           color-mix(in srgb, var(--b47-country-map-restricted) var(--b47-country-map-hover-mix), var(--b47-black));
}
.country-map_country.is-hostile:hover path,
.country-map_country.is-hostile:focus-visible path {
    fill:                                           color-mix(in srgb, var(--b47-country-map-hostile) var(--b47-country-map-hover-mix), var(--b47-black));
}
.country-map_country.is-monitored:hover path,
.country-map_country.is-monitored:focus-visible path {
    fill:                                           color-mix(in srgb, var(--b47-country-map-monitored) var(--b47-country-map-hover-mix), var(--b47-black));
}
.country-map_country:focus-visible path {
    stroke:                                         var(--b47-country-map-focus);
    stroke-width:                                   1px;
    stroke-linejoin:                                round;
}
.country-map_country.is-filtered {
    pointer-events:                                 none;
}
.country-map_country.is-filtered path {
    fill:                                           var(--b47-country-map-neutral);
}

/* --- Tooltip --- */

.country-map_tooltip {
    position:                                       absolute;
    top:                                            0;
    left:                                           0;
    z-index:                                        var(--b47-z-top);
    width:                                          var(--b47-country-map-tooltip-width);
    max-width:                                      calc(100% - 1rem);
    overflow:                                       hidden;
    border-radius:                                  var(--b47-country-map-tooltip-radius);
    background-color:                               var(--b47-country-map-tooltip-bg);
    box-shadow:                                     var(--b47-country-map-tooltip-shadow);
    pointer-events:                                 none;
}
.country-map.is-small .country-map_tooltip {
    width:                                          var(--b47-country-map-small-tooltip-width);
}
.country-map_tooltip-image {
    display:                                        block;
    width:                                          100%;
    aspect-ratio:                                   var(--b47-country-map-tooltip-image-ratio);
    object-fit:                                     cover;
    background-color:                               var(--b47-country-map-tooltip-image-bg);
}
.country-map_tooltip-image[hidden] {
    display:                                        none;
}
.country-map_tooltip-locator {
    aspect-ratio:                                   var(--b47-country-map-tooltip-image-ratio);
}
.country-map_tooltip-locator[hidden] {
    display:                                        none;
}
.country-map_tooltip-locator .country-locator_svg {
    height:                                         100%;
}
.country-map_tooltip-body {
    display:                                        flex;
    flex-direction:                                 column;
    align-items:                                    flex-start;
    padding:                                        var(--b47-country-map-tooltip-padding);
}
.country-map_tooltip-status {
    margin-bottom:                                  var(--b47-country-map-tooltip-status-gap);
    padding:                                        var(--b47-country-map-status-padding);
    border-radius:                                  var(--b47-country-map-status-radius);
    font-family:                                    var(--b47-country-map-status-family);
    font-size:                                      var(--b47-country-map-status-size);
    font-weight:                                    var(--b47-country-map-status-weight);
    line-height:                                    var(--b47-country-map-status-line-height);
    letter-spacing:                                 var(--b47-country-map-status-letter-spacing);
    text-transform:                                 var(--b47-country-map-status-transform);
}
.country-map_tooltip.is-restricted .country-map_tooltip-status {
    background-color:                               var(--b47-country-map-restricted);
    color:                                          var(--b47-country-map-restricted-text);
}
.country-map_tooltip.is-hostile .country-map_tooltip-status {
    background-color:                               var(--b47-country-map-hostile);
    color:                                          var(--b47-country-map-hostile-text);
}
.country-map_tooltip.is-monitored .country-map_tooltip-status {
    background-color:                               var(--b47-country-map-monitored);
    color:                                          var(--b47-country-map-monitored-text);
}
.country-map_tooltip-title {
    margin:                                         0 0 var(--b47-country-map-tooltip-title-gap) 0;
    font-family:                                    var(--b47-country-map-title-family);
    font-size:                                      var(--b47-country-map-title-size);
    font-weight:                                    var(--b47-country-map-title-weight);
    line-height:                                    var(--b47-country-map-title-line-height);
    letter-spacing:                                 var(--b47-country-map-title-letter-spacing);
    text-transform:                                 var(--b47-country-map-title-transform);
    color:                                          var(--b47-country-map-tooltip-title-color);
}
.country-map_tooltip-text {
    display:                                        -webkit-box;
    margin:                                         0;
    overflow:                                       hidden;
    -webkit-box-orient:                             vertical;
    -webkit-line-clamp:                             var(--b47-country-map-tooltip-text-lines);
    line-clamp:                                     var(--b47-country-map-tooltip-text-lines);
    font-family:                                    var(--b47-country-map-text-family);
    font-size:                                      var(--b47-country-map-text-size);
    font-weight:                                    var(--b47-country-map-text-weight);
    line-height:                                    var(--b47-country-map-text-line-height);
    letter-spacing:                                 var(--b47-country-map-text-letter-spacing);
    text-transform:                                 var(--b47-country-map-text-transform);
    color:                                          var(--b47-country-map-tooltip-text-color);
}
.country-map_tooltip-text[hidden] {
    display:                                        none;
}

/* --- Legend --- */

.country-map_legend {
    position:                                       absolute;
    right:                                          calc(var(--b47-country-map-legend-right) - var(--b47-country-map-legend-padding));
    bottom:                                         calc(var(--b47-country-map-legend-bottom) + var(--b47-country-map-legend-lift) - var(--b47-country-map-legend-padding));
    z-index:                                        var(--b47-z-above);
    display:                                        var(--b47-country-map-legend-display);
    grid-auto-flow:                                 column;
    grid-auto-columns:                              1fr;
    gap:                                            var(--b47-country-map-legend-gap);
    margin:                                         0;
    padding:                                        var(--b47-country-map-legend-padding);
    list-style:                                     none;
    border-radius:                                  var(--b47-country-map-legend-radius);
    background-color:                               var(--b47-country-map-legend-bg);
}
.country-map_legend li {
    margin:                                         0;
    padding:                                        0;
}
.country-map.is-small .country-map_legend {
    right:                                          calc(var(--b47-country-map-legend-right) - var(--b47-country-map-small-legend-padding));
    bottom:                                         calc(var(--b47-country-map-legend-bottom) + var(--b47-country-map-legend-lift) - var(--b47-country-map-small-legend-padding));
    gap:                                            var(--b47-country-map-small-legend-gap);
    padding:                                        var(--b47-country-map-small-legend-padding);
}
button.country-map_legend-item {
    display:                                        flex;
    align-items:                                    center;
    justify-content:                                space-between;
    gap:                                            var(--b47-country-map-legend-item-gap);
    width:                                          100%;
    min-width:                                      0;
    margin:                                         0;
    padding:                                        var(--b47-country-map-legend-item-padding);
    border:                                         var(--b47-border-width) solid var(--b47-country-map-neutral);
    border-radius:                                  var(--b47-radius-max);
    background-color:                               var(--b47-country-map-legend-item-bg);
    box-shadow:                                     none;
    cursor:                                         pointer;
    font-family:                                    var(--b47-country-map-legend-name-family);
    font-size:                                      var(--b47-country-map-legend-name-size);
    font-weight:                                    var(--b47-country-map-legend-name-weight);
    line-height:                                    var(--b47-country-map-legend-name-line-height);
    letter-spacing:                                 var(--b47-country-map-legend-name-letter-spacing);
    text-transform:                                 var(--b47-country-map-legend-name-transform);
    color:                                          var(--b47-country-map-legend-name-color);
    transition:                                     background-color var(--b47-transition-fast), border-color var(--b47-transition-fast), color var(--b47-transition-fast);
}
.country-map.is-small button.country-map_legend-item {
    padding:                                        var(--b47-country-map-small-legend-item-padding);
    font-size:                                      var(--b47-country-map-small-legend-name-size);
}
button.country-map_legend-item:hover,
button.country-map_legend-item:focus {
    background-color:                               var(--b47-country-map-legend-item-hover-bg);
    color:                                          var(--b47-country-map-legend-name-color);
}
button.country-map_legend-item:focus-visible {
    outline:                                        2px solid var(--b47-country-map-focus);
    outline-offset:                                 2px;
}
.country-map_legend-dot {
    flex-shrink:                                    0;
    width:                                          var(--b47-country-map-legend-dot-size);
    height:                                         var(--b47-country-map-legend-dot-size);
    border:                                         var(--b47-border-width) solid var(--b47-country-map-neutral);
    border-radius:                                  50%;
}
.country-map_legend-name {
    margin-right:                                   auto;
    white-space:                                    nowrap;
}
.country-map_legend-count {
    display:                                        var(--b47-country-map-legend-count-display);
    margin-left:                                    var(--b47-country-map-legend-count-gap);
    font-weight:                                    var(--b47-country-map-legend-count-weight);
    font-variant-numeric:                           tabular-nums;
    color:                                          var(--b47-country-map-legend-count-color);
}
.country-map.is-small .country-map_legend-count {
    display:                                        var(--b47-country-map-small-legend-count-display);
}
.country-map_legend-item.is-restricted {
    border-color:                                   var(--b47-country-map-restricted);
}
.country-map_legend-item.is-hostile {
    border-color:                                   var(--b47-country-map-hostile);
}
.country-map_legend-item.is-monitored {
    border-color:                                   var(--b47-country-map-monitored);
}
.country-map_legend-item.is-restricted .country-map_legend-dot {
    border-color:                                   var(--b47-country-map-restricted);
    background-color:                               var(--b47-country-map-restricted);
}
.country-map_legend-item.is-hostile .country-map_legend-dot {
    border-color:                                   var(--b47-country-map-hostile);
    background-color:                               var(--b47-country-map-hostile);
}
.country-map_legend-item.is-monitored .country-map_legend-dot {
    border-color:                                   var(--b47-country-map-monitored);
    background-color:                               var(--b47-country-map-monitored);
}
.country-map_legend-item[aria-pressed="false"] {
    border-color:                                   var(--b47-country-map-legend-off-color);
    color:                                          var(--b47-country-map-legend-off-color);
}
.country-map_legend-item[aria-pressed="false"] .country-map_legend-name,
.country-map_legend-item[aria-pressed="false"] .country-map_legend-count {
    color:                                          var(--b47-country-map-legend-off-color);
}
.country-map_legend-item[aria-pressed="false"] .country-map_legend-dot {
    background-color:                               transparent;
}

/* --- Responsive (the legend leaves the map and sits centred under it on phones only; tablet keeps the desktop place) --- */

@media only screen and (max-width: 599px) {
    .country-map_legend,
    .country-map.is-small .country-map_legend {
        position:                                   static;
        width:                                      fit-content;
        margin-top:                                 var(--b47-country-map-legend-mobile-top);
        margin-right:                               auto;
        margin-left:                                auto;
        padding:                                    0;
        background-color:                           transparent;
    }
}
@media (hover: none) {
    .country-map_tooltip {
        display:                                    none;
    }
}

/* --- Locator --- */

.elementor-widget-shortcode:has(.country-locator) {
    width:                                          100%;
}
.country-locator {
    width:                                          100%;
    overflow:                                       hidden;
}
.country-locator.is-restricted {
    --b47-country-locator-current:                  var(--b47-country-locator-restricted);
}
.country-locator.is-hostile {
    --b47-country-locator-current:                  var(--b47-country-locator-hostile);
}
.country-locator.is-monitored {
    --b47-country-locator-current:                  var(--b47-country-locator-monitored);
}
.country-locator_svg {
    display:                                        block;
    width:                                          100%;
    height:                                         auto;
}
.country-locator_sea {
    fill:                                           var(--b47-country-locator-sea);
}
.country-locator_ocean {
    fill:                                           var(--b47-country-locator-ocean);
}
.country-locator_land path {
    fill:                                           var(--b47-country-locator-land);
}
.country-locator_target path {
    fill:                                           var(--b47-country-locator-current);
}
.country-locator_borders {
    fill:                                           var(--b47-country-locator-border);
}
.country-locator_inset-border {
    fill:                                           none;
    stroke:                                         var(--b47-country-locator-inset-line);
    stroke-width:                                   2px;
    vector-effect:                                  non-scaling-stroke;
}
.country-locator_pin path {
    fill:                                           var(--b47-country-locator-pin);
    stroke:                                         var(--b47-country-locator-pin-outline);
    stroke-width:                                   var(--b47-country-locator-pin-outline-width);
    paint-order:                                    stroke;
    vector-effect:                                  non-scaling-stroke;
}
.country-locator_pin circle {
    fill:                                           var(--b47-country-locator-current);
}

/* --- Status pill --- */

.country-status {
    display:                                        inline-flex;
    align-items:                                    center;
    padding:                                        var(--b47-country-status-padding);
    border-radius:                                  var(--b47-country-status-radius);
    font-family:                                    var(--b47-country-status-family);
    font-size:                                      var(--b47-country-status-size);
    font-weight:                                    var(--b47-country-status-weight);
    line-height:                                    var(--b47-country-status-line-height);
    letter-spacing:                                 var(--b47-country-status-letter-spacing);
    text-transform:                                 var(--b47-country-status-transform);
}
.country-status.is-restricted {
    background-color:                               var(--b47-country-status-restricted-bg);
    color:                                          var(--b47-country-status-restricted-text);
}
.country-status.is-hostile {
    background-color:                               var(--b47-country-status-hostile-bg);
    color:                                          var(--b47-country-status-hostile-text);
}
.country-status.is-monitored {
    background-color:                               var(--b47-country-status-monitored-bg);
    color:                                          var(--b47-country-status-monitored-text);
}

/* --- Country section --- */

.country-section_title {
    margin:                                         0 0 var(--b47-country-section-gap) 0;
    font-family:                                    var(--b47-country-section-title-family);
    font-size:                                      var(--b47-country-section-title-size);
    font-weight:                                    var(--b47-country-section-title-weight);
    line-height:                                    var(--b47-country-section-title-line-height);
    letter-spacing:                                 var(--b47-country-section-title-letter-spacing);
    color:                                          var(--b47-country-section-title-color);
}
/* Template containers that hold a country section: hidden when the page has no text for it */
.country_block:not(:has(.country-section, .country-more)) {
    display:                                        none;
}
/* --- Country list --- */
.country-list_controls {
    display:                                        flex;
    flex-wrap:                                      wrap;
    gap:                                            var(--b47-country-list-controls-gap);
    margin-bottom:                                  var(--b47-country-list-controls-margin);
}
.country-list_controls .category-tabs {
    width:                                          100%;
}
.country-list_controls .category-tabs.is-line .category-tabs_list {
    gap:                                            var(--b47-country-list-tab-gap);
    justify-content:                                var(--b47-country-list-tab-justify);
    border-bottom:                                  1px solid var(--b47-country-list-tab-line-color);
}
.country-list_controls .category-tabs_item {
    border:                                         0;
    font-family:                                    var(--b47-country-list-tab-family);
    font-size:                                      var(--b47-country-list-tab-size);
    font-weight:                                    var(--b47-country-list-tab-weight);
    line-height:                                    var(--b47-country-list-tab-line-height);
    letter-spacing:                                 var(--b47-country-list-tab-letter-spacing);
    cursor:                                         pointer;
}
.country-list_controls .category-tabs.is-line .category-tabs_item::after {
    background-color:                               transparent;
}
.country-list_controls .category-tabs.is-line .category-tabs_item.is-active::after {
    background-color:                               var(--b47-country-list-tab-line-color-active);
}
.country-list_empty {
    margin:                                         0;
    font-family:                                    var(--b47-country-list-link-family);
    font-size:                                      var(--b47-country-list-link-size);
    font-weight:                                    var(--b47-country-list-link-weight);
    line-height:                                    var(--b47-country-list-link-line-height);
    letter-spacing:                                 var(--b47-country-list-link-letter-spacing);
    color:                                          var(--b47-country-list-link-color);
}
.country-list_items {
    margin:                                         0;
    padding:                                        0;
    column-count:                                   var(--b47-country-list-columns);
    column-gap:                                     max(var(--b47-country-list-column-gap), calc((100% - var(--b47-country-list-columns) * var(--b47-country-list-column-width)) / (var(--b47-country-list-columns) - 1)));
    list-style:                                     none;
}
.country-list_item {
    margin:                                         0;
    padding:                                        0 0 var(--b47-country-list-item-gap) 0;
    break-inside:                                   avoid;
}
.country-list_link {
    font-family:                                    var(--b47-country-list-link-family);
    font-size:                                      var(--b47-country-list-link-size);
    font-weight:                                    var(--b47-country-list-link-weight);
    line-height:                                    var(--b47-country-list-link-line-height);
    letter-spacing:                                 var(--b47-country-list-link-letter-spacing);
    color:                                          var(--b47-country-list-link-color);
    text-decoration:                                none;
}
.country-list_link:is(:hover, :focus-visible) {
    text-decoration:                                var(--b47-country-list-link-hover-decoration);
    text-underline-offset:                          var(--b47-country-list-link-hover-underline-offset);
}
.country-list_heading {
    margin:                                         var(--b47-country-list-group-gap) 0 var(--b47-country-list-heading-gap) 0;
    padding:                                        0;
    break-after:                                    avoid;
    break-inside:                                   avoid;
}
.country-list_heading.is-first-group {
    margin-top:                                     0;
}
.country-list_heading-title {
    margin:                                         0;
    font-family:                                    var(--b47-country-list-heading-family);
    font-size:                                      var(--b47-country-list-heading-size);
    font-weight:                                    var(--b47-country-list-heading-weight);
    line-height:                                    var(--b47-country-list-heading-line-height);
    letter-spacing:                                 var(--b47-country-list-heading-letter-spacing);
    color:                                          var(--b47-country-list-heading-color);
}
.country-list_count {
    display:                                        var(--b47-country-list-count-display);
    margin-left:                                    var(--b47-country-list-count-gap);
    font-family:                                    var(--b47-country-list-count-family);
    font-size:                                      var(--b47-country-list-count-size);
    font-weight:                                    var(--b47-country-list-count-weight);
    line-height:                                    var(--b47-country-list-count-line-height);
    letter-spacing:                                 var(--b47-country-list-count-letter-spacing);
    color:                                          var(--b47-country-list-count-color);
}

/* --- Country list frame (same padding all around, mirrors .card-frame) --- */
.list-frame .content_wrapper {
    padding:                                        var(--b47-country-list-frame-padding-y) var(--b47-country-list-frame-padding-x);
}

/* --- Country search (the look comes from .native-search) --- */
.country-search {
    width:                                          var(--b47-country-search-width);
    max-width:                                      100%;
    --b47-search-family:                            var(--b47-country-search-family);
    --b47-search-size:                              var(--b47-country-search-size);
    --b47-search-weight:                            var(--b47-country-search-weight);
    --b47-search-line-height:                       var(--b47-country-search-line-height);
    --b47-search-letter-spacing:                    var(--b47-country-search-letter-spacing);
    --b47-search-icon-tilt:                         none;
    --b47-search-field-line-color-hover:            var(--b47-search-field-line-color);
    --b47-search-field-line-color-hover-dark:       var(--b47-search-field-line-color-dark);
}
.country-search.native-search .native-search_input {
    color:                                          var(--b47-country-search-text-color) !important;
}
.country-search.native-search .native-search_input::placeholder {
    color:                                          var(--b47-country-search-placeholder-color) !important;
}
.country-search.native-search .native-search_submit {
    color:                                          var(--b47-country-search-placeholder-color) !important;
}
.country-search.native-search:focus-within .native-search_submit,
.country-search.native-search:has(.native-search_input:not(:placeholder-shown)) .native-search_submit {
    color:                                          var(--b47-country-search-text-color) !important;
}
.country-search.native-search.is-underline:not(.is-toggle):focus-within {
    padding-left:                                   var(--b47-search-field-padding-x);
    padding-right:                                  var(--b47-search-field-padding-x);
    background-color:                               transparent;
}
.country-search.native-search.is-underline:not(.is-toggle):focus-within::after {
    background-color:                               var(--b47-search-field-line-color);
}

/* --- Country more --- */
.elementor-widget-shortcode:has(.country-more) {
    width:                                          100%;
}
.country-more {
    display:                                        grid;
    grid-template-columns:                          repeat(var(--b47-country-more-columns), minmax(0, 1fr));
    gap:                                            var(--b47-country-more-gap);
}
.country-more_card {
    display:                                        flex;
    flex-direction:                                 column;
    min-height:                                     var(--b47-country-more-min-height);
    overflow:                                       hidden;
    border-radius:                                  var(--b47-country-more-radius);
    background-color:                               var(--b47-country-more-bg);
    color:                                          inherit;
    text-decoration:                                none;
}
.country-more_card:focus-visible {
    outline:                                        2px solid var(--b47-country-more-focus);
    outline-offset:                                 2px;
}
.country-more_image {
    display:                                        block;
    width:                                          100%;
    aspect-ratio:                                   var(--b47-country-more-image-ratio);
    object-fit:                                     cover;
    background-color:                               var(--b47-country-more-image-bg);
}
.country-more_image .country-locator_svg {
    height:                                         100%;
}
.country-more_card .country-status {
    font-size:                                      var(--b47-country-more-status-size);
}
.country-more_body {
    display:                                        flex;
    flex:                                           1 1 auto;
    flex-direction:                                 column;
    align-items:                                    flex-start;
    justify-content:                                space-between;
    gap:                                            var(--b47-country-more-body-gap);
    padding:                                        var(--b47-country-more-padding);
}
.country-more_text {
    align-self:                                     stretch;
    min-width:                                      0;
    display:                                        flex;
    flex-direction:                                 column;
    gap:                                            var(--b47-country-more-title-gap);
    margin-top:                                     auto;
}
.country-more_title {
    display:                                        block;
    max-width:                                      100%;
    overflow:                                       hidden;
    text-overflow:                                  ellipsis;
    white-space:                                    nowrap;
    font-family:                                    var(--b47-country-more-title-family);
    font-size:                                      var(--b47-country-more-title-size);
    font-weight:                                    var(--b47-country-more-title-weight);
    line-height:                                    var(--b47-country-more-title-line-height);
    letter-spacing:                                 var(--b47-country-more-title-letter-spacing);
    color:                                          var(--b47-country-more-title-color);
}
.country-more_excerpt {
    display:                                        -webkit-box;
    overflow:                                       hidden;
    -webkit-box-orient:                             vertical;
    -webkit-line-clamp:                             var(--b47-country-more-text-lines);
    line-clamp:                                     var(--b47-country-more-text-lines);
    font-family:                                    var(--b47-country-more-text-family);
    font-size:                                      var(--b47-country-more-text-size);
    font-weight:                                    var(--b47-country-more-text-weight);
    line-height:                                    var(--b47-country-more-text-line-height);
    letter-spacing:                                 var(--b47-country-more-text-letter-spacing);
    color:                                          var(--b47-country-more-text-color);
}

/* Tablet shows 4 cards (2 x 2); desktop and mobile show all 5 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .country-more_card:nth-child(n+5) {
        display:                                    none;
    }
}

/* --- Layout and block --- */
.country_content > .e-con-inner,
.country_content.e-con-full {
    gap:                                            var(--b47-country-layout-gap) !important;
}
.page-cards > .country_block {
    padding:                                        var(--b47-country-block-padding);
    border-radius:                                  var(--b47-country-block-radius);
    background-color:                               var(--b47-country-block-bg);
}

.country-section_body > :first-child {
    margin-top:                                     0;
}
.country-section_body > :last-child {
    margin-bottom:                                  0;
}

/* --- Inverse mode --- */

.inverse-mode .country-map,
.inverse-mode.country-map {
    --b47-country-map-neutral:                      var(--b47-inverse-country-map-neutral);
    --b47-country-map-restricted:                   var(--b47-inverse-country-map-restricted);
    --b47-country-map-hostile:                      var(--b47-inverse-country-map-hostile);
    --b47-country-map-monitored:                    var(--b47-inverse-country-map-monitored);
    --b47-country-map-border:                       var(--b47-inverse-country-map-border);
    --b47-country-map-inset-bg:                     var(--b47-inverse-country-map-inset-bg);
    --b47-country-map-inset-line:                   var(--b47-inverse-country-map-inset-line);
    --b47-country-map-focus:                        var(--b47-inverse-country-map-focus);
    --b47-country-map-tooltip-bg:                   var(--b47-inverse-country-map-tooltip-bg);
    --b47-country-map-tooltip-image-bg:             var(--b47-inverse-country-map-tooltip-image-bg);
    --b47-country-map-tooltip-title-color:          var(--b47-inverse-country-map-tooltip-title-color);
    --b47-country-map-tooltip-text-color:           var(--b47-inverse-country-map-tooltip-text-color);
    --b47-country-map-legend-bg:                    var(--b47-inverse-country-map-legend-bg);
    --b47-country-map-legend-item-bg:               var(--b47-inverse-country-map-legend-item-bg);
    --b47-country-map-legend-name-color:            var(--b47-inverse-country-map-legend-name-color);
    --b47-country-map-legend-count-color:           var(--b47-inverse-country-map-legend-count-color);
    --b47-country-map-legend-off-color:             var(--b47-inverse-country-map-legend-off-color);
}

.inverse-mode .country-locator,
.inverse-mode.country-locator {
    --b47-country-locator-sea:                      var(--b47-inverse-country-locator-sea);
    --b47-country-locator-land:                     var(--b47-inverse-country-locator-land);
    --b47-country-locator-ocean:                    var(--b47-inverse-country-locator-ocean);
    --b47-country-locator-border:                   var(--b47-inverse-country-locator-border);
    --b47-country-locator-restricted:               var(--b47-inverse-country-locator-restricted);
    --b47-country-locator-hostile:                  var(--b47-inverse-country-locator-hostile);
    --b47-country-locator-monitored:                var(--b47-inverse-country-locator-monitored);
    --b47-country-locator-pin:                      var(--b47-inverse-country-locator-pin);
}

.inverse-mode .page-cards > .country_block,
.inverse-mode.page-cards > .country_block {
    --b47-country-block-bg:                         var(--b47-inverse-country-block-bg);
}

.inverse-mode .country-list,
.inverse-mode.country-list {
    --b47-country-list-tab-line-color:              var(--b47-inverse-country-list-tab-line-color);
    --b47-country-list-tab-line-color-active:       var(--b47-inverse-country-list-tab-line-color-active);
    --b47-country-list-link-color:                  var(--b47-inverse-country-list-link-color);
    --b47-country-list-heading-color:               var(--b47-inverse-country-list-heading-color);
    --b47-country-list-count-color:                 var(--b47-inverse-country-list-count-color);
}

.inverse-mode .country-search,
.inverse-mode.country-search {
    --b47-country-search-placeholder-color:         var(--b47-inverse-country-search-placeholder-color);
    --b47-country-search-text-color:                var(--b47-inverse-country-search-text-color);
}
.inverse-mode .country-more,
.inverse-mode.country-more {
    --b47-country-more-bg:                          var(--b47-inverse-country-more-bg);
    --b47-country-more-image-bg:                    var(--b47-inverse-country-more-image-bg);
    --b47-country-more-title-color:                 var(--b47-inverse-country-more-title-color);
    --b47-country-more-text-color:                  var(--b47-inverse-country-more-text-color);
    --b47-country-more-focus:                       var(--b47-inverse-country-more-focus);
}

.inverse-mode .country-section,
.inverse-mode.country-section {
    --b47-country-section-title-color:              var(--b47-inverse-country-section-title-color);
}
