/* ==========================================================================
   Hero alignment and interaction refinements
   Reusable bilingual component behavior.
   ========================================================================== */

.msdl-espa-banner{
	display: none !important;
}
/* Footer links: color accent only, no decorative underline. */
body.msdl-ui .msdl-footer-list a::after,
body.msdl-ui .msdl-footer-bottom a::after {
    display: none;
}
body.msdl-ui .msdl-footer-list a:hover,
body.msdl-ui .msdl-footer-list a:focus-visible,
body.msdl-ui .msdl-footer-bottom a:hover,
body.msdl-ui .msdl-footer-bottom a:focus-visible {
    color: var(--msdl-red);
    transform: translateX(2px);
}

/* The earlier corner-draw experiment is disabled; the current Gallery hover
   treatment uses elevation plus the circular action icon only. */
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::before,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::after {
    display: none;
}

/* Carousel: slightly smaller headings and a more intentional technical media frame. */
body.msdl-ui .msdl-home-slide-title {
    font-size: clamp(32px, 3.65vw, 56px);
    line-height: 1.01;
}
body.msdl-ui .msdl-home-slide-image {
    padding: clamp(20px, 2vw, 30px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        linear-gradient(145deg, #dfe5e9 0%, #eef2f4 58%, #d7dee3 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.65),
        inset 0 0 0 1px rgba(17,28,37,.04),
        0 8px 20px rgba(5,15,24,.14),
        0 28px 68px rgba(5,15,24,.26);
}
body.msdl-ui .msdl-home-slide-image.msdl-image-light-source {
    background:
        linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)),
        linear-gradient(145deg, #d8e0e4 0%, #eef2f4 52%, #d3dce1 100%);
}

/* Language switch flags are rendered from the server-assigned target-language class. */
body.msdl-ui .main-navigation .msdl-language-switch > a {
    gap: 8px;
    padding-inline: 12px 14px;
}
body.msdl-ui .main-navigation .msdl-language-switch > a::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 12px;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}
body.msdl-ui .main-navigation .msdl-language-switch > a.msdl-lang-en::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23C8102E' stroke-width='8'/%3E%3C/svg%3E");
}

/* Home shortcut cards: ensure the action cards always read as premium buttons. */
body.msdl-ui .msdl-home-actions > .wp-block-column {
    box-shadow: 0 4px 10px rgba(15,29,40,.09), 0 20px 48px rgba(15,29,40,.19);
}
body.msdl-ui .msdl-home-actions > .wp-block-column:hover,
body.msdl-ui .msdl-home-actions > .wp-block-column:focus-within {
    box-shadow: 0 8px 18px rgba(15,29,40,.12), 0 30px 64px rgba(15,29,40,.24);
}

@media (max-width: 768px) {
    body.msdl-ui .msdl-home-slide-title {
        font-size: clamp(26px, 7.4vw, 36px);
    }

    body.msdl-ui .msdl-home-slide-image {
        padding: 16px;
        border-radius: 18px;
    }
}

/* ==========================================================================
   Bilingual Company hero parity and framed-site geometry
   ========================================================================== */

/* Company and Contact title panels follow the same OUTER horizontal frame as
   the dark navbar surface. Do not cap these panels to the 1280px inner content
   shell: on wide screens that was the regression that made them look narrow. */
