/*
** Theme Variables
*/
:root {
    --white: #ffffff;
    --black: #000000;

    --dark: #292929;
    --steelg: #696969;
    --gray: var(--steelg);

    --primary:  #0C8CE9;
    --primary-a:#005ad1;

    --secondary:  #C9002C;
    --secondary-a:  #970323;

    --body: var(--dark); /* #292929 */

    --dblue: #021C2F;

    --link: var(--primary);
    --link-a: var(--primary-a);

    --formfieldbg: var(--white);
    --formfieldplaceholder: #D6D6D6;
    --formtextcolor: var(--body);
    --formfieldborder: #D6D6D6;

    --siteradius: 10px;
    --siteradius16: 16px;

    /* scroll-behavior: smooth; */
}

:target {
    scroll-margin-top: 140px
}

/*
** Fonts
*/
@font-face {
    font-family: 'firasans';
    src: url('../fonts/FiraSans-Regular.woff2') format('woff2'),
        url('../fonts/FiraSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'firasans-md';
    src: url('../fonts/FiraSans-Medium.woff2') format('woff2'),
        url('../fonts/FiraSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'firasans-sb';
    src: url('../fonts/FiraSans-SemiBold.woff2') format('woff2'),
        url('../fonts/FiraSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'firasans-bd';
    src: url('../fonts/FiraSans-Bold.woff2') format('woff2'),
        url('../fonts/FiraSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'inter';
    src: url('../fonts/Inter18pt-Regular.woff2') format('woff2'),
        url('../fonts/Inter18pt-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*
** Font Icons
*/
@font-face {
  font-family: 'dstride';
  src:  url('../fonts/icons/dstride.ttf?kl5gm6') format('truetype'),
    url('../fonts/icons/dstride.woff?kl5gm6') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'dstride';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-li:before {
    content: "\e902";
}
.icon-yt:before {
    content: "\e906";
}
.icon-angle-down:before {
    content: "\e904";
}
.icon-arrow:before {
    content: "\e905";
}
.icon-fb:before {
    content: "\e900";
}
.icon-tw:before {
    content: "\e901";
}
.icon-in:before {
    content: "\e903";
}

/*
** Custom Reset
*/
*,:after,:before { -webkit-box-sizing: border-box; box-sizing: border-box }
img { max-width: 100%; height: auto; vertical-align: top; }
a, span, i, label { display: inline-block; }
a { color: var(--link); text-decoration: none; transition: 0.3s ease-in-out; }
a:hover { color: var(--link-a); }
a:focus { outline: none; }
strong, b { font-family: 'firasans-md', sans-serif; font-weight: normal; }

header ul,
footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p:last-child,
ul:last-child,
li:last-child {
  margin-bottom: 0;
}

button,
button:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

input:focus {
    outline: none;
    box-shadow: none;
}

ul, ol { padding-left: 20px; }

li { margin-bottom: 10px; }


/*
** Globals
*/

/*Typo*/
body {
    font-family: 'firasans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--body);
    /* min-height: 120vh; */
    padding-top: 174px;
    margin: 0;
    background: linear-gradient(180deg, #DAF1FF 0%, #F9F7F6 18.78%);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'firasans-md', serif;
    font-style: normal;
    font-weight: normal;
    margin-top: 0;
    color: rgba(32, 25, 21, 0.88);
}

h1, .h1 { --fsize: 40px; font-size: var(--fsize); line-height: calc(var(--fsize) + 8px); margin-bottom: 16px; }
h2, .h2 { --fsize: 32px; font-size: var(--fsize); line-height: calc(var(--fsize) + 8px); margin-bottom: 16px; }
h3, .h3 { --fsize: 20px; font-size: var(--fsize); line-height: calc(var(--fsize) + 8px); margin-bottom: 16px; }
h4, .h4 { --fsize: 18px; font-size: var(--fsize); line-height: calc(var(--fsize) + 8px); margin-bottom: 16px; }
h5, .h5 { --fsize: 16px; font-size: var(--fsize); line-height: calc(var(--fsize) + 8px); margin-bottom: 12px; }
h6, .h6 { --fsize: 14px; font-size: var(--fsize); line-height: calc(var(--fsize) + 8px); margin-bottom: 10px; }

p { margin-top: 0; }

img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Form Fields */
form {
    --fieldsize: 48px;
    --fieldpadds: 0 16px;
    --fieldtop: 12px;
    --fieldfsize: 18px;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="num"],
input[type="tel"],
input[type="url"],
select,
textarea {
    font-family: 'firasans', sans-serif;
    font-size: var(--fieldfsize);
    line-height: calc(var(--fieldsize) - 2px);
    width: 100%;
    height: var(--fieldsize);
    padding: var(--fieldpadds);
    border-radius: calc(var(--siteradius16) / 2);
    background-color: var(--formfieldbg);
    border: 1px solid var(--formfieldborder);
    outline: 0 !important;
    vertical-align: top;
    color: var(--formtextcolor);
}

input::placeholder,
textarea::placeholder {
    color: var(--formfieldplaceholder);
}

textarea {
    padding-top: var(--fieldtop);
    line-height: 26px;
    height: 80px;
    resize: vertical;
}

select {
    width: 100%;
    padding-right: 42px;
    background-image: url('../images/angle-down.svg');
    background-size: 10px;
    background-position: right 20px center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 label {
    font-family: 'firasans-md', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: var(--body);
    letter-spacing: 0.2px;
}


/*Background Utilities*/
.bg--white { background-color: var(--white); }

/*Text Utilities*/
.text-rg { font-family: 'firasans', sans-serif; }
.text-md { font-family: 'firasans-md', sans-serif; }
.text-sb { font-family: 'firasans-sb', sans-serif; }
.text-bd { font-family: 'firasans-bd', sans-serif; }

.text-inter { font-family: 'inter', sans-serif; }

.text--primary { color: var(--primary); }
.text--secondary { color: var(--secondary); }
.text--body { color: var(--body); }
.text--gray { color: var(--gray); }
.text--white { color: var(--white); }
.text--black { color: var(--black); }

.text-upercase { text-transform: uppercase; }
.text-italic { font-style: italic; }
.text-underline { text-decoration: underline; }

.font-32 { font-size: 32px; line-height: 40px; }
.font-28 { font-size: 28px; line-height: 36px; }
.font-26 { font-size: 26px; line-height: 34px; }
.font-24 { font-size: 24px; line-height: 32px; }
.font-22 { font-size: 22px; line-height: 30px; }
.font-20 { font-size: 20px; line-height: 28px; }
.font-18 { font-size: 18px; line-height: 26px; }
.font-16 { font-size: 16px; line-height: 24px; }
.font-14 { font-size: 14px; line-height: 22px; }
.font-12 { font-size: 12px; line-height: 20px; }

/*Other Utilities*/
.list-unstyled, .list-unstyled ul, .list-unstyled ol { padding: 0; margin: 0; list-style: none; }
.transition { transition: 0.3s ease-in-out; }
.unlink { pointer-events: none; cursor: none; }
.siteradius { border-radius: var(--siteradius); }
.fullradius { border-radius: 100%; }
.siteimg img { border-radius: var(--siteradius); }
.fitimg { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.w100 { width: 100%; }
.h100 { height: 100%; }

/*
** Buttons
*/
.bttn {
    --btnsize: 50px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: 'firasans-sb', sans-serif;
    font-size: 16px;
    line-height: calc(var(--btnsize) - 2px);
    min-width: 154px;
    height: var(--btnsize);
    padding: 0 10px;
    padding: 0 14px;
    /* text-align: center; */
    border: 2px solid transparent;
    border-radius: var(--btnsize);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.bttn-primary {
    --iconclr: #200B56;
    color: var(--white);
    background-color: var(--primary);
}

.bttn-iconpcolor { --iconclr: var(--primary); }

.bttn-primary:hover {
    color: var(--white);
    transform: scale(1.05);
}

.bttn-icon { padding-right: 4px; }

.bttn-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--btnsize) - 10px);
    height: calc(var(--btnsize) - 10px);
    font-size: 14px;
    text-align: center;
    color: var(--iconclr);
    border-radius: 100%;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.bttn-md { min-width: 190px; }

.bttn-lg { --btnsize: 60px; padding: 0 17px; }

.bttn-lg i { width: calc(var(--btnsize) - 20px); height: calc(var(--btnsize) - 20px); }

/*
** Bootstrap Extends & Overrides
*/
.container, .container-fluid, .row>* { padding-left: 16px; padding-right: 16px; }
.row { margin-left: -16px; margin-right: -16px; }

.gx-0.row>* { padding-left: 0; padding-right: 0; }
.gx-0.row { margin-left: 0; margin-right: 0; }
.row-20 { margin-left: -16px; margin-right: -16px; }
.row-20>* { padding-left: 16px; padding-right: 16px; }

.visually-hidden,
.sr-only {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}

/*
** WP Overrides
*/
.screen-reader-text { position: absolute; visibility: hidden; opacity: 0; }

/*
** Header
*/
.site-header {
    --headerH: 74px; /*73px*/
    position: fixed;
    top: 17.5px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
    z-index: 10;
}

.site-header.hide { transform: translateY(-100px); }

.site-header .container {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 10px;
    border-radius: 100px;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.051);
}

.site-header .row { align-items: center; }

.header-logo img {
    width: 130px;
    height: 60px;
    margin-left: 8px;
    object-fit: contain;
}

.colheadright {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 24px;
}

.headernav {
    display: inline-flex;
    align-items: center;
    column-gap: 32px;
    margin: 0 auto;
}

.headernav li { margin-bottom: 0; }

.headernav a {
    background-image: linear-gradient(90deg, var(--primary), var(--primary));
    background-position: bottom left;
    background-size: 0 2px;
    background-repeat: no-repeat;
}

.headernav a:hover {
    color: var(--primary);
    background-size: 100% 2px;
}

.site-menutoggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border: none;
    background: 0 0;
    cursor: pointer;
}

.site-menutoggle span {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 2px;
    background: #312e81;
    transition: all .3s;
}

/*Common*/
section.section { padding: 50px 0; }

/*Blog Overview*/
.blogo-hero p {
    width: 614px;
    max-width: 100%;
    color: rgba(32, 25, 21, 0.58);
}

.blogo-hero {
    margin-bottom: 20px;
}

.featgrid {
    display: flex;
    gap: 10px;
}

.featcol-1 {
    flex: 1 0 calc(65.25% - 5px);
    max-width: calc(65.25% - 5px);
}

.featcol-2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featitem {
    position: relative;
    display: flex;
    border-radius: var(--siteradius);
    overflow: hidden;
}

.featcol-1 .featitem {
    position: relative;
    aspect-ratio: 783 / 590;
}

.featcol-2 .featitem {
    flex: 1;
}

.featthumb {
    position: relative;
    z-index: 0;
}

.featthumb::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: -0.28px;
    opacity: 0.9;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, rgba(15, 15, 15, 0.75) 100%);
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.5) 0%, rgba(15, 15, 15, 1) 100%);
    z-index: 1;
}

.featthumb img {
    transition: transform 0.5s ease-out;
}

.featthumb:hover img {
    transform: scale(1.05);
}

.featcont {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 24px 44px;
    color: var(--white);
    z-index: 2;
}

.featcol-2 .featcont {
    padding: 28px;
}

.featcat {
    padding: 4px 13px;
    margin-bottom: 10px;
    color: #0A0A0A;
    border-radius: 8px;
    background: #D4E8CC;
}

.featcat:hover {
    color: #0A0A0A;
    background: #c7ebb9;
}


.featcol-1 .feathead {
    font-size: 36px;
    line-height: 46px;
}

.feathead a,
.featauth a {
    color: var(--white);
}

.featauth a { cursor: default; }

.feathead a:hover,
.featauth a:hover {
    color: var(--white);
}

.feathead a:hover {
    color: var(--white);
    text-decoration: underline;
}

.featmeta span { width: 4px; height: 4px; border-radius: 10px; background-color: var(--white); }

.featmeta,
.featauth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.featauth img {
    min-width: 24px;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    overflow: hidden;
}

/*Blog Category Filters*/
.cattabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 10px;
}

.cattabs li { margin: 0; }

.cattabs a {
    line-height: 19px;
    padding: 5px 12px;
    color: rgba(32, 25, 21, 0.58);
    border-radius: 44px;
    background-color: var(--white);
    box-shadow: 0px 0px 4.44444px rgba(23, 24, 24, 0.05), 0px 0.888889px 1.77778px rgba(0, 0, 0, 0.15);
}

.cattabs a:hover,
.cattabs a.active {
    color: var(--primary);
    background-color: var(--white);
}

.blist {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bitem {
    display: flex;
    flex-direction: column;
    flex: 1 0 33.33%;
    max-width: calc(33.33% - 13.33px);
    padding: 16px;
    border: 1px solid #E8E8EA;
    border-radius: 12px;
    overflow: hidden;
}

.bitem-thumb {
    aspect-ratio: 360 / 240;
    border-radius: 6px;
    overflow: hidden;
}

.bitem-cont {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 24px;
}

.bitem-cat {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: rgba(75, 107, 251, 0.05);
}

.bitem-head {
    padding-top: 16px;
}

.bitem-head a {
    color: #181A2A;
}

.bitem-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    color: #97989F;
}

.bitem-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bitem-auth a { color: #97989F; cursor: default; }

.bitem-auth img {
    min-width: 36px;
    width: 36px;
    height: 36px;
    border-radius: 36px;
    overflow: hidden;
}

/*Pagination*/
.pagination {
    --defaultBg: var(--white);
    font-family: 'firasans-md', sans-serif;
    font-size: 16px;
    line-height: 1;
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 5px;
}

.page-numbers {
    --size: 40px;
    line-height: var(--size);
    width: var(--size);
    height: var(--size);
    padding: 0;
    text-align: center;
    color: var(--primary);
    border-radius: 100%;
    border: 1px solid #DDDDDD;
    background-color: var(--defaultBg);
}

.next, .prev {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: var(--size);
    width: auto;
    height: var(--size);
    padding: 0 20px;
    color: var(--primary);
    border-radius: 50px;
    background-color: var(--defaultBg);
}

.next i,
.prev i {
    font-size: 12px;
    line-height: var(--size);
    transform: rotate(0deg) translateX(4px);
    vertical-align: middle;
}

.prev i { transform: rotate(-180deg) translateX(4px); }

.page-numbers.current,
.page-numbers:hover {
    color: var(--white);
    background-color: var(--primary);
}

.page-numbers.dots {
    color: #D9D9D9;
    font-size: 32px;
    line-height: 30px;
    background-color: transparent;
}

/*Blog Internal*/
figure {
    display: block;
    margin: 0 0 16px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: rgba(41, 41, 41, 0.8); 
}

.single-meta span {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: rgba(41, 41, 41, 0.6);
}

.single-meta a { color: rgba(41, 41, 41, 0.8); }

.single-author { cursor: default; }

.blog-single h1, .single-excerpt { color: #292929; }

.single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.single-cats a {
    padding: 10px;
    color: #292929;
    background: rgba(41,41,41,0.08);
}

.single-cats a:hover {
    background: rgba(41,41,41,0.3);
}

.page-thumb { padding-top: 8px; }

/*Sidebar*/
.blogs-r {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    gap: 32px;
}

/*Table of Content*/
.site-toc {
    padding: 30px 0 6px;
    max-width: 100%;
    border: 1px solid #2E5DF3;
    border-radius: 16px;
}

.site-toc h3 {
    padding: 0 30px;
}

.site-toc > ul {
    padding: 0 30px 18px 50px;
    max-height: 218px;
    overflow: auto;
}

.custom-toc .custom-toc { list-style: disc; }
.custom-toc-item > .custom-toc { margin-top: 10px; }

.custom-toc-item { line-height: 1.6; }
.custom-toc-item a { display: block; color: var(--black); }
.custom-toc-item a:hover { color: var(--body); }

.site-toc > ul::-webkit-scrollbar { width: 5px; }
.site-toc > ul::-webkit-scrollbar-track { display: none; border-radius: 10px; }
.site-toc > ul::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/*Side Featured Posts*/
.sidefeatitem {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 15px;
}

.sidefeatitem:first-child {
    padding-top: 0;
}

.sidefeatimg {
    --size: 90px;
    flex: 1 0 var(--size);
    min-width: var(--size);
    max-width: var(--size);
    border-radius: var(--siteradius);
    overflow: hidden;
}

.featured-meta, .featured-author a { color: rgba(42, 42, 42, 0.8); }

.featured-author a { cursor: default; }


/*
** Footer
*/
.site-footer {
    position: relative;
    padding: 80px 0 40px;
    background: #e0f2fe;
    overflow: hidden;
}

.foobg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
}

/*
.site-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: url('../images/footer-color-grade.svg');
    background-repeat: no-repeat;
    background-position: bottom right;
}
*/

.footer-cta { margin-bottom: 160px; }
.footer-cta .cta-wrap { width: 700px; max-width: 100%; }
.footer-subh { color: #005ad1; }
.footer-cta p { color: #6b7280; }
.footer-cta .bttn { margin-top: 16px; }

.foo-sec {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: none;
}

.foo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.foo-sec li,
.foo-sec a {
    color: #4b5563;
    margin: 0;
}

.foo-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.foo-sec p { color: #6b7280; }

.foo-btm {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
}

.foo-copy { color: #4b5563; }

.styles-module-scss-module__1slC6W__bottomLinks {
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 80px;
    display: flex;
}

.btm-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 80px;
}

.btm-links a { display: flex; align-items: center; line-height: 1; color: #4b5563; }
.btm-links a svg { width: 16px; height: auto; }
.foo-sec a:hover, .btm-links a:hover { color: #1f2937; }

.scrollToTop {
    position: absolute;
    right: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    width: 56px;
    height: 56px;
    margin-bottom: 5rem;
    border: none;
    border-radius: 50%;
    background: #0c8ce9;
    transform: none;
    transition: all .3s;
    cursor: pointer;
}

.stt-init {
    transform: translateY(-50%);
}

.scrollToTop:hover {
    transform: scale(1.1);
}

/* Footer Edit */
.post-edit-link,
.wp-logout {
    position: fixed;
    left: 0;
    bottom: 28px;
    font-size: 16px;
    line-height: 16px;
    padding: 6px 12px;
    min-width: 70px;
    text-align: center;
    color: var(--white) !important;
    background-color: var(--primary);
    z-index: 9000;
}
