/**
 * New Default Block - Sub Services Features List
 * CSS for flexible content block with different background colors
 * Hierarchical structure to avoid conflicts with site-wide styles
 */

/* ==========================================================================
   BLOCK CONTAINER & LAYOUT
   ========================================================================== */

.new-default-block {
    position: relative;
    z-index: 1;
}

.new-default-block .sub-services-featlist {
    position: relative;
    overflow: hidden;
}

.new-default-block .block-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   SHADOW OVERRIDES - Remove unwanted shadows
   ========================================================================== */

/* Override ALL shadow classes with maximum specificity */
.new-default-block .service-card,
.new-default-block .sliditem .service-card,
.new-default-block .sliditem div[class*="service-card"],
.new-default-block div[class*="service-card"] {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    --tw-shadow: none !important;
    --tw-shadow-colored: none !important;
    filter: none !important;
}

.new-default-block .service-card:hover,
.new-default-block .sliditem .service-card:hover,
.new-default-block .sliditem div[class*="service-card"]:hover,
.new-default-block div[class*="service-card"]:hover {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    --tw-shadow: none !important;
    --tw-shadow-colored: none !important;
    filter: none !important;
}

/* Override any shadow classes that might be applied */
.new-default-block .shadow-lg,
.new-default-block .shadow-xl,
.new-default-block .shadow,
.new-default-block .shadow-md,
.new-default-block .shadow-sm {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    --tw-shadow: none !important;
    --tw-shadow-colored: none !important;
    filter: none !important;
}

/* Override any element with shadow in the block */
.new-default-block *[class*="shadow"] {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    --tw-shadow: none !important;
    --tw-shadow-colored: none !important;
    filter: none !important;
}

/* ==========================================================================
   BACKGROUND COLOR SCHEMES - All with !important
   ========================================================================== */

/* Transparent Background */
.new-default-block.nptrans {
    background: transparent !important;
}

.new-default-block.nptrans .sub-services-featlist {
    background: transparent !important;
    box-shadow: none !important;
}

.new-default-block.nptrans .subtext{
    margin-bottom: 30px;
}

.new-default-block.nptrans .subtext,
.new-default-block.nptrans .addtitle h3,
.new-default-block.nptrans .subtext h1,
.new-default-block.nptrans .subtext h2,
.new-default-block.nptrans .subtext h3,
.new-default-block.nptrans .subtext h4,
.new-default-block.nptrans .subtext h5,
.new-default-block.nptrans .subtext h6,
.new-default-block.nptrans .subtext p,
.new-default-block.nptrans .subtext ul,
.new-default-block.nptrans .subtext ol,
.new-default-block.nptrans .subtext li,
.new-default-block.nptrans .subtext strong,
.new-default-block.nptrans .subtext b,
.new-default-block.nptrans .subtext em,
.new-default-block.nptrans .subtext i {
    color: #1b1d21 !important;
}

/* ==========================================================================
   BACKGROUND COLOR ADAPTATION SYSTEM
   ========================================================================== */

/* Dark backgrounds - white text */
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .addtitle h3,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext h1,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext h2,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext h3,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext h4,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext h5,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext h6,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext p,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext ul,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext ol,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext li,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext strong,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext b,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext em,
.new-default-block .sub-services-featlist[style*="background-color: #0F2027"] .subtext i {
    color: #ffffff !important;
}

.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .addtitle h3,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext h1,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext h2,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext h3,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext h4,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext h5,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext h6,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext p,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext ul,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext ol,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext li,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext strong,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext b,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext em,
.new-default-block .sub-services-featlist[style*="background-color: #1B71B6"] .subtext i {
    color: #ffffff !important;
}

.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .addtitle h3,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext h1,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext h2,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext h3,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext h4,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext h5,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext h6,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext p,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext ul,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext ol,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext li,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext strong,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext b,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext em,
.new-default-block .sub-services-featlist[style*="background-color: #24A7D9"] .subtext i {
    color: #ffffff !important;
}

/* White background - dark text */
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .addtitle h3,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext h1,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext h2,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext h3,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext h4,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext h5,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext h6,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext p,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext ul,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext ol,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext li,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext strong,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext b,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext em,
.new-default-block .sub-services-featlist[style*="background-color: #ffffff"] .subtext i {
    color: #1b1d21 !important;
}

