/*
Theme Name: Global Relay Developer Hub API Documentation Theme
Author: Global Relay Inc
Author URI: https://www.globalrelay.com
Description: GR API Developer Hub Documentation - uses the Site Editor Feature. Is designed to be used across a multisite.
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.4.0
License: Copyright Global Relay inc
License URI: N/A
Text Domain: grdocs
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/

html, body {
    overscroll-behavior-y: none;
}

.wp-site-blocks {
    padding-top: 0;
    padding-bottom: 0;
}

/* <----------- TYPOGRAPHY -----------> */

/* inline stlying for property tags */

h1, h2, h3, h4, h5 , h6, p, li {
    color: #2D333C;
}

h1.wp-block-heading {
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 48px !important;
}

h2 {
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 40px !important;
    margin-block-start: 48px !important;
    margin-block-end: 32px !important;
}

h3 {
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 32px !important;
    margin-block-start: 32px !important;
}

h4 {
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

h5 {
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

h6 {
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 24px !important;
}

p {
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

kbd {
    background-color: #E3E6EA;
    padding: 0px 1px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    font-family: 'IBM Plex Mono', monospace;
}

body .is-layout-constrained > * + * {
    margin-block-start: 16px;
}

body .entry-content > *:first-child {
    margin-block-start: 48px !important;
}

.entry-content h1 a, 
.entry-content h2 a, 
.entry-content h3 a, 
.entry-content h4 a, 
.entry-content h5 a, 
.entry-content h6 a, 
.entry-content p a {
    color: #1D65F4 !important;
}

.entry-content p a {
    font-weight: 500 !important;
}

.entry-content h1 a:hover, 
.entry-content h2 a:hover, 
.entry-content h3 a:hover, 
.entry-content h4 a:hover, 
.entry-content h5 a:hover, 
.entry-content h6 a:hover, 
.entry-content p a:hover {
    text-decoration: underline;
    color: #1447AB !important;
}


::-moz-selection { 
    color: #2D333C;
    background: #A5C1FB;
}
  
::selection {
    color: #2D333C;
    background: #A5C1FB;
}

/* <----------- Inline Links -----------> */
 
h2 a, 
h3 a, 
h4 a,
h5 a,
h6 a,
p a {
    color: #1D65F4;
    text-underline-offset: 3px;
    border: 1px solid transparent;
}

.wp-block-site-logo a:focus-visible {
    outline: transparent;
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #1D65F4 !important; 
}

h2 a:focus-visible, 
h3 a:focus-visible , 
h4 a:focus-visible,
h5 a:focus-visible,
h6 a:focus-visible,
p a:focus-visible {
    outline: transparent;
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    text-decoration: underline;
    border-radius: 4px;
    border: 1px solid #1D65F4 !important;
}

h2 a:visited, 
h3 a:visited , 
h4 a:visited,
h5 a:visited,
h6 a:visited,
p a:visited {
    color: #924DD8;
}

/* <---------- PAGE SECTIONS ----------> */

/* Page Header */

.custom-header {
    height: 72px;
    box-sizing: border-box;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: #0B0D0F;
    z-index: 999;
    padding-bottom: 0 !important;
    transition: none;
    display: flex;
    align-items: center;
}

.header-inner  {
    display: flex !important;
    align-items: center;
    padding-left: 24px !important;
}

.header-inner svg {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.header-inner a {
   display: flex;
}

@media only screen and (min-width: 1024px) {
    .custom-header {
        height: 96px;
    }

    .header-inner {
        padding-left: 34px !important;
    }
}

/* Page Header mobile menu button */

.mobile-menu-button {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    margin-right: 24px;
    cursor: pointer;
    border: 1px solid transparent;
    background-color: transparent;
}

.mobile-menu-button svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0)
}

.mobile-menu-button:hover {
    background-color: #68778D;
}

.mobile-menu-button:active {
    background-color: #68778D;
    border: 1px solid #1D65F4 !important;
    box-shadow: 0px 0px 0px 2px #A5C1FB;
}

.mobile-menu-button:focus-visible {
    background-color: transparent;
    border: 1px solid #1D65F4 !important;
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    outline: transparent;
}

.mobile-menu-open.hide {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-close.show {
    display: block;
}

header.hamburger-hide .mobile-menu-button {
    display: none;
}

.header-error .mobile-menu-button {
    display: none !important;
}

@media only screen and (min-width: 1024px) {
    .mobile-menu-button {
       display: none;
    }
}

/* Page Hero */

.page-hero {
    display: flex;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
    border-bottom-color: #e3e6ea;
    border-bottom-width: 1px;
    background-color: #f9fafb;
    margin-bottom: 0px !important;
    padding-top: 48px !important;
    padding-bottom: 40px !important;
}

.page-hero h1 {
    margin-block-end: 0px !important;
}

.page-hero p {
    margin-block-start: 16px !important;
}

@media only screen and (min-width: 528px) {
    .page-hero {
        display: flex;
        justify-content: center;
        padding-left: 38px;
        padding-right: 38px;
    } 
}

/* Section Heading */

.entry-content h2 span {
    display: block;
    position: relative;
    top: -160px;
    visibility: hidden;
    width: 0px;
    height: 0px;  
}

/* Main page content container styling */

.page-container {
    display: flex;
    width: 100%;
    margin-block-start: 0;
    min-height: 100vh;
}

.page-container-inner {
    flex-grow: 1;
    margin-top: 72px;
}

.page-container-inner .main-content-container {
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 88px);
}

.content-inner {
    display: flex;
    justify-content: space-between;
    max-width: 100vw;
}

.content-inner > main {
    margin-top: 0 !important;
    max-width: 100vw;
}

@media only screen and (min-width: 1024px) {
    .page-container-inner {
        margin-top: 96px;
    }
}

/* Main page content responsive width  */

.entry-content {
    padding-bottom: 96px;
}

@media only screen and (min-width: 768px) {
    .entry-content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media only screen and (min-width: 768px) {
    .page .content-inner, .custom-footer, .page-hero .wp-block-column {
        max-width: 508px !important;
    }
    .page main, .page-hero h1, .page-hero p {
        max-width: 508px;
    }
}

@media only screen and (min-width: 1024px) {
    .page .content-inner, .custom-footer, .page-hero .wp-block-column {
        max-width: 460px !important;
    }
    .page main, .page-hero h1, .page-hero p {
        max-width: 460px;
    }
}

@media only screen and (min-width: 1312px) {
    .page .content-inner, .custom-footer, .page-hero .wp-block-column {
        max-width: 794px !important;
    }
    .page main, .page-hero h1, .page-hero p {
        max-width: 499px;
    }
}

@media only screen and (min-width: 1440px) {
    .page .content-inner, .custom-footer, .page-hero .wp-block-column {
        max-width: 906px !important;
    }
    .page main, .page-hero h1, .page-hero p {
        max-width: 571px;
    }
    .page .sidebar-right {
        width: 236px;
    }
}

.footer-error .custom-footer {
    max-width: 100% !important;
}

/* Sidebar left styling */

.sidebar-left {
    border-right: 1px solid #E3E6EA;
    height: calc(100vh - 96px);
    box-sizing: border-box;
    top: 96px;
    width: 100%;
    z-index: 4;
    background-color: white;
}

.sidebar-left h3 {
    margin-block-start: 0px !important;
}

.sidebar-left .wp-block-group {
   max-width: 1200px;
}

.sidebar-left > .wp-block-group {
    height: 100%;
    overflow-y: auto;
 }

.sidebar-left .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    height: unset;
    opacity: 1;
    visibility: visible;
}

.sidebar-left .wp-block-navigation .has-child.closed .wp-block-navigation__submenu-container {
    height: 0;
    opacity: 0;
    visibility: hidden;
}

@media only screen and (max-width: 1023px) {

    .sidebar-left {
        top: 72px;
        height: calc(100vh - 72px);
        left: -100%;
        transition: left 0.4s;
        transition-timing-function: cubic-bezier(0.32, 0, 0.67, 0);
        position: fixed;
    }

    .sidebar-left.open {
        left: 0%;
    }

}

@media only screen and (min-width: 768px) {

    .sidebar-left {
        width: 320px;
    }

}

@media only screen and (min-width: 1024px) {

    .sidebar-left {
        left: 0;
        position: sticky;
    }

}

.sidebar-left ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    width: 100%;
}

.sidebar-left .wp-block-navigation__container > li {
    width: 100%;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-left .wp-block-navigation__container > li:not(li.has-child) a {
    padding: 16px 32px !important;
    box-sizing: border-box;
    width: 100%;
    font-size: 14px !important;
    line-height: 24px;
}

.sidebar-left .wp-block-navigation__container > li.has-child button {
    padding: 16px 34px !important;
    box-sizing: border-box;
    width: 100%;
    font-size: 14px !important;
    line-height: 24px;
}

.sidebar-left .wp-block-navigation__container > li:not(li.has-child) a:focus-visible {
    padding: 15px 31px !important;
}

.sidebar-left .wp-block-navigation__container > li.has-child button:focus-visible {
    padding: 14px 32px !important;
}

.sidebar-left .wp-block-navigation__container > li:not(li.has-child) a:focus-visible,
.sidebar-left .wp-block-navigation__container > li.has-child button:focus-visible {
    border: 2px solid #A5C1FB !important;
    outline: transparent;
    position: relative;
}

.sidebar-left .wp-block-navigation__container > li:not(li.has-child) a:focus-visible::before,
.sidebar-left .wp-block-navigation__container > li.has-child button:focus-visible::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    bottom: 0px;
    right: 0px;
    border: 1px solid #1D65F4;
}

.sidebar-left .wp-block-navigation__container > li.has-child button:hover,
.sidebar-left .wp-block-navigation__container > li:not(.has-child):hover {
    background-color: #F5F6F9;
}

.sidebar-left li a {
    width: 100%;
}

.sidebar-left li.has-child button {
    padding-left: 0px;
    position: relative;
    padding-right: 8px !important;
}

.sidebar-left .wp-block-navigation__submenu-icon {
   display: none;
}

/* sidebar left submenu styling */

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation__submenu-container {
    border: none !important;
    box-sizing: border-box;
    width: 100% !important;
    left: unset;
    position: relative;
    padding-left: 40px;
}

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu li a {
    border-radius: 8px 0px 0px 8px;
    padding: 8px 16px !important;
    box-sizing: border-box;
    border: 1px solid transparent;
} 

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu li a:hover {
    background-color: #F5F6F9;
}

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu a:focus-visible {
    border: 2px solid #A5C1FB !important;
    outline: transparent;
    position: relative;
    padding: 7px 15px !important;
}

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu a:focus-visible::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    bottom: 0px;
    right: 0px;
    border: 1px solid #1D65F4;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.sidebar-left .wp-block-navigation__container a {
    border: 1px solid transparent;
}

