/* Company and Resources geometry from Leona's desktop and mobile artboards. */

/* Preserve editable media while showing the text-only blog cards in the brief. */
body#brief-resources .release-card-image { display: none !important; }
body#brief-resources a:has(> .release-featured-image) { min-height: 360px !important; }
/* draft.js sets --resources-card-min so a shorter last page keeps the grid height. */
body#brief-resources .m-art a:has(> .release-card-image) { box-sizing: border-box; min-height: var(--resources-card-min, 0); }
body#brief-company .company-statement > summary { font-size: 15px; line-height: normal; gap: 4px; }
/* Match the reference's toggle below the expanded statement, keeping native disclosure behavior. */
@supports selector(::details-content) {
  body#brief-company .company-statement[open] { display: flex; flex-direction: column; gap: 20px; }
  body#brief-company .company-statement[open] > summary { order: 2; align-self: flex-start; }
  body#brief-company .company-statement::details-content { order: 1; }
  body#brief-company .company-statement-full { padding-top: 0; }
  @media (max-width: 760px) {
    body#brief-company .company-statement[open],
    body#brief-company .company-statement-full { gap: 14px; }
  }
}
body#brief-company .company-vision .wrap > div:first-child > div:last-child { color: #FFFFFF !important; }
body#brief-company .company-vision .wrap > div:last-child > p:last-child {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6;
  letter-spacing: normal !important;
  color: #A0B4FF;
}
@property --photo-zoom {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body#brief-company :is(.team-portrait, .team-lead > div:first-child, .m-car .wrap > div > div:last-child) { overflow: hidden; }
  body#brief-company :is(.team-portrait, .team-lead > div:first-child, .m-car .wrap > div > div:last-child) > img {
    scale: calc(var(--naro-crop-scale, 1) * var(--photo-zoom, 1));
    transition: --photo-zoom 0.45s ease, opacity 0.45s ease;
  }
  body#brief-company :is(.team-portrait, .team-lead > div:first-child, .m-car .wrap > div > div:last-child):is(:hover, :focus-within) > img {
    --photo-zoom: 1.06;
    opacity: 0.72;
  }
}
@media (min-width: 761px) {
  body#brief-company .glance-facts { box-sizing: content-box !important; }
  body#brief-company .m-intro .wrap > div:last-child > div > div:last-child > a:last-child { min-height: 54px !important; }
}
@media (max-width: 760px) {
  body#brief-company .m-intro .wrap > div:last-child > div > div:last-child {
    align-items: center;
    gap: 12px 20px !important;
    margin-top: 0 !important;
  }
  body#brief-company .team-intro-link { min-height: 48px !important; padding: 0 22px !important; gap: 12px !important; }
  body#brief-company .m-intro .wrap > div:last-child > div > div:last-child > a:last-child {
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 14px !important;
    color: #4C61BF !important;
  }
  body#brief-company .company-vision .wrap > div:last-child > p:first-child { color: #FFFFFF !important; }
  body#brief-company .company-statement > summary { font-size: 14px; }
  body#brief-resources a:has(> .release-featured-image) { min-height: 0 !important; box-sizing: content-box; }
  body#brief-resources a:has(> .release-featured-image) + a > span:nth-child(2) { letter-spacing: -0.015em !important; }
  body#brief-resources a:has(> .release-featured-image) + a > span:last-child { line-height: normal !important; }
  body#brief-resources .m-art a:has(> .release-card-image) > span:last-child > span:nth-child(2) { letter-spacing: -0.01em !important; }
  body#brief-resources .m-news a > span:nth-child(2) { line-height: normal !important; }
  body#brief-company .m-lfoot .wrap > div:last-child,
  body#brief-resources .m-lfoot .wrap > div:last-child { gap: 16px !important; }
}

