/* ==================================================================
   Wise Technologies - shared stylesheet (wise-t.com)
   Generated 2026-08-05 by _wt-build/makecss.py

   DO NOT EDIT BY HAND. The base rules are extracted from the front
   page's inline <style> block, so the front page stays the single
   source of truth for the corporate identity; re-run the script after
   changing it. Inner-page-only rules live at the bottom of this file,
   inside makecss.py's EXTRA string.

   CGP: Montserrat, orange #F0772E, grey #6D6E6E.
   ================================================================== */

/* ==================================================================
   Wise Technologies - company root page (wise-t.com)
   Rebuilt 2026-08-05, styled to the corporate identity (CGP).

   CGP source of truth: OneDrive\WT CGP
     Typeface  Montserrat (the CGP ships the full TTF family; the web
               build loads the same family from Google Fonts).
     Orange    #F0772E   sampled from Logo_Orange.png
     Grey      #6D6E6E   sampled from Logo_sivi.png
     Logotype  Logo3D_Horizontalni_Levo / Logo Beli_Horizontalni_Levo,
               copied into assets/images as wt-logo-horizontal*.png

   Plain HTML + CSS. No framework, no build step, no JavaScript.
   Served directly by Apache 2.4 from the wisetcom document root.

   IMPORTANT - product sub-sites are NOT owned by this file.
   /bm, /WCRM, /BWise, /wisestock, /artificialinst are independent
   sites with their own markup, assets and deployment. This page only
   LINKS to them and reads their images by path; it must never write
   into, restyle, or otherwise modify them.
   ================================================================== */

:root
{
    /* --- CGP core palette ---------------------------------------- */
    --orange:     #F0772E;   /* corporate orange, from the logotype  */
    --orange-dk:  #D25F1B;   /* hover / pressed state                */
    --orange-lt:  #FDF0E7;   /* tint for pale panels                 */
    --grey:       #6D6E6E;   /* corporate grey, from the logotype    */

    /* --- Derived neutrals ---------------------------------------- */
    --ink:        #2B2C2C;   /* headings                             */
    --body:       #58595A;   /* body copy                            */
    --dark:       #2E2F2F;   /* header, footer, dark panels          */
    --dark-soft:  #3D3E3E;   /* raised surface inside dark panels    */
    --paper:      #ffffff;
    --mist:       #F5F5F4;   /* alternate section background         */
    --line:       #E2E2E0;   /* hairline borders                     */

    --shadow-sm:  0 1px 2px rgba(43,44,44,.05), 0 4px 14px rgba(43,44,44,.07);
    --shadow-md:  0 14px 38px rgba(43,44,44,.15);

    --maxw:       1200px;
    --radius:     4px;
}

*,
*::before,
*::after
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--body);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4
{
    font-family: 'Montserrat', system-ui, sans-serif;
    line-height: 1.2;
    color: var(--ink);
    margin: 0;
}

p
{
    margin: 0 0 1.05rem;
}

a
{
    color: var(--orange-dk);
    text-decoration: none;
}

a:hover
{
    color: var(--orange);
    text-decoration: underline;
}

img
{
    display: block;
    max-width: 100%;
}

.wrap
{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}

/* ------------------------------------------------------------------
   HEADER
   The mobile menu uses the hidden-checkbox toggle pattern, so the
   whole page stays JavaScript-free.
   ------------------------------------------------------------------ */

.site-header
{
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--dark);
    border-bottom: 3px solid var(--orange);
}

