/* Override hero heading font size for draft homepage */
.elementor-element-ywhhybi h1.elementor-heading-title {
	  font-size: clamp(32px, 3.5vw, 56px) !important;
}
}

/* Make How We Work Together boxes more visible */
.smedia-step {
	    background: rgba(6,140,151,0.08) !important;
	    border-right: 1px solid rgba(6,140,151,0.35) !important;
	    border-bottom: 1px solid rgba(6,140,151,0.35) !important;
}
}

/* ===== SOJOURN MEDIA - DARK HEADER STYLING ===== */
/* Applied to pages 1-HOME, 2-ABOUT US, 3-OUR SERVICES, 4-OUR WORK */

/* Dark header background */
#masthead,
.site-header,
.ast-header-break-point .site-header {
  background-color: #0d1117 !important;
}

/* Header row background */
.ast-primary-header-bar,
.main-header-bar {
  background-color: #0d1117 !important;
}

/* White nav links */
.main-header-bar .main-header-menu .menu-item > a,
.main-header-bar .main-navigation .menu-item > a {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}

.main-header-bar .main-header-menu .menu-item > a:hover,
.main-header-bar .main-navigation .menu-item > a:hover {
  color: #00bfcf !important;
}

/* "START A PROJECT" button - already styled via Customizer */
/* Additional styling for button in header */
.ast-header-custom-item .ast-custom-button-link .ast-custom-button {
  background-color: #00bfcf !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.ast-header-custom-item .ast-custom-button-link .ast-custom-button:hover {
  background-color: #009aaa !important;
}
/* ===== END DARK HEADER STYLING ===== */


/* ===== SOJOURN MEDIA - HEADER ENHANCEMENTS ===== */

/* Box the header inner content to max-width */
.main-header-bar .ast-container,
#masthead .ast-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Teal accent border at bottom of header */
#masthead,
.site-header {
  border-bottom: 3px solid #00bfcf !important;
  box-shadow: 0 2px 12px rgba(0, 191, 207, 0.15);
}
/* ================================================ */

/* ---------------------------------------------------------------
   Sojourn Media - accessibility: reduced motion (added 2026-09-22)
   Elementor entrance animations ship content with visibility:hidden
   (.elementor-invisible) until its scroll JS reveals it. Visitors who ask
   their OS for reduced motion now get the content straight away instead
   of depending on the animation running.
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  .elementor-invisible{visibility:visible !important;animation:none !important;}
  .animated{animation:none !important;}
}


/* ---------------------------------------------------------------
   Sojourn Media - mobile form tap targets (added 2026-09-22)
   Fluent Forms renders its 15 project-type checkboxes at 13x13px inside an
   18px label row, which is cramped on a phone. This gives each choice a 44px
   row and a 20px box on phones and tablets. Desktop above 1024px is unchanged, and the
   form's fields, validation and notification settings are untouched.
   --------------------------------------------------------------- */
@media (max-width:1024px){
  .fluentform .ff-el-form-check-label{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;line-height:1.45;}
  .fluentform .ff-el-form-check-input{width:20px;height:20px;margin-top:1px;flex:0 0 auto;}
}

/* ---------------------------------------------------------------
   Sojourn Media - compact desktop header 922-1199px (added 2026-09-24)
   With six menu items plus the Start a Project button, the desktop header
   wrapped and squeezed the button between 922 and 1199px. This block only
   applies in that range: tighter menu spacing/type, a slightly smaller logo
   and button, and a content-sized grid so the menu gets the free space.
   The last rule hands control to Astra's own mobile header whenever Astra's
   script is already in mobile mode (clientWidth <= 921, e.g. 922-936px
   windows with a classic scrollbar), so its toggle and submenus work.
   Remove this whole block to roll back.
   --------------------------------------------------------------- */
