/*
Theme Name: Hello Elementor - Child
Author: WildPress
Template: hello-elementor
Version: 1.0.0
*/

.otgs-development-site-front-end
{ display: none !important;}

.footer-nav-col {
    .menu {
        list-style: none;
        padding: 0;
        margin: 0;
        font-family: "Rethink Sans", sans-serif;
        font-size: 16px;
        font-weight: 600;

        a {
            color: black;
        }
    }
}

.menu-item .sub-arrow {
    fill: #FF00C1;
}

body {
  /* Global list styling (content lists) */
  :where(ol, ul):not(:is(nav *, nav, aside *, aside, .hs-form *, .hs-form)) {
    margin-left: 2em;

    > * {
      margin-bottom: 0.5rem;
    }
  }

  /* Ordered list styling */
  ol:not(.hs-form ol) {
    list-style: decimal;
    margin-top: 0.5rem;
  }

  ol:not(.hs-form ol) ol {
    list-style: lower-alpha;
  }

  /* Unordered list styling (content lists) */
  ul:not(.hs-form ul):not(:is(nav *, nav, aside *, aside)) {
    list-style: disc;
  }
}

/* -------------------------------------------------------------------------- */
/* Elementor fixes                                                             */
/* -------------------------------------------------------------------------- */

/* Remove indentation only for Elementor post info (meta / terms) */
.elementor-post-info__terms-list,
.elementor-widget-post-info ul,
.elementor-widget-post-info ol {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none;
}

/* Restore sensible spacing for text content blocks in Elementor */
.elementor-widget-text-editor > * + * {
  margin-top: 1rem !important;
}

/* -------------------------------------------------------------------------- */
/* Cookie notice                                                               */
/* -------------------------------------------------------------------------- */

#cookie-notice {
  font-size: 16px;
  font-family: "Rethink Sans";
}

#cookie-notice .xplus-cookie {
  background: #F3F1FF;
  color: #6701ED;
  border: none;
}

#cookie-notice .cn-close-icon {
  background: transparent;
  color: white;
  border: none;
}

#cookie-notice .cn-close-icon:before,
#cookie-notice .cn-close-icon:after {
  background-color: white !important;
}
/* -------------------------------------------------------------------------- */
/* Blog post link styling                                                      */
/* -------------------------------------------------------------------------- */

/* Apply consistent link color to blog post content only */
.single-post .elementor-widget-theme-post-content a:not(.wp-element-button) {
  color: #6701ed;
}

/* Add spacing below h4 headings in blog post content */
.single-post .elementor-widget-theme-post-content h4 {
  margin-bottom: 0.75em;
}

/* -------------------------------------------------------------------------- */
/* Blog post image spacing                                                     */
/* -------------------------------------------------------------------------- */

/* Add spacing above images in blog post content */
.single-post .elementor-widget-theme-post-content img {
  margin-top: 1.5em;
}

/* -------------------------------------------------------------------------- */
/* Blog post table styling                                                     */
/* -------------------------------------------------------------------------- */

/* Base table styling for blog posts */
.single-post .elementor-widget-theme-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-family: "Rethink Sans", sans-serif;
}

/* Table cells */
.single-post .elementor-widget-theme-post-content td,
.single-post .elementor-widget-theme-post-content th {
  padding: 0.75em 1em;
  border: 1px solid #e0e0e0;
  text-align: left;
}

/* Header row - override inline blue to purple, white text */
.single-post .elementor-widget-theme-post-content tr:first-child td,
.single-post .elementor-widget-theme-post-content th {
  background-color: #6701ed !important;
  color: white !important;
  font-weight: 600;
}

/* Header row paragraph text also white */
.single-post .elementor-widget-theme-post-content tr:first-child td p,
.single-post .elementor-widget-theme-post-content th p {
  color: white !important;
}

/* Body rows - ensure readable dark text */
.single-post .elementor-widget-theme-post-content tr:not(:first-child) td {
  color: #333;
  background-color: white !important;
}

.single-post .elementor-widget-theme-post-content tr:not(:first-child) td p {
  color: #333;
}

/* Alternating row colors for readability */
.single-post .elementor-widget-theme-post-content tr:nth-child(even):not(:first-child) td {
  background-color: #f9f9f9 !important;
}

/* -------------------------------------------------------------------------- */
/* Blog post list spacing                                                      */
/* -------------------------------------------------------------------------- */

/* More generous spacing for list items in blog post content */
.single-post .elementor-widget-theme-post-content li {
  color: #535862;
  margin-bottom: 1em;
}

/* -------------------------------------------------------------------------- */
/* Blog post nested list spacing                                               */
/* -------------------------------------------------------------------------- */

/* Add spacing above nested lists in blog post content */
.single-post .elementor-widget-theme-post-content li > ul,
.single-post .elementor-widget-theme-post-content li > ol {
  margin-top: 0.75em;
}

/* -------------------------------------------------------------------------- */
/* Blog post text color                                                        */
/* -------------------------------------------------------------------------- */

/* Set grey text color on post content container so all elements inherit it */
.single-post .elementor-widget-theme-post-content {
  color: #535862;
}

/* Keep headings black in blog posts */
.single-post .elementor-widget-theme-post-content h1,
.single-post .elementor-widget-theme-post-content h2,
.single-post .elementor-widget-theme-post-content h3,
.single-post .elementor-widget-theme-post-content h4,
.single-post .elementor-widget-theme-post-content h5,
.single-post .elementor-widget-theme-post-content h6 {
  color: #000;
}

/* -------------------------------------------------------------------------- */
/* Remove rounded corners on mobile: Services block and Solutions Table        */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .elementor-element-309d99e6,
  .elementor-element-ed89b81 {
    border-radius: 0 !important;
  }

  /* Fix Contact Us block side padding (24px -> 16px to match other sections) */
  .elementor-element-27b239cc {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Remove rounded corners: Solutions block on Industry pages (mobile only)     */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .elementor-element-7fef6af {
    border-radius: 0 !important;
  }

  /* Second Solutions block (red bg) on Industry pages */
  /* Manufacturing: 56233fd, Retail: 72bf473, Financial Services: d9658f1 */
  .elementor-element-56233fd,
  .elementor-element-72bf473,
  .elementor-element-d9658f1 {
    border-radius: 0 !important;
  }
}
