/* JYOSMI company additions: team, milestones, awards. Scoped to .jyosmi-co-* */
.jyosmi-co-section { border-top: 1px solid rgba(201,155,77,.18); }
.jyosmi-co-section ul { list-style: none; margin: 0; padding: 0; }
.jyosmi-co-intro p { color: #d5cdc1; line-height: 1.75; margin: 14px 0 0; }
.jyosmi-co-name { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 22px; line-height: 1.2; margin: 0 0 6px; overflow-wrap: anywhere; }
.jyosmi-co-role { color: var(--gold, #c99b4d); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 12px; }
.jyosmi-co-year { display: inline-block; color: var(--gold-lt, #e7c980); font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 700; line-height: 1; }

/* Team grid: centred flex so 1, 2 or 12 entries all sit well */
.jyosmi-co-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.jyosmi-co-grid > li { flex: 0 1 calc((100% - 44px) / 3); min-width: 230px; }
.jyosmi-co-grid.jyosmi-co-count-1 > li { flex-basis: min(380px, 100%); }
.jyosmi-co-grid.jyosmi-co-count-2 > li { flex-basis: min(420px, 100%); }
.jyosmi-co-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(201,155,77,.3); background: #151e25; }
.jyosmi-co-body { padding: 22px 24px 26px; }

/* Portrait frame: 4:5, whole photo by default; photo_style (inline on wrapper) inherits to img */
.jyosmi-co-photo { aspect-ratio: 4 / 5; width: 100%; overflow: hidden; background: #0f161c;
  object-fit: contain; object-position: center top; display: grid; place-items: center; }
.jyosmi-co-photo img, .jyosmi-co-step-photo img, .jyosmi-co-award-photo img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: inherit; object-position: inherit; }
.jyosmi-co-initials { color: var(--gold, #c99b4d); font-family: 'Playfair Display', Georgia, serif; font-size: 56px; background: rgba(201,155,77,.08); width: 100%; height: 100%; display: grid; place-items: center; }

/* Details / biography (native, no JS) */
.jyosmi-co-details { margin-top: 10px; border-top: 1px solid rgba(201,155,77,.25); }
.jyosmi-co-details summary { cursor: pointer; list-style: none; padding: 12px 28px 12px 0; position: relative; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.jyosmi-co-details summary::-webkit-details-marker { display: none; }
.jyosmi-co-details summary::after { content: '+'; position: absolute; right: 2px; top: 8px; color: var(--gold, #c99b4d); font-size: 22px; font-weight: 400; }
.jyosmi-co-details[open] summary::after { content: '\2212'; }
.jyosmi-co-rich p { color: #d5cdc1; font-size: 14px; line-height: 1.75; margin: 0 0 10px; }
.jyosmi-co-rich a { color: var(--gold-lt, #e7c980); text-decoration: underline; }
.jyosmi-co-link { display: inline-block; margin-top: 8px; color: var(--gold, #c99b4d); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.jyosmi-co-link:hover, .jyosmi-co-link:focus { color: #fff; }

/* Milestones: vertical timeline */
.jyosmi-co-timeline { position: relative; max-width: 820px; margin: 0 auto; }
.jyosmi-co-timeline::before { content: ''; position: absolute; left: 96px; top: 6px; bottom: 6px; width: 1px; background: rgba(201,155,77,.4); }
.jyosmi-co-step { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 0 32px; padding-bottom: 34px; }
.jyosmi-co-step::before { content: ''; position: absolute; left: 91px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold, #c99b4d); border: 2px solid #111820; }
.jyosmi-co-step .jyosmi-co-year { font-size: 22px; padding-top: 2px; }
.jyosmi-co-step-body { min-width: 0; padding-left: 4px; }
.jyosmi-co-step-photo { aspect-ratio: 16 / 9; max-width: 420px; margin-bottom: 14px; overflow: hidden; background: #0f161c; object-fit: cover; object-position: center; border: 1px solid rgba(201,155,77,.3); }

/* Awards: compact cards */
.jyosmi-co-awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.jyosmi-co-award { border-top: 3px solid var(--gold, #c99b4d); }
.jyosmi-co-award .jyosmi-co-year { margin-bottom: 10px; }
.jyosmi-co-award-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #0f161c; object-fit: contain; object-position: center; }

/* Pagination */
.jyosmi-co-pager { margin-top: 40px; }
.jyosmi-co-pager ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.jyosmi-co-pager a, .jyosmi-co-pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(201,155,77,.4); color: var(--gold, #c99b4d); font-size: 13px; font-weight: 700; }
.jyosmi-co-pager a:hover, .jyosmi-co-pager a:focus { background: rgba(201,155,77,.12); color: #fff; }
.jyosmi-co-pager .is-current { background: var(--gold, #c99b4d); color: #1a0f00; border-color: var(--gold, #c99b4d); }
.jyosmi-co-pager-gap { color: #8d867c; }

@media (max-width: 900px) { .jyosmi-co-grid > li { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 560px) {
  .jyosmi-co-grid > li, .jyosmi-co-grid.jyosmi-co-count-1 > li, .jyosmi-co-grid.jyosmi-co-count-2 > li { flex-basis: 100%; min-width: 0; }
  .jyosmi-co-timeline::before { left: 5px; }
  .jyosmi-co-step { grid-template-columns: 1fr; padding-left: 28px; }
  .jyosmi-co-step::before { left: 0; }
  .jyosmi-co-step .jyosmi-co-year { margin-bottom: 8px; }
}
