/*! Theme Name: Actual News Theme URI: https://adorethemes.com/downloads/actual-news/ Author: Adore Themes Author URI: https://adorethemes.com/ Description: Actual News is a sleek, modern WordPress theme ideal for news websites, blogs, magazines, and more. With a professional design, pre-built demos, and full customization options via widgets and the live customizer, it's easy to set up. The theme is fully responsive, SEO-optimized, and built for fast loading across devices. Perfect for any creative website, it offers a clean, user-friendly experience with secure, fast-loading code. You can preview the theme demo here: https://demo.adorethemes.com/actual-news/ Version: 1.0.0 Requires at least: 5.0 Requires PHP: 7.4 Tested up to: 6.9 License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Template: news-articles Text Domain: actual-news Tags: custom-background, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, left-sidebar, right-sidebar, blog, one-column, portfolio, photography, theme-options, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned. Actual News 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/ */ /* Root ========================================================================== */ :root { --primary-color: #df0808; } /* Banner Section --------------------------------------------- */ .main-banner-section.style-3 .main-banner-section-wrapper { display: flex; flex-wrap: wrap; margin-inline: -10px; } .main-banner-section.style-3 .main-banner-section-wrapper>div { padding-inline: 10px; } .main-banner-section.style-3 .banner-grid-outer { width: 70%; } .main-banner-section.style-3 .banner-grid-wrapper { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); } .main-banner-section.style-3 .banner-grid-wrapper .post-item { min-height: 270px; } .main-banner-section.style-3 .banner-grid-wrapper .post-item:first-child { grid-column: span 2; grid-row: span 2; } .main-banner-section.style-3 .banner-slider .post-item .post-item-content .entry-title { font-size: var(--font-size-md); } .main-banner-section.style-3 .post-tabs-wrapper { width: 30%; } @media (max-width: 1024px) { .main-banner-section.style-3 .banner-grid-outer { width: 100%; margin-bottom: 20px; } .main-banner-section.style-3 .post-tabs-wrapper { width: 100%; } } @media (max-width: 600px) { .main-banner-section.style-3 .banner-grid-wrapper { grid-template-columns: repeat(1, 1fr); } .main-banner-section.style-3 .banner-grid-wrapper .post-item:first-child { grid-column: span 1; grid-row: span 1; } } .main-banner-section .post-tabs-wrapper .post-tabs-head .banner-post-tabs li a { gap: 5px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--color-text); padding: 7px 5px; font-size: calc(var(--font-size-sm) + 1px); border-style: solid; border-width: 1px; border-block-end-width: 3px; border-inline-end-width: 3px; border-color: var(--shadow-color); } .main-banner-section .post-tabs-wrapper .post-tabs-head .banner-post-tabs li a:not(.inactive) { background-color: var(--primary-color); color: #fff; } .main-banner-section .post-tabs-wrapper .post-tabs-head .banner-post-tabs { margin: 0; padding: 0; display: flex; align-items: center; list-style: none; } .main-banner-section .post-tabs-wrapper .post-tabs-head .banner-post-tabs li { flex-grow: 1; text-align: center; } /* End Banner Section --------------------------------------------- */ /* Start Recent Posts Section --------------------------------------------- */ .recentpost-wrapper { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); } .post-item.overlay-post { min-height: 380px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; background-repeat: no-repeat; background-size: cover; background-position: center; } .post-item.overlay-post::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(17, 17, 17, 0)), color-stop(80%, rgba(17, 17, 17, 0.6)), to(#111111)); background-image: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.6) 80%, #111111 100%); background-repeat: no-repeat; background-size: cover; background-position: center center; } .post-item.overlay-post .post-overlay { position: relative; z-index: 1; } .post-item.overlay-post .post-item-content .entry-cat .post-categories li a { display: block; text-decoration: none; font-weight: 500; text-transform: capitalize; color: #eee; background-color: var(--primary-color); transition: all 0.4s ease-in-out; } .post-item.overlay-post .post-item-content .entry-cat .post-categories li a:focus { outline-color: #fff; } .post-item.overlay-post .post-item-content .entry-title a:focus, .post-item.overlay-post .post-item-content .entry-title a:hover, .post-item.overlay-post .post-item-content .entry-title a { color: #fff; } .post-item.overlay-post .post-item-content .entry-meta li { color: #fff; } .post-item.overlay-post .post-item-content .entry-meta li a { color: #fff; } @media (max-width: 768px) { .recentpost-wrapper { grid-template-columns: repeat(2, 1fr); } .post-item.overlay-post { min-height: 380px; } } @media (max-width: 480px) { .recentpost-wrapper { grid-template-columns: repeat(1, 1fr); } } /* End Recent Posts Section --------------------------------------------- */ /* Section Header Style --------------------------------------------- */ .section-header-2 .widget-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; } .section-header-2 .site-footer .tab-filter-widget .widget-header, .section-header-2 .secondary-widgets-area .tab-filter-widget .widget-header { flex-direction: column; align-items: stretch; gap: 10px; } .section-header-2 .site-footer .widget-header .tab-filter-widget .widget-title, .section-header-2 .secondary-widgets-area .widget-header .tab-filter-widget .widget-title { margin-bottom: 5px; } .section-header-2 .widget-title { flex-grow: 1; text-align: start; background: none; position: relative; margin: 0; line-height: 1.2; margin-bottom: 15px; color: var(--color-text); font-size: var(--font-size-base); display: flex; align-items: center; gap: 10px; } @media (max-width: 600px) { .section-header-2 .tab-filter-widget .widget-header { flex-direction: column; align-items: stretch; gap: 0; } .section-header-2 .tab-filter-widget .widget-title { margin-bottom: 5px; } } .section-header-2 .widget-title::before { display: inline-block; content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary-color); order: 2; } .section-header-2 .widget-title::after { display: inline-block; content: ""; width: 10px; flex-grow: 1; height: 6px; border: 1px double rgba(var(--color-text-rgb), 0.15); border-width: 1px 0 1px 0; order: 3; } .section-header-2 .site-footer .widget-title::after { border: 1px double rgba(255, 255, 255, 0.15); border-width: 1px 0 1px 0; } .section-header-2 .widget-header>a { margin-bottom: 15px; } /* End Section Header Style --------------------------------------------- */ body.header-style-5 * { all: unset; }