@media (min-width:922px) and (max-width:1199.98px){
  #masthead .ast-container{padding-left:16px !important;padding-right:16px !important;}
  #ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout{grid-template-columns:auto 1fr auto;column-gap:12px;}
  #masthead #ast-hf-menu-1 > .menu-item > .menu-link{padding-left:7px !important;padding-right:7px !important;font-size:12px !important;letter-spacing:.5px !important;}
  #masthead #ast-desktop-header .custom-logo{max-width:120px !important;height:auto !important;}
  #masthead #ast-desktop-header .ast-custom-button{padding:9px 12px !important;font-size:12px !important;}
}
@media (min-width:922px) and (max-width:1023.98px){
  #masthead #ast-hf-menu-1 > .menu-item > .menu-link{padding-left:5px !important;padding-right:5px !important;font-size:11.5px !important;letter-spacing:.3px !important;}
  #masthead #ast-desktop-header .custom-logo{max-width:104px !important;}
}
@media (min-width:922px){
  body.ast-header-break-point #ast-desktop-header{display:none !important;}
  body.ast-header-break-point #ast-mobile-header{display:block !important;}
}
/* ---------------- end compact desktop header block ---------------- */

/* ---------------------------------------------------------------
   Sojourn Media - header keyboard focus (added 2026-09-25)
   Shows a clear outline only for keyboard focus (:focus-visible),
   so mouse and touch look unchanged. White on the dark header bars
   and the black dropdown; charcoal inside the white mobile menu.
   Remove this whole block to roll back.
   --------------------------------------------------------------- */
#ast-desktop-header .custom-logo-link:focus-visible,
#ast-desktop-header #ast-hf-menu-1 > .menu-item > .menu-link:focus-visible,
#ast-desktop-header .dropdown-menu-toggle:focus-visible,
#ast-desktop-header .ast-custom-button-link:focus-visible .ast-custom-button,
#ast-mobile-header .custom-logo-link:focus-visible,
#ast-mobile-header .menu-toggle:focus-visible{outline:2px solid #FFFFFF !important;outline-offset:3px !important;}
#ast-desktop-header #ast-hf-menu-1 .sub-menu .menu-link:focus-visible{outline:2px solid #FFFFFF !important;outline-offset:-4px !important;}
#ast-mobile-header #ast-hf-mobile-menu .menu-link:focus-visible,
#ast-mobile-header #ast-hf-mobile-menu .ast-menu-toggle:focus-visible{outline:2px solid #0A1117 !important;outline-offset:-3px !important;}
/* ---------------- end header keyboard focus block ---------------- */


/* Session 20 (Sep 25, 2026): unified Sojourn footer on blog, posts, archives and 404 (Astra footer widget area 2). Remove this block to roll back. */
#colophon .site-primary-footer-wrap { background-color: #080c10; border-top: 0; }
#colophon .site-primary-footer-wrap .ast-builder-footer-grid-columns { padding-left: 10px; padding-right: 10px; }
#colophon .site-primary-footer-wrap .footer-widget-area .widget { margin: 0; }

/* Header: keep every menu label and the "Start a Project" button on one line */
#masthead #ast-hf-menu-1 > .menu-item > .menu-link,
#masthead .ast-builder-button-wrap .ast-custom-button { white-space: nowrap; }
#masthead #ast-hf-menu-1 { flex-wrap: nowrap; }
@media (min-width:1200px){
  #ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout { grid-template-columns: auto 1fr auto; column-gap: 16px; }
  #masthead #ast-hf-menu-1 > .menu-item > .menu-link { padding-left: 11px; padding-right: 11px; }
}
/* Dropdown menus: readable links in normal, hover and keyboard-focus states */
#ast-desktop-header #ast-hf-menu-1 .sub-menu,
#ast-desktop-header #ast-hf-menu-1 .sub-menu > .menu-item { background-color: #000000; }
#ast-desktop-header #ast-hf-menu-1 .sub-menu .menu-link { color: #FFFFFF; }
#ast-desktop-header #ast-hf-menu-1 .sub-menu .menu-link:hover,
#ast-desktop-header #ast-hf-menu-1 .sub-menu .menu-link:focus,
#ast-desktop-header #ast-hf-menu-1 .sub-menu .menu-item:hover > .menu-link { color: #00BFCF; background-color: #111B24; }


/* Sojourn approved portfolio overlay loading trial - December 3, 2026 */
.elementor-4353 .elementor-element.elementor-element-b8e9a90:not(.e-lazyloaded)::before {
  background-image: none !important;
}


