div.pattern-layer,
div.meta,
div.catetag {
	display: none;
}


/* ── ACS Homepage Enhancements ─────────────────────────────────── */

/* Slider text punch */
.dt-slider-area .dt-slider-title,
.slider-area .slider-title,
.softme-slider .title {
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  letter-spacing: -0.5px;
}

/* Red accent underline on slider headline */
.dt-slider-area .dt-slider-title::after,
.slider-area .slider-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #cc2222;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Slider button — match ACS red */
.dt-slider-area .dt-btn,
.slider-area .slider-btn a,
.softme-slider .slider-button a {
  background: #cc2222 !important;
  border-color: #cc2222 !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.dt-slider-area .dt-btn:hover,
.slider-area .slider-btn a:hover {
  background: #aa1a1a !important;
  transform: translateY(-2px) !important;
}

/* Information / differentiator cards — red icon color */
.information-area .info-icon i,
.softme-information .icon i {
  color: #cc2222 !important;
}
.information-area .info-box,
.softme-information .info-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.information-area .info-box:hover,
.softme-information .info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(204,34,34,0.12);
}

/* Service cards — red top accent + hover lift */
.service-area .service-box,
.softme-service .service-item {
  border-top: 3px solid #cc2222;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-area .service-box:hover,
.softme-service .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.service-area .service-icon i,
.softme-service .service-item .icon i {
  color: #cc2222 !important;
}

/* Animated red stat counter bar (injected via widget) */
#acs-stat-bar {
  background: #161b27;
  padding: 36px 40px;
  border-top: 2px solid #cc2222;
}
#acs-stat-bar .acs-stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
}
#acs-stat-bar .acs-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #cc2222;
  font-family: sans-serif;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
#acs-stat-bar .acs-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b0bec5;
  font-family: sans-serif;
  font-weight: 600;
}