/* Transparent background - dark text */
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .addtitle h3,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext h1,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext h2,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext h3,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext h4,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext h5,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext h6,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext p,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext ul,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext ol,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext li,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext strong,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext b,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext em,
.new-default-block .sub-services-featlist[style*="background-color: transparent"] .subtext i {
    color: #1b1d21 !important;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM COM CLASSE COMPARTILHADA
   ========================================================================== */
.new-default-block.defaultp-wrap.sblock .defaultp .gridn > div{
    box-shadow: none;
}
.new-default-block .subtext ul,
.new-default-block .subtext ol {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5em !important;
    margin: 0 0 24px 0 !important;
    padding-left: 28px !important;
}

.new-default-block .subtext ul {
    list-style-type: disc !important;
}

.new-default-block .subtext ol {
    list-style-type: decimal !important;
}

.new-default-block .subtext li {
    margin-bottom: 12px !important;
}

.new-default-block .subtext li:last-child {
    margin-bottom: 0 !important;
}

/* Nested lists */
.new-default-block .subtext ul ul,
.new-default-block .subtext ol ol,
.new-default-block .subtext ul ol,
.new-default-block .subtext ol ul {
    margin: 10px 0 !important;
    padding-left: 20px !important;
}

/* Links */
.new-default-block .subtext a {
    color: #42bcfc !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
    font-weight: 500 !important;
}

.new-default-block .subtext a:hover {
    color: #1b1d21 !important;
    text-decoration: none !important;
}

/* Strong and Bold */
.new-default-block .subtext strong,
.new-default-block .subtext b {
    font-weight: 700 !important;
}

/* Emphasis */
.new-default-block .subtext em,
.new-default-block .subtext i {
    font-style: italic !important;
}

/* Blockquotes */
.new-default-block .subtext blockquote {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5em !important;
    margin: 0 0 24px 0 !important;
    padding: 16px 24px !important;
    border-left: 4px solid #42bcfc !important;
    background-color: rgba(66, 188, 252, 0.05) !important;
    border-radius: 8px !important;
    font-style: italic !important;
}

.new-default-block .subtext blockquote p {
    margin: 0 !important;
}

/* Code blocks */
.new-default-block .subtext code {
    font-family: 'Courier New', monospace !important;
    font-size: 16px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

.new-default-block .subtext pre {
    font-family: 'Courier New', monospace !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 0 0 24px 0 !important;
    padding: 16px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
}

/* Horizontal rules */
.new-default-block .subtext hr {
    margin: 32px 0 !important;
    border: none !important;
    height: 1px !important;
    background: rgba(66, 188, 252, 0.2) !important;
}

/* ==========================================================================
   ADDITIONAL HTML ELEMENTS
   ========================================================================== */

/* Underline */
.new-default-block .subtext u {
    text-decoration: underline !important;
}

/* Images & Figures */
.new-default-block .subtext img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 16px 0 !important;
    display: block !important;
}

.new-default-block .subtext figure {
    margin: 24px 0 !important;
    text-align: center !important;
}

.new-default-block .subtext figure img {
    margin: 0 0 12px 0 !important;
}

.new-default-block .subtext figcaption {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: rgba(0, 0, 0, 0.6) !important;
    font-style: italic !important;
    margin-top: 8px !important;
}

/* Small text */
.new-default-block .subtext small {
    font-size: 14px !important;
}

/* Marked text */
.new-default-block .subtext mark {
    background-color: rgba(255, 255, 0, 0.3) !important;
    padding: 2px 4px !important;
    border-radius: 2px !important;
}

/* Deleted text */
.new-default-block .subtext del {
    text-decoration: line-through !important;
    color: rgba(0, 0, 0, 0.5) !important;
}

/* Inserted text */
.new-default-block .subtext ins {
    text-decoration: underline !important;
}

/* Subscript and Superscript */
.new-default-block .subtext sub {
    font-size: 75% !important;
    line-height: 0 !important;
    position: relative !important;
    vertical-align: baseline !important;
    bottom: -0.25em !important;
}
.defaultp-wrap.sblock.blk-1.new-default-block .defaultp .gridn > div {
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.new-default-block .subtext sup {
    font-size: 75% !important;
    line-height: 0 !important;
    position: relative !important;
    vertical-align: baseline !important;
    top: -0.5em !important;
}

/* Abbreviations */
.new-default-block .subtext abbr {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.5) !important;
    cursor: help !important;
}

/* Address */
.new-default-block .subtext address {
    font-style: italic !important;
    margin: 0 0 24px 0 !important;
}

/* Variable */
.new-default-block .subtext var {
    font-style: italic !important;
}

/* Sample output */
.new-default-block .subtext samp {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

/* Keyboard input */
.new-default-block .subtext kbd {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
    padding: 2px 6px !important;
    font-size: 14px !important;
}

/* Definition Lists */
.new-default-block .subtext dl {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5em !important;
    margin: 0 0 24px 0 !important;
}

.new-default-block .subtext dt {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
}

.new-default-block .subtext dd {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5em !important;
    margin: 0 0 16px 0 !important;
    padding-left: 20px !important;
}

.new-default-block .subtext dd:last-child {
    margin-bottom: 0 !important;
}

/* Tables */
.new-default-block .subtext table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 0 24px 0 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5em !important;
}

.new-default-block .subtext table th,
.new-default-block .subtext table td {
    padding: 12px 16px !important;
    text-align: left !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    vertical-align: top !important;
}

.new-default-block .subtext table th {
    background-color: rgba(0, 0, 0, 0.05) !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
}

.new-default-block .subtext table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02) !important;
}