/* === Sojourn blog presentation (Dec 2026) — single blog posts + blog sidebar ONLY. Rollback: delete this block. === */
.single-post .entry-content > h2{font-size:28px;line-height:1.3;margin-top:2.2em;margin-bottom:.6em}
.single-post .entry-content > h3{font-size:21px;line-height:1.35;margin-top:1.7em;margin-bottom:.5em}
.single-post .entry-content > p,.single-post .entry-content > ul > li,.single-post .entry-content > ol > li{font-size:17px;line-height:1.7}
.single-post .entry-content figcaption{font-size:13px;line-height:1.5}
.single-post .entry-content > .wp-block-image{margin:2em 0}
.single-post .entry-content > .wp-block-image img{width:100%;height:auto;border-radius:8px;box-shadow:none;border:0}
.single-post .entry-content > .wp-block-buttons{margin-top:2em;gap:12px}
#primary .entry-content .wp-block-button > .wp-block-button__link,#secondary .wp-block-button > .wp-block-button__link{background:#068C97;color:#fff;border:2px solid #068C97;border-radius:5px;padding:10px 22px;font-family:Roboto,sans-serif;font-size:15px;font-weight:500;line-height:1.3;text-decoration:none}
#primary .entry-content .wp-block-button > .wp-block-button__link:hover,#secondary .wp-block-button > .wp-block-button__link:hover{background:#0A1117;border-color:#0A1117;color:#fff}
#primary .entry-content .wp-block-button.is-style-outline > .wp-block-button__link{background:transparent;color:#068C97;border-color:#068C97}
#primary .entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover{background:#068C97;color:#fff;border-color:#068C97}
@media (max-width:921px){.single-post .entry-content > h2{font-size:25px}}
@media (max-width:544px){.single-post .entry-content > h2{font-size:22px}.single-post .entry-content > h3{font-size:19px}.single-post .entry-content > p,.single-post .entry-content > ul > li,.single-post .entry-content > ol > li{font-size:16px}}
body.ast-separate-container.ast-two-container #secondary .widget.widget_block,body #secondary .widget.widget_block{background:transparent;padding:0;margin-bottom:22px;border:0;box-shadow:none}
#secondary .sm-sb-card{background:#fff;border:1px solid #E2E8F0;border-radius:10px;padding:22px 22px 20px}
#secondary .sm-sb-cta{background:#0A1117;border-color:#0A1117}
#secondary .sm-sb-cta .sm-sb-title,#secondary .sm-sb-cta p{color:#fff}
#secondary .sm-sb-cta .wp-block-button > .wp-block-button__link:hover{background:#fff;border-color:#fff;color:#0A1117}
#secondary .sm-sb-title{font-family:"Bebas Neue",sans-serif;font-size:24px;line-height:1.1;letter-spacing:.5px;font-weight:400;margin:0 0 10px;color:#0A1117}
#secondary .sm-sb-card p{font-size:15px;line-height:1.55;margin-bottom:14px}
#secondary .sm-sb-card p:last-child{margin-bottom:0}
#secondary .sm-sb-stars{color:#068C97;font-size:18px;letter-spacing:2px;margin-bottom:6px}
#secondary .sm-sb-card a:not(.wp-block-button__link){color:#0A1117;text-decoration:underline;text-decoration-color:#068C97;text-underline-offset:3px}
#secondary .sm-sb-card a:not(.wp-block-button__link):hover{color:#068C97}
#secondary .sm-sb-links ul{list-style:none;margin:0;padding:0}
#secondary .sm-sb-links li{font-size:15px;padding:8px 0;border-bottom:1px solid #EEF2F5;margin:0}
#secondary .sm-sb-links li:last-child{border-bottom:0;padding-bottom:0}
#secondary .sm-sb-social{gap:10px;align-items:center}
#secondary ul.sm-sb-social li.wp-social-link{margin:0}
#secondary .wp-block-search__label{display:none}
#secondary .wp-block-search__input{border:1px solid #E2E8F0;border-radius:5px;font-size:15px}
