/* ----------------------------------------------------
   DCC-i Portal — Unified Styles for Portal + Area pages + LearnDash
   File: dcci-portal.css
   Updated: unified + deduped + course right panel placeholder polish
---------------------------------------------------- */

:root {
  --dcci-header-height: 110px;
  --dcci-max-width: 1400px;
  --dcci-purple: #3E1E67;
  --btn-green:  #229954;
  --btn-blue:   #1F618D;
  --btn-pink:   #E91E63;
  --btn-purple: #8d2f88;
  --welcome-box-bg: #F8F6FC;
  --welcome-box-radius: 26px;
  --welcome-box-pad-y: 48px;
  --welcome-box-pad-x: 56px;
  --welcome-box-max: 720px;
  --dcci-app-max: 1400px;
  --dcci-app-gutter: 40px;
  --dcc-purple: #8d2f88;
  --dcc-purple-deep: #37164b;
  --dcc-btn-green: #7dbb73;
  --dcc-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --dcc-max: 980px;
  --dcci-bg-art: url('https://dcciportal.co.uk/wp-content/uploads/2025/12/7cafc765-0751-4065-91c0-61aaccd1edfd.webp');
}

body[class*="page-template-page-dcci-portal"],
body.post-type-apa_area,
body.single-sfwd-topic,
body.post-type-sfwd-topic,
body.single-sfwd-courses,
body.single-sfwd-lessons,
body.single-sfwd-quiz,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953{
  filter: none !important;
  -webkit-filter: none !important;
}

body[class*="page-template-page-dcci-portal"] .dcci-portal-bg,
body[class*="page-template-page-dcci-portal"] .dcci-portal-header,
body.post-type-apa_area .dcci-portal-bg,
body.single-sfwd-courses #learndash_course_content,
body.single-sfwd-courses .learndash_content,
body.single-sfwd-quiz .wpProQuiz_content,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #page{
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[class*="page-template-page-dcci-portal"] .entry-title,
body[class*="page-template-page-dcci-portal"] .page-title,
body[class*="page-template-page-dcci-portal"] h1.entry-title,
body.post-type-apa_area .entry-title,
body.post-type-apa_area .page-title{
  display: none !important;
}

body[class*="page-template-page-dcci-portal"] .site-header,
body[class*="page-template-page-dcci-portal"] #masthead,
body[class*="page-template-page-dcci-portal"] .main-header-bar,
body[class*="page-template-page-dcci-portal"] .site-footer,
body.post-type-apa_area .site-header,
body.post-type-apa_area #masthead,
body.post-type-apa_area .main-header-bar,
body.post-type-apa_area .site-footer,
body.single-sfwd-topic .site-header,
body.single-sfwd-topic #masthead,
body.single-sfwd-topic .main-header-bar,
body.single-sfwd-topic .site-footer,
body.post-type-sfwd-topic .site-header,
body.post-type-sfwd-topic #masthead,
body.post-type-sfwd-topic .main-header-bar,
body.post-type-sfwd-topic .site-footer,
body.single-sfwd-quiz header#masthead,
body.single-sfwd-quiz #masthead,
body.single-sfwd-quiz .site-header,
body.single-sfwd-quiz .main-header-bar,
body.single-sfwd-quiz footer.site-footer,
body.single-sfwd-quiz .site-footer,
body.single-sfwd-quiz #colophon,
body.single-sfwd-courses footer.site-footer,
body.single-sfwd-courses .site-footer,
body.single-sfwd-courses #colophon,
body.single-sfwd-courses .ast-footer-copyright,
body.single-sfwd-courses .footer-widget-area,
body.single-sfwd-lessons footer.site-footer,
body.single-sfwd-lessons .site-footer,
body.single-sfwd-lessons #colophon,
body.single-sfwd-lessons .ast-footer-copyright,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site-header,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #masthead,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .main-header-bar,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site-footer{
  display: none !important;
}