.sidebar-left li a {
    text-decoration: none !important;
}

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu li span {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #4F5A69;
} 

.sidebar-left .wp-block-navigation__container .wp-block-navigation-submenu li.current-menu-item span {
    color: #E02424;
}

.sidebar-left .wp-block-navigation-submenu__toggle {
    width: 100%;
}

.sidebar-left .wp-block-navigation-item__content {
    font-weight: 700;
}

.sidebar-left .wp-block-navigation-item__content .wp-block-navigation-item__content {
    font-weight: 400;
}

.sidebar-left .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 0 !important;
}

.sidebar-left .current-menu-item .wp-block-navigation-item__label {
    font-weight: 600;
}

.sidebar-left .wp-block-navigation-item__label {
    margin-right: 8px;
}

.sidebar-left .current-menu-item {
    background-color: #F9FAFB;
    color: #E02424;
}

.sidebar-left .wp-block-navigation__submenu-container .current-menu-item {
    border-radius: 8px 0 0 8px;
}

.sidebar-left li.wp-block-navigation-submenu:has(.current-menu-item) {
    position: relative;
}

.sidebar-left li.wp-block-navigation-submenu:has(.current-menu-item) button:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 56px;
    width: 4px;
    content: url("data:image/svg+xml,%3Csvg width='4' height='56' viewBox='0 0 4 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0C2.20914 0 4 1.79086 4 4V52C4 54.2091 2.20914 56 0 56V0Z' fill='%23E02424'/%3E%3C/svg%3E%0A");
}