.new-default-block .subtext table tr:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

/* Responsive table wrapper */
.new-default-block .subtext .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 0 24px 0 !important;
}

.new-default-block .subtext .table-responsive table {
    margin: 0 !important;
    min-width: 600px !important;
}

/* Lists alignment fix for centered content */
.new-default-block .subtext.text-center ul,
.new-default-block .subtext.text-center ol {
    display: inline-block !important;
    text-align: left !important;
    padding-left: 0 !important;
    list-style-position: inside !important;
}

.new-default-block .subtext.text-center ul {
    list-style-type: disc !important;
}

.new-default-block .subtext.text-center ol {
    list-style-type: decimal !important;
}

.new-default-block .subtext.text-center li {
    text-align: left !important;
}

/* Responsive list alignment */
@media (max-width: 767px) {
    .new-default-block .subtext.text-center ul,
    .new-default-block .subtext.text-center ol {
        display: block !important;
        text-align: center !important;
        padding-left: 28px !important;
        list-style-position: outside !important;
    }
    
    .new-default-block .subtext.text-center li {
        text-align: center !important;
    }
}

/* Text center content alignment */
.new-default-block .subtext.text-center {
    text-align: center !important;
}

.new-default-block .subtext.text-center p {
    text-align: center !important;
}

.new-default-block .subtext.text-center h1,
.new-default-block .subtext.text-center h2,
.new-default-block .subtext.text-center h3,
.new-default-block .subtext.text-center h4,
.new-default-block .subtext.text-center h5,
.new-default-block .subtext.text-center h6 {
    text-align: center !important;
}

.new-default-block .subtext.text-center blockquote {
    text-align: center !important;
}

.new-default-block .subtext.text-center blockquote p {
    text-align: center !important;
}

.new-default-block .subtext.text-center table {
    margin-left: auto !important;
    margin-right: auto !important;
}

.new-default-block .subtext.text-center figure {
    text-align: center !important;
}

.new-default-block .subtext.text-center figcaption {
    text-align: center !important;
}

/* Text alignment classes */
.new-default-block .subtext .text-left {
    text-align: left !important;
}

.new-default-block .subtext .text-center {
    text-align: center !important;
}

.new-default-block .subtext .text-right {
    text-align: right !important;
}

.new-default-block .subtext .text-justify {
    text-align: justify !important;
}

/* Text color utilities */
.new-default-block .subtext .text-primary {
    color: #42bcfc !important;
}

.new-default-block .subtext .text-secondary {
    color: #676767 !important;
}

.new-default-block .subtext .text-success {
    color: #10b981 !important;
}

.new-default-block .subtext .text-warning {
    color: #f59e0b !important;
}