body[class*="page-template-page-dcci-portal"],
body.post-type-apa_area,
body.single-sfwd-topic,
body.post-type-sfwd-topic,
body.single-sfwd-quiz,
body.single-sfwd-courses,
body.single-sfwd-lessons,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

body[class*="page-template-page-dcci-portal"] .site,
body[class*="page-template-page-dcci-portal"] #page,
body.post-type-apa_area .site,
body.post-type-apa_area #page,
body.single-sfwd-topic .site,
body.single-sfwd-topic #page,
body.post-type-sfwd-topic .site,
body.post-type-sfwd-topic #page,
body.single-sfwd-quiz .site,
body.single-sfwd-quiz #page,
body.single-sfwd-courses .site,
body.single-sfwd-courses #page,
body.single-sfwd-lessons .site,
body.single-sfwd-lessons #page,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #page {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

body[class*="page-template-page-dcci-portal"] #content,
body[class*="page-template-page-dcci-portal"] .site-content,
body.post-type-apa_area #content,
body.post-type-apa_area .site-content,
body.single-sfwd-topic #content,
body.single-sfwd-topic .site-content,
body.post-type-sfwd-topic #content,
body.post-type-sfwd-topic .site-content,
body.single-sfwd-quiz #content,
body.single-sfwd-quiz .site-content,
body.single-sfwd-courses #content,
body.single-sfwd-courses .site-content,
body.single-sfwd-lessons #content,
body.single-sfwd-lessons .site-content,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #content,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[class*="page-template-page-dcci-portal"] .site-main,
body[class*="page-template-page-dcci-portal"] .ast-container,
body[class*="page-template-page-dcci-portal"] #primary,
body[class*="page-template-page-dcci-portal"] .content-area,
body[class*="page-template-page-dcci-portal"] article,
body[class*="page-template-page-dcci-portal"] .ast-article-single,
body[class*="page-template-page-dcci-portal"] .entry-content,
body.post-type-apa_area .site-main,
body.post-type-apa_area .ast-container,
body.single-sfwd-topic .site-main,
body.single-sfwd-topic .ast-container,
body.post-type-sfwd-topic .site-main,
body.post-type-sfwd-topic .ast-container,
body.single-sfwd-quiz .site-main,
body.single-sfwd-quiz .ast-container,
body.single-sfwd-courses .site-main,
body.single-sfwd-courses .ast-container,
body.single-sfwd-lessons .site-main,
body.single-sfwd-lessons .ast-container,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site-main,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .ast-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dcci-portal-bg{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    radial-gradient(ellipse 60% 60% at 5% 10%,  #e6b0c6 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 98% 5%,  #bdd0e7 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 5% 95%,  #c3d1da 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 98% 98%, #c2cfe1 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 98% 55%, #eae8f6 0%, transparent 55%),
    #f1deed;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.dcci-portal-header{
  background-image: var(--dcci-bg-art);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 16px 24px;
  color: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.dcci-portal-header-inner{
  max-width: var(--dcci-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dcci-header-left{ display:flex; align-items:center; gap:12px; }

.dcci-logo-wrap img.dcci-logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.dcci-back-button{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.1s ease, background 0.2s ease;
}
.dcci-back-button:hover{
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.22);
}
.dcci-back-icon{ font-size: 18px; }

.dcci-portal-header-centre{ flex:1; text-align:center; }
.dcci-portal-title-link{ text-decoration:none; color:inherit; }
.dcci-portal-title{ font-size: 24px; font-weight: 700; line-height: 1.1; }
.dcci-portal-subtitle{ font-size: 13px; opacity: 0.9; margin-top: 2px; }

.dcci-search-form{
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px 10px 4px 14px;
  min-width: 200px;
  max-width: 260px;
}
.dcci-search-input{ border:none; background:transparent; outline:none; font-size:14px; flex:1; }
.dcci-search-submit{ border:none; background:transparent; cursor:pointer; font-size:18px; }

.dcci-welcome-title-wrap{
  max-width: var(--dcci-max-width);
  margin: 64px auto 34px;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.dcci-welcome-lead{
  margin: 0;
  font-family: var(--dcc-font);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 45px);
  line-height: 1.15;
  color: var(--dcci-purple);
  text-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.dcci-hero{
  padding: 28px 0 36px;
  text-align: center;
  width: 100%;
}
.dcci-hero-img{
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 40px rgba(62,30,103,0.18) !important;
  object-fit: cover !important;
}
.dcci-title{ display: none !important; }

.dcci-welcome{
  max-width: var(--dcci-max-width);
  margin: 0 auto 24px;
  padding: 0 18px;
  text-align: left;
}

.dcci-welcome-box{
  display: block;
  margin: 0 auto;
  max-width: var(--welcome-box-max);
  background: var(--welcome-box-bg) !important;
  border-radius: var(--welcome-box-radius) !important;
  padding: var(--welcome-box-pad-y) var(--welcome-box-pad-x) !important;
  box-shadow: 0 6px 20px rgba(46, 50, 64, 0.10), inset 0 2px 0 rgba(255,255,255,0.35) !important;
  font-size: 18px;
  line-height: 1.7;
  color: var(--dcci-purple);
  text-align: left;
}
.dcci-welcome-box p{ margin: 12px 0; color: inherit; }
.dcci-welcome-box strong{ font-weight: 800; color: inherit; }

.dcci-welcome-list{
  list-style: disc;
  margin: 14px 0 14px;
  padding-left: 22px;
  max-width: var(--welcome-box-max);
  text-align: left;
}
.dcci-welcome-list li{ margin: 10px 0; }

.dcci-signoff{
  display: block;
  margin-top: 18px;
  font-family: "Segoe Print","Bradley Hand","Comic Sans MS","Apple Chancery","Lucida Handwriting",cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dcci-purple);
  text-align: center;
}

.dcci-buttons{
  max-width: var(--dcci-max-width);
  margin: 0 auto 80px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.dcci-btn{
  padding: 22px 40px;
  border-radius: 28px;
  color: #fff !important;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.25 !important;
  box-shadow: 0 12px 22px rgba(0,0,0,0.25), inset 0 4px 4px rgba(255,255,255,0.25), inset 0 -6px 8px rgba(0,0,0,0.18);
  transition: all 0.14s ease;
}
.dcci-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0,0,0,0.3), inset 0 5px 5px rgba(255,255,255,0.3), inset 0 -7px 10px rgba(0,0,0,0.22);
  filter: brightness(1.05);
}

.dcci-buttons .dcci-btn{ background: var(--btn-purple); }
.dcci-buttons .dcci-btn:nth-child(1) { background: var(--btn-pink); }
.dcci-buttons .dcci-btn:nth-child(2) { background: var(--btn-green); }
.dcci-buttons .dcci-btn:nth-child(3) { background: var(--btn-blue); }
.dcci-buttons .dcci-btn:nth-child(4) { background: var(--btn-purple); }
.dcci-buttons .dcci-btn:nth-child(5) { background: #F1C40F; }
.dcci-buttons .dcci-btn:nth-child(6) { background: #560027; }
.dcci-buttons .dcci-btn:nth-child(7) { background: #3949AB; }
.dcci-buttons .dcci-btn:nth-child(8) { background: #D35400; }
.dcci-buttons .dcci-btn:nth-child(9) { background: #880E4F; }

/* Base layout for non-app portal pages */
.dcci-portal-bg > .dcci-main,
.dcci-portal-bg > .dcci-main > .dcci-content-inner {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.is-app-page .dcci-main,
.dcci-main.dcci-main--app{
  max-width: min(var(--dcci-app-max), calc(100vw - (var(--dcci-app-gutter) * 2))) !important;
  width: 100% !important;
  margin: 20px auto 60px !important;
  padding: 18px !important;
}
body.is-app-page .dcci-main iframe,
.dcci-main.dcci-main--app iframe{
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}
@media (max-width: 768px){
  body.is-app-page .dcci-main,
  .dcci-main.dcci-main--app{
    max-width: calc(100vw - 24px) !important;
    padding: 14px !important;
    border-radius: 14px;
  }
}
.dcc-app-host,
.dcc-app-embed,
.dcc-app-embed iframe{
  filter: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: normal !important;
}
.dcc-app-host{ position: relative; z-index: 50; }

/* old footer block removed */

@media (max-width: 900px){
  .dcci-portal-header-inner{ flex-wrap: wrap; justify-content: center; text-align: center; }
  .dcci-header-left,
  .dcci-portal-header-centre,
  .dcci-search-form{ width: 100%; justify-content: center; }
  .dcci-buttons{ flex-wrap: wrap; white-space: normal; }
}
@media (max-width: 768px){
  .dcci-welcome-box{
    padding: 24px 20px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  .dcci-welcome-list li{ margin: 8px 0; }
  .dcci-welcome-title-wrap{ margin: 24px auto 10px; }
  .dcci-welcome-lead{ font-size: clamp(18px, 6vw, 26px); }
}

body.single-sfwd-courses .dcci-main{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 30px 20px !important;
  box-sizing: border-box !important;
}

body.single-sfwd-courses .dcci-course-wrap{
  width: min(var(--dcci-max-width), 100%) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

body.single-sfwd-courses .dcci-course-hero-row{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 30px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.single-sfwd-courses .dcci-course-content{
  flex: 0 0 70% !important;
  max-width: 70% !important;
  width: 70% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.single-sfwd-courses .dcci-course-hero-image{
  flex: 0 0 calc(30% - 30px) !important;
  max-width: calc(30% - 30px) !important;
  width: calc(30% - 30px) !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: rgba(255,255,255,0.75) !important;
  border-radius: 22px !important;
  padding: 22px !important;
  border: 1px solid rgba(62,30,103,0.12) !important;
  box-shadow: 0 16px 36px rgba(46,50,64,0.12) !important;
}

body.single-sfwd-courses .dcci-course-hero-img{
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
  border-radius: 14px !important;
  opacity: 0.92 !important;
}

body.single-sfwd-courses .dcci-course-content .learndash-wrapper,
body.single-sfwd-courses .dcci-course-content #learndash_course_content,
body.single-sfwd-courses .dcci-course-content .learndash_content,
body.single-sfwd-courses .dcci-course-content .ld-course-content{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.single-sfwd-courses .dcci-course-content #learndash_course_content,
body.single-sfwd-courses .dcci-course-content .learndash_content{
  background: rgba(255,255,255,.88) !important;
  border-radius: 22px !important;
  padding: 26px !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.14) !important;
  border: 1px solid rgba(62,30,103,0.10) !important;
  margin: 0 !important;
}

body.single-sfwd-courses .learndash-wrapper .ld-item-list-item{
  border-radius: 18px !important;
  border: 1px solid rgba(62,30,103,0.10) !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 10px 24px rgba(46,50,64,0.10) !important;
  overflow: hidden !important;
}
body.single-sfwd-courses .learndash-wrapper .ld-item-list-item .ld-item-list-item-preview{
  padding: 18px 18px !important;
}
body.single-sfwd-courses .learndash-wrapper .ld-item-list-item:hover{
  border-color: rgba(141,47,136,0.28) !important;
  box-shadow: 0 14px 30px rgba(46,50,64,0.12) !important;
}

@media (max-width: 768px){
  body.single-sfwd-courses .dcci-course-wrap{ padding: 0 12px !important; }
  body.single-sfwd-courses .dcci-course-hero-row{ flex-direction: column !important; }
  body.single-sfwd-courses .dcci-course-content,
  body.single-sfwd-courses .dcci-course-hero-image{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  body.single-sfwd-courses .dcci-course-hero-image{ order: -1 !important; }
  body.single-sfwd-courses .dcci-course-hero-img{ max-width: 220px !important; }
}

body.single-sfwd-lessons,
body.single-sfwd-topic,
body.single-sfwd-quiz{
  font-family: var(--dcc-font) !important;
}

body.single-sfwd-lessons #learndash_lesson_topics_list,
body.single-sfwd-lessons #learndash_lesson_topics_list *{
  color: var(--dcci-purple) !important;
}
body.single-sfwd-lessons #learndash_lesson_topics_list a,
body.single-sfwd-lessons #learndash_lesson_topics_list a:visited{
  color: var(--dcci-purple) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.single-sfwd-lessons #learndash_lesson_topics_list a:hover{ text-decoration: underline !important; }

body.single-sfwd-topic{ --ld-link-purple: var(--btn-purple, #8d2f88); }
body.single-sfwd-topic #learndash_back_to_lesson a,
body.single-sfwd-topic p#learndash_next_prev_link a{
  color: var(--ld-link-purple) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.single-sfwd-topic #learndash_back_to_lesson a:hover,
body.single-sfwd-topic p#learndash_next_prev_link a:hover{
  text-decoration: underline !important;
}

body .wpProQuiz_content,
body .learndash-wrapper .wpProQuiz_content{
  font-family: var(--dcc-font) !important;
  background: rgba(255,255,255,0.88) !important;
  border-radius: 22px !important;
  padding: 26px !important;
  box-shadow: 0 12px 26px rgba(0,0,0,0.14) !important;
  max-width: min(var(--dcc-max), calc(100vw - 80px)) !important;
  margin: 20px auto 60px !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px){
  body .wpProQuiz_content,
  body .learndash-wrapper .wpProQuiz_content{
    max-width: calc(100vw - 24px) !important;
    padding: 16px !important;
  }
}

body .wpProQuiz_header,
body .wpProQuiz_questionPoints,
body .wpProQuiz_questionNumber,
body .wpProQuiz_points,
body .wpProQuiz_button_reShowQuestion,
body .wpProQuiz_time_limit,
body .wpProQuiz_reviewDiv{
  display: none !important;
}
body .wpProQuiz_question textarea,
body .wpProQuiz_question input[type="text"]{
  width: 100% !important;
  max-width: 100% !important;
  min-height: 220px;
  border-radius: 14px;
  padding: 16px 18px;
  border: 2px solid rgba(141,47,136,0.25);
  background: #ffffff !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.dcci-my-learning-wrap{ display:flex; align-items:center; justify-content:center; background:transparent !important; }

/* Vertically centre illustration and card within the Gutenberg columns container */
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .wp-block-columns.is-layout-flex {
  align-items: center !important;
  margin-top: -40px !important;
}

.dcci-my-learning-card{
  width: min(720px, 100%);
  background: #9671df !important;
  border: none !important;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  padding: 40px 32px;
  text-align: center;
  margin-top: 40px;
}
.dcci-my-learning-card,
.dcci-my-learning-card *{
  color: #fdfded !important;
  font-family: var(--dcc-font) !important;
}

body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .entry-header,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 h1.entry-title,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .wp-block-post-title{
  display: none !important;
}

body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #page,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #content,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .site-main,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .ast-container,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .content-area,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 #primary,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 article,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .ast-article-single,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .entry-content{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .dcci-hero{ display: none !important; }
body.home .dcci-hero { display: none !important; }

body.home.logged-in .dcci-partners-band { display: none !important; }

/* Pilot eyebrow on pillars section for learners */
.dcci-pillars-eyebrow--pilot {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e12686;
  margin: 0 0 12px;
  display: block;
}
body.home .dcci-portal-bg {
  background: #4c256f !important;
  background-attachment: scroll !important;
}
body.home .dcci-workspace-surface {
  margin-top: 0;
}
body.home:not(.logged-in) .dcci-workspace-surface {
  background: #d4bfe6;
}

body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .dcci-main{
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 20px 92px !important;
  margin: 0 !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

body[class*="page-template-page-dcci-portal"] .wp-block-image,
body[class*="page-template-page-dcci-portal"] .wp-block-column,
body[class*="page-template-page-dcci-portal"] .wp-block-media-text__media,
body[class*="page-template-page-dcci-portal"] .wp-block-group,
body.post-type-apa_area .wp-block-image,
body.post-type-apa_area .wp-block-column,
body.post-type-apa_area .wp-block-media-text__media,
body.post-type-apa_area .wp-block-group,
body.single-sfwd-topic .wp-block-image,
body.single-sfwd-topic .wp-block-column,
body.single-sfwd-topic .wp-block-media-text__media,
body.single-sfwd-topic .wp-block-group,
body.single-sfwd-courses .wp-block-image,
body.single-sfwd-courses .wp-block-column,
body.single-sfwd-courses .wp-block-media-text__media,
body.single-sfwd-courses .wp-block-group,
body.single-sfwd-lessons .wp-block-image,
body.single-sfwd-lessons .wp-block-column,
body.single-sfwd-lessons .wp-block-media-text__media,
body.single-sfwd-lessons .wp-block-group,
body.single-sfwd-quiz .wp-block-image,
body.single-sfwd-quiz .wp-block-column,
body.single-sfwd-quiz .wp-block-media-text__media,
body.single-sfwd-quiz .wp-block-group,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .wp-block-image,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .wp-block-column,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .wp-block-media-text__media,
body.page-id-1163,
body.page-id-4969,
body.page-id-4953 .wp-block-group {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* =============================================
   COMING SOON PAGE — centre all content
   Targets by slug so no page ID needed.
   ============================================= */

body.page-slug-coming-soon-2 .dcci-main,
body.page-slug-coming-soon-2 .dcci-content-inner {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body.page-slug-coming-soon-2 .wp-block-image,
body.page-slug-coming-soon-2 .wp-block-media-text,
body.page-slug-coming-soon-2 figure,
body.page-slug-coming-soon-2 img {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-slug-coming-soon-2 p {
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =============================================
   FOOTER — redesigned to match brand spec
   ============================================= */

.dcci-footer {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 50% 38%, rgba(229,146,158,0.14) 0%, rgba(229,146,158,0) 30%),
    radial-gradient(circle at 15% 65%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 85% 68%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 22%),
    linear-gradient(180deg, #6f2cab 0%, #4c256f 48%, #241536 100%);
  box-shadow:
    inset 0 12px 30px rgba(255,255,255,0.03),
    inset 0 -24px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}

.dcci-footer::before,
.dcci-footer::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff5aa5;
  box-shadow:
    0 0 8px rgba(255, 90, 165, 0.55),
    0 0 18px rgba(255, 90, 165, 0.25);
}

.dcci-footer::before {
  top: 0;
}

.dcci-footer::after {
  bottom: 0;
}

.dcci-footer-inner {
  position: relative;
  max-width: var(--dcci-max-width, 1400px);
  margin: 0 auto;
  padding: 50px 30px 80px;
}

.dcci-footer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.06) 0%, transparent 20%),
    radial-gradient(circle at 75% 30%, rgba(255,255,255,0.05) 0%, transparent 18%),
    radial-gradient(circle at 60% 75%, rgba(255,255,255,0.04) 0%, transparent 20%),
    radial-gradient(circle at 35% 80%, rgba(255,255,255,0.04) 0%, transparent 18%);
  pointer-events: none;
  opacity: 0.6;
  animation: dcci-footer-glow 18s ease-in-out infinite alternate;
  z-index: 0;
}

/* Grain texture overlay */
.dcci-footer-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}
.dcci-footer-main,
.dcci-footer-bottom {
  position: relative;
  z-index: 1;
}

@keyframes dcci-footer-glow {
  0% {
    transform: translateY(0px) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translateY(-8px) scale(1.02);
    opacity: 0.7;
  }

  100% {
    transform: translateY(6px) scale(1);
    opacity: 0.6;
  }
}

/* ── Main two-column row ── */
.dcci-footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1px minmax(420px, 700px);
  gap: 0;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 50px;
}
/* ── Vertical divider ── */
.dcci-footer-divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.18),
    transparent
  );
  margin: 0 56px;
}

/* ── Headings ── */
.dcci-footer-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
  margin: 0 0 26px !important;
  text-transform: none !important;
  padding-left: 0 !important;
  border-left: none !important;
}

.dcci-footer-heading::before {
  content: "";
  display: block;
  width: 5px;
  height: 24px;
  background: #ff5aa5;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 90, 165, 0.45);
}

/* ── Company Info ── */
.dcci-footer-company-name {
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 18px !important;
  font-size: 1.05rem;
}

.dcci-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px !important;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88) !important;
}

.dcci-footer-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 2px;
  opacity: 0.85;
}

.dcci-footer-item a {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255,255,255,0.6) !important;
  text-underline-offset: 3px;
}

.dcci-footer-item a:hover {
  color: #f5c2cb !important;
}

/* ── Accreditations ── */
.dcci-footer-accreditations {
  position: relative;
  min-width: 0;
}

.dcci-footer-accreditations::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 420px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(141, 47, 136, 0.35) 0%,
    rgba(141, 47, 136, 0.18) 40%,
    rgba(141, 47, 136, 0.0) 75%
  );
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.dcci-accreditation-box {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #f4f1f6;
  border-radius: 20px;
  padding: 22px 28px;
  min-height: 120px;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  flex-wrap: nowrap;
}

.dcci-accreditation-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0) 30%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.0) 70%
  );
  opacity: 0.25;
  pointer-events: none;
  animation: dcci-card-shimmer 12s ease-in-out infinite alternate;
}