.sidebar-left .wp-block-navigation-item__content[target="_blank"]:after {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 5.25C4.5 4.83579 4.83579 4.5 5.25 4.5H10.965V6H6V18H18V13.035H19.5V18.75C19.5 19.1642 19.1642 19.5 18.75 19.5H5.25C4.83579 19.5 4.5 19.1642 4.5 18.75V5.25Z' fill='%234F5A69'/%3E%3Cpath d='M16.9394 6H13.56V4.5H19.5V10.44H18V7.06069L12.5303 12.5303L11.4697 11.4697L16.9394 6Z' fill='%234F5A69'/%3E%3C/svg%3E%0A");
    position: absolute;
    right: 16px;
    top: 17px;
    height: 24px;
    width: 24px;
}

.sidebar-left .wp-block-navigation-item__content.wp-block-navigation-submenu__toggle:after {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.0048 10.3708L5.56009 16.8085L4.5 15.7473L12.0053 8.25L19.5029 15.7475L18.4422 16.8082L12.0048 10.3708Z' fill='%234F5A69'/%3E%3C/svg%3E%0A");
    position: absolute;
    right: 16px;
    top: 17px;
    height: 24px;
    width: 24px;
}

/* Sidebar left when parent menu item expanded rotating arrow svg 180deg */