body.msdl-ui.msdl-route-company .entry-header,
body.msdl-ui.msdl-route-company .msdl-inner-hero,
body.msdl-ui.msdl-route-contact .entry-header,
body.msdl-ui.msdl-route-contact .msdl-inner-hero,
body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .entry-header,
body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .msdl-inner-hero,
body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .entry-header,
body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .msdl-inner-hero {
    width: calc(100% - 48px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/* The translated Greek Company hero is generated with the same markup as the
   English counterpart, so both languages share identical spacing and scale. */
body.msdl-ui.msdl-route-company .msdl-inner-hero {
    padding: clamp(74px, 8vw, 110px) 0 clamp(66px, 7vw, 96px);
}
body.msdl-ui.msdl-route-company .msdl-inner-hero > .msdl-shell,
body.msdl-ui.msdl-route-contact .msdl-inner-hero > .msdl-shell {
    width: min(var(--msdl-shell), calc(100% - 96px));
    margin-inline: auto;
}

@media (max-width: 768px) {
    body.msdl-ui.msdl-route-company .entry-header,
    body.msdl-ui.msdl-route-company .msdl-inner-hero,
    body.msdl-ui.msdl-route-contact .entry-header,
    body.msdl-ui.msdl-route-contact .msdl-inner-hero,
    body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .entry-header,
    body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .msdl-inner-hero,
    body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .entry-header,
    body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .msdl-inner-hero {
        width: calc(100% - 24px);
    }

    body.msdl-ui.msdl-route-company .msdl-inner-hero {
        padding: 52px 0 46px;
    }

    body.msdl-ui.msdl-route-company .msdl-inner-hero > .msdl-shell,
    body.msdl-ui.msdl-route-contact .msdl-inner-hero > .msdl-shell {
        width: calc(100% - 40px);
    }
}

/* ==========================================================================
   Gallery, language switch, header and homepage refinements
   ========================================================================== */

/* Gallery hover: keep the base frame color stable, remove hover-border color,
   and rely on stronger elevation + the existing lower-right action icon tint. */
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open {
    border: 2px solid #c3ccd2;
    box-shadow: 0 4px 10px rgba(15,29,40,.06), 0 18px 40px rgba(15,29,40,.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open:hover,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open:focus-visible {
    border-color: #c3ccd2;
    border-width: 2px;
    box-shadow: 0 10px 24px rgba(15,29,40,.11), 0 32px 70px rgba(15,29,40,.22);
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open::after {
    opacity: .92;
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open:hover::after,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open:focus-visible::after {
    opacity: 1;
    transform: none;
    border-color: rgba(255,255,255,.72);
    background: var(--msdl-red);
    color: #fff;
}

/* Language switch: clearer, fully opaque flags and stronger definition. */
body.msdl-ui .main-navigation .msdl-language-switch > a {
    gap: 9px;
    min-width: 58px;
    padding-inline: 12px 14px;
}
body.msdl-ui .main-navigation .msdl-language-switch > a::before {
    width: 20px;
    height: 14px;
    opacity: 1;
    filter: saturate(1.18) contrast(1.08) brightness(1.04);
    box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 2px 6px rgba(0,0,0,.18);
    background-color: #fff;
}

/* Header logo: larger, cleaner and better integrated with the premium navbar. */
body.msdl-ui .inside-header {
    min-height: 96px;
    padding-block: 12px;
}
body.msdl-ui .site-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 4px 0;
}
body.msdl-ui .site-logo .header-image {
    width: 112px;
    max-width: 112px;
    max-height: 74px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.24));
}
body.msdl-ui .site-branding .main-title {
    font-size: 17px;
    letter-spacing: .05em;
}

/* Homepage slider panel + CTA cards: stronger static depth. */
body.msdl-ui .msdl-home-slider {
    border-color: rgba(255,255,255,.11);
    box-shadow: 0 12px 28px rgba(7,18,28,.18), 0 34px 86px rgba(7,18,28,.30);
}
body.msdl-ui .msdl-home-slide-image {
    border: 1px solid rgba(255,255,255,.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.7),
        inset 0 0 0 1px rgba(17,28,37,.04),
        0 12px 26px rgba(5,15,24,.16),
        0 32px 76px rgba(5,15,24,.28);
}
body.msdl-ui .msdl-home-actions > .wp-block-column {
    box-shadow: 0 8px 18px rgba(15,29,40,.11), 0 26px 56px rgba(15,29,40,.20);
}
body.msdl-ui .msdl-home-actions > .wp-block-column:hover,
body.msdl-ui .msdl-home-actions > .wp-block-column:focus-within {
    box-shadow: 0 12px 26px rgba(15,29,40,.14), 0 36px 74px rgba(15,29,40,.25);
}

@media (max-width: 1080px) {
    body.msdl-ui .site-logo .header-image {
        width: 98px;
        max-width: 98px;
        max-height: 68px;
    }
    body.msdl-ui .site-branding .main-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    body.msdl-ui .inside-header {
        min-height: 82px;
    }
    body.msdl-ui .site-logo .header-image {
        width: 82px;
        max-width: 82px;
        max-height: 58px;
    }
    body.msdl-ui .main-navigation .msdl-language-switch > a::before {
        width: 18px;
        height: 12px;
    }
}

/* ==========================================================================
   Language flags and Marine Engines media rendering
   ========================================================================== */

/* Valid Greek flag asset. Keep both flags fully opaque and visually crisp. */
body.msdl-ui .main-navigation .msdl-language-switch > a.msdl-lang-gr::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect width='27' height='18' fill='%230D5EAF'/%3E%3Cpath d='M0 3h27M0 7h27M0 11h27M0 15h27' stroke='%23fff' stroke-width='2'/%3E%3Crect width='10' height='10' fill='%230D5EAF'/%3E%3Cpath d='M5 0v10M0 5h10' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
body.msdl-ui .main-navigation .msdl-language-switch > a.msdl-lang-en::before,
body.msdl-ui .main-navigation .msdl-language-switch > a.msdl-lang-gr::before {
    opacity: 1;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Marine Engines catalogue: real <img> media replaces pseudo-element artwork. */
body.msdl-ui.msdl-route-engines .msdl-service-card,
body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card {
    position: relative;
    min-height: 510px;
    padding: 300px 26px 26px;
}
body.msdl-ui.msdl-route-engines .msdl-service-card::before,
body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card::before {
    display: none;
}
body.msdl-ui.msdl-route-engines .msdl-engine-card-media {
    position: absolute;
    top: 18px;
    right: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    height: 358px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #b9c5cc;
    border-radius: 14px;
    background: linear-gradient(145deg, #dfe6ea 0%, #eef2f4 58%, #d9e1e5 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 10px 28px rgba(15,29,40,.10);
    transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
body.msdl-ui.msdl-route-engines .msdl-engine-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 12px;
    border: 1px solid rgba(16,24,32,.08);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15,29,40,.07);
    object-fit: contain;
    object-position: center;
}
body.msdl-ui.msdl-route-engines .msdl-service-card:hover .msdl-engine-card-media,
body.msdl-ui.msdl-route-engines .msdl-service-card:focus-within .msdl-engine-card-media {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 16px 34px rgba(15,29,40,.14);
}

@media (max-width: 1080px) {
    body.msdl-ui.msdl-route-engines .msdl-service-card,
    body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card {
        min-height: 390px;
        padding-top: 280px;
    }
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media {
        height: 238px;
    }
}

@media (max-width: 768px) {
    body.msdl-ui.msdl-route-engines .msdl-service-card,
    body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card {
        min-height: 350px;
        padding: 244px 20px 22px;
    }
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media {
        top: 14px;
        right: 14px;
        left: 14px;
        height: 208px;
        padding: 12px;
    }
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media img {
        padding: 8px;
    }
}

/* ==========================================================================
   Marine Engines safe-area media canvas
   ========================================================================== */

/* Separate the technical outer frame from the white source-image canvas.
   This guarantees consistent breathing room and prevents vertically tight
   source images from touching or appearing cropped at the frame edges. */
body.msdl-ui.msdl-route-engines .msdl-engine-card-media {
    box-sizing: border-box;
    padding: 18px;
}

body.msdl-ui.msdl-route-engines .msdl-engine-card-canvas {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(16,24,32,.08);
    border-radius: 11px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 5px 16px rgba(15,29,40,.075);
}

body.msdl-ui.msdl-route-engines .msdl-engine-card-media img {
    display: block;
    box-sizing: border-box;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 86%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    object-position: center center;
}

@media (max-width: 1080px) {
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media {
        padding: 16px;
    }
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media img {
        max-width: 90%;
        max-height: 84%;
    }
}

@media (max-width: 768px) {
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media {
        padding: 12px;
    }
    body.msdl-ui.msdl-route-engines .msdl-engine-card-media img {
        max-width: 92%;
        max-height: 86%;
    }
}

/* ==========================================================================
   Homepage carousel technical media canvas
   ========================================================================== */

/* Match the approved Marine Engines media language on the homepage carousel:
   outer cool-gray technical frame, inner white canvas, contained image safe-area. */
body.msdl-ui .msdl-home-media-frame {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: min(420px, 64vh);
    max-height: 420px;
    padding: clamp(16px, 2vw, 22px);
    overflow: hidden;
    border: 1px solid #b9c5cc;
    border-radius: 20px;
    background: linear-gradient(145deg, #dfe6ea 0%, #eef2f4 58%, #d9e1e5 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.84),
        0 10px 26px rgba(5,15,24,.13),
        0 30px 72px rgba(5,15,24,.26);
    box-sizing: border-box;
}

body.msdl-ui .msdl-home-media-canvas {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(16,24,32,.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 5px 16px rgba(15,29,40,.075);
}

body.msdl-ui .msdl-home-media-frame .msdl-home-slide-image,
body.msdl-ui .msdl-home-media-frame .msdl-home-slide-image.msdl-image-light-source {
    position: static;
    inset: auto;
    display: block;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 86%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    object-position: center center;
    transform: none;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body.msdl-ui .msdl-home-media-frame {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 295px;
        max-height: 295px;
        padding: 12px;
        border-radius: 16px;
    }

    body.msdl-ui .msdl-home-media-frame .msdl-home-slide-image,
    body.msdl-ui .msdl-home-media-frame .msdl-home-slide-image.msdl-image-light-source {
        max-width: 92%;
        max-height: 86%;
    }
}

@media (max-width: 430px) {
    body.msdl-ui .msdl-home-media-frame {
        height: 255px;
        max-height: 255px;
        padding: 10px;
    }

    body.msdl-ui .msdl-home-media-frame .msdl-home-slide-image,
    body.msdl-ui .msdl-home-media-frame .msdl-home-slide-image.msdl-image-light-source {
        max-width: 92%;
        max-height: 84%;
    }
}


/* ==========================================================================
   Unified language switcher
   Desktop navigation + GeneratePress logo/mobile header
   ========================================================================== */

/* ---------------------------------------------------------
   Shared switcher design
   --------------------------------------------------------- */

body.msdl-ui .msdl-language-switch > a,
body.msdl-ui .msdl-header-language-switch > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 58px;
    min-height: 34px;
    padding: 6px 12px 6px 10px;
    box-sizing: border-box;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;

    text-decoration: none;

    border: 1px solid rgba(255,255,255,.20);
    border-radius: 6px;

    background: rgba(255,255,255,.07);

    color: #fff;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}


/* ---------------------------------------------------------
   Hover / focus
   --------------------------------------------------------- */

body.msdl-ui .msdl-language-switch > a:hover,
body.msdl-ui .msdl-language-switch > a:focus-visible,
body.msdl-ui .msdl-header-language-switch > a:hover,
body.msdl-ui .msdl-header-language-switch > a:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.38);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.16);
}


/* ---------------------------------------------------------
   Flag
   --------------------------------------------------------- */

body.msdl-ui .msdl-language-switch > a::before,
body.msdl-ui .msdl-header-language-switch > a::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;

    width: 20px;
    height: 14px;

    border-radius: 3px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    background-color: #fff;

    opacity: 1;

    box-shadow:
        0 0 0 1px rgba(255,255,255,.28),
        0 2px 6px rgba(0,0,0,.18);
}


/* ---------------------------------------------------------
   English flag
   --------------------------------------------------------- */

body.msdl-ui .msdl-language-switch > a.msdl-lang-en::before,
body.msdl-ui .msdl-header-language-switch > a.msdl-lang-en::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23C8102E' stroke-width='8'/%3E%3C/svg%3E");
}


/* ---------------------------------------------------------
   Greek flag
   --------------------------------------------------------- */

body.msdl-ui .msdl-language-switch > a.msdl-lang-gr::before,
body.msdl-ui .msdl-header-language-switch > a.msdl-lang-gr::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 18'%3E%3Crect width='27' height='18' fill='%230D5EAF'/%3E%3Cpath d='M0 3h27M0 7h27M0 11h27M0 15h27' stroke='%23fff' stroke-width='2'/%3E%3Crect width='10' height='10' fill='%230D5EAF'/%3E%3Cpath d='M5 0v10M0 5h10' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}


/* ---------------------------------------------------------
   Header / GeneratePress logo switcher
   --------------------------------------------------------- */

body.msdl-ui .msdl-header-language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 14px;
}