/* MOBILE ARTBOARD */
@media (max-width:760px){
body#brief-company .m-intro{padding:28px 0 48px !important}
body#brief-company .m-intro .wrap>div:first-child{margin-bottom:20px !important}
body#brief-company .m-intro h1{font-size:34px !important}
body#brief-company .m-intro .wrap>div:last-child{gap:24px !important}
body#brief-company .m-intro .wrap>div:last-child>div{gap:16px !important}
body#brief-company .m-intro p{font-size:15px !important;line-height:1.5 !important}
body#brief-company .m-sec{padding-top:48px !important;padding-bottom:48px !important}
body#brief-company .m-sec .wrap>div:first-child{margin-bottom:20px !important}
body#brief-company .m-sec h2{font-size:30px !important;margin-bottom:20px !important}
body#brief-company .m-vis{padding:48px 0 !important}
body#brief-company .m-vis .wrap>div:first-child{gap:20px !important}
body#brief-company .m-vis .wrap>div:first-child>div:first-child{gap:0 !important}
body#brief-company .m-vis .wrap>div:first-child>div:first-child>div>div{margin-bottom:14px !important}
body#brief-company .m-vis h2{font-size:30px !important}
body#brief-company .m-vis .wrap>div:first-child>div:last-child{font-size:15px !important;line-height:1.55 !important;gap:14px !important;padding-top:18px !important}
body#brief-company .m-vis .wrap>div:last-child{margin-top:28px !important;padding-top:20px !important;gap:12px !important}
body#brief-company .m-vis .wrap>div:last-child p:first-child{font-size:15px !important;line-height:1.5 !important}
body#brief-company .m-vis .wrap>div:last-child p:last-child{font-size:15px !important;line-height:1.5 !important}
body#brief-company .m-grp .wrap>div:last-child{gap:12px !important}
body#brief-company .m-grp article{padding:18px 16px !important;gap:14px !important}
body#brief-company .m-grp article>span{flex-basis:44px !important;width:44px !important;height:44px !important}
body#brief-company .m-grp article svg{width:26px;height:26px}
body#brief-company .m-grp article>div{gap:6px !important}
body#brief-company .m-grp article h3{font-size:22px !important}
body#brief-company .m-grp article p{font-size:14px !important;line-height:1.5 !important}
body#brief-company .m-ms ol{flex-direction:column;flex-wrap:nowrap !important;border-top:0 !important;border-left:2px solid #0D0D0D;margin-left:5px !important}
body#brief-company .m-ms li{flex:0 0 auto !important;padding:0 0 20px 22px !important}
body#brief-company .m-ms li:last-child{padding-bottom:0 !important}
body#brief-company .m-ms li>span{top:3px !important;left:-7px !important}
body#brief-company .m-ms li>div:nth-child(2){margin-bottom:4px !important}
body#brief-company .m-ms li>div:nth-child(3){font-size:18px !important;margin-bottom:4px !important}
body#brief-company .m-ms li>div:nth-child(4){font-size:13px !important;line-height:1.45 !important}
body#brief-company .m-team .wrap>div:nth-child(2){gap:8px !important;margin-bottom:20px !important}
body#brief-company .m-team .wrap>div:nth-child(2) h2{margin:0 !important}
body#brief-company .m-team .wrap>div:nth-child(2) p{font-size:14px !important}
body#brief-company .m-team .team-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important}
body#brief-company .m-team .team-lead{grid-row:auto !important;grid-column:1 / -1;flex-direction:row !important}
body#brief-company .m-team .team-lead>div:first-child{flex:0 0 132px !important;min-height:132px !important}
body#brief-company .m-team .team-lead>div:last-child{display:flex;flex-direction:column;justify-content:flex-end;padding:14px 16px !important}
body#brief-company .m-team .team-lead>div:last-child>div:first-child{font-size:20px !important}
body#brief-company .m-team .team-grid>article:not(.team-lead)>div:last-child{padding:8px 8px 10px !important}
body#brief-company .m-team .team-grid>article:not(.team-lead)>div:last-child>div:first-child{font-size:13px !important;line-height:1.2}
body#brief-company .m-team .team-grid>article:not(.team-lead)>div:last-child>div:last-child{font-size:9.5px !important;margin-top:4px !important;line-height:1.3}
body#brief-company .m-team .team-grid>article:not(.team-lead)>div:first-child{padding:8px !important}
body#brief-company .m-team .team-grid>article:not(.team-lead)>div:first-child span{font-size:22px !important}
body#brief-company .m-team .team-grid>article:not(.team-lead)>.team-portrait{padding:0 !important}
body#brief-company .m-proof{padding-bottom:48px !important}
body#brief-company .m-car{padding-top:0 !important}
body#brief-company .m-car .wrap>div>div:first-child{padding:24px 18px !important;gap:16px !important}
body#brief-company .m-car h2{font-size:28px !important}
body#brief-company .m-car .wrap>div>div:first-child>div:nth-child(3)>div{flex-basis:100% !important;padding:12px 0 0 !important}
body#brief-company .m-car .wrap>div>div:first-child>div:nth-child(3) [style*="font-size: 14px"]{font-size:13px !important;line-height:1.45 !important}
body#brief-company .m-car .wrap>div>div:first-child a{min-height:48px !important}
body#brief-company .m-car .wrap>div>div:last-child{min-height:170px !important;flex-basis:100% !important;min-width:0 !important}
body#brief-company .m-lfoot{padding-top:48px !important}
body#brief-company .m-lfoot .wrap>div:first-child{gap:32px !important}
body#brief-company .m-lfoot .wrap>div:first-child>div:first-child{flex-basis:auto !important}
body#brief-company .m-lfoot .wrap>div:first-child>div:first-child>div:first-child{margin-bottom:20px !important}
body#brief-company .m-lfoot .wrap>div:first-child>div:first-child>div:last-child{font-size:30px !important}
body#brief-company .m-lfoot .wrap>div:first-child>div:last-child{gap:40px !important}
body#brief-company .m-lfoot .wrap>div:last-child{margin-top:40px !important}
}