.new-default-block .subtext .text-error {
    color: #ef4444 !important;
}

/* Text size utilities */
.new-default-block .subtext .text-sm {
    font-size: 16px !important;
}

.new-default-block .subtext .text-base {
    font-size: 18px !important;
}

.new-default-block .subtext .text-lg {
    font-size: 20px !important;
}

.new-default-block .subtext .text-xl {
    font-size: 22px !important;
}

.new-default-block .subtext .text-2xl {
    font-size: 24px !important;
}

/* Spacing utilities */
.new-default-block .subtext .mb-0 {
    margin-bottom: 0 !important;
}

.new-default-block .subtext .mb-2 {
    margin-bottom: 8px !important;
}

.new-default-block .subtext .mb-4 {
    margin-bottom: 16px !important;
}

.new-default-block .subtext .mb-6 {
    margin-bottom: 24px !important;
}

.new-default-block .subtext .mb-8 {
    margin-bottom: 32px !important;
}

.new-default-block .subtext .mt-0 {
    margin-top: 0 !important;
}

.new-default-block .subtext .mt-2 {
    margin-top: 8px !important;
}

.new-default-block .subtext .mt-4 {
    margin-top: 16px !important;
}

.new-default-block .subtext .mt-6 {
    margin-top: 24px !important;
}

.new-default-block .subtext .mt-8 {
    margin-top: 32px !important;
}

/* First and last child adjustments */
.new-default-block .subtext > *:first-child {
    margin-top: 0 !important;
}

.new-default-block .subtext > *:last-child {
    margin-bottom: 0 !important;
}

/* Adjacent sibling spacing */
.new-default-block .subtext h1 + h2,
.new-default-block .subtext h2 + h3,
.new-default-block .subtext h3 + h4,
.new-default-block .subtext h4 + h5,
.new-default-block .subtext h5 + h6 {
    margin-top: 16px !important;
}

.new-default-block .subtext p + p {
    margin-top: 8px !important;
}

.new-default-block .subtext p + ul,
.new-default-block .subtext p + ol {
    margin-top: 12px !important;
}

.new-default-block .subtext ul + p,
.new-default-block .subtext ol + p {
    margin-top: 12px !important;
}

/* First and last elements spacing */
.new-default-block .subtext > *:first-child {
    margin-top: 0 !important;
}

.new-default-block .subtext > *:last-child {
    margin-bottom: 0 !important;
}

/* Spacing between different elements */
.new-default-block .subtext h1 + h2,
.new-default-block .subtext h2 + h3,
.new-default-block .subtext h3 + h4,
.new-default-block .subtext h4 + h5,
.new-default-block .subtext h5 + h6 {
    margin-top: 16px !important;
}

.new-default-block .subtext p + h1,
.new-default-block .subtext p + h2,
.new-default-block .subtext p + h3,
.new-default-block .subtext p + h4,
.new-default-block .subtext p + h5,
.new-default-block .subtext p + h6 {
    margin-top: 24px !important;
}

.new-default-block .subtext ul + h1,
.new-default-block .subtext ul + h2,
.new-default-block .subtext ul + h3,
.new-default-block .subtext ul + h4,
.new-default-block .subtext ul + h5,
.new-default-block .subtext ul + h6,
.new-default-block .subtext ol + h1,
.new-default-block .subtext ol + h2,
.new-default-block .subtext ol + h3,
.new-default-block .subtext ol + h4,
.new-default-block .subtext ol + h5,
.new-default-block .subtext ol + h6 {
    margin-top: 24px !important;
}

/* ==========================================================================
   GRID LAYOUTS - CORRIGIDO E APERFEIÇOADO
   ========================================================================== */

/* Desktop Grid - CORRIGIDO */
.new-default-block .gridn {
    display: grid !important;
    gap: 24px !important;
    padding-top: 20px !important;
    margin-bottom: 20px !important;
}

/* CORREÇÃO: Grid columns baseado no HTML fornecido */
.new-default-block .gridn.grid-cols-1 {
    grid-template-columns: 1fr !important;
}

.new-default-block .gridn.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.new-default-block .gridn.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.new-default-block .gridn.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* CORREÇÃO: Gap específico para o HTML fornecido */
.new-default-block .gridn.gap-4 {
    gap: 16px !important;
}