.sidebar-left li.closed .wp-block-navigation-submenu__toggle:after {
    transform: rotate(180deg);
}

/* sidebar right styling */

.sidebar-right {
    display: none;
    min-width: 220px !important;  
    position: sticky;
    top: 88px;  
    height: fit-content;
    padding-top: clamp(2.5rem, 8vw, 4.5rem);
    margin-left: 99px;
    margin-bottom: 86px;
}

.sidebar-right p {
    font-weight: 500 !important;
}

@media only screen and (min-width: 1312px) {
    .sidebar-right {
        display: block;
    }
}

.sidebar-right ul {
    list-style: none;
    margin-top: 8px !important;
    padding-left: 0px;
}

.sidebar-right li {
    margin-bottom: 4px !important;
}

.sidebar-right li a {
    text-decoration: none;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    position: relative;
    padding: 4px 4px 4px 14px;
    display: flex;
    align-items: center;
    color: #4F5A69;
}

.sidebar-right li a::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.sidebar-right li a:hover {
    background-color: #F5F6F9;
}

.sidebar-right li a:focus-visible {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    outline: transparent;
    border: 1px solid #1D65F4;
    padding: 3px 3px 3px 13px;
}

.sidebar-right li a:hover:before {
    background-color: #E3E6EA;
}

.sidebar-right li a.active {
    font-weight: 500;
    color: #2D333C;
}

.sidebar-right li a.active:before {
    background-color: #E02424;
}

/* <---------- COMPONTENTS ----------> */

/* key features cards  */

.key-features .wp-block-column {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 8px;
}

.key-features .wp-block-column img {
    height: 32px;
    width: auto;
    margin-bottom: 15px;
 }

.key-features .wp-block-column p {
   margin-top: 0; 
}

/* Numbered text image section */

.numbered-text-image {
    counter-reset: section;
    counter-set: section 1;
    margin-top: 32px !important;
}

.numbered-text-image p {
    position: relative;
    counter-increment: section;
    padding-top: 4px !important;
    color: #2D333C !important;
}

.numbered-text-image .wp-block-columns {
    gap: 16px;
    margin-bottom: 32px !important;
    margin-block-start: 0px !important;
}

.numbered-text-image .wp-block-columns > .wp-block-column {
    width: 123px;
    flex-basis: 123px !important;
    flex-grow: 0;
}

.numbered-text-image .wp-block-columns .wp-block-column:last-of-type {
    flex-grow: 1;
}

.numbered-text-image .wp-block-column figure  {
    margin-inline-end: 0px !important;
    margin-right: 32px !important;
    position: relative;
}

.numbered-text-image .wp-block-column img  {
    max-width: 64px;
    max-height: 64px;
}

