/*
Theme Name: Rubik News Child
Theme URI: https://www.kantipurthemes.com/rubik-news
Template: rubik-news
Author: Kantipur Themes
Author URI: https://www.kantipurthemes.com/
Description: Rubik News is a is a clean, modern, user-friendly, fast-loading, customizable, flexible, functional and fully responsive WordPress News, Magazine, Newspaper, and blog Theme.
Tags: blog,news,entertainment,grid-layout,two-columns,right-sidebar,custom-background,custom-colors,custom-header,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments,translation-ready
Version: 1.0.202611200410
Updated: 2026-11-20 04:11:00

*/

/*--------------------------------------------------------------
Homepage revamp — appended to the child theme style.css (Nov 2026).
Reuses the parent theme's section-header pattern (.news-section-header /
.news-section-title / .news-section-line) and spacing. The Editors'
Picks and bottom Loop grids reuse the parent's
.blog-archive.columns-3 cards, so they inherit the theme's own
responsive column behaviour.
--------------------------------------------------------------*/

/*
 * The sections after the sidebar (Directory strip, bottom
 * Loop) span the full container width, below the floated #primary /
 * #secondary pair. .ow-home-lower clears both floats.
 */
.ow-home-lower {
	clear: both;
}

/*
 * The parent theme makes the sidebar sticky. On the homepage that
 * would leave it stuck over the full-width sections below the columns
 * while scrolling, so the homepage sidebar scrolls naturally instead.
 * Other templates keep the parent's sticky behaviour.
 */
.home.blog #secondary {
	position: static;
}

/*--------------------------------------------------------------
Insights
--------------------------------------------------------------*/
.ow-insights-section {
	margin-bottom: 30px;
}

.ow-insights-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 15px;
}

.ow-insights-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
	border: 1px solid #e5e5e5;
	background-color: #fff;
}

.ow-insights-card-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.ow-insights-kicker {
	margin-bottom: 10px;
	color: #e60000;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ow-insights-title {
	margin: 0 0 8px;
	color: #111;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.ow-insights-desc {
	flex: 1;
	margin: 0 0 14px;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}

.ow-insights-cta {
	color: #e60000;
	font-size: 13px;
	font-weight: 700;
}

.ow-insights-card-link:hover .ow-insights-title,
.ow-insights-card-link:focus .ow-insights-title,
.ow-insights-card-link:hover .ow-insights-cta,
.ow-insights-card-link:focus .ow-insights-cta {
	color: #cb0001;
}

.ow-insights-card-forthcoming {
	background-color: #f7f7f7;
}

.ow-insights-forthcoming {
	color: #717e81;
	font-size: 13px;
	font-weight: 700;
}

/*--------------------------------------------------------------
Editors' Picks / bottom Loop
--------------------------------------------------------------*/
.ow-editors-picks-section {
	margin-bottom: 30px;
}

.ow-home-loop {
	margin-bottom: 10px;
}

/*--------------------------------------------------------------
Vendor Directory strip
--------------------------------------------------------------*/
.ow-directory-strip {
	margin-bottom: 30px;
	background-color: #123655;
}

.ow-directory-strip-inner {
	padding: 30px;
}

.ow-directory-strip-title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.ow-directory-strip-desc {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
}

.ow-directory-strip-cta {
	display: inline-block;
	padding: 10px 20px;
	background-color: #fff;
	color: #123655;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.ow-directory-strip-cta:hover,
.ow-directory-strip-cta:focus {
	background-color: #ffde59;
	color: #123655;
}

/*--------------------------------------------------------------
Responsive — new sections
--------------------------------------------------------------*/
@media screen and (max-width: 991px) {
	.ow-insights-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.ow-insights-grid {
		grid-template-columns: 1fr;
	}

	.ow-directory-strip-inner {
		padding: 20px;
	}

	.ow-directory-strip-title {
		font-size: 19px;
	}
}

/*--------------------------------------------------------------
Suggested Articles
--------------------------------------------------------------*/
.ow-suggested-section {
	margin-bottom: 30px;
}

.ow-suggested-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ow-suggested-item {
	min-width: 0;
}

.ow-suggested-sponsored {
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 8px;
	background-color: #ffde59;
	color: #123655;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

@media screen and (max-width: 991px) {
	.ow-suggested-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.ow-suggested-grid {
		grid-template-columns: 1fr;
	}
}

/* Suggested grid: the parent theme's clearfix puts ::before/::after
   pseudo-elements on .blog-archive, and in a grid container those
   become phantom grid items that push the first card into the second
   column. Remove them on this grid so the three cards sit in a row. */
.ow-suggested-grid::before,
.ow-suggested-grid::after {
	content: none;
}
/*--------------------------------------------------------------
 * Nov 19 evening polish — Insights features + directory strip.
 * Appended overrides: these rules come after the originals above,
 * so they win at equal specificity. The media queries are restated
 * here (same breakpoints) so the overrides keep working below them.
--------------------------------------------------------------*/

/*
 * Insights is now three featured report cards, not five: roomier
 * cards, larger titles, and a top border in each report's own accent
 * colour (fleet green for the two fleet reports, navy for outages).
 * The whitepaper cards are gone — the section features only what is
 * published so far.
 */
.ow-insights-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
}

.ow-insights-card {
		padding: 28px;
}

.ow-insights-title {
		font-size: 20px;
}

.ow-insights-card--accent-green {
		border-top: 4px solid #0a7a24;
}

.ow-insights-card--accent-navy {
		border-top: 4px solid #123655;
}

/*
 * Directory strip: text left, button right, with a yellow rule above
 * the navy band. The strip still sends people only to /directory/ —
 * the polish is visual, the single CTA is unchanged.
 */

.ow-directory-strip {
		border-top: 4px solid #ffde59;
}

.ow-directory-strip-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 30px;
}

.ow-directory-strip-title {
		font-size: 24px;
}

.ow-directory-strip-desc {
		margin-bottom: 0;
}

.ow-directory-strip-cta {
		flex-shrink: 0;
}

@media screen and (max-width: 991px) {
	.ow-insights-grid {
				grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.ow-insights-grid {
				grid-template-columns: 1fr;
	}
	
	.ow-directory-strip-inner {
				flex-direction: column;
				align-items: flex-start;
	}
	
	.ow-directory-strip-desc {
				margin-bottom: 18px;
	}
}