/* Keep the header switcher vertically aligned with the logo */
body.msdl-ui .inside-header {
    display: flex;
    align-items: center;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 768px) {

    body.msdl-ui .msdl-language-switch > a,
    body.msdl-ui .msdl-header-language-switch > a {
        min-width: 54px;
        min-height: 32px;

        padding: 5px 10px 5px 8px;

        gap: 8px;

        font-size: 12px;
    }


    body.msdl-ui .msdl-language-switch > a::before,
    body.msdl-ui .msdl-header-language-switch > a::before {
        width: 18px;
        height: 12px;
    }


    body.msdl-ui .msdl-header-language-switch {
        margin-left: 9px;
    }
}


/* ---------------------------------------------------------
   Small mobile screens
   --------------------------------------------------------- */

@media (max-width: 430px) {

    body.msdl-ui .msdl-language-switch > a,
    body.msdl-ui .msdl-header-language-switch > a {
        min-width: 50px;

        padding: 5px 8px;

        gap: 7px;

        font-size: 11px;
    }


    body.msdl-ui .msdl-language-switch > a::before,
    body.msdl-ui .msdl-header-language-switch > a::before {
        width: 17px;
        height: 11px;
    }


    body.msdl-ui .msdl-header-language-switch {
        margin-left: 7px;
    }
}


