/* Additions on top of the Editor theme (editor.css) for things WordPress.com used to provide. */

/* Galleries: all WordPress gallery variants are normalized to .ts-gallery by the exporter. */
.ts-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px; margin: 0 0 1.5em; }
.ts-gallery figure { margin: 0; }
.ts-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ts-gallery figcaption { font-size: 13px; color: #80858a; line-height: 1.4; padding: 2px 0 6px; }

/* Responsive media that Jetpack used to resize with JS. */
.entry-content img { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.embed-youtube iframe, .embed-vimeo iframe, .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.wp-caption { max-width: 100% !important; }
.wp-block-file object, .wp-block-file__embed { display: none; }
.featured-image img { width: 100%; height: auto; }

/* Archive listings (category, tag, date, author). */
.archive-list { list-style: none; margin: 0 0 2em; padding: 0; }
.archive-list li { padding: 6px 0; border-bottom: 1px solid #e7e7e7; }
.archive-list time { display: inline-block; min-width: 11em; color: #80858a; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.term-cloud { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.term-cloud small { color: #80858a; }
