.dm-guide .recent-work { width: calc(100% - 96px); max-width: 1280px; margin-inline: auto; color: #08132f; font-family: "DFW Inter", Arial, sans-serif; font-size: 16px; }
.recent-work *, .recent-work *::before, .recent-work *::after { box-sizing: border-box; }
.dm-guide .recent-work .dm-section-heading::before { width: 42px; margin-bottom: 14px; }
.dm-guide .recent-work .dm-section-heading h2 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.25; letter-spacing: -.7px; }
.dm-guide .recent-work .dm-section-heading > p { max-width: 70ch; margin: 16px auto 0; color: #59657b; font-size: 16px; line-height: 1.7; }
.recent-work-tabs { position: relative; display: flex; gap: 8px; margin: 28px 0 20px; padding: 4px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #d8dce6 transparent; }
.recent-work-tabs[hidden], .recent-work-controls[hidden] { display: none; }
.recent-work-tab { flex-shrink: 0; min-height: 46px; padding: 11px 18px; border: 1px solid #e5e7ee; border-radius: 8px; background: #fff; color: #59657b; font: 700 14px/1.5 "DFW Inter", Arial, sans-serif; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.recent-work-tab:first-child { margin-inline-start: auto; }
.recent-work-tab:last-child { margin-inline-end: auto; }
.recent-work-tab:hover { color: #08132f; border-color: #bfc6d6; }
.recent-work-tab[aria-selected="true"] { border-color: #ce002a; background: #fff0f3; color: #ce002a; }
.recent-work-tab:focus-visible { outline: 3px solid #08132f; outline-offset: -4px; }
.recent-work-viewer { overflow: hidden; border: 1px solid #e5e7ee; border-radius: 14px; background: #fff; box-shadow: 0 16px 44px rgba(8, 19, 47, .045); }
.recent-work-panels { touch-action: pan-y; }
.recent-work-panel { margin: 0; }
.recent-work-panel:focus-visible { outline: 3px solid #08132f; outline-offset: -4px; }
.recent-work-caption { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; }
.recent-work-caption-text { min-width: 0; }
.dm-guide .recent-work h3 { margin: 0; color: #08132f; font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -.3px; }
.dm-guide .recent-work .recent-work-caption p { margin: 8px 0 0; color: #59657b; font-size: 14px; line-height: 1.65; }
.dm-guide .recent-work .recent-work-open { display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; min-height: 44px; color: #ce002a; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.recent-work-open:focus-visible { outline: 3px solid #08132f; outline-offset: 4px; }
.recent-work-media { display: flex; align-items: center; justify-content: center; height: clamp(160px, 38vw, 520px); padding: 18px; border-top: 1px solid #e5e7ee; background: #f5f6fa; }
.recent-work-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 5px; object-fit: contain; user-select: none; }
.recent-work-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid #e5e7ee; }
.recent-work-position { color: #59657b; font-size: 14px; font-weight: 600; white-space: nowrap; }
.recent-work-buttons { display: flex; gap: 8px; }
.recent-work-buttons button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #e5e7ee; border-radius: 8px; background: #fff; color: #08132f; font: 700 14px/1.4 "DFW Inter", Arial, sans-serif; cursor: pointer; }
.recent-work-arrow { width: 44px; }
.recent-work-arrow svg { width: 18px; height: 18px; }
.recent-work-arrow[data-work-prev] svg { transform: rotate(180deg); }
.recent-work-toggle { min-width: 88px; padding: 10px 14px; }
.recent-work-buttons button:hover { border-color: #ce002a; background: #fff0f3; color: #ce002a; }
.recent-work-buttons button:focus-visible { outline: 3px solid #08132f; outline-offset: 3px; }
.recent-work-ready .recent-work-panel.is-active { animation: recent-work-reveal .35s ease both; }
@keyframes recent-work-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
    .dm-guide .recent-work { width: calc(100% - 48px); }
    .recent-work-caption { padding: 20px; gap: 16px; }
}
@media (max-width: 600px) {
    .dm-guide .recent-work { width: calc(100% - 32px); }
    .recent-work-tabs { margin-top: 24px; gap: 7px; }
    .recent-work-tab { padding-inline: 14px; }
    .recent-work-caption { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; }
    .dm-guide .recent-work h3 { font-size: 18px; }
    .recent-work-media { padding: 10px; }
    .recent-work-controls { padding: 12px; gap: 10px; }
    .recent-work-position { font-size: 13px; }
    .recent-work-toggle { min-width: 80px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .recent-work-ready .recent-work-panel.is-active { animation: none; }
    .recent-work-tab { transition: none; }
}