.new-default-block .gridn.gap-6 {
    gap: 24px !important;
}

.new-default-block .gridn.gap-8 {
    gap: 32px !important;
}

/* CORREÇÃO: Margin top específico */
.new-default-block .gridn.mt-8 {
    margin-top: 32px !important;
}

.new-default-block .gridn.mt-6 {
    margin-top: 24px !important;
}

.new-default-block .gridn.mt-4 {
    margin-top: 16px !important;
}

/* CORREÇÃO: Responsive grid classes */
.new-default-block .gridn.sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.new-default-block .gridn.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.new-default-block .gridn.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.new-default-block .gridn.lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* CORREÇÃO: Hidden/visible classes */
.new-default-block .gridn.hidden {
    display: none !important;
}

.new-default-block .gridn.lg\:grid {
    display: grid !important;
}

/* ==========================================================================
   SERVICE CARDS - CORRIGIDO E APERFEIÇOADO
   ========================================================================== */

/* Service Card Container - CORRIGIDO */
.new-default-block .service-card {
    background: #ffffff !important;
    border-radius: 30px !important;
    padding: 24px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
}

.new-default-block .service-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* CORREÇÃO: W-full class */
.new-default-block .service-card.w-full {
    width: 100% !important;
}

/* CORREÇÃO: Flex classes */
.new-default-block .service-card.flex {
    display: flex !important;
}

.new-default-block .service-card.flex-col {
    flex-direction: column !important;
}

/* CORREÇÃO: Padding classes */
.new-default-block .service-card.p-6 {
    padding: 24px !important;
}

.new-default-block .service-card.p-4 {
    padding: 16px !important;
}

.new-default-block .service-card.p-8 {
    padding: 32px !important;
}

/* CORREÇÃO: Rounded classes */
.new-default-block .service-card.rounded-\[30px\] {
    border-radius: 30px !important;
}

.new-default-block .service-card.rounded-\[20px\] {
    border-radius: 20px !important;
}

/* CORREÇÃO: Background classes */
.new-default-block .service-card.bg-white {
    background: #ffffff !important;
}

/* Service Card Images - CORRIGIDO */
.new-default-block .service-card .img {
    margin-bottom: 16px !important;
    flex-shrink: 0 !important;
}

.new-default-block .service-card .img img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    transition: transform 0.3s ease !important;
    max-height: 200px !important;
}

.new-default-block .service-card:hover .img img {
    transform: scale(1.02) !important;
}

/* Service Card Content - CORRIGIDO */
.new-default-block .service-card .text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    text-align: center !important;
}

.new-default-block .service-card .text.text-center {
    text-align: center !important;
}

.new-default-block .service-card .text.flex {
    display: flex !important;
}

.new-default-block .service-card .text.flex-col {
    flex-direction: column !important;
}

.new-default-block .service-card .text.items-center {
    align-items: center !important;
}

.new-default-block .service-card .text.gap-3 {
    gap: 12px !important;
}

.new-default-block .service-card .text.flex-1 {
    flex: 1 !important;
}