.numbered-text-image .wp-block-column figure::before {
    position: absolute;
    content: counters(section,'.', decimal-leading-zero) " ";
    right: -62px;
    color: #2D333C;
    font-size: 24px;
    line-height: 40px;
    font-weight: 500;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

@media only screen and (max-width: 528px) {

    .numbered-text-image .wp-block-columns > .wp-block-column {
        width: 48px;
        flex-basis: 48px !important;
    }

    .numbered-text-image .wp-block-column figure  {
        padding-top: 56px;
        margin-right: 0px;
    }

    .numbered-text-image .wp-block-column img  {
        max-width: 48px;
        max-height: 48px;
    }

    .numbered-text-image .wp-block-column figure::before {
        right: unset;
        top: 0;
        left: 0;
    }
}

/* list container */

.list-container ul {
  list-style: none;
  position: relative;
}

.list-container h3 {
    margin-block-start: 0px !important;
}

.list-container li {
    margin-bottom: 8px !important;
}

.list-container li:before {
    position: absolute;
    left: 0;
    content: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.00025 11.9998C4.73525 11.9998 4.48025 11.8948 4.29325 11.7068L0.29325 7.70684C-0.09775 7.31584 -0.09775 6.68384 0.29325 6.29284C0.68425 5.90184 1.31625 5.90184 1.70725 6.29284L4.91725 9.50284L12.2192 0.374836C12.5652 -0.0551639 13.1923 -0.126164 13.6252 0.218836C14.0562 0.562836 14.1263 1.19284 13.7812 1.62384L5.78125 11.6238C5.60425 11.8468 5.33925 11.9818 5.05625 11.9978C5.03725 11.9988 5.01925 11.9998 5.00025 11.9998Z' fill='%234F5A69'/%3E%3C/svg%3E%0A");
}

/* <----------- BUTTONS -----------> */

.button-primary a,
.button-secondary a,
.button-destructive a,
.button-ghost a {
    font-weight: 700;
}

.button-primary:hover a,
.button-secondary:hover a {
    background-color: #1447AB !important;
}

.button-primary:active a,
.button-secondary:active a {
    background-color: #0C2862 !important;
}

.button-primary:focus-visible a {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #FFFFFF;
    padding: 11px 23px !important;
    outline: transparent;
}

/* Secondary button */

.button-secondary:hover a {
    color: #FFFFFF !important;
    border-color: #1447AB !important;
}

.button-secondary:focus-visible a {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
}

.button-secondary:active a {
    color: #FFFFFF !important;
    border-color: #0C2862 !important;
}

/* Destructive button */

.button-destructive:hover a {
    background-color: #9D1919 !important;
}

.button-destructive:active a {
    background-color: #5A0E0E !important;
}

.button-destructive:focus-visible a {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #FFFFFF !important;
    padding: 11px 23px !important;
    
}

/* Ghost button */

.button-ghost:hover a,
footer .footer-socials figure a:hover {
    background-color: #F8FAFF !important;
}

.button-ghost:active a,
footer .footer-socials figure a:active {
    background-color: #E8F0FE !important;
}

.button-ghost:focus-visible a {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #1447AB !important;
    padding: 11px 23px !important;
}

footer .footer-socials figure a:focus-visible {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #1D65F4 !important;
    outline: transparent;
}

/* <----------- Alert Icons -----------> */

.alert-block {
    position: relative;
    margin-block-end: 16px !important;
}

.alert-block:last-of-type() {
    margin-block-end: 50px !important;
}

.alert-block::before {
    position: absolute;
    height: 24px;
    width: 24px;
    left: 12px;
    top: 12px;
}

.alert-block h3 {
    font-weight: 500 !important;
    line-height: 24px !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
    margin-top: 0px !important;
}

.alert-block p {
    line-height: 24px !important;
    font-size: 14px !important;
    margin-top: 0px !important;
}

.alert-block p a {
    font-weight: 500;
    color: #1D65F4;
    text-underline-offset: 3px;
}

.alert-block p a:hover {
    text-decoration: underline;
}

.alert-success::before {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%232B9B51'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.9351 7.23438L18.261 8.5602L9.85222 16.9689L5.73438 12.8418L7.06169 11.5175L9.85371 14.3158L16.9351 7.23438Z' fill='white'/%3E%3C/svg%3E");
}

.alert-info::before {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%231447AB'/%3E%3Cpath d='M9.75 18.75H15V16.5H13.5V9.75H9.75V12H11.25V16.5H9.75V18.75Z' fill='white'/%3E%3Cpath d='M13.5 6.75C13.5 5.925 12.825 5.25 12 5.25C11.175 5.25 10.5 5.925 10.5 6.75C10.5 7.575 11.175 8.25 12 8.25C12.825 8.25 13.5 7.575 13.5 6.75Z' fill='white'/%3E%3C/svg%3E");
}

.alert-warning::before {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3C12.2704 3 12.5199 3.14556 12.6529 3.38096L22.4029 20.631C22.5342 20.8632 22.5322 21.1476 22.3978 21.378C22.2634 21.6083 22.0167 21.75 21.75 21.75H2.25C1.98327 21.75 1.73662 21.6083 1.6022 21.378C1.46779 21.1476 1.46583 20.8632 1.59708 20.631L11.3471 3.38096C11.4801 3.14556 11.7296 3 12 3Z' fill='%23FFCE00'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.875 18.75L10.875 16.5H13.125V18.75H10.875Z' fill='%232D333C'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.875 15L10.875 9.75L13.125 9.75L13.125 15H10.875Z' fill='%232D333C'/%3E%3C/svg%3E%0A");
}

.alert-error::before {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%23E02424'/%3E%3Cpath d='M10.875 6V13.5H13.125V6H10.875Z' fill='white'/%3E%3Cpath d='M13.5 16.5C13.5 17.3284 12.8284 18 12 18C11.1716 18 10.5 17.3284 10.5 16.5C10.5 15.6716 11.1716 15 12 15C12.8284 15 13.5 15.6716 13.5 16.5Z' fill='white'/%3E%3C/svg%3E");
}

/* <----------- Card Styling -----------> */

.custom-card h3 {
    font-size: 18px !important;
    line-height: 32px !important;
    margin-block-start: 0px !important;
}

.custom-card p {
    margin-top: 16px !important;
    line-height: 24px !important;
}

/* <----------- Code block Styling -----------> */

.gr-code-block {
    border: 1px solid #E3E6EA;
    border-radius: 8px;
}

.gr-code-block .wp-block-code {
    margin: 0;
    padding: 16px;
    padding-right: 0px;
}

.gr-code-block .wp-block-code code {
    padding: 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    padding-right: 16px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    white-space: pre;
    font-family: 'IBM Plex Mono', monospace;
}

.gr-code-block .wp-block-code code::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }

