/*
Theme Name: Glass R5 Preview (GlassMake)
Description: WordPress conversion of the supplied Glass R5 site.
Version: 1.0.6
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: glass-r5-preview
*/

.glass-preview-notice {
    box-sizing: border-box;
    padding: 7px 16px;
    background: #eff5ff;
    color: #26384a;
    text-align: center;
    font: 13px / 1.5 system-ui, sans-serif;
}

.glass-quote-preview {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
}

[data-glass-href][aria-disabled="true"] {
    cursor: default;
}

.glass-figure-number-host {
    position: relative;
}

.glass-figure-number {
    position: absolute;
    z-index: 1;
    padding: 2px 5px;
    border-radius: 3px;
    background: #152c42;
    color: #fff;
    font: 600 11px / 1.25 system-ui, sans-serif;
    white-space: nowrap;
    pointer-events: none;
}

.s03__carousel-link-2 > .glass-figure-number {
    inset: auto auto 42px 50%;
    transform: translateX(-50%);
}

.glass-brand-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

body .s01__card-92:has(> .glass-brand-actions),
body .header-main__card:has(> .glass-brand-actions) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(263px, 100%);
    height: auto;
    min-height: 63px;
    margin-right: 16px;
}

body :is(.s01__card-92, .header-main__card):has(> .glass-brand-actions) > .header-main__card-link {
    width: 100%;
    height: auto;
}

.glass-brand-actions {
    display: grid;
    grid-template-columns: 147fr 151fr 168fr;
    width: 100%;
    min-height: 24px;
    margin: 2px 0 0;
}

.glass-brand-actions > img {
    grid-area: 1 / 1 / 2 / -1;
    align-self: center;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.glass-brand-actions > a {
    grid-row: 1;
    z-index: 1;
    min-height: 24px;
}

.glass-brand-actions > a:nth-of-type(1) { grid-column: 1; }
.glass-brand-actions > a:nth-of-type(2) { grid-column: 2; }
.glass-brand-actions > a:nth-of-type(3) { grid-column: 3; }

.glass-brand-actions > a:is(:hover, :focus-visible) {
    box-shadow: inset 0 -2px #0b57b1;
}

.glass-footer-brand {
    width: min(263px, 100%);
    margin: 0 0 18px;
}