/* ---------------------------------------------------------
   Prevent GeneratePress mobile menu styles from overriding
   the language switcher
   --------------------------------------------------------- */

body.msdl-ui .main-navigation .msdl-language-switch,
body.msdl-ui .main-navigation .msdl-language-switch > a,
body.msdl-ui .main-navigation .msdl-language-switch > a:hover,
body.msdl-ui .main-navigation .msdl-language-switch > a:focus {
    text-decoration: none;
}


/* ---------------------------------------------------------
   Accessibility
   --------------------------------------------------------- */

body.msdl-ui .msdl-language-switch > a:focus-visible,
body.msdl-ui .msdl-header-language-switch > a:focus-visible {
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: 3px;
}

.mobile-menu-control-wrapper{
	margin-left: auto !important;
}
.msdl-header-language-switch{
	position: absolute;
	right: 40px !important;
	top: 47% !important;
	transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
	.msdl-header-language-switch{
		display: none !important;
	}
}
@media (max-width: 768px) {
	.gb-grid-wrapper-cc6f8966 p{
		text-align: center !important;
	}
	.gb-element-6327c1a7{
		gap: 0px !important;
	}
}
@media (max-width: 600px) {
	.site-main .wp-block-group__inner-container{
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	body.msdl-ui .msdl-inner-title, body.msdl-ui:not(.msdl-route-home) .entry-header .entry-title, body.msdl-ui .msdl-source-page > .msdl-shell > h1:first-child, body.msdl-ui .msdl-section > .msdl-shell > .msdl-section-title:first-child{
		font-size: 30px !important;
	}
	body.msdl-ui .msdl-slider-dots{
		display: none !important;
	}
}
@media (max-width: 400px) {
	body.msdl-ui .msdl-inner-title, body.msdl-ui:not(.msdl-route-home) .entry-header .entry-title, body.msdl-ui .msdl-source-page > .msdl-shell > h1:first-child, body.msdl-ui .msdl-section > .msdl-shell > .msdl-section-title:first-child{
		font-size: 25px !important;
	}
	.site-main .wp-block-group__inner-container{
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	body.msdl-ui .site-branding .main-title{
		font-size: 13px !important;
	}
	.msdl-header-language-switch{
		right: 50px !important;
	}
	body.msdl-ui .msdl-header-language-switch > a{
		font-size: 0px !important;
		min-width: 0px !important;
		gap: 0px !important;
	}
}
@media (max-width: 360px) {
	body.msdl-ui .site-branding .main-title{
		font-size: 11px !important;
	}
	 body.msdl-ui .site-logo .header-image {
        width: 62px;
        max-width: 62px;
        max-height: 48px;
    }
}