.gr-code-block .top-section {
    border-bottom: 1px solid #E3E6EA;
    padding: 8px 16px;
    display: flex;
    justify-content: flex-end;
}

.gr-code-block .code-copy-button {
    cursor: pointer;
    height: 40px;
    width: 40px;
    position: relative;
    border-radius: 50%;
}

.gr-code-block .code-copy-button:hover {
    background-color: #F8FAFF;
}

.gr-code-block .code-copy-button:active {
    background-color: #E8F0FE;
}

.gr-code-block .code-copy-button:focus-visible {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #1D65F4 !important;
    outline: transparent;
}

.gr-code-block .code-copy-button svg {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
}

.gr-code-block .code-copy-button::after {
    position: absolute;
    content: '';
    top: -13px;
    left: 50%;
    transform: translate(-50%);
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #0C2862;
    display: none;
}

.gr-code-block .code-copy-button:before {
    display: none;
    content: 'Copy to clipboard';
    position: absolute;
    top: -53px;
    right: -16px;
    color: white;
    width: 150px;
    box-sizing: border-box;
    padding: 8px 16px;
    border-radius: 8px;
    background: #0C2862;
    box-shadow: 0px 0px 4px 0px rgba(11, 13, 15, 0.25);
    font-family: 'Inter', sans-serif;    
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
}

@media only screen and (min-width: 768px) {
    .gr-code-block .code-copy-button:before {
        right: unset;
        left: 50%;
        transform: translate(-50%);
    }

    .gr-code-block .code-copy-button:hover:before,
    .gr-code-block .code-copy-button:hover:after {
        display: block;
    }
}

.gr-code-block .code-copy-button.clicked:before {
    content: 'Copied to clipboard';
    width: 163px;
    display: block;
}

.gr-code-block .code-copy-button.clicked:after {
    display: block;
}

/* ---------- TABLE STYLING ---------- */

.wp-block-table {
    border: 1px solid #E3E6EA;
    border-radius: 8px;
}

.wp-block-table thead {
    background-color: #F5F6F9;
    border-bottom: 1px solid #E3E6EA;
}

.wp-block-table thead th,
.wp-block-table tbody td  {
    border: none;
    padding: 12px 16px;
    font-size: 16px !important;
    line-height: 24px !important;
    vertical-align: top;
    text-align: left;
    color: #2D333C;
    min-width: 143px;
    box-sizing: border-box;
}

.wp-block-table thead tr th:not(:first-of-type),
.wp-block-table tbody tr td:not(:first-of-type) {
    min-width: 220px;
}

@media only screen and (min-width: 768px) {
    .wp-block-table thead tr th:not(:first-of-type),
    .wp-block-table tbody tr td:not(:first-of-type) {
        min-width: 200px;
    }
}

.wp-block-table thead th {
   font-weight: 700;
}

.wp-block-table tbody td {
    font-weight: 400;
}