/* MOBILE ARTBOARD */
@media (max-width:760px){
body#brief-resources .m-rintro{padding:28px 0 24px !important}
body#brief-resources .m-rintro .wrap>div:first-child{margin-bottom:20px !important}
body#brief-resources .m-rintro h1{font-size:36px !important;flex-basis:auto !important}
body#brief-resources .m-rintro .wrap>div:nth-child(2){gap:12px !important}
body#brief-resources .m-rintro p{font-size:15px !important;line-height:1.5 !important;flex-basis:auto !important}
body#brief-resources .m-rintro [role=tablist]{flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none;margin-top:24px !important;padding-top:16px !important}
body#brief-resources .m-rintro [role=tablist] button{flex:0 0 auto;min-height:40px !important;padding:0 14px !important}
body#brief-resources .m-rintro [role=tablist]>span{display:none}
body#brief-resources .m-art{padding-bottom:48px !important}
body#brief-resources .m-art .wrap>div:nth-child(3){margin-top:12px !important}
body#brief-resources .m-news{padding-bottom:48px !important}
body#brief-resources .m-news .wrap>div:nth-child(3){margin-top:16px !important}
body#brief-resources .m-kit{padding-bottom:48px !important}
body#brief-resources .m-kit .wrap>div:first-child{margin-bottom:20px !important}
body#brief-resources .m-kit .wrap>div:last-child{gap:20px !important}
body#brief-resources .m-kit h2{font-size:30px !important}
body#brief-resources .m-kit .wrap>div:last-child>div:first-child{gap:14px !important}
body#brief-resources .m-kit .wrap>div:last-child>div:first-child>div{padding-top:14px !important}
body#brief-resources .m-kit .wrap>div:last-child>div:last-child{gap:8px !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important}
body#brief-resources .m-kit .wrap>div:last-child>div:last-child>div{padding:14px !important;min-height:0 !important;gap:6px !important}
body#brief-resources .m-kit .wrap>div:last-child>div:last-child>div>span:nth-child(2){font-size:17px !important}
body#brief-resources .m-kit .wrap>div:last-child>div:last-child>div a{min-height:36px !important}
body#brief-resources .m-lfoot{padding-top:48px !important}
body#brief-resources .m-lfoot .wrap>div:first-child{gap:32px !important}
body#brief-resources .m-lfoot .wrap>div:first-child>div:first-child{flex-basis:auto !important}
body#brief-resources .m-lfoot .wrap>div:first-child>div:first-child>div:first-child{margin-bottom:20px !important}
body#brief-resources .m-lfoot .wrap>div:first-child>div:first-child>div:last-child{font-size:30px !important}
body#brief-resources .m-lfoot .wrap>div:first-child>div:last-child{gap:40px !important}
body#brief-resources .m-lfoot .wrap>div:last-child{margin-top:40px !important}
}
