/* Shared YouTube publication: discoverable watch pages and independent resources. */
body.mcc-components-page .tutorial-watch-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(250px,1fr);align-items:start;gap:24px;margin:24px 0}
body.mcc-components-page .tutorial-watch-layout>*{min-width:0}
body.mcc-components-page .tutorial-watch-layout .tutorial-resources{padding:20px;margin:0;border:1px solid #d8e5dd;font-size:15px;line-height:1.55}
body.mcc-components-page .tutorial-watch-layout h2{font-size:23px;margin:0 0 16px}
body.mcc-components-page .tutorial-watch-layout .tutorial-actions{margin:0 0 16px;gap:10px}
body.mcc-components-page .tutorial-watch-layout .tutorial-actions a{width:100%;padding:10px 14px;font-size:14px;line-height:1.5}
body.mcc-components-page .tutorial-watch-layout ul{padding-left:20px;margin:12px 0}
body.mcc-components-page .tutorial-watch-layout li+li{margin-top:10px}
body.mcc-components-page .mcc-media-player{width:min(100%,calc((100vh - 144px)*16/9));width:min(100%,calc((100svh - 144px)*16/9));min-height:202px;max-width:100%;margin-inline:auto;scroll-margin-top:112px}
body.mcc-components-page .tutorial-chapter-layout{max-width:780px}
body.mcc-components-page .resource-tutorial-access{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:20px;align-items:center;margin:24px 0;padding:18px;border:1px solid #d8e5dd;border-radius:12px;background:#f2f7f3;text-align:left}
body.mcc-components-page .resource-tutorial-thumbnail{display:block;overflow:hidden;border-radius:8px;background:#103f2e}
body.mcc-components-page .resource-tutorial-thumbnail img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
body.mcc-components-page .resource-tutorial-detail{min-width:0}
body.mcc-components-page .resource-tutorial-title{font-size:16px;font-weight:700;line-height:1.5;margin:0 0 8px}
body.mcc-components-page .resource-tutorial-meta{font-size:14px;color:#52665b;margin:0 0 12px}
body.mcc-components-page .resource-tutorial-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;font-size:14px;line-height:1.5}
body.mcc-components-page .resource-tutorial-actions>a{min-height:44px;display:inline-flex;align-items:center;font-weight:700;overflow-wrap:anywhere}
body.mcc-components-page .resource-tutorial-actions>.mcc-action{padding:10px 16px;border:1px solid #145740;border-radius:999px;color:#fff;background:#145740;text-decoration:none}
body.mcc-components-page .resource-csv-card .resource-tutorial-access{grid-template-columns:minmax(0,1fr);padding:14px;gap:14px}
body.mcc-components-page .resource-tutorial-actions>.mcc-action:hover{background:#0e4431}
body.mcc-components-page .resource-tutorial-thumbnail:focus-visible{outline:3px solid #a46c0c;outline-offset:4px}
@media(max-width:1000px){body.mcc-components-page .tutorial-watch-layout{grid-template-columns:minmax(0,1fr)}body.mcc-components-page .tutorial-watch-layout .tutorial-resources{max-width:100%}body.mcc-components-page .tutorial-watch-layout .tutorial-actions a{width:auto}}
@media(max-width:600px){body.mcc-components-page .resource-tutorial-access{grid-template-columns:minmax(0,1fr);padding:14px;gap:14px}body.mcc-components-page .tutorial-watch-layout .tutorial-actions a{width:100%}}

/* Spanish Excel edition: complete 16:9 frame at every width. */
body.mcc-excel-ed20261102 .mcc-media-player{min-height:0!important;aspect-ratio:16/9;height:auto;overflow:visible}
body.mcc-excel-ed20261102 .mcc-media-player iframe{display:block;width:100%;height:100%;aspect-ratio:16/9}

/* Spanish resource editions: full 16:9 picture at every width. */
body.mcc-es-resources-ed20261102 .mcc-media-player{min-height:0!important;aspect-ratio:16/9;height:auto;overflow:visible}
body.mcc-es-resources-ed20261102 .mcc-media-player iframe{display:block;width:100%;height:100%;aspect-ratio:16/9}
