/*! Theme Name: Astroride Theme URI: https://idenovasi.com/wordpress-themes/astroride/ Author: Idenovasi Author URI: https://idenovasi.com/ Description: Astroride is a multi-author & personal blog theme for WordPress. Featuring a minimal, fluid responsive, content-focused design and single-column layout. Demo: https://demowp.idenovasi.com/astroride/ Version: 1.0.0 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: astroride Tags: blog, one-column, custom-background, custom-logo, custom-menu, editor-style, featured-images, rtl-language-support, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Navigation ## Links ## Menus ## Social # Accessibility # Alignments # Clearings # Widgets # Content ## Header ## Posts and pages ## Blocks ## Comments ## Footer ## Hero ## Pagination ## Author Box # Infinite scroll # Media ## Captions ## Galleries --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ -webkit-text-decoration: underline dotted; text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ body, button, input, select, optgroup, textarea { color: #35383a; font-family: "Lora", serif; font-weight: 400; line-height: 1.65; } body, button, input, select, optgroup, textarea { font-size: 1em; } h1 { font-size: 2.488em; } h2 { font-size: 33px; } @media (min-width: 1280px) { h2 { font-size: calc(33px + 7 * (100vw - 1280px) / 640); } } @media (min-width: 1920px) { h2 { font-size: 40px; } } h3, .content__archive-title, .post__comments-title, .comment-reply-title { font-size: 27px; } @media (min-width: 1280px) { h3, .content__archive-title, .post__comments-title, .comment-reply-title { font-size: calc(27px + 6 * (100vw - 1280px) / 640); } } @media (min-width: 1920px) { h3, .content__archive-title, .post__comments-title, .comment-reply-title { font-size: 33px; } } h4 { font-size: 23px; } @media (min-width: 1280px) { h4 { font-size: calc(23px + 4 * (100vw - 1280px) / 640); } } @media (min-width: 1920px) { h4 { font-size: 27px; } } h5 { font-size: 19px; } @media (min-width: 1280px) { h5 { font-size: calc(19px + 4 * (100vw - 1280px) / 640); } } @media (min-width: 1920px) { h5 { font-size: 23px; } } small, .text-small { font-size: 0.833em; } h1, h2, h3, h4, h5, h6 { clear: both; font-family: "Nunito", sans-serif; font-weight: 800; color: #0f0f0f; margin-bottom: .5em; } h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a { color: inherit; } h1 > a:hover, h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover { color: #188fd9; } h1 { margin-top: 0; } p { margin-top: 0; margin-bottom: 1.5em; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em 0; border-right: 2px solid #32a0e5; padding: 0 1em 0 0; font-style: italic; } blockquote > p { margin: 0 0 1em; } blockquote cite { color: #0f0f0f; } address { margin: 0 0 1.5em; } pre { background: #d5d5d5; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375em; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375em; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ text-rendering: optimizeLegibility; } hr { background-color: #d5d5d5; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 1.5em 1.5em 0; padding-right: 0; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-right: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } figure { margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { margin: 0 0 1.5em; width: 100%; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ .button, .posts-navigation .nav-links a, button, input[type="button"], input[type="reset"], input[type="submit"] { border: 0.0625em solid; border-color: #188fd9; background: #32a0e5; color: #fff; font-family: "Nunito", sans-serif; line-height: 1; padding: 1em 1.5em 1em; cursor: pointer; text-transform: uppercase; -webkit-transition: all 150ms ease; transition: all 150ms ease; } .button:hover, .posts-navigation .nav-links a:hover, button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #188fd9; background: #188fd9; } .button:active, .posts-navigation .nav-links a:active, .button:focus, .posts-navigation .nav-links a:focus, button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus { border-color: #188fd9; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #666; border: 1px solid #d5d5d5; padding: 0.625em; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; outline: 0; } select { border: 1px solid #d5d5d5; } textarea { width: 100%; } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ a { color: #32a0e5; -webkit-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; text-decoration: none; } a:hover, a:focus, a:active { color: #188fd9; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ .header__navigation { margin-right: auto; } @media (min-width: 48em) { .header__navigation { text-align: center; } } @media (min-width: 64em) { .header__navigation { width: auto; margin-right: 0; } } .header__navigation ul { background-color: #0f0f0f; position: relative; z-index: 999; display: none; } @media (min-width: 64em) { .header__navigation ul { background-color: transparent; display: block; } } .header__navigation ul ul { text-align: right; padding: 0.625em 0; -webkit-transition: 300ms ease-in-out; transition: 300ms ease-in-out; } @media (min-width: 64em) { .header__navigation ul ul { background-color: #fff; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); position: absolute; top: 100%; right: -999em; z-index: 99999; visibility: hidden; opacity: 0; } } @media (min-width: 48em) { .header__navigation ul ul ul { right: 100%; top: 0; } } .header__navigation ul ul li:hover > ul, .header__navigation ul ul li.focus > ul { right: 100%; } @media (min-width: 48em) { .header__navigation ul ul li.menu-item-has-children > a::after { content: ''; } } .header__navigation ul ul a { width: 180px; padding: 0.625em 0; } @media (min-width: 64em) { .header__navigation ul ul a { color: #35383a; } } .header__navigation ul li:hover > ul, .header__navigation ul li.focus > ul { right: auto; visibility: visible; opacity: 1; display: block; } .header__navigation ul li:hover > ul ul, .header__navigation ul li.focus > ul ul { right: 100%; } @media (max-width: 480px) { .header__navigation ul li:hover > ul ul, .header__navigation ul li.focus > ul ul { right: auto; } } .header__navigation li { position: relative; display: block; padding-right: 0.875em; padding-left: 0.875em; } @media (min-width: 48em) { .header__navigation li { display: inline-block; } } .header__navigation li:hover > a, .header__navigation li.focus > a { color: #32a0e5; } .header__navigation li.menu-item-has-children > a { display: -webkit-box; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-flow: row wrap; -webkit-box-align: center; align-items: center; } .header__navigation li.menu-item-has-children > a::after { content: url("data:image/svg+xml; utf8, "); display: inline-block; width: 16px; height: 16px; margin-right: 0.1875em; } .header__navigation a { display: block; text-decoration: none; font-weight: 600; font-family: "Nunito", sans-serif; text-transform: uppercase; color: #fff; letter-spacing: 0.0625em; padding: 1em 0; font-size: 14px; } @media (min-width: 1280px) { .header__navigation a { font-size: calc(14px + 4 * (100vw - 1280px) / 640); } } @media (min-width: 1920px) { .header__navigation a { font-size: 18px; } } @media (min-width: 48em) { .header__navigation a { padding: 1.36em 0; } } .header__navigation a:hover { color: #32a0e5; } .menu-toggle { display: block; line-height: 0; border: 0; border-radius: 0; outline: none; background-color: transparent; padding: 0; margin: 0; } @media (min-width: 64em) { .menu-toggle { display: none; } } .menu-toggle path:nth-child(2) { fill: #fff; } .menu-toggle:hover { border: 0; background: none; } @media (max-width: 64em) { .site.mobile-nav-open { overflow: hidden; position: relative; } .site.mobile-nav-open .mobile-navigation { -webkit-transform: none; transform: none; width: 50%; } } @media (max-width: 30em) { .site.mobile-nav-open .mobile-navigation { width: 100%; } } .mobile-navigation { background-color: #0f0f0f; width: 0; height: 100%; position: fixed; top: 0; left: 0; z-index: 99; -webkit-transition: all 200ms ease; transition: all 200ms ease; -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); } .mobile-navigation ul { text-align: right; padding: 0.75em 0; } .mobile-navigation ul li { display: block; padding: 0 1.25em; position: relative; } .mobile-navigation ul li:first-child { padding-top: 1.25em; } .mobile-navigation ul li li { padding-right: 0; } .mobile-navigation ul li li:first-child { padding-top: 0; } .mobile-navigation ul a { padding: 0.75em 0; font-weight: 600; font-family: "Nunito", sans-serif; font-size: 0.875em; text-transform: uppercase; color: #fff; letter-spacing: 0.0625em; display: block; } .mobile-navigation .close-toggle { background-color: #ea5555; padding: 0.625em 0; width: 100%; line-height: normal; font-size: 0.875em; } .mobile-navigation .submenu-expand { position: absolute; top: 0.625em; left: 0.75em; padding: 0; border: none; border-radius: 0; background: transparent; } .mobile-navigation .submenu-expand path:nth-child(1) { fill: #fff; } .mobile-navigation .submenu-expand:hover, .mobile-navigation .submenu-expand:active, .mobile-navigation .submenu-expand:focus { color: var(--black-color); } .mobile-navigation .sub-menu { display: none; padding-right: 1.25em; } /*-------------------------------------------------------------- ## Social --------------------------------------------------------------*/ .header__social { position: absolute; left: 1.875em; line-height: 0; display: none; } @media (min-width: 48em) { .header__social { left: 4.0625em; } } @media (min-width: 30em) { .header__social { display: block; } } .header__social::after { content: ""; border-left: 0.0625em solid #5a595c; height: 15px; width: 1px; display: inline-block; position: absolute; top: 0.3125em; left: -0.25em; } .header__social li { display: inline-block; position: relative; margin-left: 0.375em; } .header__social a { display: block; } .header__social .svg-icon { width: 1.25em; } .header__social path { fill: #fff; } /*-------------------------------------------------------------- ## Search --------------------------------------------------------------*/ .header__search { position: absolute; left: 1.25em; line-height: 0; padding: 1.11em 0; display: none; } @media (min-width: 64em) { .header__search { left: 1.875em; display: block; } } .header__search:hover .header__search-form-wrapper { visibility: visible; opacity: 1; } .header__search-link { display: block; } .header__search path:nth-child(1) { fill: #fff; } .header__search-form-wrapper { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); position: absolute; top: 100%; left: -24px; z-index: 99999; text-align: right; background-color: #fff; padding: 0.625em; visibility: hidden; opacity: 0; -webkit-transition: 300ms ease-in-out; transition: 300ms ease-in-out; min-width: 100vw; } @media (min-width: 48em) { .header__search-form-wrapper { min-width: 300px; left: 0; } } .header__search-form input[type="search"] { border: 0; width: 100%; } .header__search-form input[type="search"]::-webkit-input-placeholder { text-transform: uppercase; font-size: 0.875em; } .header__search-form input[type="search"]::-moz-placeholder { text-transform: uppercase; font-size: 0.875em; } .header__search-form input[type="search"]:-ms-input-placeholder { text-transform: uppercase; font-size: 0.875em; } .header__search-form input[type="search"]::-ms-input-placeholder { text-transform: uppercase; font-size: 0.875em; } .header__search-form input[type="search"]::placeholder { text-transform: uppercase; font-size: 0.875em; } /** * Mobile search */ .mobile-navigation__search-form { padding: 2.5em 1.25em 0; } .mobile-navigation input[type="search"] { background-color: #222222; width: 100%; border: 0; color: #fff; } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text, .post__comments .comment-author .says { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .screen-reader-text:focus, .post__comments .comment-author .says:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; -webkit-clip-path: none; clip-path: none; color: #21759b; display: block; font-size: 14px; font-size: 0.875em; font-weight: bold; height: auto; right: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: right; margin-left: 1.5em; } .alignright { display: inline; float: left; margin-right: 1.5em; } .aligncenter { clear: both; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ .content__container, .hero__container { max-width: 73.125em; width: 100%; margin-right: auto; margin-left: auto; padding-right: 1.5em; padding-left: 1.5em; } @media (min-width: 90em) { .content__container, .hero__container { padding-right: 0; padding-left: 0; } } .header__wrapper, .content__main-grid, .post__meta, .post__author, .post__author-byline, .post__date, .post__categories, .post__footer, .post__comments .comment-meta, .post__comments .comment-author, .footer__wrapper, .hero, .posts-navigation .nav-links, .posts-navigation .nav-links a, .post-pagination, .post-pagination__prev, .post-pagination__next { display: -webkit-box; display: flex; flex-wrap: wrap; } .header__navigation ul, .mobile-navigation ul, .header__social ul, .post__comments-items { margin: 0; padding: 0; list-style: none; } .aligncenter, .wp-caption img[class*="wp-image-"] { display: block; margin-right: auto; margin-left: auto; } /*-------------------------------------------------------------- ## Header --------------------------------------------------------------*/ .header { background-color: #0f0f0f; } .header__container { padding-right: 1.875em; padding-left: 1.875em; } .header__wrapper { -webkit-box-align: center; align-items: center; height: 6.25em; } @media (min-width: 48em) { .header__branding { padding-left: 2.8125em; } } @media (min-width: 120em) { .header__branding { padding-left: 3.75em; } } .header__title { font-family: "Nunito", sans-serif; font-weight: 800; margin-bottom: 0; text-transform: uppercase; font-size: 28px; } @media (min-width: 480px) { .header__title { font-size: calc(28px + 8 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .header__title { font-size: 36px; } } .header__title a { color: #fff; } .header__title a:hover { color: #188fd9; } .header__logo-link { display: inline-block; } /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .post__comments .comment-metadata a, .post__comments .reply a, .comment-form label { font-size: 0.8125em; text-transform: uppercase; letter-spacing: 0.09375em; color: #0f0f0f; } .post__comments .comment-metadata a:hover, .post__comments .reply a:hover, .comment-form label:hover { color: #188fd9; } .post__thumbnail { display: block; overflow: hidden; border-radius: 0.1875em; } .post__thumbnail:hover img { opacity: .8; -webkit-transform: scale(1.07); transform: scale(1.07); } .post__thumbnail img { display: block; opacity: 1; -webkit-transition: .4s ease-in-out; transition: .4s ease-in-out; } .post__meta-info, .post-pagination__detail span { font-size: 0.625em; font-family: "Nunito", sans-serif; text-transform: uppercase; color: #aeadaf; line-height: .5; } @media (min-width: 64em) { .content__row { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; display: -webkit-box; display: flex; flex-wrap: wrap; margin-left: -20px; margin-right: -20px; } } .content__main { margin: auto; margin-top: 60px; margin-bottom: 60px; } @media (min-width: 1024px) { .content__main { margin-top: calc(60px + 65 * (100vw - 1024px) / 896); margin-bottom: calc(60px + 65 * (100vw - 1024px) / 896); } } @media (min-width: 1920px) { .content__main { margin-top: 125px; margin-bottom: 125px; } } @media (min-width: 48em) { .content__main { flex-basis: 83.3333333333%; max-width: 83.3333333333%; padding-right: 20px; padding-left: 20px; } } @media (min-width: 64em) { .content__main { flex-basis: 66.6666666667%; max-width: 66.6666666667%; padding-right: 20px; padding-left: 20px; } } .content__archive-header { text-align: center; margin-bottom: 60px; } @media (min-width: 1024px) { .content__archive-header { margin-bottom: calc(60px + 65 * (100vw - 1024px) / 896); } } @media (min-width: 1920px) { .content__archive-header { margin-bottom: 125px; } } .content__archive-header::after { content: ""; border-bottom: 0.0625em solid #d5d5d5; width: 6.25em; height: 0.0625em; display: block; margin: 0 auto; } .content__archive-title { text-transform: uppercase; } .content__archive-desc { margin-bottom: 1.25em; } .post { margin-bottom: 60px; } @media (min-width: 1024px) { .post { margin-bottom: calc(60px + 65 * (100vw - 1024px) / 896); } } @media (min-width: 1920px) { .post { margin-bottom: 125px; } } .single-post .post::after { content: ""; border-bottom: 1px solid #d5d5d5; width: 100%; margin: auto; display: block; padding-top: 1.25em; } @media (min-width: 48em) { .single-post .post::after { width: 28.125em; } } .post__thumbnail-wrapper { margin-bottom: 1.875em; } .post__excerpt { line-height: 1.65; font-size: 16px; margin-bottom: 30px; } @media (min-width: 480px) { .post__excerpt { font-size: calc(16px + 6 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .post__excerpt { font-size: 22px; } } @media (min-width: 786px) { .post__excerpt { margin-bottom: calc(30px + 20 * (100vw - 786px) / 1134); } } @media (min-width: 1920px) { .post__excerpt { margin-bottom: 50px; } } .post__excerpt p { margin-bottom: 0; } .post__title-h2 { margin-top: 0; line-height: 1.3; font-size: 26px; margin-bottom: 10px; } @media (min-width: 480px) { .post__title-h2 { font-size: calc(26px + 19 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .post__title-h2 { font-size: 45px; } } @media (min-width: 786px) { .post__title-h2 { margin-bottom: calc(10px + 30 * (100vw - 786px) / 1134); } } @media (min-width: 1920px) { .post__title-h2 { margin-bottom: 40px; } } .single-post .post__meta { margin-bottom: 25px; } @media (min-width: 480px) { .single-post .post__meta { margin-bottom: calc(25px + 5 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .single-post .post__meta { margin-bottom: 30px; } } .post__meta a { font-size: 0.875em; font-family: "Nunito", sans-serif; font-weight: 700; color: #0f0f0f; text-transform: capitalize; } .post__meta a:hover { color: #188fd9; } .post__meta a.post__readmore-link { color: #32a0e5; text-transform: uppercase; } .post__author { -webkit-box-align: center; align-items: center; padding-left: 3.75em; } .post__author-avatar { padding-left: 0.75em; display: none; } @media (min-width: 30em) { .post__author-avatar { display: block; } } .post__author-avatar img { border-radius: 50%; } .post__author-byline { -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; } .post__date { -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; padding-left: 3.75em; } .post__date .post__meta-info { line-height: 1.7; } .post__date-link { line-height: 1; } .post__categories { -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; } .post__categories .post__meta-info { line-height: 1.7; } .post__categories-list { line-height: .7; } .post__readmore { margin-right: auto; line-height: 2; display: none; } @media (min-width: 30em) { .post__readmore { display: block; } } .post__readmore-link { color: #32a0e5; position: relative; bottom: 0; -webkit-transition: bottom 250ms ease-in-out; transition: bottom 250ms ease-in-out; } .post__readmore-link:hover { color: #188fd9; bottom: 0.25em; } .post__header { margin-bottom: 15px; } @media (min-width: 786px) { .post__header { margin-bottom: calc(15px + 15 * (100vw - 786px) / 1134); } } @media (min-width: 1920px) { .post__header { margin-bottom: 30px; } } .post__title-h1 { line-height: 1.3; margin-bottom: 10px; font-size: 26px; } @media (min-width: 786px) { .post__title-h1 { margin-bottom: calc(10px + 20 * (100vw - 786px) / 1134); } } @media (min-width: 1920px) { .post__title-h1 { margin-bottom: 30px; } } @media (min-width: 480px) { .post__title-h1 { font-size: calc(26px + 19 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .post__title-h1 { font-size: 45px; } } .post__featured-wrapper { margin-bottom: 2.5em; max-width: 100vw; } @media (min-width: 48em) { .post__featured-wrapper { margin-right: calc(25% - 25vw); margin-left: calc(25% - 25vw); } } @media (min-width: 120em) { .post__featured-wrapper { margin-right: calc(20% - 20vw); margin-left: calc(20% - 20vw); } } .post__featured-img { border-radius: 3px; display: block; } .post__content-article { margin-bottom: 2.5em; font-size: 16px; } @media (min-width: 480px) { .post__content-article { font-size: calc(16px + 6 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .post__content-article { font-size: 22px; } } .post__content-article h2, .post__content-article h3 { line-height: normal; } .post__footer { border-bottom: 0.0625em solid #d5d5d5; padding-bottom: 1.25em; margin-bottom: 2.5em; } /** * 404 */ .content__not-found { width: 100%; text-align: center; margin-bottom: 5.625em; } .sticky { display: block; } .updated:not(.published) { display: none; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- ## Blocks --------------------------------------------------------------*/ /* * Unset nested content selector styles * - Prevents layout styles from cascading too deeply * - helps with plugin compatibility */ .entry .post__content-article .post__content-article, .entry .post__content-article .post__excerpt, .entry .post__content-article .entry, .entry .post__excerpt .post__content-article, .entry .post__excerpt .post__excerpt, .entry .post__excerpt .entry { margin: inherit; max-width: inherit; padding: inherit; } @media (min-width: tablet) { .entry .post__content-article .post__content-article, .entry .post__content-article .post__excerpt, .entry .post__content-article .entry, .entry .post__excerpt .post__content-article, .entry .post__excerpt .post__excerpt, .entry .post__excerpt .entry { margin: inherit; max-width: inherit; padding: inherit; } } .entry .post__content-article .has-small-font-size { font-size: 14px; } @media (min-width: 480px) { .entry .post__content-article .has-small-font-size { font-size: calc(14px + 3.5 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .entry .post__content-article .has-small-font-size { font-size: 17.5px; } } .entry .post__content-article .has-normal-font-size { font-size: 16px; } @media (min-width: 480px) { .entry .post__content-article .has-normal-font-size { font-size: calc(16px + 6 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .entry .post__content-article .has-normal-font-size { font-size: 22px; } } .entry .post__content-article .has-large-font-size { font-size: 21.5px; } @media (min-width: 480px) { .entry .post__content-article .has-large-font-size { font-size: calc(21.5px + 4.5 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .entry .post__content-article .has-large-font-size { font-size: 26px; } } .entry .post__content-article .has-huge-font-size { font-size: 25.5px; } @media (min-width: 480px) { .entry .post__content-article .has-huge-font-size { font-size: calc(25.5px + 4.5 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .entry .post__content-article .has-huge-font-size { font-size: 30px; } } .entry .post__content-article .has-accent-background-color, .entry .post__content-article .has-primary-background-color, .entry .post__content-article .has-secondary-background-color, .entry .post__content-article .has-light-gray-background-color { color: #fff; } .entry .post__content-article .has-accent-background-color > p, .entry .post__content-article .has-accent-background-color > h1, .entry .post__content-article .has-accent-background-color > h2, .entry .post__content-article .has-accent-background-color > h3, .entry .post__content-article .has-accent-background-color > h4, .entry .post__content-article .has-accent-background-color > h5, .entry .post__content-article .has-accent-background-color > h6, .entry .post__content-article .has-accent-background-color > a, .entry .post__content-article .has-primary-background-color > p, .entry .post__content-article .has-primary-background-color > h1, .entry .post__content-article .has-primary-background-color > h2, .entry .post__content-article .has-primary-background-color > h3, .entry .post__content-article .has-primary-background-color > h4, .entry .post__content-article .has-primary-background-color > h5, .entry .post__content-article .has-primary-background-color > h6, .entry .post__content-article .has-primary-background-color > a, .entry .post__content-article .has-secondary-background-color > p, .entry .post__content-article .has-secondary-background-color > h1, .entry .post__content-article .has-secondary-background-color > h2, .entry .post__content-article .has-secondary-background-color > h3, .entry .post__content-article .has-secondary-background-color > h4, .entry .post__content-article .has-secondary-background-color > h5, .entry .post__content-article .has-secondary-background-color > h6, .entry .post__content-article .has-secondary-background-color > a, .entry .post__content-article .has-light-gray-background-color > p, .entry .post__content-article .has-light-gray-background-color > h1, .entry .post__content-article .has-light-gray-background-color > h2, .entry .post__content-article .has-light-gray-background-color > h3, .entry .post__content-article .has-light-gray-background-color > h4, .entry .post__content-article .has-light-gray-background-color > h5, .entry .post__content-article .has-light-gray-background-color > h6, .entry .post__content-article .has-light-gray-background-color > a { color: #fff; } .entry .post__content-article .has-white-background-color { color: #35383a; } .entry .post__content-article .has-white-background-color > p, .entry .post__content-article .has-white-background-color > h1, .entry .post__content-article .has-white-background-color > h2, .entry .post__content-article .has-white-background-color > h3, .entry .post__content-article .has-white-background-color > h4, .entry .post__content-article .has-white-background-color > h5, .entry .post__content-article .has-white-background-color > h6, .entry .post__content-article .has-white-background-color > a { color: #35383a; } .entry .post__content-article .has-accent-background-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color.has-accent-background-color { background-color: #32a0e5; } .entry .post__content-article .has-primary-background-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color.has-primary-background-color { background-color: #35383a; } .entry .post__content-article .has-secondary-background-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color.has-secondary-background-color { background-color: #0f0f0f; } .entry .post__content-article .has-light-gray-background-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color.has-light-gray-background-color { background-color: #35383a; } .entry .post__content-article .has-white-background-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color.has-white-background-color { background-color: #fff; } .entry .post__content-article .has-accent-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-accent-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-accent-color > p { color: #32a0e5; } .entry .post__content-article .has-primary-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color > p { color: #35383a; } .entry .post__content-article .has-secondary-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color > p { color: #0f0f0f; } .entry .post__content-article .has-light-gray-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color > p { color: #35383a; } .entry .post__content-article .has-white-color, .entry .post__content-article .wp-block-pullquote.is-style-solid-color blockquote.has-white-color { color: #FFF; } .entry .post__content-article .wp-block-gallery { margin-top: 1em; margin-bottom: 1em; } .entry .post__content-article .wp-block-gallery figcaption a { color: #32a0e5; } .entry .post__content-article .wp-block-gallery .blocks-gallery-caption { flex-basis: 100%; } .entry .post__content-article .has-drop-cap:not(:focus):first-letter { font-size: 90px; font-weight: 800; margin: .17em 0 0 .1em; } .entry .post__content-article .has-drop-cap:not(:focus)::after { padding-top: 0; display: inline; } @media (min-width: 48em) { .entry .post__content-article .wp-block-image.alignwide { margin-right: calc(25% - 25vw); margin-left: calc(25% - 25vw); max-width: 100vw; } } @media (min-width: 120em) { .entry .post__content-article .wp-block-image.alignwide { margin-right: calc(20% - 20vw); margin-left: calc(20% - 20vw); } } .entry .post__content-article .wp-block-image.alignfull { position: relative; right: 50%; -webkit-transform: translate(50%, 0); transform: translate(50%, 0); width: 100vw; max-width: 100vw; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .post__comments-title { margin-top: 0; margin-bottom: 1.875em; line-height: normal; } .post__comments-items { margin-bottom: 3.75em; } .post__comments .bypostauthor { display: block; } .post__comments .comment { margin-bottom: 2.5em; } .post__comments .children { margin: 2.5em 0; list-style: none; } @media (min-width: 48em) { .post__comments .children { padding-right: 1.875em; } } .post__comments .comment-meta { -webkit-box-align: center; align-items: center; margin-bottom: 1.25em; } @media (min-width: 48em) { .post__comments .comment-meta { margin-bottom: 0.625em; } } .post__comments .comment-author { -webkit-box-align: center; align-items: center; font-size: 0.875em; } .post__comments .comment-author .avatar { border-radius: 50%; margin-left: 0.625em; display: none; } @media (min-width: 48em) { .post__comments .comment-author .avatar { display: block; } } .post__comments .comment-author .fn { font-family: "Nunito", sans-serif; position: relative; text-transform: uppercase; } .post__comments .comment-author a { color: inherit; } .post__comments .comment-author a:hover { color: #188fd9; } @media (min-width: 23.438em) { .post__comments .comment-metadata { margin-right: auto; } } .post__comments .comment-metadata a { font-size: 0.75em; color: #0f0f0f; } .post__comments .comment-metadata .edit-link { position: relative; padding-right: 1.25em; } .post__comments .comment-metadata .edit-link::before { content: ""; width: 0.9375em; height: 0.0625em; position: absolute; top: 50%; border-top: 0.0625em solid #d5d5d5; right: 0; } .post__comments .comment-content a { word-wrap: break-word; } .post__comments .reply a { font-size: 0.75em; } .comment-reply-title { margin-bottom: 0; margin-top: 0; } .comment-notes { margin-bottom: 2.5em; color: #0f0f0f; } .comment-form label { font-family: "Nunito", sans-serif; font-weight: 700; display: block; margin-bottom: 0.375em; letter-spacing: 0; } .comment-form label:hover { color: inherit; } .comment-form input, .comment-form textarea { font-size: 0.875em; } .comment-form-cookies-consent label { display: inline; margin-right: 0.3125em; letter-spacing: 0; text-transform: capitalize; } /*-------------------------------------------------------------- ## Footer --------------------------------------------------------------*/ .footer__copyright, .footer__designer { font-family: "Nunito", sans-serif; } .footer { background-color: #0f0f0f; color: #fff; text-align: center; padding: 3.4375em 0 3.125em; font-size: 14px; } @media (min-width: 480px) { .footer { font-size: calc(14px + 2 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .footer { font-size: 16px; } } .footer__wrapper { -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; } @media (min-width: 48em) { .footer__wrapper { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; } } .footer__copyright { margin-bottom: 0.625em; } @media (min-width: 48em) { .footer__copyright { position: absolute; right: 2.5em; text-align: right; margin-bottom: 0; } } @media (min-width: 48em) { .footer__designer { position: absolute; left: 2.5em; } } .footer__designer-text { margin-bottom: 0; } /*-------------------------------------------------------------- ## Hero --------------------------------------------------------------*/ .hero { -webkit-box-align: center; align-items: center; background-size: cover; background-repeat: no-repeat; background-position: center center; height: calc(100vw * (9/16)); } @media (min-width: 64em) { .hero { height: calc(100vh - 150px); } } .hero.text-left .hero__wrapper, .hero.text-right .hero__wrapper, .hero.text-center .hero__wrapper { max-width: 550px; } @media (min-width: 1280px) { .hero.text-left .hero__wrapper, .hero.text-right .hero__wrapper, .hero.text-center .hero__wrapper { max-width: calc(550px + 120 * (100vw - 1280px) / 640); } } @media (min-width: 1920px) { .hero.text-left .hero__wrapper, .hero.text-right .hero__wrapper, .hero.text-center .hero__wrapper { max-width: 670px; } } .hero.text-center .hero__wrapper { margin: 0 auto; } .hero.text-right .hero__wrapper { margin: 0 auto 0 0; } .hero__title { font-weight: 800; font-family: "Nunito", sans-serif; text-transform: uppercase; color: #fff; margin-bottom: 0.3125em; font-size: 26px; } @media (min-width: 480px) { .hero__title { font-size: calc(26px + 24 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .hero__title { font-size: 50px; } } .hero__tagline { color: #fff; font-size: 15px; } @media (min-width: 480px) { .hero__tagline { font-size: calc(15px + 13 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .hero__tagline { font-size: 28px; } } /*-------------------------------------------------------------- ## Pagination --------------------------------------------------------------*/ .posts-navigation .nav-links a { -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; font-size: 0.875em; width: 10.625em; } .posts-navigation .nav-previous { width: 50%; } .posts-navigation .nav-next { width: 50%; display: -webkit-box; display: flex; -webkit-box-pack: end; justify-content: flex-end; margin-right: auto; } /** * Post pagination */ .post-pagination { margin-bottom: 60px; } @media (min-width: 1024px) { .post-pagination { margin-bottom: calc(60px + 65 * (100vw - 1024px) / 896); } } @media (min-width: 1920px) { .post-pagination { margin-bottom: 125px; } } .post-pagination__wrapper { width: 100%; } @media (min-width: 48em) { .post-pagination__wrapper { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; display: -webkit-box; display: flex; flex-wrap: wrap; margin-left: -20px; margin-right: -20px; } } @media (min-width: 48em) { .post-pagination__prev, .post-pagination__next { flex-basis: 50%; max-width: 50%; padding-right: 20px; padding-left: 20px; } } .post-pagination__next { margin-right: auto; margin-top: 1.875em; } @media (min-width: 48em) { .post-pagination__next { text-align: left; -webkit-box-pack: end; justify-content: flex-end; margin-top: 0; } } .post-pagination__next .post-pagination__link { -webkit-box-ordinal-group: 3; order: 2; padding-left: 0; padding-right: 1.25em; } .post-pagination__next .post-pagination__detail { -webkit-box-ordinal-group: 2; order: 1; } .post-pagination__link { display: block; width: 18%; padding-left: 1.25em; } .post-pagination__img { display: block; border-radius: 0.1875em; } .post-pagination__detail span { display: block; margin-bottom: 0.4375em; } .post-pagination__title { font-size: 14px; font-family: "Nunito", sans-serif; font-weight: 700; color: inherit; line-height: normal; } @media (min-width: 480px) { .post-pagination__title { font-size: calc(14px + 4 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .post-pagination__title { font-size: 18px; } } /*-------------------------------------------------------------- ## Author Box --------------------------------------------------------------*/ .author-bio { margin-bottom: 60px; text-align: center; } @media (min-width: 1024px) { .author-bio { margin-bottom: calc(60px + 65 * (100vw - 1024px) / 896); } } @media (min-width: 1920px) { .author-bio { margin-bottom: 125px; } } @media (min-width: 48em) { .author-bio { text-align: right; } } .author-bio__wrapper { width: 100%; } @media (min-width: 48em) { .author-bio__wrapper { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; display: -webkit-box; display: flex; flex-wrap: wrap; margin-left: -20px; margin-right: -20px; } } @media (min-width: 48em) { .author-bio__avatar { flex-basis: 16.6666666667%; max-width: 16.6666666667%; padding-right: 20px; padding-left: 20px; } } @media (min-width: 48em) { .author-bio__details { flex-basis: 83.3333333333%; max-width: 83.3333333333%; padding-right: 20px; padding-left: 20px; } } .author-bio .avatar { border-radius: 50%; } .author-bio__name { font-size: 18px; margin-top: 0; margin-bottom: 0.3125em; font-weight: 700; } @media (min-width: 480px) { .author-bio__name { font-size: calc(18px + 4 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .author-bio__name { font-size: 22px; } } .author-bio__desc { font-size: 16px; } @media (min-width: 480px) { .author-bio__desc { font-size: calc(16px + 2 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .author-bio__desc { font-size: 18px; } } .author-bio__more a { font-size: 12px; text-transform: uppercase; font-family: "Nunito", sans-serif; display: inline-block; } @media (min-width: 480px) { .author-bio__more a { font-size: calc(12px + 2 * (100vw - 480px) / 1440); } } @media (min-width: 1920px) { .author-bio__more a { font-size: 14px; } } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /* Make sure logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; }