/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/
*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}
body {
  font-size: clamp(
    var(--fluid-min-size)px,
    calc(1rem + ((1vw - var(--fluid-min-width)px) * 0.7)),
    var(--fluid-max-size)px
  );
}
/* Add responsive image handling */
img {
  max-width: 100%;
  height: auto;
  width: auto;
}

.hero-image img {
  object-fit: cover;
  width: 100%;
}
/* Make forms more mobile-friendly */
input, 
select, 
textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px; /* Prevents zoom on iOS */
}

.newsletter {
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: flex-start !important;
  }
}
/* Update article grid for better responsiveness */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

/* Improve blog post layout */
@media (max-width: 768px) {
  .blog-post-container .content-section {
    flex-direction: column;
  }
  
  .blog-post-container .share-icons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }
}
/* Update your existing media queries and add new ones */
@media (max-width: 1024px) {
  #page-layout-wrapper {
    width: 90vw;
    /* padding: 20px; */
    max-width: none;
  }
}

@media (max-width: 320px) {
  #page-layout-wrapper {
    width: 100%;
    max-width: calc(var(--content-width) * .75);
    padding: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mega-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    transition: left 0.3s ease;
    background: #0D253A;
    z-index: 100;
  }

  .mega-menu.active {
    left: 0;
  }

  .newsletter {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: flex-start;
  }

  .blog-post-container .content-section {
    flex-direction: column;
  }
  
  .blog-post-container .share-icons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between; /* Distribute columns evenly */
  }

  .footer-column {
    flex: 1; /* Allow columns to share space equally */
    margin-right: 20px; /* Add spacing between columns */
  }

  /* Remove margin from the last column */
  .footer-bottom .footer-column:last-child {
    margin-right: 0;
  }

  /* Mobile Styles */
  .menu-list {
    flex-direction: column; /* Stack menu items vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .menu-list li {
    display: block; /* Full width for each item */
    width: 100%;
    margin: 0; /* Remove individual item margins */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Add a subtle divider */
  }

  .menu-list a {
    padding: 10px 20px; /* Adjust padding for better touch */
    width: 100%;
    box-sizing: border-box;
  }

  .sub-menu {
    position: relative; /* Reset positioning */
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    display: none; /* Initially hide submenus */
  }

  .sub-menu ul {
    flex-direction: column;
  }

  .sub-menu li {
    border-bottom: none;
  }

  .sub-menu a {
    padding-left: 30px; /* Indent submenu items */
    background-color: rgba(0, 0, 0, 0.1);
  }

  /* Accordion styles */
  .menu-item {
    position: relative;
  }

  .menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-item > a:after {
    content: '+'; /* Add plus sign */
    font-size: 1.2em;
  }

  .menu-item.active > .sub-menu {
    display: block; /* Show submenu when active */
  }

  .menu-item.active > a:after {
    content: '−'; /* Change to minus sign */
  }

  #articles-home-wrapper {
    flex-direction: column; /* Stack filter and posts */
    gap: 10px; /* Reduce gap for smaller screens */
  }

  #filter-container {
    width: 100%; /* Make filter full width */
  }

  #posts-listing-container {
    width: 100%; /* Make posts full width */
  }

  .article-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); /* Single column grid */
  }
}
/* Add mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  padding: 10px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    justify-content: end;
    background-color: white;
    border-radius: 3px;
  }
  
  .mega-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    /* height: calc(100vh - 60px); */
    transition: left 0.3s ease;
    background: #0D253A;
    z-index: 100; 
    display: none;
  }

  .mega-menu.active {
    left: 0;
  }
}
.post-title {
    color: var(--nCino-Blues-Blue_900_Eclipse, #0D253A);
    flex: 1;
    padding-right: 20px;
    
}

.hero-section {
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hero-content-post {
    color: var(--nCino-Blues-Blue_900_Eclipse, #0D253A);
    flex: 1;
    padding-right: 20px;
}

.hero-content-post h2 {
    font-size: 1.8em;
    line-height: 1.2em !important;
    margin-bottom: 10px;
}

.hero-content-post p {
    font-family: "Ncino-Avenir Medium";
    font-size: 0.8em;
}

.post-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

#blog-post-container>article {
  font-size: inherit;
  width: 100%;
  max-width: auto;
  margin: 0 auto;
}

#hs_cos_wrapper_post_body pre {
  font-family: "Ncino-Avenir Medium";
  font-size: 0.85em !important;
  padding: 8px 0;
  margin: 4px 0;
  text-align: justify;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
}

#hs_cos_wrapper_post_body a, 
#hs_cos_wrapper_post_body a:visited {
  color: var(--Midnight, #0D253A);
  font-family: "Ncino-Avenir Medium";
  font-weight: 600;
  text-decoration: none;
}

#hs_cos_wrapper_post_body a:hover {
  text-decoration: underline;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/

@font-face {
    font-family: "Ncino-Avenir";
    font-weight: 400;
    font-style: normal;
    src: url(//24906619.fs1.hubspotusercontent-eu1.net/hubfs/24906619/raw_assets/public/ncino-theme-2025/fonts/web/ncino-avenir.woff2) format("woff2"), url(//24906619.fs1.hubspotusercontent-eu1.net/hubfs/24906619/raw_assets/public/ncino-theme-2025/fonts/web/ncino-avenir.woff) format("woff");
}

@font-face {
    font-family: "Ncino-Avenir Medium";
    font-weight: 400;
    font-style: normal;
    src: url(//24906619.fs1.hubspotusercontent-eu1.net/hubfs/24906619/raw_assets/public/ncino-theme-2025/fonts/web/ncino-avenir-md.woff2) format("woff2"), url(//24906619.fs1.hubspotusercontent-eu1.net/hubfs/24906619/raw_assets/public/ncino-theme-2025/fonts/web/ncino-avenir-md.woff) format("woff");
}

@font-face {
    font-family: "Ncino-Avenir Bold";
    font-weight: 400;
    font-style: normal;
    src: url(//24906619.fs1.hubspotusercontent-eu1.net/hubfs/24906619/raw_assets/public/ncino-theme-2025/fonts/web/ncino-avenir-bd.woff2) format("woff2"), url(//24906619.fs1.hubspotusercontent-eu1.net/hubfs/24906619/raw_assets/public/ncino-theme-2025/fonts/web/ncino-avenir-bd.woff) format("woff");
}

/* Update your body styles */
body {
  background-color: var(--Midnight, #0D253A);
  margin: 0;
  font-family: "Ncino-Avenir", "sans-serif";
  font-size: clamp(
    var(--fluid-min-size)px,
    calc(1rem + ((1vw - var(--fluid-min-width)px) * 0.7)),
    var(--fluid-max-size)px
  );
  line-height: 1.2em;
  word-break: break-word;
  color: #0D253A !important; 
}

h1, h2, h3 {
    font-family: "Ncino-Avenir Bold";
    line-height: 1.2em;
}

#page-layout-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100vw;
}

#page-inner-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: calc(var(--content-width) * .75);
    padding: 0 40px 20px 40px;
    width: 75vw;
}

.content-wrapper {
    margin: 0 auto;
    max-width: calc(var(--content-width) * .75);
    width: 75vw;
    position: relative;
}

header {
    background-color: #0D253A;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
    
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
}

.logo img {
}

.menu-container {
    display: flex;
    align-items: center;
}

.mega-menu {
    margin: 0;
}

.hs-menu-item.hs-menu-depth-1::after {
    content: "";
    display: block;
    width: 0%;
    height: 4px;
    background-color: #7ECBE3;
    transition: width 0.3s ease-in-out;
    position: relative;
    bottom: 10px;
    right: 0;
    margin-left: auto;
}

.hs-menu-item.hs-menu-depth-1.hs-item-has-children:hover::after {
    width: 100%;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    white-space: nowrap;
}

.menu-list li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.menu-list a {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 15px;
    display: block;
}

.menu-item:hover .sub-menu {
    display: block;
}

.mobile-menu {
    display: none;
}

.sub-menu {
    display: none;
    position: absolute;
    background-color: #0D253A;
    width: 300px;
    left: 0;
    top: 100%;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sub-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sub-menu li {
    padding: 10px 15px;
}

.sub-menu a {
    color: #fff;
    text-decoration: none;
}

.actions {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.sign-in {
    text-decoration: none;
    color: #ffffff;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.login-icon {
    margin-left: 5px;
}

.newsletter .cta {
    border: 1px solid white;
    background-color: transparent;
    color: white;
    text-decoration: none;
}

.social-media-container {
    border-bottom: 1px solid rgba(23, 169, 220, 0.3);
    padding: 1em 0;
}


.demo-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.hero-section {
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hero-content {
    color: #fff;
    flex: 1;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-content h3.amplied {
    font-family: "Ncino-Avenir Bold";
    font-size: 4em;
    margin: 30px auto;
}

.hero-content p {
    line-height: 140%;
    letter-spacing: -0.03563rem;
    margin-top: 16px;
    max-width: 75%;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-content p {
    max-width: 100%;
  }
}

.content-section, .content-section-post {
    background-color: var(--Snow, #FBF9F6);
    padding: 40px 20px;
}
.content-section {
    background-color: #FBF9F6;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

.article {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 35vh;
}

.article-footer {
    position: relative;
}

.article-tag span {
    text-transform: uppercase;
    color: #0D253A;
}

.article h3 {
    margin-bottom: 10px;
    margin-top: 5px;
    font-size: 1.4em;
    font-family: 700;
    line-height: 1.2;
}

.article h3>a {
    color: var(--Midnight, #0D253A);
    font-family: "Ncino-Avenir Medium";
    font-weight: 700;
    text-decoration: none;
}

.article img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
}

.date {
    font-size: 0.8em;
    letter-spacing: 1.92px;
    margin-top: 10px;
    text-transform: uppercase;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 3em 0;
    background-color: #FBF9F6;
}

/* .pagination a {
    text-decoration: none;
    color: #007bff;
    padding: 10px 15px;
    border: 1px solid #007bff;
    border-radius: 5px;
} */


.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.page-numbers li {
    margin: 0 5px;
}

.page-numbers a {
    text-decoration: none;
    color: #9a9dac;
    padding: 5px 10px;
    border: 1px solid #9a9dac;
    border-radius: 5px;
}

footer {
    background-color: #0D253A;
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(23, 169, 220, 0.3);
}

.footer-top .logo img {
    width: 200px;
}

.social-media {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.social-media li {
    margin: 0 10px;
}

.social-media a {
    color: #fff;
    font-size: 1.2em;
}

.newsletter {
    display: flex;
    align-items: center;
}

.newsletter p {
    margin-right: 10px;
}

.subscribe-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-top: 20px;
}

.footer-column > h3 {
    font-family: "Ncino-Avenir Medium";
}

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

.footer-column li {
    margin-bottom: 5px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
}

.sub-menu {
    left: 0;
}

#articles-home-wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px; /* Adjust the gap as needed */
}

#filter-container {
}

#posts-listing-container {
  flex: 1; /* Takes up the remaining space */
}

/* Blog Post Template Styles */
.blog-post-container {
  /* Add overall container styles here */
}

.blog-post-container .hero-section {
  /* Style the hero section */
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.blog-post-container .hero-content {
  color: #fff;
  flex: 1;
  padding-right: 20px;
}

.blog-post-container .hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.blog-post-container .hero-content p {
  line-height: 140%;
  letter-spacing: -0.03563rem;
  margin-top: 16px;
  max-width: 75%;
}

.blog-post-container .hero-image {
  flex: 1;
  text-align: right;
}

.blog-post-container .hero-image img {
  max-width: 100%;
  height: auto;
}

.blog-post-container .content-section {
  background-color: var(--Snow, #FBF9F6);
  padding: 40px 20px;
  display: flex; /* Add flex layout */
}

.blog-post-container .share-icons {
  width: 50px; /* Adjust width as needed */
  margin-right: 20px; /* Add spacing between share icons and post body */
}

/* Social sharing widget styles */
.social-share-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 100;
}

.share-label {
  font-family: "Ncino-Avenir Medium";
  font-size: 14px;
  font-weight: 600;
  color: var(--nCino-Blues-Blue_900_Eclipse, #0D253A);
  margin-bottom: 5px;
}

.share-button {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: var(--nCino-Blues-Blue_900_Eclipse, #0D253A);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.share-button:hover {
  background-color: var(--Midnight, #0D253A);
  opacity: 0.9;
}

.share-button i {
  font-size: 20px;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
  .social-share-sidebar {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0;
    transform: none;
  }
}

.hero-wrapper {
    background-color: #ffffff;
}

.post-title {
    text-transform: uppercase;
    letter-spacing: 1.92px;
}

.blog-body-content {
    padding: 4em 0 4em 4em;
    border-left: 1px solid #17A9DC;
}

.content-section-post .hero-section.content-wrapper {
    border-left: 1px solid #17A9DC;
    padding: 0 4em;
}

.blog-body-wrapper-full {
    background-color: #FBF9F6;
}

.content-section-post.blog {
    background-color: #ffffff;
    padding: 3em 0 0 0;
}

.hero-content-post h2 {
    font-size: 3.4em;
    margin-bottom: 10px;
    margin-top: 0;
    font-family: "Ncino-Avenir Bold";
    font-weight: 300;
}

.hero-content-post h2::first-line {
    font-family: "Ncino-Avenir";
}

.blog-post-container .share-icons a {
  /* Style share icons */
  display: block;
  margin-bottom: 10px;
  color: #0D253A; /* Adjust color as needed */
}

.blog-post-container .post-body {
  flex: 1; /* Let post body take remaining space */
}

.blog-post-container .author-bio {
  /* Style author bio section */
  display: flex;
  margin-top: 20px;
  padding: 20px;
  background-color: #f0f0f0; /* Adjust background color as needed */
  border-radius: 5px;
}

.blog-post-container .author-image {
  min-width: 225px;
  margin-right: 20px;
}

.blog-post-container .author-image img {
  width: 100%;
  border-radius: 50%; /* Make image circular */
  border: 3px solid white;
}

.author-social-media a {
    background-color: #ffffff;
    border-radius: 3px;
    padding: 3px 0.6em;
    margin-right: 0.5em;
    color: #0D253A;
}

.blog-post-container .author-details {
  flex: 1;
}

.author-content h3 {
    font-family: "Ncino-Avenir Bold";
}

.blog-post-container .related-articles {
  /* Style related articles section */
  padding: 40px 20px;
  background-color: #0D253A; /* Adjust background color as needed */
  color: #fff; /* Adjust text color as needed */
}

.blog-post-container .related-articles h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.blog-post-container .related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.blog-post-container .related-article {
  /* Style each related article */
  background-color: #fff;
  color: #0D253A;
  padding: 20px;
  border-radius: 5px;
}

.blog-post-container .related-article img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.blog-post-container .related-article .topic-tags {
  /* Style topic tags */
  margin-top: 10px;
}

.blog-post-container .related-article .topic-tag {
  /* Style each topic tag */
  display: inline-block;
  padding: 5px 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-right: 5px;
}

.author-wrapper {
    background-color: #0D253A;
    border-radius: 7px;
    padding: 1.5em;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    gap: 2em;
    margin-top: 4em;
}

/* Add more styles as needed to match the screenshot */

header {
    background-color: #0D253A;
    position: relative;
    padding: 10px 0;
    
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
}

.logo img {
}

.mega-menu {
    margin: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    white-space: nowrap;
}

.menu-list li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.menu-list a {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 15px;
    display: block;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu {
    display: none;
    position: absolute;
    background-color: #0D253A;
    width: 300px;
    left: 0;
    top: 100%;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sub-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sub-menu li {
    padding: 10px 15px;
}

.sub-menu a {
    color: #fff;
    text-decoration: none;
}

.actions {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.sign-in {
    text-decoration: none;
    color: #ffffff;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.login-icon {
    margin-left: 5px;
    display: flex;
}

.cta {
    border-radius: 5px;
    border: 0.678px solid var(--Ocean-300, #7ECBE3);
    background: #7ECBE3;
    color: var(--nCino-Blues-Blue_900_Eclipse, #0D253A);
    text-align: right;
    font-family: "Ncino-Avenir";
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 0.83056rem */
    letter-spacing: -0.03563rem;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
}
.demo-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

/* HubSpot Menu Styles */
.hs-menu-wrapper {
    margin: 0;
}

.hs-menu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-vertical ul {
    flex-direction: column;
}

.hs-menu-wrapper.hs-menu-flow-vertical ul li a {
    padding: 0;
}

.hs-menu-wrapper ul li {
    display: inline-block;
    margin: 0 15px 0 0;
    position: relative;
}

.hs-menu-wrapper ul li a {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 15px 10px 0;
    display: block;
    font-family: "Ncino-Avenir";
    font-size: 16px;
    line-height: 1.5;
}

.hs-menu-wrapper ul li.hs-menu-depth-1>a:hover {
    color: #7ECBE3;
}

/* Dropdown styles */
.hs-menu-children-wrapper {
    position: absolute;
    background-color: #ffffff;
    min-width: 250px;
    left: 0;
    top: 100%;
    z-index: 10;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    pointer-events: none;
    flex-direction: column;
}

.hs-menu-wrapper .hs-menu-children-wrapper a {
    color: #0D253A;
}

.hs-menu-item.hs-item-has-children:hover .hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.hs-menu-children-wrapper li {
    margin: 0 !important;
    padding: 0;
}

.hs-menu-children-wrapper li a {
    padding: 8px 20px;
    color: #ffffff;
    font-size: 14px;
    white-space: normal;
    transition: all 0.3s ease-in-out;
}

.hs-menu-children-wrapper li a:hover {
    background-color: rgba(126, 203, 227, 0.1);
}

.hs-menu-item.hs-menu-depth-2 a{
    padding: 1em 0 1em 2em;
}

.hs-menu-item.active > a {
    color: #7ECBE3;
}

@media (max-width: 2150px) {
    .article-grid {
        grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    }
}

@media (max-width: 1024px) {
    #articles-home-wrapper {
        flex-direction: column;
    }

    #filter-container {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    #hs_cos_wrapper_mobile_menu {
        width: 100%;
    }

    #hs_cos_wrapper_mobile_menu .hs-menu-wrapper ul {
        align-items: column;
    }

    .author-wrapper {
        flex-direction: column;
    }

    .blog-post-container .author-image {
        width: 100%;
    }

    .mobile-menu .hs-menu-children-wrapper {
        display: none;
    }

    .footer-top{
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-body-content {
        padding-top: 2em;
        padding-left: 1em;
    }

    .content-wrapper {
        width: 90vw;
    }

    .social-share-sidebar {
        display: none;
    }

    #page-inner-wrapper {
        padding: 0;
        width: 100%;
    }

    .hero-content-post h2 {
        font-size: 1.5em;
    }

    .hs-menu-wrapper ul {
        flex-direction: column;
    }
    
    .hs-menu-wrapper ul li {
        margin: 0;
    }
    
    .hs-menu-children-wrapper {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .actions {
        display: none;
    }

    .mobile-menu {
        position: absolute;
        top: 4.5em;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 100;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        border-radius: 10px;
        display: flex;
    }

    /* .mobile-menu li.hs-menu-item a {
    } */
    
    .mobile-menu .hs-menu-depth-1>a {
        /* padding-left: 1em; */
        text-align: center;
        color: #0D253A;
    }

    .mobile-menu .hs-menu-depth-2>a{
        padding-left: 2em;
    }

    /* .mobile-menu .hs-menu-children-wrapper {
        background-color: #0D253A;
        color: #ffffff;
    }

    .mobile-menu .hs-menu-children-wrapper a {
        color: #ffffff;
    } */

    .mobile-menu.active {
        max-height: 100vh;
    }

    .hero-section {
        flex-direction: column;
    }
}

.bottom-strip{width: 100%;
  text-align: center; 
  background-color: #fbf9f6;
  margin: 4em;
}