/* GLOBAL */

body {
    background-color: #121212;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

.rd-green-text {
    color: #79ffc0;
}

.rd-blue-text {
    color: #88d1f9;
}

.rd-bold {
    font-weight: 700;
}

.rd-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

a.content-link {
    color: #2f81f7;
    text-underline-offset: 25%;
}

/* HEADER */

header#masthead {
    border-bottom: 1px solid #343434;
    padding: 0px 14px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    flex: 0 0 145px;
}

/* logo */

.site-branding a {
    font-family: Courier New;
    text-decoration: none;
    color: #79ffc0;
}

/* nav */

@media (min-width: 769px) {
  nav#site-navigation .menu-toggle {
    display: none;
  }
}

nav#site-navigation {
    margin-left: auto;
}

ul#primary-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#primary-menu a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

ul#primary-menu a:hover {
    color: #ffbaba;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.mobile-nav-ctas {
    display: none;
}

/* mobile nav */
/* MOBILE NAV – Stripe-like overlay */
@media (max-width: 768px) {

  /* keep logo visible even when overlay is open */
  nav#site-navigation.toggled ~ .site-branding { display:block; } /* harmless */

  /* when menu is open, pin the branding to top-left */
  nav#site-navigation.toggled .menu-toggle{
    position: fixed;
    top: calc(env(safe-area-inset-top) + 10px);
    right: 14px;
    z-index: 10004;
  }

  header#masthead .site-branding{
    position: fixed;
    top: calc(env(safe-area-inset-top) + 3px);
    left: 14px;
    z-index: 10004;
  }

  /* =========================
     FIXED HEADER (LOGO + TOGGLE)
     ========================= */

  header#masthead{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: #121212;
    border-bottom: 1px solid #343434;
    padding-top: env(safe-area-inset-top);
  }

  .header-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
  }

  /* prevent page from hiding under fixed header */
  body{
    padding-top: calc(64px + env(safe-area-inset-top));
  }

  /* =========================
     MENU TOGGLE (BURGER / X)
     ========================= */

  nav#site-navigation{
    margin-left: auto;
    position: static;
  }

  nav#site-navigation .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 10003;
  }

  /* default: show burger SVG */
  nav#site-navigation .menu-toggle svg{
    display: block;
  }

  nav#site-navigation .menu-toggle svg rect {
    fill: #ffffff !important;
  }

  /* open: hide burger, show X */
  nav#site-navigation.toggled .menu-toggle svg{
    display: none;
  }

  nav#site-navigation.toggled .menu-toggle::before{
    content: "✕";
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
  }

  /* =========================
     FULLSCREEN OVERLAY MENU
     ========================= */

  nav#site-navigation .menu-menu-1-container{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #121212;

    /* space below fixed header */
    padding-top: calc(64px + env(safe-area-inset-top));
    padding-left: 22px;
    padding-right: 22px;

    /* space for bottom CTAs */
    padding-bottom: calc(96px + env(safe-area-inset-bottom));

    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav#site-navigation.toggled .menu-menu-1-container{
    display: block;
  }

  /* =========================
     MENU ITEMS (STRIPE STYLE)
     ========================= */

  nav#site-navigation #primary-menu{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  nav#site-navigation #primary-menu li{
    border-bottom: 1px solid #343434;
  }

  nav#site-navigation #primary-menu a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
  }

  nav#site-navigation #primary-menu a::after{
    content: "›";
    font-size: 26px;
    opacity: 0.7;
    line-height: 1;
    transform: translateY(-1px);
  }

  /* =========================
     BOTTOM CTA BAR
     ========================= */

  nav#site-navigation .mobile-nav-ctas{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;

    background: #121212;
    border-top: 1px solid #343434;

    padding: 16px 18px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));

    display: none;
    gap: 12px;
  }

  nav#site-navigation.toggled .mobile-nav-ctas{
    display: flex;
  }

  nav#site-navigation .mobile-nav-ctas .btn{
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #343434;
  }

  nav#site-navigation .mobile-nav-ctas .btn-secondary{
    background: transparent;
    color: #ffffff;
  }

  nav#site-navigation .mobile-nav-ctas .btn-primary{
    background: #ffffff;
    color: #121212;
    border-color: #ffffff;
  }
}