@keyframes dcci-card-shimmer {
  0%   { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}

.dcci-accreditation-box img {
  height: 60px;
  width: auto;
  max-width: 22%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.dcci-accreditation-box img:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

/* ── Bottom bar ── */
.dcci-footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 34px;
  text-align: center;
  margin-top: 10px;
}

.dcci-footer-bottom::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(229,146,158,0) 0%,
    #e5929e 20%,
    #e5929e 80%,
    rgba(229,146,158,0) 100%
  );
  box-shadow: 0 0 14px rgba(229, 146, 158, 0.55);
}

.dcci-footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 25px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.dcci-footer-legal a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.dcci-footer-legal a:hover {
  color: #e5929e !important;
}

.dcci-footer-sep {
  color: rgba(255, 255, 255, 0.22);
  padding: 0;
}

.dcci-footer-copy {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.95rem !important;
}

/* ── Back to top ── */
.dcci-back-to-top {
  position: absolute;
  right: 42px;
  bottom: 42px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff4ea1 0%, #e12686 100%);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 78, 161, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}

.dcci-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.3);
}

/* Hide theme scroll button globally */
.ast-scroll-top-wrap,
#ast-scroll-top,
.ast-scroll-top {
  display: none !important;
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .dcci-footer-main {
    grid-template-columns: 1fr;
  }

  .dcci-footer-divider {
    width: 100%;
    height: 1px;
    margin: 24px 0;
  }

  .dcci-footer-inner {
    padding: 36px 20px 80px;
  }
  .dcci-accreditation-box {
    justify-content: center;
  }

  .dcci-back-to-top {
    right: 20px;
    bottom: 28px;
    width: 48px;
    height: 48px;
  }
}

/* ── Theme scroll-to-top button (#scrollTop) — branded pink ── */
#scrollTop {
  background: linear-gradient(135deg, #ff4fa0, #e23a86) !important;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(229, 146, 158, 0.35) !important;
  transition: all 0.25s ease !important;
}

#scrollTop:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(229, 146, 158, 0.45) !important;
}


/* ── Trainer dashboard padding ── */
.dcci-portal-bg > .dcci-main > .dcci-content-inner--padded {
  padding-left: 200px !important;
  padding-right: 200px !important;
}
@media (max-width: 1200px) {
  .dcci-portal-bg > .dcci-main > .dcci-content-inner--padded {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}
@media (max-width: 700px) {
  .dcci-portal-bg > .dcci-main > .dcci-content-inner--padded {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}