/*! Theme Name: Brevity Author: Hurter Design Studio Author URI: https://www.hurterdesignstudio.com/ Description: Brevity is a clean, minimalist magazine WordPress theme designed for news-driven content. It focuses on readability and structure, highlighting articles with a single thumbnail image in a clear, distraction-free layout. Optimized for editorial flow, Brevity delivers a fast, elegant reading experience. Version: 1.0.0 Tested up to: 6.9 Requires PHP: 7.4 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: brevity Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, news, one-column, accessibility-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned. Brevity is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Generic - Normalize - Box sizing # Base - Typography - Elements - Links - Forms ## Layouts # Components - Navigation - Posts and pages - Comments - Widgets - Media - Captions - Galleries # plugins - Jetpack infinite scroll # Utilities - Accessibility - Alignments --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Generic --------------------------------------------------------------*/ /* Normalize --------------------------------------------- */ /*! normalize.css v8.0.1 | 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; -webkit-text-size-adjust: 100%; } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Render the `main` element consistently in IE. */ main { display: block; } /** * 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; height: 0; overflow: visible; } /** * 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; font-size: 1em; } /* 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; text-decoration: underline; text-decoration: underline dotted; } /** * 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; font-size: 1em; } /** * 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; font-size: 100%; line-height: 1.15; margin: 0; } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { appearance: button; -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; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; } /** * 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; padding: 0; } /** * 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"] { appearance: textfield; -webkit-appearance: textfield; outline-offset: -2px; } /** * 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; font: inherit; } /* 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; } /* Box sizing --------------------------------------------- */ /* Inherit box-sizing to more easily change it's value on a component level. @link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ *, *::before, *::after { box-sizing: inherit; } html { box-sizing: border-box; } /*-------------------------------------------------------------- # Base --------------------------------------------------------------*/ /* Typography --------------------------------------------- */ h1, h2, h3, h4, h5, h6 { clear: both; font-family: Syne, sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: #000; } h1 { font-size: 40px; font-weight: 700; margin-bottom: 20px; } h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; } h3 { font-size: 24px; font-weight: 400; margin-bottom: 12px; } h4 { font-size: 20px; font-weight: 400; margin-bottom: 10px; } h5 { font-size: 18px; font-weight: 400; margin-bottom: 9px; } h6 { font-size: 16px; font-weight: 400; margin-bottom: 8px; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #FFF; font-family: "Courier 10 Pitch", courier, monospace; 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; } abbr, acronym { border-bottom: 1px dotted #000; cursor: help; } mark, ins { background: #FFF; text-decoration: none; } big { font-size: 125%; } body, button, input, select, optgroup, textarea { color: #000; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: normal; } /* Elements --------------------------------------------- */ body { background: #FFF; } hr { background-color: #E5E5E5; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 3em 1.5em 0; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-right: 1.5em; } dt { font-weight: 700; } dd { margin: 0 1.5em 1.5em; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } img { height: auto; max-width: 100%; } figure { margin: 1em 0; } table { margin: 0 0 1.5em; width: 100%; } /* Links --------------------------------------------- */ a { color: #000; text-decoration: none; } a:visited { color: #000; } a:hover { text-decoration: underline; } a:focus { outline: 2px solid #000; outline-offset: 2px; } a:active { color: #000; } /* Forms --------------------------------------------- */ button, input[type="button"], input[type="reset"], input[type="submit"], .button, .wp-block-button__link { border: none; background: #000; color: #FFF; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-weight: 400; line-height: 1; padding: 12px 20px; cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.2s ease; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .wp-block-button__link:hover { background: #FFF; color: #000; border: 1px solid #000; text-decoration: none; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .button:focus, .wp-block-button__link:focus { outline: 2px solid #000; outline-offset: 2px; } button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active, .button:active, .wp-block-button__link:active { background: #FFF; color: #000; border: 1px solid #000; } .button-secondary, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #000; border: 1px solid #000; } .button-secondary:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #000; color: #FFF; border: 1px solid #000; } .button-secondary:focus, .wp-block-button.is-style-outline .wp-block-button__link:focus { outline: 2px solid #000; outline-offset: 2px; } .button-secondary:active, .wp-block-button.is-style-outline .wp-block-button__link:active { background: #000; color: #FFF; } 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: #000; border: 1px solid #E5E5E5; border-radius: 3px; padding: 3px; } 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: #000; } select { border: 1px solid #E5E5E5; } textarea { width: 100%; } /*-------------------------------------------------------------- # Layouts --------------------------------------------------------------*/ .no-sidebar .site { display: grid; grid-template-columns: auto; grid-template-areas: "header" "main" "footer"; } .no-sidebar .site-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .no-sidebar .site-main { max-width: 1200px; width: 100%; margin: 0 auto; padding: 40px 20px; } .content-sidebar:not(.home) .site { display: grid; grid-template-columns: 1fr 25%; grid-template-areas: "header header" "main sidebar" "footer footer"; gap: 0; max-width: 100%; } @media screen and (max-width: 768px) { .content-sidebar:not(.home) .site { grid-template-columns: 1fr; grid-template-areas: "header" "main" "sidebar" "footer"; } } .content-sidebar .site-header { grid-area: header; } .content-sidebar .site-main { max-width: 1200px; width: 100%; margin: 0 auto; padding: 40px 20px; } .content-sidebar .widget-area { grid-area: sidebar; padding: 40px 20px; box-sizing: border-box; } .content-sidebar .widget-area .widget { margin-bottom: 40px; } .content-sidebar .widget-area .widget:last-child { margin-bottom: 0; } .content-sidebar .widget-area .widget .widget-title { font-family: Syne, sans-serif; font-size: 20px; font-weight: 700; color: #000; margin: 0 0 20px; line-height: 1.2; letter-spacing: -0.02em; } .content-sidebar .widget-area .widget ul { list-style: none; margin: 0; padding: 0; } .content-sidebar .widget-area .widget ul li { margin-bottom: 10px; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.7; } .content-sidebar .widget-area .widget ul li a { color: #000; text-decoration: underline; transition: opacity 0.2s; } .content-sidebar .widget-area .widget ul li a:hover { opacity: 0.7; } .content-sidebar .widget-area .widget p { font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.7; margin: 0 0 15px; } .content-sidebar .widget-area .widget p:last-child { margin-bottom: 0; } .content-sidebar .site-footer { grid-area: footer; } .sidebar-content .site { display: grid; grid-template-columns: 25% 1fr; grid-template-areas: "header header" "sidebar main" "footer footer"; gap: 0; max-width: 100%; } @media screen and (max-width: 768px) { .sidebar-content .site { grid-template-columns: 1fr; grid-template-areas: "header" "sidebar" "main" "footer"; } } .sidebar-content .site-header { grid-area: header; } .sidebar-content .site-main { max-width: 1200px; width: 100%; margin: 0 auto; padding: 40px 20px; } .sidebar-content .widget-area { grid-area: sidebar; padding: 40px 20px; box-sizing: border-box; } .sidebar-content .widget-area .widget { margin-bottom: 40px; } .sidebar-content .widget-area .widget:last-child { margin-bottom: 0; } .sidebar-content .widget-area .widget .widget-title { font-family: Syne, sans-serif; font-size: 20px; font-weight: 700; color: #000; margin: 0 0 20px; line-height: 1.2; letter-spacing: -0.02em; } .sidebar-content .widget-area .widget ul { list-style: none; margin: 0; padding: 0; } .sidebar-content .widget-area .widget ul li { margin-bottom: 10px; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.7; } .sidebar-content .widget-area .widget ul li a { color: #000; text-decoration: underline; transition: opacity 0.2s; } .sidebar-content .widget-area .widget ul li a:hover { opacity: 0.7; } .sidebar-content .widget-area .widget p { font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.7; margin: 0 0 15px; } .sidebar-content .widget-area .widget p:last-child { margin-bottom: 0; } .sidebar-content .site-footer { grid-area: footer; } /*-------------------------------------------------------------- # Components --------------------------------------------------------------*/ /* Header --------------------------------------------- */ .site-header { background: #000; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .site-branding { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 6px; } .site-branding .custom-logo-link, .site-branding img { width: auto; height: 50px; object-fit: contain; object-position: right; } .site-title { margin: 0; font-family: Syne, sans-serif; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; } .site-title a { color: #FFF; text-decoration: none; } .site-title a:hover { text-decoration: underline; } .site-description { margin: 0; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.7); } .header-content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 20px; } @media screen and (max-width: 37.5em) { .header-content-wrapper { flex-direction: column; gap: 15px; } } .main-navigation.navigation-center { width: 100%; } .main-navigation.navigation-left { flex: 1; } .header-search { position: relative; } .header-search .search-toggle { background: transparent; border: none; color: #FFF; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; } .header-search .search-toggle:hover { opacity: 0.7; } .header-search .search-toggle:focus { outline: 2px solid #FFF; outline-offset: 2px; } .header-search .search-toggle svg { width: 20px; height: 20px; } .header-search .search-form-wrapper { position: absolute; top: 100%; left: 0; background: #000; padding: 20px; min-width: 300px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); display: none; z-index: 1000; margin-top: 10px; } .header-search .search-form-wrapper.active { display: block; } .header-search .search-form-wrapper .search-form { display: flex; gap: 10px; } .header-search .search-form-wrapper .search-form .search-field { flex: 1; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #FFF; padding: 10px 15px; font-size: 16px; } .header-search .search-form-wrapper .search-form .search-field::placeholder { color: rgba(255, 255, 255, 0.6); } .header-search .search-form-wrapper .search-form .search-field:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); } .header-search .search-form-wrapper .search-form .search-submit { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: #FFF; padding: 10px 20px; cursor: pointer; transition: background 0.2s; } .header-search .search-form-wrapper .search-form .search-submit:hover { background: rgba(255, 255, 255, 0.3); } /* Navigation --------------------------------------------- */ .main-navigation { display: block; width: 100%; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; } .main-navigation ul { display: none; list-style: none; margin: 0; padding-right: 0; } .main-navigation ul ul { background: #FFF; border: 1px solid #E5E5E5; position: absolute; top: 100%; right: -999em; z-index: 99999; min-width: 200px; margin-right: 16px; font-size: 12.8px; line-height: 1.36; display: flex; --webkit-flex-direction: column; flex-direction: column; gap: 5px; } .main-navigation ul ul ul { right: -999em; top: 0; } .main-navigation ul ul li { border-bottom: 1px solid #E5E5E5; } .main-navigation ul ul li:last-child { border-bottom: none; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { display: block; } .main-navigation ul ul a { padding: 12px 16px; color: #000; } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { right: auto; } .main-navigation li { position: relative; } .main-navigation a { display: block; text-decoration: none; color: #000; padding: 8px 16px; transition: none; } .main-navigation a:hover { text-decoration: underline; } .main-navigation a:focus { outline: 2px solid #000; outline-offset: 2px; } .site-header .main-navigation a { color: #FFF; } .site-header .main-navigation ul ul { background: #000; border-color: rgba(255, 255, 255, 0.1); } .site-header .main-navigation ul ul li { border-color: rgba(255, 255, 255, 0.1); } .site-header .main-navigation ul ul li a { color: #FFF; } .site-header .main-navigation .current_page_item > a, .site-header .main-navigation .current-menu-item > a, .site-header .main-navigation .current_page_ancestor > a, .site-header .main-navigation .current-menu-ancestor > a { color: #FFF; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a { font-weight: 400; } /* Menu toggle button */ .menu-toggle { background: transparent; border: 1px solid #000; color: #000; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; padding: 8px 16px; cursor: pointer; display: block; width: auto; margin: 20px auto 0 auto; text-align: center; } .menu-toggle:hover { background: #FFF; text-decoration: underline; } .menu-toggle:focus { outline: 2px solid #000; outline-offset: 2px; } .site-header .menu-toggle { border-color: rgba(255, 255, 255, 0.3); color: #FFF; } .site-header .menu-toggle:hover { background: rgba(255, 255, 255, 0.1); } .site-header .menu-toggle:focus { outline-color: #FFF; } /* Small menu. */ .main-navigation.toggled ul { display: block; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: flex; gap: 0; } .main-navigation.navigation-center ul { justify-content: center; } .main-navigation.navigation-left ul { justify-content: flex-start; } } @media screen and (min-width: 37.5em) and (max-width: 37.5em) { .main-navigation.navigation-left ul { justify-content: center; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 40px 0; padding-top: 24px; border-top: 1px solid #E5E5E5; } .site-main .comment-navigation:last-child, .site-main .posts-navigation:last-child, .site-main .post-navigation:last-child { margin-bottom: 0; } .comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links { display: flex; gap: 20px; } .comment-navigation .nav-previous, .comment-navigation .nav-next, .posts-navigation .nav-previous, .posts-navigation .nav-next, .post-navigation .nav-previous, .post-navigation .nav-next { flex: 1; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { text-align: right; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { text-align: left; } .comment-navigation a, .posts-navigation a, .post-navigation a { color: #000; text-decoration: none; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; } .comment-navigation a:hover, .posts-navigation a:hover, .post-navigation a:hover { text-decoration: underline; } .comment-navigation a:focus, .posts-navigation a:focus, .post-navigation a:focus { outline: 2px solid #000; outline-offset: 2px; } .comment-navigation .nav-subtitle, .posts-navigation .nav-subtitle, .post-navigation .nav-subtitle { display: block; font-size: 13px; color: #777; margin-bottom: 4px; } .comment-navigation .nav-title, .posts-navigation .nav-title, .post-navigation .nav-title { display: block; font-weight: 400; } /* Posts and pages --------------------------------------------- */ .sticky { display: block; } .post, .page { margin: 0; padding: 0; border-bottom: 1px solid #E5E5E5; background: #FFF; } .post:last-child, .page:last-child { border-bottom: none; } .articles-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .articles-list article { background-color: #FFF; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; border-bottom: none; display: flex; flex-direction: column; position: relative; } .articles-list article:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); } .articles-list article .post-thumbnail { order: -1; width: 100%; height: 200px; overflow: hidden; background-color: #f0f0f0; margin: 0; display: block; border-top-right-radius: 8px; border-top-left-radius: 8px; } .articles-list article .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .articles-list article:hover .post-thumbnail img { transform: scale(1.05); } .articles-list article .entry-header { order: 0; padding: 1.5rem 1.5rem 0; margin: 0; display: flex; flex-direction: column; } .articles-list article .entry-header .entry-title { margin: 0 0 0.75rem 0; font-size: 1.125rem; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-box-orient: vertical; line-clamp: 2; -webkit-line-clamp: 2; overflow: hidden; } .articles-list article .entry-header .entry-title a { color: inherit; text-decoration: none; transition: color 0.3s ease; } .articles-list article .entry-header .entry-title a:hover { color: #000; } .articles-list article .entry-header .entry-meta { position: absolute; bottom: 0; right: 0; left: 0; padding: 0 1.5rem 1.5rem; margin: 0; font-size: 0.875rem; color: #777; } .articles-list article .entry-content, .articles-list article .entry-summary { order: 1; padding: 0 1.5rem 4rem; margin: 0; font-size: 0.875rem; line-height: 1.6; color: #444; flex: 1; } .articles-list article .entry-footer { display: none; } .updated:not(.published) { display: none; } .entry-header { margin-bottom: 16px; } .entry-title { margin: 0 0 12px; color: #000; font-family: Syne, sans-serif; font-weight: 700; } .entry-title a { color: #000; text-decoration: none; } .entry-title a:hover { text-decoration: underline; } .post-thumbnail { margin: 0 0 20px; display: block; } .post-thumbnail img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; color: #000; } .page-content a, .entry-content a, .entry-summary a { text-decoration: underline; } .entry-summary { color: #444; font-size: 16px; line-height: 1.7; max-height: 5.1em; overflow: hidden; display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .page-links { clear: both; margin: 0 0 1.5em; } .entry-meta { font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; font-weight: 400; color: #777; margin-bottom: 12px; line-height: 1.5; } .entry-meta a { color: #777; text-decoration: none; } .entry-meta a:hover { text-decoration: underline; color: #000; } .entry-meta .posted-on, .entry-meta .byline { display: inline-block; margin-left: 12px; } .entry-meta .posted-on:last-child, .entry-meta .byline:last-child { margin-left: 0; } .entry-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid #E5E5E5; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; font-weight: 400; color: #777; } .entry-footer a { color: #777; text-decoration: none; } .entry-footer a:hover { text-decoration: underline; color: #000; } .entry-footer .cat-links, .entry-footer .tags-links, .entry-footer .comments-link, .entry-footer .edit-link { display: inline-block; margin-left: 16px; } .entry-footer .cat-links:last-child, .entry-footer .tags-links:last-child, .entry-footer .comments-link:last-child, .entry-footer .edit-link:last-child { margin-left: 0; } /* Comments --------------------------------------------- */ .comment-content a { word-wrap: break-word; text-decoration: underline; } .bypostauthor { display: block; } /* Widgets --------------------------------------------- */ .widget { margin: 0 0 1.5em; } .widget select { max-width: 100%; } .widget a { text-decoration: underline; } /* 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 logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /* Captions --------------------------------------------- */ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-right: auto; margin-left: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /* Galleries --------------------------------------------- */ .gallery { margin-bottom: 1.5em; display: grid; grid-gap: 1.5em; } .gallery-item { display: inline-block; text-align: center; width: 100%; } .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); } .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); } .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); } .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); } .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); } .gallery-columns-7 { grid-template-columns: repeat(7, 1fr); } .gallery-columns-8 { grid-template-columns: repeat(8, 1fr); } .gallery-columns-9 { grid-template-columns: repeat(9, 1fr); } .gallery-caption { display: block; } /* Footer --------------------------------------------- */ .site-footer { background: #000; padding: 40px 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-widgets { max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; display: grid; gap: 30px; } .footer-widgets.footer-columns-1 { grid-template-columns: 1fr; } .footer-widgets.footer-columns-2 { grid-template-columns: repeat(2, 1fr); } .footer-widgets.footer-columns-3 { grid-template-columns: repeat(3, 1fr); } .footer-widgets.footer-columns-4 { grid-template-columns: repeat(4, 1fr); } @media screen and (max-width: 768px) { .footer-widgets { grid-template-columns: 1fr !important; } } .footer-widget-area { color: rgba(255, 255, 255, 0.8); } .footer-widget-area .footer-widget-title { font-family: Syne, sans-serif; font-size: 20px; font-weight: 700; color: #FFF; margin: 0 0 20px; } .footer-widget-area .footer-logo-info .custom-logo-link, .footer-widget-area .footer-logo-info img { width: auto; height: 50px; object-fit: contain; margin-bottom: 15px; display: block; } .footer-widget-area .footer-logo-info .footer-site-title { font-family: Syne, sans-serif; font-size: 20px; font-weight: 700; color: #FFF; margin: 0 0 10px; } .footer-widget-area .footer-logo-info .footer-site-description { font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.6; } .footer-widget-area ul { list-style: none; margin: 0; padding: 0; } .footer-widget-area ul li { margin-bottom: 10px; } .footer-widget-area ul li a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; transition: color 0.2s; } .footer-widget-area ul li a:hover { color: #FFF; text-decoration: underline; } .footer-widget-area .footer-recent-posts li a { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; line-clamp: 1; -webkit-line-clamp: 1; } .footer-widget-area #footer-menu { list-style: none; margin: 0; padding: 0; } .footer-widget-area #footer-menu li { margin-bottom: 10px; } .site-info { max-width: 1200px; margin: 0 auto; padding: 20px 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } .site-info .site-info-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.7); } @media screen and (max-width: 768px) { .site-info .site-info-content { flex-direction: column; text-align: center; } } .site-info .copyright { color: rgba(255, 255, 255, 0.7); } .site-info .footer-menu ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 20px; flex-wrap: wrap; } .site-info .footer-menu ul li { margin: 0; } .site-info .footer-menu ul li a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.2s; } .site-info .footer-menu ul li a:hover { color: #FFF; text-decoration: underline; } .site-info .footer-menu ul li a:focus { outline: 2px solid #FFF; outline-offset: 2px; } /* Back to top --------------------------------------------- */ .back-to-top { position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px; padding: 10px; background: #000; color: #FFF; opacity: 0.8; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 999; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); } .back-to-top:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); } .back-to-top:hover svg { opacity: 1; } .back-to-top:focus { outline: 2px solid #FFF; outline-offset: 2px; } .back-to-top:active { transform: translateY(-1px); } .back-to-top svg { width: 30px; height: 30px; color: #FFF; opacity: 0.8; } @media screen and (max-width: 768px) { .back-to-top { bottom: 20px; left: 20px; width: 45px; height: 45px; } .back-to-top svg { width: 18px; height: 18px; } } /*-------------------------------------------------------------- # Plugins --------------------------------------------------------------*/ /* Jetpack infinite scroll --------------------------------------------- */ /* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { display: none; } /* Re-display the Theme Footer when Infinite Scroll has reached its end. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Utilities --------------------------------------------------------------*/ /* Accessibility --------------------------------------------- */ /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; } .screen-reader-text:focus { background-color: #FFF; border: 2px solid #000; border-radius: 0; box-shadow: none; clip: auto !important; clip-path: none; color: #000; display: block; font-size: 0.875rem; font-weight: 700; height: auto; right: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; } /* Do not show the outline on the skip link target. */ #primary[tabindex="-1"]:focus { outline: 0; } /* Alignments --------------------------------------------- */ .alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; } .alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; } .aligncenter { clear: both; display: block; margin-right: auto; margin-left: auto; margin-bottom: 1.5em; } /* Magazine (Front page) --------------------------------------------- */ /* ============================================ Hero Section (Mosaic Grid) ============================================ */ .magazine-hero { margin-bottom: 3rem; } .magazine-hero__container { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; } .magazine-hero__item { position: relative; overflow: hidden; border-radius: 8px; background-color: #FFF; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .magazine-hero__item:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); } .magazine-hero__item--large { grid-row: 1/3; } .magazine-hero__item--small { grid-row: span 1; } .magazine-hero__link { text-decoration: none; color: inherit; height: 100%; display: flex; flex-direction: column; } .magazine-hero__image { width: 100%; overflow: hidden; background-color: #f0f0f0; } .magazine-hero__item--large .magazine-hero__image { height: 60%; min-height: 400px; } .magazine-hero__item--small .magazine-hero__image { height: 50%; min-height: 200px; } .magazine-hero__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .magazine-hero__item:hover .magazine-hero__image img { transform: scale(1.05); } .magazine-hero__image--placeholder { display: flex; align-items: center; justify-content: center; background-color: #f0f0f0; } .magazine-hero__image--placeholder svg { width: 100%; height: 100%; } .magazine-hero__content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; } .magazine-hero__category { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #777; margin-bottom: 0.5rem; } .magazine-hero__title { margin: 0 0 1rem 0; font-size: 1.5rem; line-height: 1.3; font-weight: 700; } .magazine-hero__item--small .magazine-hero__title { font-size: 1.125rem; } .magazine-hero__excerpt { margin: 0 0 1rem 0; font-size: 0.9375rem; line-height: 1.6; color: #444; flex: 1; } .magazine-hero__item--small .magazine-hero__excerpt { display: none; } .magazine-hero__meta { margin-top: auto; } .magazine-hero__date { font-size: 0.875rem; color: #777; } /* ============================================ Latest News Section ============================================ */ .magazine-latest { margin-bottom: 3rem; } .magazine-latest__container { display: grid; } @media screen and (min-width: 768px) { .magazine-latest__container.has-sidebar { grid-template-columns: 2fr 1fr; } } @media screen and (max-width: 768px) { .magazine-latest__container.has-sidebar { grid-template-columns: 1fr; } } .magazine-latest__container.has-sidebar { gap: 1.5rem; max-width: 1200px; margin: 0 auto; } .magazine-latest__container.has-sidebar .widget { margin-bottom: 40px; } .magazine-latest__container.has-sidebar .widget:last-child { margin-bottom: 0; } .magazine-latest__container.has-sidebar .widget .widget-title { font-family: Syne, sans-serif; font-size: 20px; font-weight: 700; color: #000; margin: 0 0 20px; line-height: 1.2; letter-spacing: -0.02em; } .magazine-latest__container.has-sidebar .widget ul { list-style: none; margin: 0; padding: 0; } .magazine-latest__container.has-sidebar .widget ul li { margin-bottom: 10px; font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.7; } .magazine-latest__container.has-sidebar .widget ul li a { color: #000; text-decoration: underline; transition: opacity 0.2s; } .magazine-latest__container.has-sidebar .widget ul li a:hover { opacity: 0.7; } .magazine-latest__container.has-sidebar .widget p { font-family: Quicksand, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.7; margin: 0 0 15px; } .magazine-latest__container.has-sidebar .widget p:last-child { margin-bottom: 0; } .magazine-latest__main { background-color: #FFF; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .magazine-latest__heading { margin: 0 0 2rem 0; font-size: 2rem; font-weight: 700; border-bottom: 3px solid #000; padding-bottom: 0.5rem; } .magazine-latest__list { display: flex; flex-direction: column; gap: 1.5rem; } .magazine-latest__item { display: flex; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #E5E5E5; } .magazine-latest__item:last-child { border-bottom: none; padding-bottom: 0; } .magazine-latest__image-link { flex-shrink: 0; width: 150px; height: 150px; overflow: hidden; border-radius: 4px; background-color: #f0f0f0; display: block; } .magazine-latest__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .magazine-latest__image-link:hover img { transform: scale(1.1); } .magazine-latest__image-link--placeholder { display: flex; align-items: center; justify-content: center; } .magazine-latest__image-link--placeholder svg { width: 100%; height: 100%; } .magazine-latest__content { flex: 1; display: flex; flex-direction: column; } .magazine-latest__category { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #777; margin-bottom: 0.5rem; } .magazine-latest__title { margin: 0 0 0.75rem 0; font-size: 1.25rem; line-height: 1.3; font-weight: 700; } .magazine-latest__title a { text-decoration: none; color: inherit; transition: color 0.3s ease; } .magazine-latest__title a:hover { color: #000; } .magazine-latest__excerpt { margin: 0 0 1rem 0; font-size: 0.9375rem; line-height: 1.6; color: #444; flex: 1; } .magazine-latest__meta { display: flex; gap: 1rem; font-size: 0.875rem; color: #777; margin-top: auto; } .magazine-latest__date, .magazine-latest__author { margin: 0; } .magazine-latest__sidebar { background-color: #FFF; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } /* ============================================ Category Sections ============================================ */ .magazine-category { margin-bottom: 3rem; } .magazine-category__container { max-width: 1200px; margin: 0 auto; } .magazine-category__heading { margin: 0 0 2rem 0; font-size: 2rem; font-weight: 700; border-bottom: 3px solid #000; padding-bottom: 0.5rem; } .magazine-category__heading a { text-decoration: none; color: inherit; transition: color 0.3s ease; } .magazine-category__heading a:hover { color: #777; } .magazine-category__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .magazine-category__card { background-color: #FFF; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .magazine-category__card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); } .magazine-category__link { display: block; text-decoration: none; color: inherit; } .magazine-category__image { width: 100%; height: 200px; overflow: hidden; background-color: #f0f0f0; } .magazine-category__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .magazine-category__card:hover .magazine-category__image img { transform: scale(1.05); } .magazine-category__image--placeholder { display: flex; align-items: center; justify-content: center; } .magazine-category__image--placeholder svg { width: 100%; height: 100%; } .magazine-category__content { padding: 1.5rem; display: flex; flex-direction: column; } .magazine-category__title { margin: 0 0 0.75rem 0; font-size: 1.125rem; line-height: 1.3; font-weight: 700; } .magazine-category__excerpt { margin: 0 0 1rem 0; font-size: 0.875rem; line-height: 1.6; color: #444; flex: 1; } .magazine-category__meta { margin-top: auto; } .magazine-category__date { font-size: 0.875rem; color: #777; } /* ============================================ Responsive Design ============================================ */ @media screen and (max-width: 1024px) { .magazine-latest__container { grid-template-columns: 1fr; } .magazine-category__grid { grid-template-columns: repeat(2, 1fr); } } @media screen and (max-width: 768px) { .magazine-hero__container { grid-template-columns: 1fr; grid-template-rows: auto; } .magazine-hero__item--large { grid-row: span 1; } .magazine-hero__item--small .magazine-hero__image { height: 50%; min-height: 200px; } .magazine-latest__item { flex-direction: column; } .magazine-latest__image-link { width: 100%; height: 200px; } .magazine-category__grid { grid-template-columns: 1fr; } .magazine-hero, .magazine-latest, .magazine-category { padding: 1.5rem 0; } .magazine-latest__main, .magazine-latest__sidebar { padding: 1.5rem; } } @media screen and (max-width: 480px) { .magazine-hero__content, .magazine-latest__main, .magazine-category__content { padding: 1rem; } .magazine-hero__title { font-size: 1.25rem; } .magazine-latest__heading, .magazine-category__heading { font-size: 1.5rem; } }