/* PAGE CONTENT */

header.entry-header {
    display: none;
}

.entry-content {
    margin: 80px auto 0;
    max-width: 1000px;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .entry-content {
        margin: 30px auto 0;
    }
}

.page-template-page-generic-rd-2-0  .entry-content ul,
.page-template-page-homepage-rd-2-0 .entry-content ul {
    list-style: none;
    padding-left: 1.2em;
}

.page-template-page-generic-rd-2-0  .entry-content ul.home-uvps li,
.page-template-page-homepage-rd-2-0 .entry-content ul.home-uvps li {
    position: relative;
    margin-bottom: 10px;
}

.page-template-page-generic-rd-2-0  .entry-content ul.home-uvps li:before,
.page-template-page-homepage-rd-2-0  .entry-content ul.home-uvps li:before {
    content: "–";
    position: absolute;
    left: -1.2em;
}

/* tool logos */

div#tool-logos {
    margin-top: 50px;
    text-align: center;
}

div#tool-logos img {
    height: 21px;
    margin-right: 25px;
    filter: brightness(0) invert(0.7);
    vertical-align: bottom;
    margin-bottom: 18px;
}

/* ascii styles */

.home-page-asciis .c {
    color: #79ffc0;
}


/* trusted by section */

div#section-trusted-by {
    margin-top: 34px;
    text-align: center;
}

div#section-trusted-by img {
    height: 28px;
    margin-right: 28px;
    filter: brightness(0) invert(0.7);
    vertical-align: bottom;
    margin-bottom: 18px;
}

/* GLOBAL FOOTER */

.site-footer {
    margin: 20px 16px;
    border-top: 1px solid #343434;
    padding-top: 26px;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-wrapper > section {
    flex: 1 1 230px;
}

.footer-wrapper ul {
    list-style: none;
    padding-left: 1.2em;
}

.footer-wrapper ul li {
    position: relative;
    margin-bottom: 10px;
}

.footer-wrapper ul li:before {
    content: ">";
    position: absolute;
    left: -1.2em;
}

.footer-wrapper ul li a {
    color: white;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.footer-wrapper ul li a:hover {
    color: #ffbaba;
}

/* CONTACT US */

.contact-form-container {
    line-height: 2;
    background: #232323;
    padding: 20px;
}

.contact-form-container input,
.contact-form-container textarea {
    padding: 7px;
    background: #545454;
    color: white;
    font-size: 15px;
    border: none;
    max-width: 98.5%;
}

.contact-form-container textarea {
    width: 98.5%;
}

.contact-form-container input#submit-contact-form {
    padding: 12px 32px;
    cursor: pointer;
}

/* BLOG */

.custom-blog-header {
    margin: 30px auto 0;
    max-width: 1180px;
    padding: 16px 16px;
}

.blog-header-nav-container {
    background: #212121;
}

.blog-header-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 16px;
}

ul#menu-blog-home-nav {
    display: flex;
    gap: 42px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#menu-blog-home-nav a:hover {
    color: #ffbaba;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

div.blog-outer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.sidebar-container {
    padding: 0 16px;
    margin-top: 58px;
}

.entry-meta {
    margin-top: 20px;
    font-style: italic;
    color: #acacac;
}

.entry-meta a {
    color: #acacac;
    cursor: pointer;
}