.wp-block-table tbody tr {
    border-bottom: 1px solid #E3E6EA;
}

.wp-block-table tbody tr:last-of-type {
    border-bottom: none;
}

/* <---------- Aditonal spacing after last components in group ----------> */

.alert-block + h2,
.wp-block-table + h2,
.numbered-text-image + h2,
.list-container + h2,
.custom-card + h2,
.gr-code-block + h2 {
    margin-top: 72px !important;
}

.alert-block + h3,
.wp-block-table + h3,
.numbered-text-image + h3,
.list-container + h3,
.custom-card + h3,
.gr-code-block + h3 {
    margin-top: 56px !important;
}

.alert-block + p,
.wp-block-table + p,
.numbered-text-image + p,
.list-container + p,
.custom-card + p,
.gr-code-block + p {
    margin-top: 40px !important;
}

/* <----------- Footer Styling -----------> */

footer {
    border-top: 1px solid #E3E6EA;
    margin-block-start: 0;
}

.custom-footer {
    padding: 64px 24px 80px 24px;
    margin: auto;
}

.custom-footer .footer-bottom, .custom-footer .footer-top {
    display: flex;
    justify-content: space-between;
}

.custom-footer .footer-top {
    text-align: left;
    flex-direction: column;
}

.custom-footer .footer-socials {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 16px;
    margin-top: 24px;
}

.custom-footer .footer-socials a {
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-sizing: border-box;
}

.custom-footer .footer-socials a:hover {
    background-color: #f8faff !important;
}

.custom-footer ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.custom-footer li {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #4F5A69;
    margin-bottom: 4px;
}

.custom-footer ul a {
    padding-left: 0;
    color: #0B0D0F;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 4px 4px 0px;
}

.custom-footer li a:hover {
    text-decoration: underline;
}

.custom-footer li a:focus {
    box-shadow: 0px 0px 0px 2px #A5C1FB;
    border: 1px solid #1D65F4;
    text-decoration: none;
    border-radius: 4px;
}

.custom-footer li a:focus:hover {
    text-decoration: underline;
}

.custom-footer .footer-bottom {
    margin-top: 48px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px;
}

#footer-copyright {
    font-family: Inter;
    font-size: 14px !important;
    text-align: left;
    color: #4F5A69;
    margin: 0;
}

.custom-footer .footer-bottom .links {
    display: flex;
    gap: 32px;
}

.custom-footer .footer-bottom .links a {
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    color: #0B0D0F;
    text-decoration: none;
}

.custom-footer .footer-bottom .links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media only screen and (min-width: 768px) {

    .custom-footer {
        padding: 64px 107px 32px 107px;
    }

    .custom-footer .footer-socials {
        justify-content: flex-end;
        margin-top: 0;
    }

    footer p {
        text-align: left;
    }

    .custom-footer .footer-top {
        gap: 24px;
        flex-direction: row;
        text-align: right;
    }
}

@media only screen and (min-width: 1312px) {

    .custom-footer .footer-bottom {
        justify-content: space-between;
    }

    footer .footer-bottom ul {
        gap: 32px;
        justify-content: flex-start;
    }
}

/* ---------- 404 STYLING ---------- */

.error-template {
    margin-top: 72px;
    min-height: calc( 100vh - 72px );
    padding: 48px 24px 96px 24px;
    box-sizing: border-box;
    display: flex; 
    align-items: center;   
}

.error-inner {
    display: flex;
    flex-direction: column-reverse;
    max-width: 1091px;
    margin: auto;
    gap: 40px;
}

.error-column {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.error-inner .error-column:last-of-type {
    align-items: center
}

.error-column h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 48px;
}

@media only screen and (min-width: 528px) {
    .error-template {
        padding: 48px 40px 96px 40px;
    }

    .error-inner {
        flex-direction: row;
        flex-wrap: nowrap !important;
    }

    .error-inner .error-column:first-of-type {
        flex-basis: 70% !important;
    }

    .error-inner .error-column:last-of-type {
        align-items: flex-end;
        flex-basis: 30% !important;
    }
}

@media only screen and (min-width: 768px) {
    .error-template {
        margin-top: 96px;
        min-height: calc( 100vh - 96px );
    }

    .error-inner .error-column {
        flex-basis: 50% !important;
    }
}

/* <---------- COOKIE PRO STYLING ----------> */

#onetrust-consent-sdk #onetrust-policy-title {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}