/* Service Card Subtitle - CORRIGIDO */
.new-default-block .service-card .subtitle {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

/* Service Card Heading - CORRIGIDO */
.new-default-block .service-card h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1b1d21 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

/* CORREÇÃO: Classes específicas do heading */
.new-default-block .service-card h3.font-poppins {
    font-family: 'Poppins', sans-serif !important;
}

.new-default-block .service-card h3.text-\[24px\] {
    font-size: 24px !important;
}

.new-default-block .service-card h3.leading-none {
    line-height: 1 !important;
}

.new-default-block .service-card h3.font-bold {
    font-weight: 700 !important;
}

.new-default-block .service-card h3.text-text-black {
    color: #1b1d21 !important;
}

.new-default-block .defaultp .gridn > div{
    margin-bottom: 0 !important;
}

.new-default-block .sliditem .text-text-black {
    color: #1b1d21 !important;
}

.new-default-block .service-card h3.mb-2 {
    margin-bottom: 8px !important;
}

/* Service Description - CORRIGIDO */
.new-default-block .service-description {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #676767 !important;
    text-align: center !important;
    width: 100% !important;
}

.new-default-block .service-description p {
    margin: 0 0 12px 0 !important;
    color: #676767 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.new-default-block .service-description p:last-child {
    margin-bottom: 0 !important;
}

.new-default-block .service-description ul,
.new-default-block .service-description ol {
    text-align: left !important;
    margin: 12px 0 !important;
    padding-left: 20px !important;
}

.new-default-block .service-description li {
    margin-bottom: 6px !important;
    color: #676767 !important;
}

/* ==========================================================================
   MOBILE CAROUSEL - CORRIGIDO
   ========================================================================== */

/* Mobile Carousel - CORRIGIDO */
.new-default-block .defslides-2 .sliditem,
.new-default-block .defslides-3 .sliditem,
.new-default-block .defslides-4 .sliditem {
    padding: 0 8px !important;
}

/* Ensure carousel container is properly styled */
.new-default-block .defslides-2,
.new-default-block .defslides-3,
.new-default-block .defslides-4 {
    position: relative !important;
    overflow: hidden !important;
    margin-top: 32px !important;
}

/* Ensure slick slider styles are applied */
.new-default-block .defslides-2.slick-slider,
.new-default-block .defslides-3.slick-slider,
.new-default-block .defslides-4.slick-slider {
    display: block !important;
}

/* Fix for slick slider initialization */
.new-default-block .defslides-2:not(.slick-initialized),
.new-default-block .defslides-3:not(.slick-initialized),
.new-default-block .defslides-4:not(.slick-initialized) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

.new-default-block .defslides-2:not(.slick-initialized) .sliditem,
.new-default-block .defslides-3:not(.slick-initialized) .sliditem,
.new-default-block .defslides-4:not(.slick-initialized) .sliditem {
    flex: 1 !important;
    min-width: 250px !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN - CORRIGIDO
   ========================================================================== */

/* Large screens (lg) */
@media (min-width: 1024px) {
    .new-default-block .gridn.hidden.lg\:grid {
        display: grid !important;
    }
    
    .new-default-block .gridn.lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .new-default-block .gridn.lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .new-default-block .gridn.lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .new-default-block .service-card {
        padding: 24px !important;
        min-height: 0 !important;
    }
    
    .new-default-block .service-card h3 {
        font-size: 24px !important;
    }
    
    .new-default-block .service-description {
        font-size: 16px !important;
    }
}

/* Small screens (sm) */
@media (min-width: 640px) {
    .new-default-block .gridn.sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .new-default-block .gridn.grid-cols-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .new-default-block .service-card {
        padding: 20px !important;
        min-height: 200px !important;
    }
    
    .new-default-block .service-card h3 {
        font-size: 22px !important;
    }
    
    .new-default-block .subtext h1 {
        font-size: 28px !important;
    }
    
    .new-default-block .subtext h2 {
        font-size: 24px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .new-default-block .gridn.grid-cols-3,
    .new-default-block .gridn.grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .new-default-block .service-card {
        padding: 16px !important;
        min-height: 180px !important;
    }
    
    .new-default-block .service-card h3 {
        font-size: 20px !important;
    }
    
    .new-default-block .service-description {
        font-size: 14px !important;
    }
    
    .new-default-block .service-description p {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext h1 {
        font-size: 24px !important;
    }
    
    .new-default-block .subtext h2 {
        font-size: 20px !important;
    }
    
    .new-default-block .subtext h3 {
        font-size: 18px !important;
    }
    
    .new-default-block .subtext p {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext ul,
    .new-default-block .subtext ol {
        font-size: 14px !important;
        padding-left: 20px !important;
    }
    
    /* Mobile table adjustments */
    .new-default-block .subtext table {
        font-size: 16px !important;
    }
    
    .new-default-block .subtext table th,
    .new-default-block .subtext table td {
        padding: 8px 12px !important;
    }
    
    .new-default-block .subtext pre {
        padding: 16px !important;
        font-size: 14px !important;
    }
    
    .new-default-block .subtext code {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext blockquote {
        padding: 16px 20px !important;
        font-size: 16px !important;
    }
    
    /* Mobile definition list adjustments */
    .new-default-block .subtext dl {
        font-size: 16px !important;
    }
    
    .new-default-block .subtext dt {
        font-size: 16px !important;
    }
    
    .new-default-block .subtext dd {
        font-size: 16px !important;
        padding-left: 16px !important;
    }
    
    /* Mobile additional elements adjustments */
    .new-default-block .subtext figcaption {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext small {
        font-size: 12px !important;
    }
    
    .new-default-block .subtext kbd {
        font-size: 12px !important;
    }
    
    .new-default-block .subtext hr {
        margin: 24px 0 !important;
    }
}

@media (max-width: 480px) {
    .new-default-block .gridn.grid-cols-2,
    .new-default-block .gridn.grid-cols-3,
    .new-default-block .gridn.grid-cols-4 {
        grid-template-columns: 1fr !important;
    }
    
    .new-default-block .service-card {
        padding: 12px !important;
        min-height: 160px !important;
    }
    
    .new-default-block .service-card h3 {
        font-size: 18px !important;
    }
    
    .new-default-block .service-description {
        font-size: 13px !important;
    }
    
    .new-default-block .service-description p {
        font-size: 13px !important;
    }
    
    /* Small mobile typography adjustments */
    .new-default-block .subtext h1 {
        font-size: 20px !important;
    }
    
    .new-default-block .subtext h2 {
        font-size: 18px !important;
    }
    
    .new-default-block .subtext h3 {
        font-size: 16px !important;
    }
    
    .new-default-block .subtext h4 {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext h5 {
        font-size: 12px !important;
    }
    
    .new-default-block .subtext h6 {
        font-size: 10px !important;
    }
    
    .new-default-block .subtext p {
        font-size: 12px !important;
    }
    
    .new-default-block .subtext ul,
    .new-default-block .subtext ol {
        font-size: 12px !important;
        padding-left: 16px !important;
    }
    
    /* Small mobile table adjustments */
    .new-default-block .subtext table {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext table th,
    .new-default-block .subtext table td {
        padding: 6px 8px !important;
    }
    
    .new-default-block .subtext pre {
        padding: 12px !important;
        font-size: 12px !important;
    }
    
    .new-default-block .subtext code {
        font-size: 12px !important;
    }
    
    .new-default-block .subtext blockquote {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    /* Small mobile definition list adjustments */
    .new-default-block .subtext dl {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext dt {
        font-size: 14px !important;
    }
    
    .new-default-block .subtext dd {
        font-size: 14px !important;
        padding-left: 12px !important;
    }
    
    /* Small mobile additional elements adjustments */
    .new-default-block .subtext figcaption {
        font-size: 12px !important;
    }
    
    .new-default-block .subtext small {
        font-size: 10px !important;
    }
    
    .new-default-block .subtext kbd {
        font-size: 10px !important;
    }
    
    .new-default-block .subtext hr {
        margin: 20px 0 !important;
    }
}

/* ==========================================================================
   CTA BUTTONS - Refined
   ========================================================================== */

.new-default-block .abtn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 32px !important;
    padding: 0 16px !important;
}

.new-default-block .abtn a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 12px 24px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    min-width: 200px !important;
    text-align: center !important;
}

.new-default-block .abtn a:hover {
    transform: translateY(-1px) !important;
}

.new-default-block .abtn a.bg-red {
    background: #dc2626 !important;
    color: #ffffff !important;
}

.new-default-block .abtn a.bg-dark-blue {
    background: #1b1d21 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   ACCESSIBILITY & PERFORMANCE - Refined
   ========================================================================== */

/* Focus states */
.new-default-block .service-card:focus-within {
    outline: 2px solid #42bcfc !important;
    outline-offset: 2px !important;
}

.new-default-block .abtn a:focus {
    outline: 2px solid #42bcfc !important;
    outline-offset: 2px !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .new-default-block .service-card,
    .new-default-block .service-card .img img,
    .new-default-block .abtn a {
        transition: none !important;
    }
    
    .new-default-block .service-card:hover {
        transform: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .new-default-block .service-card {
        border: 2px solid #000000 !important;
    }
    
    .new-default-block .service-description {
        color: #000000 !important;
    }
}

/* ==========================================================================
   PRINT STYLES - Refined
   ========================================================================== */

@media print {
    .new-default-block .service-card {
        border: 1px solid #000000 !important;
        break-inside: avoid !important;
    }
    
    .new-default-block .abtn {
        display: none !important;
    }
    
    .new-default-block .bannimfull {
        display: none !important;
    }
}
