/* ecd.stuartgosling.com only. Source: YORK_WEBSITE/content/ecd.css, copied into the site by tools/build_ecd_site.py. */
/* Loaded after york.css and york-mobile.css; the freelance site does not load this file. */

/* Role line under the wordmark */
.tp-header-logo a { display:inline-flex; flex-direction:column; line-height:1.15; }
.ecd-role { display:block; margin-top:4px; color: var(--york-gold); font-size:12px; font-weight:600; letter-spacing:.04em; white-space:nowrap; }

/* Home hero (portrait, name, title) is styled in the shared york.css (.sg-nobanner, .sg-hero-id) */

/* Home sections */
.ecd-section { border-top:1px solid rgba(255,255,255,.08); }
.ecd-section .tp-section-title { color:#fff; line-height:1.15; }
.ecd-lead { color:#fff !important; font-size:20px; line-height:1.65; margin:0 0 18px; max-width: 900px; opacity:1; }
.ecd-item-text { color: rgba(255,255,255,.82) !important; font-size:17px; line-height:1.65; margin:10px 0 0; max-width: 820px; white-space:normal; }
.ecd-section .creative-service-title-info { min-width:0; }
.ecd-section .creative-service-item { padding-right:0; }
.ecd-section .creative-service-category span { white-space:normal; }
.ecd-list { list-style:none; padding:0; margin:8px 0 0; max-width: 900px; }
.ecd-list li { color: rgba(255,255,255,.85); font-size:17px; line-height:1.6; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.ecd-list li strong { color:#fff; font-weight:600; margin-right:6px; }
.ecd-tools { color: rgba(255,255,255,.7) !important; font-size:15px; line-height:1.7; margin:22px 0 0; max-width: 900px; }
.ecd-tools strong { color: var(--york-gold); font-weight:600; margin-right:8px; text-transform:uppercase; letter-spacing:.06em; font-size:13px; }
.ecd-lead a, .ecd-item-text a, .ecd-list a, .york-blurb a { color: var(--york-gold); text-decoration:underline; text-underline-offset:3px; }
.ecd-lead a:hover, .ecd-item-text a:hover, .ecd-list a:hover, .york-blurb a:hover { color:#fff; }

/* Portfolio: role line under key tiles */
.tp-portfolio-inner-content span.ecd-credit { display:block; margin-top:5px; font-size:15px; line-height:1.4; font-weight:600; color:#fff; }

@media (max-width: 1199px) {
  .ecd-role { font-size:11px; }
}
@media (max-width: 767px) {
  .tp-header-logo a { align-items:center; }
  .ecd-role { font-size:10.5px; letter-spacing:.02em; margin-top:3px; }
  .ecd-section { padding-top:48px; padding-bottom:48px; }
  .ecd-lead { font-size:17px; line-height:1.6; }
  .ecd-item-text, .ecd-list li { font-size:16px; }
  .ecd-section .creative-service-category span { display:block; }
}

/* Leadership items: titles sized under the section heading, not at strip display size */
.ecd-section:not(.ecd-disciplines) .creative-service-title { font-size: clamp(24px, 2.6vw, 40px); line-height:1.15; }

/* producer.stuartgosling.com only: appended to ecd.css by tools/build_ecd_site.py --site producer (2026-11-16). */
/* The role line "Senior Account Management | Executive Producer and Head of Content" is too wide for one line on a phone:
   there the " | " becomes a line break. */
@media (max-width: 767px) {
  .ecd-sep { display:block; height:0; overflow:hidden; font-size:0; }
  .ecd-role { text-align:center; }
}
