/*
Theme Name: NECSDA - Child
Version: 1
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/
@import url("../mts_schema/style.css");

/* Component styles live in assets/necsda.css (enqueued in functions.php). */
div#page {
    padding: 0px;
}

.menu-item-has-children > a:after {
    right: -11px;
}

.bottom-footer p,.bottom-footer p a {
    color: #fff;
}

.bottom-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gform_legacy_markup_wrapper .gform_footer input.button, .gform_legacy_markup_wrapper .gform_footer input[type=submit], .gform_legacy_markup_wrapper .gform_page_footer input.button, .gform_legacy_markup_wrapper .gform_page_footer input[type=submit] {color: black;}

 .testimonial-box-dm blockquote {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
 border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
 border-radius: 8px;}

.testimonial-box-dm blockquote:after {
font-size: 40px;
color: #0e070714;
}

.necsda .nec-feat-txt {
	font-size: 17px !important;}

.necsda .nec-stat-label {
    font-size: 16.5px !important;
}

.necsda .nec-p {
	font-size: 17.5px !important;}

.necsda .nec-why-text {
	font-size: 13px !important;}

.necsda .nec-video-p {
	font-size: 15.5px !important;}

.necsda .nec-inst-aside .nec-p {font-size: 17px !important;}


.necsda .nec-inst-name {
	font-size: 18px !important;}

.necsda .nec-inst-role {
	font-size: 15px !important;}

.necsda .nec-footer-title {
	font-size: 20px !important;}


.necsda .nec-footer-menu a {
    font-size: 18px !important;
}

.necsda .nec-inst .nec-h2 {
	font-size: 42px !important;}


.necsda .nec-menu a {font-size: 16px !important;}

.necsda .nec-header-phone {font-size: 18px !important;}

.necsda .nec-brand-mark {
	width: 90px !important;}

.necsda .nec-brand-name {font-size: 30px !important;}

.necsda .nec-brand-sub {
	font-size: 10px !important;}

.license-trust-banner {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.license-trust-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    background: linear-gradient(135deg, #07355c 0%, #002746 100%);
    border: 3px solid #c9a34e;
    border-radius: 20px;
    padding: 24px 35px;
    box-shadow: 0 10px 30px rgba(0, 39, 70, 0.15);
}

.license-trust-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border: 3px solid #c9a34e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.license-check {
    color: #c9a34e;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
}

.license-trust-divider {
    width: 2px;
    height: 85px;
    background: var(--nec-deep);
    flex-shrink: 0;
}

.license-trust-content {
    flex: 1;
}

.license-trust-content p {
    color: #fff;
    font-size: 19px;
    line-height: 1.55;
    margin: 0 0 8px;
    max-width: 950px;
}

.license-trust-content strong {
    display: block;
    color: #c9a34e;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@media (max-width: 767px) {
    .license-trust-banner {
        margin: 20px auto;
        padding: 0 15px;
    }

    .license-trust-inner {
        padding: 22px;
        gap: 16px;
        border-radius: 16px;
    }

    .license-trust-icon {
        flex: 0 0 58px;
        width: 58px;
        height: 58px;
    }

    .license-check {
        font-size: 34px;
    }

    .license-trust-divider {
        height: 70px;
    }

    .license-trust-content p {
        font-size: 15px;
        line-height: 1.45;
    }

    .license-trust-content strong {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

@media (max-width: 520px) {
    .license-trust-inner {
        align-items: flex-start;
        padding: 20px;
    }

    .license-trust-icon,
    .license-trust-divider {
        display: none;
    }

    .license-trust-content p {
        font-size: 15px;
    }
}

.necsda .nec-success {
	 position: relative;
    padding: 70px 20px;
    background-color: var(--nec-deep) !important;
    overflow: hidden;
}

.necsda .nec-success::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("/wp-content/uploads/2026/09/happytooth_600_30opacity-removebg-preview.png");
    background-repeat: repeat;
    background-size: 120px auto;

    opacity: 0.08;
    pointer-events: none;
}

.necsda .nec-h2 {color: white !important;}
.necsda .nec-p {color: white !important;}

.necsda .nec-why-body .nec-h2 {
   
    color: var(--nec-navy) !important;
}

.necsda .nec-inst .nec-h2 {
	    color: var(--nec-navy) !important;
}
	
	.necsda .nec-inst-aside .nec-p
	{	    color: var(--nec-navy) !important;
}

.necsda .nec-cta-p {
	font-size: 23px !important;}

.necsda .nec-footer-tagline {
	font-size: 17.5px !important;}
}

.testimonial-box-dm {
    background: whitesmoke;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

section.nec-success.testimonials-page {
    margin-bottom: 50px;
}

.page-id-77 article.article {
    padding-top: 0px !important;
}

.nec-success-cards .slick-dots {
    position: relative;
}

.home .dmm-mode-slide .dmm-item img {
    display: block;
    height: 300px !important;
    border: 4px solid #fff !important;
    border-radius: 10px;
}

.home .dmm-slide-track {
    padding: 0px;
}

.tgrid-wrap {
  --tgrid-card: #fff;
  --tgrid-line: #e4e7ec;
  --tgrid-text: #2c3238;
  --tgrid-muted: #6b7280;
  --tgrid-star: #f5a623;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 20px;
}
.tgrid-wrap h2 {
  text-align: center;
  margin: 0 0 8px;
  color: var(--tgrid-text);
}
.tgrid-wrap .tgrid-sub {
  text-align: center;
  margin: 0 0 36px;
  color: var(--tgrid-muted);
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.tgrid figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  background: var(--tgrid-card);
  border: 1px solid var(--tgrid-line);
  border-radius: 10px;
}
.tgrid .tgrid-stars {
  color: var(--tgrid-star);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.tgrid blockquote {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tgrid-text);
}
.tgrid figcaption {
  margin-top: auto;
  font-weight: 700;
  color: var(--tgrid-text);
}
.tgrid figcaption span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--tgrid-muted);
}
@media (max-width: 600px) {
  .tgrid {
    grid-template-columns: 1fr;
  }
  .tgrid-wrap {
    padding: 32px 16px;
  }
}

blockquote:after {
	content:"";
}