.site-header .wrap
{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

/* The logotype is rebuilt from its two CGP parts rather than using the
   flat white lockup: the orange mark keeps the brand colour, and the
   wordmark is set live in Montserrat (WISE bold, TECHNOLOGIES light),
   which is exactly how the CGP draws it. */
.brand
{
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand:hover
{
    text-decoration: none;
}

.brand img
{
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.brand-name
{
    font-size: 1.24rem;
    font-weight: 300;
    letter-spacing: .015em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
}

.brand-name b
{
    font-weight: 800;
}

.nav-toggle,
.nav-toggle-label
{
    display: none;
}

.nav
{
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav > li
{
    position: relative;
}

.nav > li > a
{
    display: block;
    padding: 28px 14px;
    color: rgba(255,255,255,.86);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color .18s, border-color .18s;
}

.nav > li > a:hover
{
    color: #fff;
    text-decoration: none;
    border-bottom-color: var(--orange);
}

.nav .cta
{
    margin-left: 14px;
    padding: 12px 26px;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius);
    border-bottom: none;
}

.nav .cta:hover
{
    background: var(--orange-dk);
    border-bottom-color: transparent;
}

/* Dropdown panels -------------------------------------------------- */

.has-menu > a::after
{
    content: "";
    display: inline-block;
    margin-left: 8px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    transform: translateY(3px);
}

.menu
{
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 272px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-top: 3px solid var(--orange);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .16s, transform .16s, visibility .16s;
}

.has-menu:hover .menu,
.has-menu:focus-within .menu
{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu a
{
    display: block;
    padding: 9px 22px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.menu a:hover
{
    background: var(--orange-lt);
    border-left-color: var(--orange);
    color: var(--ink);
    text-decoration: none;
}

/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */

.hero
{
    position: relative;
    background: var(--dark) url("assets/images/artificial-intelligence-5885426-1920-1920x640.jpg") center/cover no-repeat;
    color: #fff;
}

.hero::before
{
    /* Scrim keeps the headline legible over the photograph */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(28,29,29,.95) 0%, rgba(28,29,29,.82) 46%, rgba(28,29,29,.42) 100%);
}

.hero .wrap
{
    position: relative;
    padding: 104px 28px 110px;
}

.hero-rule
{
    width: 72px;
    height: 5px;
    background: var(--orange);
    margin-bottom: 30px;
}

.hero h1
{
    font-size: clamp(2.3rem, 5.2vw, 3.9rem);
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
}

.hero h1 em
{
    font-style: normal;
    font-weight: 300;
}

.hero .lede
{
    font-size: clamp(1.14rem, 2.3vw, 1.55rem);
    font-weight: 300;
    line-height: 1.45;
    color: #fff;
    max-width: 640px;
    margin-bottom: 20px;
}

.hero .sub
{
    max-width: 610px;
    color: rgba(255,255,255,.76);
    font-size: .98rem;
}

.hero-actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* ------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------ */

.btn
{
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: background .18s, color .18s, border-color .18s;
}

.btn:hover
{
    text-decoration: none;
}

.btn-primary
{
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.btn-primary:hover
{
    background: var(--orange-dk);
    border-color: var(--orange-dk);
    color: #fff;
}

.btn-ghost
{
    background: transparent;
    border-color: rgba(255,255,255,.5);
    color: #fff;
}

.btn-ghost:hover
{
    border-color: #fff;
    background: rgba(255,255,255,.12);
    color: #fff;
}

.btn-outline
{
    padding: 11px 24px;
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline:hover
{
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

/* ------------------------------------------------------------------
   SECTION SCAFFOLDING
   ------------------------------------------------------------------ */

section
{
    padding: 88px 0;
}

section.alt
{
    background: var(--mist);
}

.section-head
{
    max-width: 760px;
    margin: 0 0 52px;
}

.section-head.center
{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow
{
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.section-head h2
{
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-head p
{
    margin: 0;
    font-size: 1.02rem;
}

/* ------------------------------------------------------------------
   PRODUCT CARDS
   Two across on desktop so each product gets a large, legible image.
   ------------------------------------------------------------------ */

.grid-2
{
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
}

.grid-3
{
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.card
{
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

.card:hover
{
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cfcfcc;
}

.card-media
{
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mist);
}

.card-media img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.card:hover .card-media img
{
    transform: scale(1.04);
}

/* Screenshots read better contained on a tinted plate than cropped */
.card-media.shot
{
    background: linear-gradient(150deg, #EDEEEE 0%, #DFE0E0 100%);
    padding: 22px 22px 0;
}

.card-media.shot img
{
    object-fit: cover;
    object-position: top center;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 18px rgba(43,44,44,.18);
}

.card-tag
{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 7px 16px;
    background: var(--orange);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    z-index: 2;
}

.card-body
{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 30px 30px 32px;
}

.card-body h3
{
    font-size: 1.42rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-body p
{
    flex: 1 1 auto;
    font-size: .94rem;
}

.card-body .btn
{
    align-self: flex-start;
    margin-top: 10px;
}

.card.compact .card-media
{
    aspect-ratio: 16 / 9;
}

.card.compact .card-body
{
    padding: 22px 24px 24px;
}

.card.compact .card-body h3
{
    font-size: 1.14rem;
    margin-bottom: 8px;
}

.card.compact .card-body p
{
    font-size: .88rem;
    margin-bottom: 0;
}

/* ------------------------------------------------------------------
   REFERENCE TILES
   Photograph with a caption plate; the whole tile is one link.
   ------------------------------------------------------------------ */

.ref-grid
{
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ref
{
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--dark);
    color: #fff;
}

.ref:hover
{
    text-decoration: none;
    color: #fff;
}

.ref img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ref:hover img
{
    transform: scale(1.06);
}

.ref-plate
{
    position: absolute;
    inset: auto 0 0 0;
    padding: 62px 22px 20px;
    background: linear-gradient(to top, rgba(25,26,26,.95) 12%, rgba(25,26,26,.74) 48%, rgba(25,26,26,0) 100%);
}

.ref-plate strong
{
    display: block;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: .01em;
    margin-bottom: 4px;
}

.ref-plate small
{
    display: block;
    font-size: .8rem;
    line-height: 1.45;
    color: rgba(255,255,255,.8);
}

.ref::after
{
    /* Corporate orange underline that grows on hover */
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: var(--orange);
    transition: width .3s ease;
    z-index: 2;
}

.ref:hover::after
{
    width: 100%;
}

/* ------------------------------------------------------------------
   SPLIT PANEL (institute, services)
   ------------------------------------------------------------------ */

.split
{
    display: grid;
    gap: 56px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.split img
{
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.split h2
{
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.split .btn-row
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ------------------------------------------------------------------
   FACT STRIP
   ------------------------------------------------------------------ */

.facts
{
    background: var(--dark);
    color: #fff;
    padding: 56px 0;
}

.facts-grid
{
    display: grid;
    gap: 34px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    text-align: center;
}

.fact strong
{
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--orange);
    margin-bottom: 6px;
}

.fact span
{
    font-size: .9rem;
    color: rgba(255,255,255,.76);
}

/* ------------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------------ */

.contact
{
    background: var(--dark);
    color: #fff;
}

.contact .section-head h2
{
    color: #fff;
}

.contact .section-head p
{
    color: rgba(255,255,255,.74);
}

.contact-grid
{
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
}

.contact-card
{
    padding: 30px 28px;
    background: var(--dark-soft);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius);
}

.contact-card h3
{
    font-size: 1.04rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.contact-card p
{
    color: rgba(255,255,255,.8);
    font-size: .92rem;
    margin-bottom: .6rem;
}

.contact-card p:last-child
{
    margin-bottom: 0;
}

.contact-card a
{
    color: var(--orange);
    font-weight: 600;
}

.contact-card a:hover
{
    color: #fff;
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */

.site-footer
{
    background: #232424;
    color: rgba(255,255,255,.6);
    font-size: .86rem;
}

.footer-top
{
    display: grid;
    gap: 34px 30px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    padding: 52px 0 40px;
}

/* The footer lockup sits in a narrow column, so it is set smaller than the
   header one and is allowed to wrap instead of pushing into its neighbour. */
.footer-logo
{
    grid-column: span 2;
    min-width: 0;
}

.footer-logo .brand
{
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo .brand img
{
    height: 34px;
    width: 34px;
}

.footer-logo .brand-name
{
    font-size: 1rem;
    white-space: normal;
}

@media (max-width: 620px)
{
    .footer-logo
    {
        grid-column: span 1;
    }
}

.footer-col h4
{
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li
{
    margin-bottom: 9px;
}

.footer-col a
{
    color: rgba(255,255,255,.66);
}

.footer-col a:hover
{
    color: var(--orange);
    text-decoration: none;
}

.footer-bottom
{
    padding: 20px 0 30px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: .82rem;
}

/* ------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------ */

@media (max-width: 1040px)
{
    .nav > li > a
    {
        padding: 28px 10px;
        font-size: .78rem;
    }
}

@media (max-width: 980px)
{
    .nav-toggle-label
    {
        display: block;
        cursor: pointer;
        padding: 10px 4px;
        color: #fff;
        font-size: 1.6rem;
        line-height: 1;
        user-select: none;
    }

    .nav
    {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 16px;
        background: var(--dark);
        border-top: 1px solid rgba(255,255,255,.12);
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }

    .nav-toggle:checked ~ .nav
    {
        display: flex;
    }

    .nav > li > a
    {
        padding: 12px 28px;
        font-size: .82rem;
        border-bottom: none;
        margin-bottom: 0;
    }

    /* No hover on touch, so sub-menus are shown expanded inline */
    .menu
    {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        padding: 0 0 8px;
        background: transparent;
        border-top: none;
        box-shadow: none;
    }

    .menu a
    {
        padding: 7px 28px 7px 44px;
        color: rgba(255,255,255,.7);
        border-left: none;
    }

    .menu a:hover
    {
        background: rgba(255,255,255,.07);
        color: #fff;
    }

    .has-menu > a::after
    {
        display: none;
    }

    .nav .cta
    {
        margin: 12px 28px 0;
        text-align: center;
    }

    .split
    {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .grid-2
    {
        grid-template-columns: 1fr;
    }

    section
    {
        padding: 64px 0;
    }

    .hero .wrap
    {
        padding: 76px 28px 80px;
    }
}

@media (max-width: 520px)
{
    body
    {
        font-size: 16px;
    }

    .wrap
    {
        padding: 0 20px;
    }

    .brand img
    {
        height: 30px;
    }

    .card-media.shot
    {
        padding: 14px 14px 0;
    }
}

/* ==================================================================
   Inner-page additions
   Rules used only by the pages converted out of the old Mobirise/AMP
   build. The block above is shared verbatim with the front page.
   ================================================================== */

/* ---------------------------------------------------------- page head
   A compact hero for inner pages: shorter than the front-page hero and
   able to sit on either a flat dark panel or a photograph. */

.page-head
{
    position: relative;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
}

.page-head.with-photo
{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-head::before
{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(28,29,29,.95) 0%, rgba(28,29,29,.85) 48%, rgba(28,29,29,.58) 100%);
}

.page-head .wrap
{
    position: relative;
    padding: 62px 28px 66px;
}

.page-head .crumb
{
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.page-head .crumb a
{
    color: var(--orange);
}

.page-head .crumb a:hover
{
    color: #fff;
    text-decoration: none;
}

.page-head h1
{
    font-size: clamp(1.85rem, 4.2vw, 2.9rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    max-width: 900px;
}

.page-head .lede
{
    max-width: 730px;
    font-size: clamp(1rem, 1.9vw, 1.18rem);
    font-weight: 300;
    color: rgba(255,255,255,.88);
    margin: 0;
}

/* -------------------------------------------------------------- prose */

.prose
{
    max-width: 840px;
    margin: 0 auto;
}

.prose.wide
{
    max-width: 1020px;
}

.prose h2
{
    font-size: clamp(1.45rem, 2.7vw, 1.95rem);
    font-weight: 700;
    margin: 2.2rem 0 1rem;
}

.prose > h2:first-child
{
    margin-top: 0;
}

.prose h3
{
    font-size: 1.18rem;
    font-weight: 700;
    margin: 1.8rem 0 .7rem;
}

.prose strong
{
    color: var(--ink);
    font-weight: 700;
}

.prose ul
{
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
}

.prose ul li
{
    position: relative;
    padding-left: 26px;
    margin-bottom: .55rem;
}

.prose ul li::before
{
    content: "";
    position: absolute;
    left: 2px;
    top: .68em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

/* Pulled-out block, used for the Challenge / Solution copy */
.callout
{
    margin: 0 0 1.5rem;
    padding: 22px 26px;
    background: var(--orange-lt);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p:last-child
{
    margin-bottom: 0;
}

.section-head.left
{
    margin-left: 0;
    text-align: left;
}

/* --------------------------------------------------------- card extras
   The front page uses .grid-2 / .grid-3 for its two hand-tuned layouts.
   Converted pages hold an unknown number of cards, so they get a plain
   auto-fitting .grid instead. */

.grid
{
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

a.card
{
    color: inherit;
}

a.card:hover
{
    text-decoration: none;
    color: inherit;
}

.card-more
{
    display: inline-block;
    margin-top: 14px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange-dk);
}

.card:hover .card-more
{
    color: var(--orange);
}

/* Partner marks must sit on white and must never be cropped */
.card.logo-card .card-media
{
    aspect-ratio: 16 / 9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.card.logo-card .card-media img
{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card.logo-card:hover .card-media img
{
    transform: none;
}

/* --------------------------------------------------------- split extras */

.split + .split
{
    margin-top: 66px;
}

.split.flip .split-media
{
    order: -1;
}

/* ------------------------------------------------------------- gallery */

.gallery
{
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery a,
.gallery figure
{
    margin: 0;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--mist);
    border: 1px solid var(--line);
}

.gallery img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery a:hover img
{
    transform: scale(1.06);
}

@media (max-width: 980px)
{
    .split + .split
    {
        margin-top: 40px;
    }

    .split.flip .split-media
    {
        order: 0;
    }

    .page-head .wrap
    {
        padding: 46px 28px 50px;
    }
}
