@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');
:root{--icd-navy:#1a3a5c;--icd-red:#c8102e;--icd-gold:#d4a017;--icd-light:#f7f8fc;--icd-dark:#111827;--icd-mid:#4b5563;--icd-border:#e5e7eb;--icd-radius:8px;--icd-shadow:0 4px 24px rgba(0,0,0,.10);--icd-transition:.3s ease}
body,h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea{font-family:'Montserrat',sans-serif!important}
.site-header{background:#fff!important;box-shadow:0 2px 16px rgba(0,0,0,.08)!important;position:sticky!important;top:0!important;z-index:1000!important}
.site-header .custom-logo{max-height:52px!important;width:auto!important}
.site-header .site-navigation ul{display:flex!important;gap:4px!important;list-style:none!important;flex-wrap:wrap!important;padding:0!important;margin:0!important}
.site-header .site-navigation ul li a{padding:8px 14px!important;font-size:.85rem!important;font-weight:600!important;color:#111827!important;border-radius:6px!important;transition:.3s ease!important;text-decoration:none!important}
.site-header .site-navigation ul li a:hover{color:#c8102e!important}
.icd-hero{position:relative;height:90vh;min-height:540px;max-height:860px;overflow:hidden;display:flex;align-items:center}
.icd-hero-slides{position:absolute;inset:0;width:300%;display:flex;height:100%;animation:icdSlide 18s infinite cubic-bezier(.77,0,.175,1)}
@keyframes icdSlide{0%{transform:translateX(0)}28%{transform:translateX(0)}33%{transform:translateX(-33.333%)}61%{transform:translateX(-33.333%)}66%{transform:translateX(-66.666%)}94%{transform:translateX(-66.666%)}99%,100%{transform:translateX(0)}}
.icd-slide{width:33.333%;height:100%;background-size:cover;background-position:center;flex-shrink:0}
.icd-slide-1{background:linear-gradient(135deg,rgba(26,58,92,.88),rgba(200,16,46,.55)),url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1600&q=80') center/cover}
.icd-slide-2{background:linear-gradient(135deg,rgba(26,58,92,.85),rgba(0,0,0,.4)),url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?w=1600&q=80') center/cover}
.icd-slide-3{background:linear-gradient(135deg,rgba(26,58,92,.85),rgba(212,160,23,.5)),url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?w=1600&q=80') center/cover}
.icd-hero-content{position:relative;z-index:10;padding:0 40px;max-width:900px}
.icd-hero h1{font-size:clamp(2.2rem,5vw,4rem)!important;font-weight:800!important;color:#fff!important;line-height:1.1!important;margin-bottom:20px!important}
.icd-hero-sub{font-size:1.1rem;color:rgba(255,255,255,.88);max-width:560px;margin-bottom:32px;line-height:1.7}
.icd-hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.icd-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:8px;font-size:.9rem;font-weight:700;cursor:pointer;border:2px solid transparent;transition:.3s ease;text-decoration:none!important}
.icd-btn-red{background:#c8102e;color:#fff!important}.icd-btn-red:hover{background:#a00d24;transform:translateY(-2px);box-shadow:0 8px 24px rgba(200,16,46,.3)}
.icd-btn-outline{background:transparent;color:#fff!important;border-color:#fff!important}.icd-btn-outline:hover{background:#fff;color:#1a3a5c!important}
.icd-btn-navy{background:#1a3a5c;color:#fff!important}.icd-btn-navy:hover{background:#0f2840;transform:translateY(-2px)}
.icd-btn-gold{background:#d4a017;color:#111!important}.icd-btn-gold:hover{background:#b8880f;transform:translateY(-2px)}
.icd-hero-stats-bar{position:absolute;bottom:0;left:0;right:0;background:rgba(26,58,92,.95);backdrop-filter:blur(8px);z-index:10;padding:18px 40px;display:flex;justify-content:space-around;flex-wrap:wrap;gap:16px}
.icd-stat{text-align:center;color:#fff}.icd-stat strong{display:block;font-size:1.8rem;font-weight:800;color:#d4a017}.icd-stat span{font-size:.72rem;opacity:.8;text-transform:uppercase;letter-spacing:.1em}
.icd-section{padding:80px 40px}.icd-section-alt{background:#f7f8fc}.icd-section-navy{background:#1a3a5c}
.icd-container{max-width:1180px;margin:0 auto}
.icd-label{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#c8102e;margin-bottom:10px}
.icd-title{font-size:clamp(1.8rem,3vw,2.6rem)!important;font-weight:800!important;color:#1a3a5c!important;line-height:1.2!important;margin-bottom:16px!important}
.icd-title-white{color:#fff!important}
.icd-divider{width:48px;height:4px;background:#c8102e;margin-bottom:24px;border-radius:2px}
.icd-sub{font-size:1rem;color:#4b5563;max-width:620px;margin-bottom:40px}
.icd-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.icd-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.icd-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:32px;transition:.3s ease;position:relative;overflow:hidden}
.icd-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:#c8102e;transform:scaleX(0);transition:transform .3s}
.icd-card:hover{transform:translateY(-6px);box-shadow:0 4px 24px rgba(0,0,0,.10)}.icd-card:hover::before{transform:scaleX(1)}
.icd-icon-box{width:52px;height:52px;background:rgba(200,16,46,.08);border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.icd-icon-box i{font-size:1.3rem;color:#c8102e}
.icd-card h3{font-size:1rem!important;font-weight:700!important;color:#1a3a5c!important;margin-bottom:8px!important}
.icd-card p{font-size:.87rem!important;color:#4b5563!important}
.icd-speaker-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 2px 16px rgba(0,0,0,.06);transition:.3s ease}
.icd-speaker-card:hover{transform:translateY(-6px);box-shadow:0 4px 24px rgba(0,0,0,.10)}
.icd-speaker-photo{width:100%;height:280px;object-fit:cover;object-position:top center}
.icd-speaker-body{padding:24px}
.icd-speaker-body h3{font-size:1.05rem!important;font-weight:800!important;color:#1a3a5c!important;margin-bottom:4px!important}
.icd-speaker-role{font-size:.78rem;font-weight:700;color:#c8102e;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.icd-speaker-body p{font-size:.85rem!important;color:#4b5563!important;margin-bottom:16px!important}
.icd-tag{display:inline-block;padding:4px 12px;background:rgba(26,58,92,.07);color:#1a3a5c;border-radius:20px;font-size:.74rem;font-weight:600;margin:3px}
.icd-booking-wrap{background:#1a3a5c;border-radius:16px;padding:40px;color:#fff}
.icd-booking-wrap h3{font-size:1.3rem!important;font-weight:800!important;color:#fff!important;margin-bottom:8px!important}
.icd-booking-wrap p{color:rgba(255,255,255,.8)!important;margin-bottom:24px!important}
.icd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.icd-form-group{display:flex;flex-direction:column;gap:6px}
.icd-form-group.full{grid-column:1/-1}
.icd-form-group label{font-size:.8rem;font-weight:600;color:rgba(255,255,255,.85)}
.icd-form-group input,.icd-form-group select,.icd-form-group textarea{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;padding:10px 14px;font-family:'Montserrat',sans-serif;font-size:.88rem;outline:none;transition:border-color .2s;width:100%}
.icd-form-group input:focus,.icd-form-group select:focus,.icd-form-group textarea:focus{border-color:#d4a017}
.icd-form-group select option{background:#1a3a5c}
.icd-form-group textarea{resize:vertical;min-height:110px}
.icd-testimonial{background:#1a3a5c;border-radius:16px;padding:48px;text-align:center;color:#fff;position:relative}
.icd-testimonial blockquote{font-size:1.1rem;font-style:italic;color:rgba(255,255,255,.9);margin-bottom:20px;font-family:'Lora',serif!important;border:none!important;padding:0!important}
.icd-testimonial cite{font-size:.82rem;font-weight:700;color:#d4a017;text-transform:uppercase;letter-spacing:.1em}
.icd-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.icd-about-img{border-radius:16px;overflow:hidden;box-shadow:0 4px 24px rgba(0,0,0,.10)}
.icd-about-img img{width:100%;height:420px;object-fit:cover}
.icd-values-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.icd-value-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:18px}
.icd-value-item i{font-size:1.4rem;color:#d4a017;margin-bottom:8px}
.icd-value-item h4{font-size:.88rem!important;font-weight:700!important;color:#fff!important;margin-bottom:4px!important}
.icd-value-item p{font-size:.8rem!important;color:rgba(255,255,255,.7)!important;margin:0!important}
.icd-price-badge{background:#d4a017;color:#111;border-radius:12px;padding:24px 32px;text-align:center;min-width:160px}
.icd-price-badge strong{display:block;font-size:2rem;font-weight:800}
.icd-price-badge span{font-size:.76rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.icd-slideshow{position:relative;background:#111827;border-radius:16px;overflow:hidden;height:360px;margin-bottom:48px}
.icd-rs-slide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;opacity:0;transition:opacity .7s}
.icd-rs-slide.active{opacity:1}
.icd-rs-slide i{font-size:3rem;color:rgba(255,255,255,.9);margin-bottom:14px}
.icd-rs-slide h3{font-size:1.4rem!important;font-weight:800!important;color:#fff!important;margin-bottom:12px!important}
.icd-rs-slide p{color:rgba(255,255,255,.78)!important;max-width:480px!important}
.icd-rs-s1{background:linear-gradient(135deg,#1a3a5c,#0f2840)}
.icd-rs-s2{background:linear-gradient(135deg,#c8102e,#8b0d20)}
.icd-rs-s3{background:linear-gradient(135deg,#d4a017,#a07a10)}
.icd-rs-s4{background:linear-gradient(135deg,#1a6b3a,#0e4224)}
.icd-ss-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:5}
.icd-ss-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer;border:none;transition:.3s ease}
.icd-ss-dot.active{background:#fff}
.icd-ss-arrows{position:absolute;top:50%;transform:translateY(-50%);width:100%;display:flex;justify-content:space-between;padding:0 16px;pointer-events:none;z-index:5}
.icd-ss-arrow{width:40px;height:40px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:all;transition:.3s ease}
.icd-ss-arrow:hover{background:rgba(255,255,255,.3)}
.icd-gallery-post{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;transition:.3s ease}
.icd-gallery-post:hover{transform:translateY(-6px);box-shadow:0 4px 24px rgba(0,0,0,.10)}
.icd-gallery-post img{width:100%;height:220px;object-fit:cover}
.icd-gallery-body{padding:22px}
.icd-gallery-meta{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:.76rem;color:#4b5563}
.icd-gallery-meta i{color:#c8102e}
.icd-gallery-body h3{font-size:.97rem!important;font-weight:700!important;color:#1a3a5c!important;margin-bottom:8px!important;line-height:1.4!important}
.icd-gallery-body p{font-size:.83rem!important;color:#4b5563!important;margin-bottom:14px!important}
.icd-read-more{font-size:.8rem;font-weight:700;color:#c8102e!important;display:inline-flex;align-items:center;gap:6px;text-decoration:none!important}
.icd-track-list{background:#f7f8fc;border-radius:12px;overflow:hidden;margin:24px 0}
.icd-track-list h4{background:#1a3a5c;color:#fff;padding:12px 18px;font-size:.82rem!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;margin:0!important}
.icd-track-item{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #e5e7eb;font-size:.86rem}
.icd-track-item:last-child{border-bottom:none}
.icd-track-num{width:26px;height:26px;background:#c8102e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;flex-shrink:0}
.icd-track-name{flex:1;font-weight:600;color:#111827}
.icd-track-dur{color:#4b5563;font-size:.78rem}
.icd-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.icd-contact-item{display:flex;align-items:flex-start;gap:14px}
.icd-contact-icon{width:44px;height:44px;background:#1a3a5c;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.icd-contact-icon i{color:#fff;font-size:1rem}
.icd-speakers-intro{background:#1a3a5c;border-radius:12px;padding:36px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:40px;flex-wrap:wrap}
.icd-speakers-intro h3{font-size:1.2rem!important;font-weight:700!important;color:#fff!important;margin-bottom:10px!important}
.icd-topics-section{background:#f7f8fc;border-radius:16px;padding:40px;margin-bottom:40px}
.icd-topics-section h3{font-size:1.2rem!important;font-weight:800!important;color:#1a3a5c!important;margin-bottom:8px!important}
.icd-topic-item{display:flex;align-items:flex-start;gap:12px;background:#fff;border-radius:10px;padding:16px 18px;border:1px solid #e5e7eb;transition:.3s ease}
.icd-topic-item:hover{border-color:#c8102e;box-shadow:0 4px 16px rgba(200,16,46,.08)}
.icd-topic-icon{width:38px;height:38px;border-radius:8px;background:rgba(200,16,46,.08);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.icd-topic-icon i{font-size:.95rem;color:#c8102e}
.icd-topic-item h4{font-size:.88rem!important;font-weight:700!important;color:#1a3a5c!important;margin-bottom:2px!important}
.icd-topic-item p{font-size:.78rem!important;color:#4b5563!important;margin:0!important}
.icd-filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px}
.icd-filter-btn{padding:8px 18px;border-radius:24px;font-size:.82rem;font-weight:600;border:2px solid #e5e7eb;background:transparent;color:#4b5563;cursor:pointer;transition:.3s ease}
.icd-filter-btn.active,.icd-filter-btn:hover{border-color:#c8102e;color:#c8102e;background:rgba(200,16,46,.05)}
.icd-page-banner{min-height:200px;display:flex;align-items:center;background:linear-gradient(135deg,#1a3a5c,#0f2840);padding:56px 40px}
.icd-page-banner h1{font-size:clamp(1.8rem,4vw,3rem)!important;font-weight:800!important;color:#fff!important;margin-bottom:12px!important}
.icd-page-banner p{color:rgba(255,255,255,.8)!important;font-size:1rem!important}
.icd-2col-layout{display:grid;grid-template-columns:1fr 360px;gap:48px;align-items:start}
.icd-sidebar-card{background:#1a3a5c;border-radius:16px;padding:28px;color:#fff;position:sticky;top:90px}
.icd-sidebar-card h3{font-size:1.1rem!important;font-weight:800!important;color:#fff!important;margin-bottom:8px!important}
.icd-sidebar-card p{color:rgba(255,255,255,.78)!important;font-size:.86rem!important;margin-bottom:20px!important}
.icd-sidebar-card input,.icd-sidebar-card select,.icd-sidebar-card textarea{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;padding:10px 14px;font-family:'Montserrat',sans-serif;font-size:.86rem;outline:none;width:100%;margin-bottom:10px}
.icd-feature-list{display:flex;flex-direction:column;gap:10px;margin:16px 0}
.icd-feature-list li{display:flex;align-items:center;gap:10px;font-size:.86rem;color:rgba(255,255,255,.88)}
.icd-feature-list li::before{content:'\f00c';font-family:'Font Awesome 6 Free';font-weight:900;color:#d4a017;font-size:.8rem}
@media(max-width:900px){.icd-grid-3,.icd-2col-layout{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.icd-grid-3,.icd-grid-2,.icd-about-grid,.icd-contact-grid,.icd-form-grid,.icd-2col-layout{grid-template-columns:1fr}.icd-section{padding:56px 20px}.icd-hero h1{font-size:1.9rem!important}}

/* =====================================================
   LAYOUT FIX: Remove theme container boxing
   ===================================================== */
.responsive-max-width {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Fix header to be full width */
.site-header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 24px !important;
}

/* Make logo smaller and cleaner */
.site-header .custom-logo, 
.site-header .custom-logo-link img {
  max-height: 60px !important;
  width: auto !important;
}

/* Hide site title and tagline text (logo image has branding) */
.site-title, .site-description, .p-name {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Fix page content full width */
.site-content, .site {
  max-width: 100% !important;
  width: 100% !important;
}

/* =====================================================
   FOOTER: Complete custom footer styling
   ===================================================== */
#colophon {
  background: #0d1b2a !important;
  color: #ccc !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: none !important;
}

#footer-widgets {
  background: #0d1b2a !important;
  padding: 0 !important;
  width: 100% !important;
}

#footer-widgets .widget-area {
  background: #0d1b2a !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Hide "Don't be shy" widget and any other theme footer sections */
.site-info, #site-info {
  background: #0a1520 !important;
  color: #888 !important;
  text-align: center !important;
  padding: 16px !important;
  font-size: 13px !important;
  border-top: 1px solid #1e3a5c !important;
}

/* ICD Custom Footer Widget Styles */
.icd-footer-widget {
  background: #0d1b2a;
  color: #ccc;
  font-family: 'Montserrat', sans-serif;
}

.icd-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
}

.icd-footer-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.icd-footer-tagline {
  color: #d4a017;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.icd-footer-desc {
  color: #9ab;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.icd-footer-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c8102e;
}

.icd-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icd-footer-links li {
  margin-bottom: 8px;
}

.icd-footer-links a {
  color: #9ab;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.icd-footer-links a:hover {
  color: #d4a017;
}

.icd-footer-links i {
  font-size: 10px;
  margin-right: 6px;
  color: #c8102e;
}

.icd-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icd-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #9ab;
  line-height: 1.5;
}

.icd-footer-contact i {
  color: #c8102e;
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}

.icd-footer-contact a {
  color: #9ab;
  text-decoration: none;
}

.icd-footer-contact a:hover {
  color: #d4a017;
}

.icd-footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.icd-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a3a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.icd-footer-social a:hover {
  background: #c8102e;
}

.icd-footer-bottom {
  background: #060e18;
  border-top: 1px solid #1a3a5c;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.icd-footer-bottom p {
  color: #667;
  font-size: 12px;
  margin: 0;
}

.icd-footer-bottom a {
  color: #9ab;
  text-decoration: none;
}

.icd-footer-bottom a:hover {
  color: #d4a017;
}

/* Hide the "Don't be shy" text widget if it's still showing */
.widget-area .textwidget h2:first-child,
section.widget_text h2.widget-title {
  color: #fff !important;
}

/* Responsive footer */
@media (max-width: 768px) {
  .icd-footer-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 30px;
  }
  .icd-footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .icd-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}


/* =====================================================
   HEADER FINAL FIXES
   ===================================================== */

/* Shrink the logo - it's way too big currently */
.site-header .custom-logo-link,
.site-header a.custom-logo-link {
  display: block !important;
}

.site-header .custom-logo,
.custom-logo-link img,
.site-branding img {
  max-height: 55px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
}

/* Hide the tagline text "Change through positive actions" */
.site-description,
p.site-description,
.header-site-description,
[class*="site-description"],
[class*="site-tagline"],
.tagline {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the page title "Home" on the homepage */
.entry-header,
.entry-header .entry-title,
.page-header,
h1.page-title,
h1.entry-title,
.hentry > header,
.post-header,
.page .entry-header {
  display: none !important;
}

/* Fix the header layout - make it proper flex with logo left, nav right */
.site-header.responsive-max-width {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 48px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #fff !important;
  box-shadow: 0 1px 12px rgba(0,0,0,.08) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  flex-wrap: nowrap !important;
}

/* Site branding area (logo) */
.site-branding {
  flex-shrink: 0 !important;
}

/* Nav should stay on the right */
.site-navigation {
  margin-left: auto !important;
}

/* Remove the text title that's part of site branding if visible */
.site-title {
  display: none !important;
}

/* Fix the Elementor content area to start right after header with no gap */
.site-content,
#content,
.content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Fix entry-content padding */
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Make Elementor widget HTML output full width */
.elementor,
.elementor-section-wrap,
.elementor-container,
.elementor-widget-container,
.elementor-widget-html {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.elementor-widget-html .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure the .icd-page div inside Elementor is truly full width */
.elementor-widget-container .icd-page {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
}


/* === HEADER LOGO FIX === */
.site-header .custom-logo,
.custom-logo-link img,
.site-branding img {
  max-height: 55px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
}

/* === HIDE TAGLINE === */
.site-description,
p.site-description {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* === HIDE PAGE TITLE === */
.entry-header,
.entry-header .entry-title,
h1.entry-title,
.hentry > .entry-header {
  display: none !important;
}

/* === HEADER LAYOUT FIX === */
.site-header.responsive-max-width {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 48px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #fff !important;
  box-shadow: 0 1px 12px rgba(0,0,0,.08) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.site-title { display: none !important; }
.site-branding { flex-shrink: 0 !important; }
.site-navigation { margin-left: auto !important; }

/* === CONTENT AREA NO TOP PADDING === */
.site-content, #content, .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* === ELEMENTOR FULL WIDTH === */
.elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* HEADER LOGO */
.site-header .custom-logo,.custom-logo-link img,.site-branding img{max-height:55px!important;max-width:200px!important;width:auto!important;height:auto!important}
/* HIDE TAGLINE */
.site-description,p.site-description{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}
/* HIDE PAGE TITLE */
.entry-header,.entry-header .entry-title,h1.entry-title,.hentry>.entry-header{display:none!important}
/* HEADER LAYOUT */
.site-header.responsive-max-width{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 48px!important;position:sticky!important;top:0!important;z-index:1000!important;background:#fff!important;box-shadow:0 1px 12px rgba(0,0,0,.08)!important;width:100%!important;max-width:100%!important;margin:0!important}
.site-title{display:none!important}
.site-branding{flex-shrink:0!important}
.site-navigation{margin-left:auto!important}
/* NO TOP PADDING */
.site-content,#content,.content-area{padding-top:0!important;margin-top:0!important}
.entry-content{padding:0!important;margin:0!important;max-width:100%!important}
/* ELEMENTOR FULL WIDTH */
.elementor-widget-container{padding:0!important;margin:0!important}

/* === HIDE OLD THEME FOOTER === */
#colophon .site-info,
#colophon #footer-info-wrapper,
#footer-info-wrapper .privacy-policy-link,
#footer-info-wrapper .site-info,
.site-footer .site-info,
.comma {
  display: none !important;
}

/* === STYLE THE FOOTER WIDGET AREA IF IT RENDERS === */
#colophon {
  padding: 0 !important;
  margin: 0 !important;
}

/* If the widget renders, make it full width */
.widget-area.widget-area-footer-1 {
  padding: 0 !important;
}

/* === MOBILE NAV: HIDE OVERFLOW ON SMALL SCREENS === */
@media (max-width: 768px) {
  .site-header.responsive-max-width {
    flex-wrap: wrap !important;
    padding: 12px 20px !important;
  }
  .site-navigation {
    width: 100% !important;
    margin-top: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .site-navigation ul {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }
  .site-header .custom-logo,
  .custom-logo-link img,
  .site-branding img {
    max-height: 40px !important;
  }
}

/* Fix Citadel hero - ensure background covers full width */
.icd-page .hero,
.p .hero {
  position: relative !important;
  z-index: 0 !important;
}

/* Fix Elementor container overflow so hero backgrounds can extend full width */
.elementor-element.elementor-widget-html {
  overflow: visible !important;
}

.elementor-container {
  overflow: visible !important;
}