.entry-meta a:hover {
    color: #ffbaba;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

ul.post-categories {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

ul.post-categories li {
    display: inline;
}

ul.post-categories li:not(:last-child)::after {
    content: " / ";
}

.blog-outer img {
    max-width: 100%;
    height: auto;
}

.blog-outer article {
    border-bottom: 1px solid #2c2c2c;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.blog-outer a.m_btn.m_btn-primary {
    color: #88d1f9;
    cursor: pointer;
}

.blog-outer a.m_btn.m_btn-primary:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

@media (max-width: 890px) {
    .custom-blog-header {
        margin: 0 auto 0;
    }
    .blog-header-nav {
        padding: 0 0;
    }
    ul#menu-blog-home-nav {
        display: block;
        padding: 16px 16px;
    }

    ul#menu-blog-home-nav li {
        padding: 6px 0;
    }

    div.blog-outer {
        grid-template-columns: 1fr;
        display: block;
    }

    /* blog sidebar */

    .sidebar-container {
        margin-top: 0;
    }
}

/* blog sidebar */

.sidebar-custom-cta {
    display: none;
}

section#recent-posts-2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

section#recent-posts-2 ul li {
    margin-bottom: 28px;
}

section#recent-posts-2 ul li a:hover {
    color: #88d1f9;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

section#categories-2 ul {
    padding: 0 0 0 17px;
}

section#categories-2 ul a:hover {
    color: #88d1f9;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

section#text-13 {
    background: #232323;
    padding: 6px 10px 15px;
    margin-top: 12px;
}

section#text-13 input[type=email] {
    border-radius: 0;
    padding: 5px;
    border: none;
    width: 96%;
}

section#text-13 input[type=submit] {
    background: #545454;
    color: white;
    padding: 8px 28px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

/* single blog post */

.single-blog-post {
    padding: 0 26px;
}

.single-blog-post header.entry-header {
    display: block;
    margin-top: 76px;
}

.single-blog-post .entry-meta {
    margin-bottom: 30px;
}

.single-blog-post .entry-content {
    margin: 34px auto 0;
    padding: 0 0;
    max-width: 750px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
    line-height: 1.5;
}

.single-blog-post .entry-content > a,
.single-blog-post .entry-content p > a {
    text-decoration: underline;
    text-underline-offset: 25%;
    color: #2f81f7;
}

.single-blog-post .entry-content .wp-caption {
    max-width: 100%;
    margin: 1em 0;
    font-style: italic;
    color: #c1c1c1;
}

.featherlight .featherlight-inner {
    max-width: 100vw;
}

.single-blog-post .entry-content pre {
    background: #161b22;
    border: 1px solid #30363d;
    font-size: 95%;
    border-radius: 6px;
    padding: 16px;
}

@media (max-width: 890px) {
    .single-blog-post header.entry-header {
        margin-top: 0;
    }

}

/* single blog post footer */

.single-blog-post footer.entry-footer {
    border-top: 1px solid #505050;
    margin-top: 40px;
}

.entry-footer section#custom_html-3 {
    background: #232323;
    padding: 6px 10px 15px;
}

.entry-footer section#custom_html-3 input[type=email] {
    border-radius: 0;
    padding: 5px;
    border: none;
    /*width: 96%;*/
}

.entry-footer section#custom_html-3 input[type=submit] {
    background: #545454;
    color: white;
    padding: 8px 28px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.entry-footer section#recent-posts-4 a:hover {
    color: #88d1f9;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.entry-footer .social-toolbar a {
    border: 1px solid grey;
    padding: 10px;
    margin-right: 20px;
    cursor: pointer;
}

.entry-footer .social-toolbar a:hover {
    background: #273164;
}

.entry-footer section#text-7 {
    margin: 38px 0 30px;
}

.entry-footer section#text-7 a:hover {
    color: #88d1f9;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.post-author {
    background: #232323;
    padding-right: 20px;
}

.post-author > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .post-author > div {
        grid-template-columns: 1fr;
    }
    .post-author .author-right {
        padding-left: 20px;
    }
}

div#comments p.comment-form-comment label {
    display: block;
}

div#comments textarea#comment {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

div#comments input#submit {
    background: #545454;
    color: white;
    padding: 8px 28px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}