/* ── Equal-height information/differentiator cards ──────────────────── */
.information-area .owl-stage,
.dt-information .owl-stage,
.softme-information .owl-stage {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
.information-area .owl-item,
.dt-information .owl-item,
.softme-information .owl-item {
  display: flex !important;
  flex: 1 0 auto !important;
}
.information-area .info-box,
.information-area .dt-info-box,
.information-area [class*="info"],
.dt-information .info-box,
.dt-information [class*="info"] {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}


/* ── Service cards — contain overflow, equal height, clear footer ───── */

/* Contain the section so cards don't bleed into footer */
.service-area,
.dt_service_area,
.softme-service,
[class*="service-area"],
[class*="service_area"] {
  overflow: hidden !important;
  padding-bottom: 80px !important;
}

/* Equal-height card rows — flexbox on the row/stage */
.service-area .row,
.dt_service_area .row,
.service-area .owl-stage,
.dt_service_area .owl-stage {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

/* Each column stretches full height */
.service-area [class*="col-"],
.dt_service_area [class*="col-"],
.service-area .owl-item,
.dt_service_area .owl-item {
  display: flex !important;
  flex-direction: column !important;
}

/* Card inner box fills the column */
.service-area .service-box,
.service-area .dt_service_box,
.service-area .dt-service-box,
.dt_service_area .service-box,
.dt_service_area .dt_service_box,
.dt_service_area [class*="service-box"],
.dt_service_area [class*="service_box"] {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}


/* ── Hide theme slider (correct class) ───────────────────────────────── */
section.dt_slider,
section.dt_slider--one {
  display: none !important;
}

/* ── Fix info cards overlap with section below ────────────────────── */
section.front-info {
  margin-bottom: 0 !important;
  padding-bottom: 60px !important;
}



/* ── What's New category card thumbnails ──────────────────────────────────── */
.acs-card-img {
  width: 100%;
  height: 180px;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Card backgrounds — CSS gradients (no embedded binary data) */
.acs-card-training  { background: linear-gradient(135deg, #1e2235 0%, #10121e 100%); border-left: 6px solid #cc2222; }
.acs-card-takserver { background: linear-gradient(135deg, #1e2235 0%, #0d1019 100%); border-left: 6px solid #cc2222; }
.acs-card-news      { background: linear-gradient(135deg, #1e2235 0%, #12141f 100%); border-left: 6px solid #cc2222; }
.acs-card-community { background: linear-gradient(135deg, #1e2235 0%, #0e1020 100%); border-left: 6px solid #cc2222; }
.acs-card-uas       { background: linear-gradient(135deg, #1e2235 0%, #080c18 100%); border-left: 6px solid #cc2222; }


/* ── Who We Support — logo box flex centering fix ──────────────── */
table td &gt; div[style*="line-height:100px"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: normal !important;
}

/* logo centering fix */
div[style*="line-height:100px"] { display:flex !important; align-items:center !important; justify-content:center !important; padding-top:0 !important; padding-bottom:0 !important; line-height:normal !important; }

/* About ACS Vision/Mission side-by-side flex */
div[style*="gap:24px"] { display:flex !important; flex-direction:row !important; align-items:stretch !important; }

/* About ACS — Vision/Mission side-by-side layout */
div[style*="background:#252840"] { display:block; }
div[style*="gap:20px"] { display:flex !important; flex-wrap:wrap !important; gap:20px !important; }

/* TAK2ESRI — center YouTube embed */
.postid-662 .wp-block-embed { margin-left:auto; margin-right:auto; max-width:720px; }

/* TAK2ESRI — full-width YouTube embed to match surrounding sections */
article.post-662 figure.wp-block-embed { max-width:100% !important; width:100% !important; margin-left:0 !important; margin-right:0 !important; }
article.post-662 figure.wp-block-embed .wp-block-embed__wrapper { max-width:100% !important; }

article.post-662 figure.wp-block-embed iframe { width:100% !important; height:auto !important; min-height:400px !important; aspect-ratio:16/9 !important; }

/* Homepage info cards — equal height, icon pinned to bottom */
.information-area .owl-stage { display:flex !important; align-items:stretch !important; }
.information-area .owl-item { display:flex !important; flex:1 0 auto !important; }
.information-area .single-information-box { display:flex !important; flex-direction:column !important; height:100% !important; }
.information-area .info-icon { margin-top:auto !important; padding-top:20px !important; }

/* Homepage service cards (front-service) — equal height with fixed image */
section.front-service .dt-row { display:flex !important; flex-wrap:wrap !important; align-items:stretch !important; }
section.front-service .dt-col-lg-4 { display:flex !important; flex-direction:column !important; }
section.front-service .dt_item_inner { display:flex !important; flex-direction:column !important; height:100% !important; }
section.front-service .dt_item_image { height:240px !important; overflow:hidden !important; flex-shrink:0 !important; }
section.front-service .dt_item_image img { width:100% !important; height:100% !important; object-fit:cover !important; object-position:center top !important; }
section.front-service .dt_item_holder { flex:1 !important; display:flex !important; flex-direction:column !important; }

/* ── ACS Mobile Responsive – added 2026-04-09 ── */
@media (max-width: 768px) {

  /* Hero */
  .acs-hero { padding: 48px 20px !important; }
  .acs-hero-h1 { font-size: 2rem !important; min-height: 0 !important; }
  .acs-hero-sub { font-size: 15px !important; }
  .acs-hero-btns { flex-direction: column !important; align-items: center !important; }
  .acs-hero-btns a { display: block !important; text-align: center !important; width: 200px; box-sizing: border-box; }

  /* Stats bar */
  .acs-stats { padding: 24px 12px !important; }
  .acs-stats table { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
  .acs-stats td { display: block !important; width: 50% !important; padding: 14px 12px !important; box-sizing: border-box !important; }
  .acs-stat-num { font-size: 2rem !important; }

  /* Section wrappers */
  .acs-section { padding: 40px 20px !important; }

  /* Two-column splits – force to single column */
  .acs-split, .acs-split tbody, .acs-split tr { display: block !important; }
  .acs-split td { display: block !important; width: 100% !important; padding: 0 0 28px 0 !important; }
  .acs-split td:last-child { padding-bottom: 0 !important; }

  /* CTA */
  .acs-cta { padding: 48px 20px !important; }
  .acs-cta h2 { font-size: 1.7rem !important; }
  .acs-cta-btns { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .acs-cta-btns a { display: block !important; text-align: center !important; margin: 0 !important; width: 180px; box-sizing: border-box; }
}


/* ── ACS Global Fixes (no class needed) ── */

/* Fix hero buttons: inline style is missing display:flex */
div[style*="gap:16px;flex-wrap:wrap"] { display: flex !important; }

/* Fix stat numbers: red text on red background = invisible */
div[style*="background:#cc2222"] div[style*="color:#cc2222"] { color: #ffffff !important; }

/* Fix stat labels: improve contrast on red background */
div[style*="background:#cc2222"] div[style*="letter-spacing:2.5px"] { color: rgba(255,255,255,0.8) !important; }


/* ── ACS Mobile Responsive (attribute selectors) ── */
@media (max-width: 768px) {

  /* Hero – reduce padding, shrink headline */
  div[style*="#1e2235"][style*="padding:80px"] { padding: 48px 20px !important; }
  div[style*="#1e2235"][style*="padding:80px"] h1 { font-size: 2rem !important; min-height: 0 !important; }
  div[style*="#1e2235"][style*="padding:80px"] p  { font-size: 15px !important; }

  /* Hero CTA buttons – stack vertically */
  div[style*="gap:16px;flex-wrap:wrap"] { flex-direction: column !important; align-items: center !important; }
  div[style*="gap:16px;flex-wrap:wrap"] &gt; a { display: block !important; text-align: center !important; width: 200px !important; box-sizing: border-box !important; }

  /* Stats bar – wrap 5 cells to 2-per-row */
  div[style*="background:#cc2222"][style*="padding:40px"] { padding: 24px 12px !important; }
  div[style*="background:#cc2222"] table  { display: block !important; }
  div[style*="background:#cc2222"] tr     { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
  div[style*="background:#cc2222"] td     { display: block !important; width: 50% !important; padding: 14px 12px !important; box-sizing: border-box !important; }
  div[style*="background:#cc2222"] div[style*="2.8rem"] { font-size: 2rem !important; }

  /* Content sections (white/gray bg, 72px padding) – reduce padding */
  div[style*="background:#ffffff"][style*="padding:72px"],
  div[style*="background:#f7f8fa"][style*="padding:72px"] { padding: 40px 20px !important; }

  /* Two-column tables inside content sections – stack to single column */
  div[style*="background:#ffffff"][style*="padding:72px"] table,
  div[style*="background:#ffffff"][style*="padding:72px"] tbody,
  div[style*="background:#ffffff"][style*="padding:72px"] tr,
  div[style*="background:#f7f8fa"][style*="padding:72px"] table,
  div[style*="background:#f7f8fa"][style*="padding:72px"] tbody,
  div[style*="background:#f7f8fa"][style*="padding:72px"] tr { display: block !important; }

  div[style*="background:#ffffff"][style*="padding:72px"] td,
  div[style*="background:#f7f8fa"][style*="padding:72px"] td { display: block !important; width: 100% !important; padding: 0 0 24px 0 !important; }

  /* CTA section (navy bg, 72px padding) */
  div[style*="#1e2235"][style*="padding:72px"] { padding: 48px 20px !important; }
  div[style*="#1e2235"][style*="padding:72px"] h2 { font-size: 1.7rem !important; }
  div[style*="#1e2235"][style*="padding:72px"] a  { display: block !important; width: 180px !important; text-align: center !important; margin: 0 auto 12px !important; }
}


/* Fix: theme gives table elements a near-white background on the red stats bar */
div[style*="background:#cc2222"] table { background: transparent !important; }
div[style*="background:#cc2222"] tbody { display: block !important; background: transparent !important; }

@media (max-width: 768px) {
  .dt_mobilenav img.custom-logo,
  .dt_mobilenav-logo img,
  .dt_mobilenav .site--logo img {
    max-width: 80px !important;
    height: auto !important;
  }
}


/* ── ACS Mobile Responsive – Inner Pages (2026-04-10) ── */

/* Fix: ensure CTA button groups on inner pages render as flex (gap:14px variant) */
div[style*="gap:14px;flex-wrap:wrap"] { display: flex !important; }

@media (max-width: 768px) {

  /* ── Hero + CTA sections (inner pages use padding:64px) ── */
  div[style*="padding:64px 40px"] { padding: 40px 20px !important; }

  /* Suppress forced <br> line breaks in hero headlines on mobile */
  div[style*="background:#1e2235"][style*="padding:64px"] br { display: none !important; }

  /* Scale hero text */
  div[style*="background:#1e2235"][style*="padding:64px"] h1 { font-size: 1.9rem !important; line-height: 1.2 !important; }
  div[style*="background:#1e2235"][style*="padding:64px"] h2,
  div[style*="background:#1e2235"][style*="padding:64px"] h3 { font-size: 1.6rem !important; line-height: 1.2 !important; }
  div[style*="background:#1e2235"][style*="padding:64px"] p[style*="font-size:17px"] { font-size: 15px !important; }

  /* ── CTA button groups – stack vertically (gap:14px variant) ── */
  div[style*="gap:14px;flex-wrap:wrap"] { flex-direction: column !important; align-items: center !important; }
  div[style*="gap:14px;flex-wrap:wrap"] &gt; a {
    display: block !important;
    text-align: center !important;
    width: 200px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* ── Content sections (inner pages use padding:56px) ── */
  div[style*="padding:56px 40px"],
  div[style*="padding:56px 40px 48px"] { padding: 36px 20px !important; }

  /* ── Stack all multi-column tables inside inner page sections ── */
  div[style*="padding:56px"] table,
  div[style*="padding:56px"] tbody,
  div[style*="padding:56px"] tr { display: block !important; }

  div[style*="padding:56px"] td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 16px !important;
  }
  div[style*="padding:56px"] td:last-child { margin-bottom: 0 !important; }

  /* Re-add internal padding for cells that ARE styled cards (About ACS core values pattern) */
  td[style*="border:1px solid #e8eaed"][style*="padding:24px"] { padding: 16px !important; }

  /* Auto-height inner card divs that use height:100% (for stacked layout) */
  div[style*="padding:56px"] td &gt; div[style*="height:100%"] { height: auto !important; }

  /* ── Logo/image cells (Who We Support) – auto height, flex center ── */
  div[style*="padding:56px"] td[style*="height:100px"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 80px !important;
    padding: 12px 0 !important;
  }

  /* ── About ACS Vision/Mission flex cards ── */
  div[style*="gap:20px;flex-wrap:wrap"] &gt; div[style*="flex:1"] {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 28px 20px !important;
    margin-bottom: 16px !important;
  }
  div[style*="gap:20px;flex-wrap:wrap"] &gt; div[style*="flex:1"]:last-child { margin-bottom: 0 !important; }
}


/* ── Fix: Custom Development table in navy 72px section (Products page) ── */
@media (max-width: 768px) {
  div[style*="background:#1e2235"][style*="padding:72px"] table,
  div[style*="background:#1e2235"][style*="padding:72px"] tbody,
  div[style*="background:#1e2235"][style*="padding:72px"] tr { display: block !important; }

  div[style*="background:#1e2235"][style*="padding:72px"] td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 16px !important;
  }
  div[style*="background:#1e2235"][style*="padding:72px"] td:last-child { margin-bottom: 0 !important; }

  div[style*="background:#1e2235"][style*="padding:72px"] td &gt; div[style*="height:100%"] { height: auto !important; }
}
/* ── Fix: td height:1px clips card content on mobile (2026-04-10) ── */
@media (max-width: 768px) {
  /* Override the height:1px equal-height trick on td cells */
  div[style*="padding:56px"] td { height: auto !important; }
  div[style*="background:#1e2235"][style*="padding:72px"] td { height: auto !important; }

  /* Fix inner card divs that use height:100% – use descendant selector (no &gt; child combinator) */
  div[style*="padding:56px"] td div[style*="height:100%"] { height: auto !important; }
  div[style*="background:#1e2235"][style*="padding:72px"] td div[style*="height:100%"] { height: auto !important; }
}


/* ── ACS Security Fix 2026-04-14: Replace base64 SVG card backgrounds with CSS gradients ── */
/* Removes large base64 blobs that trigger Mal/JSInject-AB false positive in Sophos/Fortinet */
.acs-card-training  { background-image: none !important; background: linear-gradient(135deg, #1e2235 0%, #10121e 100%) !important; border-left: 6px solid #cc2222; }
.acs-card-takserver { background-image: none !important; background: linear-gradient(135deg, #1e2235 0%, #0d1019 100%) !important; border-left: 6px solid #cc2222; }
.acs-card-news      { background-image: none !important; background: linear-gradient(135deg, #1e2235 0%, #12141f 100%) !important; border-left: 6px solid #cc2222; }
.acs-card-community { background-image: none !important; background: linear-gradient(135deg, #1e2235 0%, #0e1020 100%) !important; border-left: 6px solid #cc2222; }
.acs-card-uas       { background-image: none !important; background: linear-gradient(135deg, #1e2235 0%, #080c18 100%) !important; border-left: 6px solid #cc2222; }

/* ── Blog post title: promote h4.title to match h2 section headers ── */
.single-post .dt_post_item h4.title,
.single-post .dt_posts--one h4.title {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 0.5em !important;
}

@media (max-width: 768px) {
  .single-post .dt_post_item h4.title,
  .single-post .dt_posts--one h4.title {
    font-size: 1.8rem !important;
  }
}

/* -- Blog post title fix v2: broader selector coverage -- */
.dt_post_item h4.title,
.dt_posts--one h4.title,
article h4.title,
#dt_posts h4.title {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 0.5em !important;
}

@media (max-width: 768px) {
  .dt_post_item h4.title,
  .dt_posts--one h4.title,
  article h4.title,
  #dt_posts h4.title {
    font-size: 1.8rem !important;
  }
}

/* -- Blog post title fix v3: explicitly exceed h2 at 45px -- */
.dt_post_item h4.title,
.dt_posts--one h4.title,
article h4.title,
#dt_posts h4.title {
  font-size: 52px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 0.4em !important;
}

@media (max-width: 768px) {
  .dt_post_item h4.title,
  .dt_posts--one h4.title,
  article h4.title,
  #dt_posts h4.title {
    font-size: 32px !important;
  }
}


/* ── 2026-08-05: Hero slider restored ─────────────────────────────── */
/* Supersedes the earlier "Hide theme slider (correct class)" rule above.
   Later rule, equal specificity, both !important — this one wins.
   The stale hide rule can be deleted from the Customizer at any time. */
section.dt_slider,
section.dt_slider--one {
  display: block !important;
}
