/* Visual-only React parity for existing Elementor content pages. */
body.page-id-1029,body.page-id-595,body.page-id-560{background:#f7f8f4;color:#334155;font-family:"Vazirmatn",sans-serif}body.page-id-1029 .elementor-section,body.page-id-595 .elementor-section,body.page-id-560 .elementor-section{font-family:"Vazirmatn",sans-serif}
/* Existing vertical Elementor navigation is reshaped into a calm horizontal brand bar. */
body.page-id-1029 .elementor-element-7fe5289,body.page-id-595 .elementor-element-7fe5289,body.page-id-560 .elementor-element-7fe5289{position:sticky!important;top:0!important;z-index:80!important;display:block!important;width:100%!important;min-height:76px!important;height:76px!important;background:rgba(247,248,244,.94)!important;border-bottom:1px solid rgba(226,232,240,.75)!important;backdrop-filter:blur(24px)!important}body.page-id-1029 .elementor-element-7fe5289>.elementor-container,body.page-id-595 .elementor-element-7fe5289>.elementor-container,body.page-id-560 .elementor-element-7fe5289>.elementor-container{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row!important;width:100%!important;max-width:1280px!important;min-height:76px!important;margin:auto!important;padding:0 32px!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-column,body.page-id-595 .elementor-element-7fe5289 .elementor-column,body.page-id-560 .elementor-element-7fe5289 .elementor-column{width:auto!important;flex:0 0 auto!important;margin:0!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-widget-image,body.page-id-595 .elementor-element-7fe5289 .elementor-widget-image,body.page-id-560 .elementor-element-7fe5289 .elementor-widget-image{margin-left:28px!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-widget-image img,body.page-id-595 .elementor-element-7fe5289 .elementor-widget-image img,body.page-id-560 .elementor-element-7fe5289 .elementor-widget-image img{max-height:42px!important;width:auto!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-widget-icon-box,body.page-id-595 .elementor-element-7fe5289 .elementor-widget-icon-box,body.page-id-560 .elementor-element-7fe5289 .elementor-widget-icon-box{margin:0 14px!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-icon-box-wrapper,body.page-id-595 .elementor-element-7fe5289 .elementor-icon-box-wrapper,body.page-id-560 .elementor-element-7fe5289 .elementor-icon-box-wrapper{display:flex!important;align-items:center!important;gap:7px!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-icon-box-title,body.page-id-595 .elementor-element-7fe5289 .elementor-icon-box-title,body.page-id-560 .elementor-element-7fe5289 .elementor-icon-box-title{margin:0!important;color:#64748b!important;font-size:13px!important;font-weight:700!important}body.page-id-1029 .elementor-element-7fe5289 .elementor-icon-box-icon,body.page-id-595 .elementor-element-7fe5289 .elementor-icon-box-icon,body.page-id-560 .elementor-element-7fe5289 .elementor-icon-box-icon{margin:0!important}.page-id-1029 .elementor-element-5e2bcd4,.page-id-595 .elementor-element-5e2bcd4,.page-id-560 .elementor-element-5e2bcd4{position:sticky!important;top:0!important;z-index:90!important;background:#f7f8f4!important;border-bottom:1px solid #e2e8f0!important}
/* Keep existing title content, but present it as the React-inspired grid Hero. */
body.page-id-1029 .elementor-element-402d6d0,body.page-id-595 .elementor-element-402d6d0,body.page-id-560 .elementor-element-402d6d0{position:relative!important;min-height:420px!important;display:flex!important;align-items:center!important;overflow:hidden!important;background-color:#f7f8f4!important;background-image:linear-gradient(rgba(247,248,244,.88),rgba(239,251,245,.92)),linear-gradient(rgba(10,62,123,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(10,62,123,.055) 1px,transparent 1px)!important;background-size:auto,34px 34px,34px 34px!important;background-position:center!important}body.page-id-1029 .elementor-element-402d6d0>.elementor-container,body.page-id-595 .elementor-element-402d6d0>.elementor-container,body.page-id-560 .elementor-element-402d6d0>.elementor-container{width:100%!important;max-width:1280px!important;margin:auto!important;padding:72px 32px!important}body.page-id-1029 .elementor-element-402d6d0 h1,body.page-id-1029 .elementor-element-402d6d0 h2,body.page-id-595 .elementor-element-402d6d0 h1,body.page-id-595 .elementor-element-402d6d0 h2,body.page-id-560 .elementor-element-402d6d0 h1,body.page-id-560 .elementor-element-402d6d0 h2{max-width:780px!important;color:#0a3e7b!important;font-size:clamp(42px,5vw,72px)!important;font-weight:900!important;line-height:1.2!important;letter-spacing:-.06em!important;text-align:right!important}
body.page-id-1029 .elementor-element-c407270,body.page-id-595 .elementor-element-c407270,body.page-id-560 .elementor-element-c407270{padding:64px 32px 20px!important;background:#fff!important}body.page-id-1029 .elementor-element-c407270>.elementor-container,body.page-id-595 .elementor-element-c407270>.elementor-container,body.page-id-560 .elementor-element-c407270>.elementor-container{max-width:1180px!important}body.page-id-1029 .elementor-element-c407270 h2,body.page-id-1029 .elementor-element-c407270 h3,body.page-id-595 .elementor-element-c407270 h2,body.page-id-595 .elementor-element-c407270 h3,body.page-id-560 .elementor-element-c407270 h2,body.page-id-560 .elementor-element-c407270 h3{color:#0a3e7b!important;font-family:"Vazirmatn",sans-serif!important;font-weight:900!important}
/* Podcast portfolio cards and checklist flip cards share the academy card system. */
body.page-id-1029 .elementor-element-c46c3d2,body.page-id-595 .elementor-element-c46c3d2{padding:28px 32px 96px!important;background:#fff!important}body.page-id-1029 .elementor-element-c46c3d2>.elementor-container,body.page-id-595 .elementor-element-c46c3d2>.elementor-container{max-width:1180px!important;gap:24px!important}body.page-id-1029 .elementor-widget-matin_portfolio .matin-portfolio-item,body.page-id-1029 .matin-portfolio-item,body.page-id-595 .elementor-flip-box{border:1px solid #e2e8f0!important;border-radius:24px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 18px 42px -34px rgba(10,62,123,.45)!important;transition:transform .2s ease,box-shadow .2s ease!important}body.page-id-1029 .elementor-widget-matin_portfolio .matin-portfolio-item:hover,body.page-id-1029 .matin-portfolio-item:hover,body.page-id-595 .elementor-flip-box:hover{transform:translateY(-4px)!important;box-shadow:0 24px 46px -28px rgba(10,62,123,.25)!important}body.page-id-1029 .matin-portfolio-item h1,body.page-id-1029 .matin-portfolio-item h2,body.page-id-1029 .matin-portfolio-item h3,body.page-id-595 .elementor-flip-box__layer__title{color:#0a3e7b!important;font-weight:900!important}body.page-id-595 .elementor-flip-box__front{background:#fff!important}body.page-id-595 .elementor-flip-box__back{background:#0a3e7b!important}body.page-id-595 .elementor-flip-box__back .elementor-flip-box__layer__title,body.page-id-595 .elementor-flip-box__back .elementor-flip-box__layer__description{color:#fff!important}
/* Existing counseling content stays untouched; the form and contact widgets become academy surfaces. */
body.page-id-560 .elementor-element-c46c3d2{padding:36px 32px 96px!important;background:#fff!important}body.page-id-560 .elementor-element-c46c3d2>.elementor-container{max-width:1180px!important;gap:32px!important}body.page-id-560 .elementor-widget-matin_contact,body.page-id-560 .elementor-widget-form{border:1px solid #e2e8f0!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 42px -34px rgba(10,62,123,.38)!important}body.page-id-560 .elementor-widget-matin_contact{padding:28px!important;background:linear-gradient(145deg,#f3fbf7,#fff)!important}body.page-id-560 .elementor-widget-form{padding:28px!important}body.page-id-560 .elementor-field,body.page-id-560 textarea{min-height:52px!important;border:1px solid #dbe6e1!important;border-radius:12px!important;background:#fbfdfc!important;color:#334155!important;font-family:"Vazirmatn",sans-serif!important}body.page-id-560 textarea{min-height:142px!important}body.page-id-560 .elementor-button{min-height:52px!important;border-radius:12px!important;background:#0a3e7b!important;font-family:"Vazirmatn",sans-serif!important;font-weight:800!important;box-shadow:0 14px 26px -18px rgba(10,62,123,.9)!important}
@media(max-width:767px){body.page-id-1029 .elementor-element-7fe5289,body.page-id-595 .elementor-element-7fe5289,body.page-id-560 .elementor-element-7fe5289{display:none!important}body.page-id-1029 .elementor-element-402d6d0,body.page-id-595 .elementor-element-402d6d0,body.page-id-560 .elementor-element-402d6d0{min-height:310px!important}body.page-id-1029 .elementor-element-402d6d0>.elementor-container,body.page-id-595 .elementor-element-402d6d0>.elementor-container,body.page-id-560 .elementor-element-402d6d0>.elementor-container{padding:54px 16px!important}body.page-id-1029 .elementor-element-402d6d0 h1,body.page-id-1029 .elementor-element-402d6d0 h2,body.page-id-595 .elementor-element-402d6d0 h1,body.page-id-595 .elementor-element-402d6d0 h2,body.page-id-560 .elementor-element-402d6d0 h1,body.page-id-560 .elementor-element-402d6d0 h2{font-size:42px!important}body.page-id-1029 .elementor-element-c407270,body.page-id-595 .elementor-element-c407270,body.page-id-560 .elementor-element-c407270,body.page-id-1029 .elementor-element-c46c3d2,body.page-id-595 .elementor-element-c46c3d2,body.page-id-560 .elementor-element-c46c3d2{padding-right:16px!important;padding-left:16px!important}body.page-id-560 .elementor-widget-form,body.page-id-560 .elementor-widget-matin_contact{padding:20px!important}}

/* Fixed academy header injected before the unchanged Elementor content. */
body.page-id-1029 .elementor-element-7fe5289,body.page-id-595 .elementor-element-7fe5289,body.page-id-560 .elementor-element-7fe5289,body.page-id-1029 .elementor-element-5e2bcd4,body.page-id-595 .elementor-element-5e2bcd4,body.page-id-560 .elementor-element-5e2bcd4{display:none!important}.ialms-legacy-page-header{position:sticky;top:0;z-index:100;background:rgba(247,248,244,.94);border-bottom:1px solid rgba(226,232,240,.75);backdrop-filter:blur(24px);font-family:"Vazirmatn",sans-serif}.ialms-legacy-page-header__inner{width:min(1280px,calc(100% - 64px));height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.ialms-legacy-page-brand{display:flex;align-items:center;gap:10px;color:#0a3e7b;text-decoration:none}.ialms-legacy-page-brand>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#0a3e7b;color:#fff;font-size:13px;font-weight:900;box-shadow:0 10px 20px -12px rgba(10,62,123,.95)}.ialms-legacy-page-brand strong{font-size:13px;font-weight:900;line-height:1.1}.ialms-legacy-page-brand small{display:block;margin-top:4px;color:#94a3b8;font-size:8px;letter-spacing:.16em}.ialms-legacy-page-nav{display:flex;align-items:center;gap:26px}.ialms-legacy-page-nav a,.ialms-legacy-page-actions>a{color:#64748b;text-decoration:none;font-size:13px;font-weight:700}.ialms-legacy-page-nav a:hover,.ialms-legacy-page-actions>a:hover{color:#1faf6a}.ialms-legacy-page-actions{display:flex;align-items:center;gap:16px}.ialms-legacy-page-actions .ialms-legacy-page-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 20px;border-radius:12px;background:#0a3e7b;color:#fff;box-shadow:0 10px 20px -12px rgba(10,62,123,.95)}.ialms-legacy-page-actions .ialms-legacy-page-cta:hover{color:#fff;background:#0f5496}.ialms-legacy-page-toggle{display:none;border:0;background:#fff;color:#0a3e7b;font:700 21px/1 Arial;padding:10px;border-radius:10px}.ialms-legacy-page-mobile-nav{display:none}
@media(max-width:900px){.ialms-legacy-page-header__inner{width:min(100% - 32px,600px)}.ialms-legacy-page-nav,.ialms-legacy-page-actions>a{display:none}.ialms-legacy-page-toggle{display:block}.ialms-legacy-page-mobile-nav{display:none;padding:8px 16px 16px;border-top:1px solid #e2e8f0;background:#fff}.ialms-legacy-page-header.is-open .ialms-legacy-page-mobile-nav{display:grid;gap:5px}.ialms-legacy-page-mobile-nav a{padding:11px 13px;border-radius:10px;color:#475569;text-decoration:none;font-size:13px;font-weight:800}.ialms-legacy-page-mobile-nav a:hover{background:#f1f5f9;color:#0a3e7b}.ialms-legacy-page-mobile-nav .ialms-legacy-page-mobile-cta{margin-top:4px;background:#0a3e7b;color:#fff;text-align:center}.ialms-legacy-page-header__inner{height:68px}.ialms-legacy-page-brand strong{font-size:12px}}

/* Home uses the exact same shared academy header as the content pages. */
body.home .ialms-native-header,body.home .ialms-native-mobile-menu{display:none!important}body.home.admin-bar .ialms-legacy-page-header{top:32px}@media(max-width:782px){body.home.admin-bar .ialms-legacy-page-header{top:46px}}
