/* Featured Article Widget — frontend. */

/* --------------------------------------------------------------------------
   Shared. Applies to both the jannah-native markup (.post-widget-body) and the
   fallback markup (.faw-article). Centring the container rather than the anchor
   works whether the theme renders the title as inline or block.
   -------------------------------------------------------------------------- */

.faw-featured-article-widget .post-widget-body,
.faw-featured-article-widget .faw-article {
	text-align: center;
}

/* --------------------------------------------------------------------------
   Fallback layout, for themes other than jannah. Under jannah the widget emits
   the theme's own markup and inherits the theme's styling wholesale, so none of
   the rules below match anything.
   -------------------------------------------------------------------------- */

.faw-featured-article-widget .faw-thumb-link {
	display: block;
	margin-bottom: 10px;
	line-height: 0;
}

.faw-featured-article-widget .faw-thumb {
	display: block;
	width: 100%;
	height: auto;
}

.faw-featured-article-widget .faw-title {
	display: block;
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.faw-featured-article-widget .faw-title:hover,
.faw-featured-article-widget .faw-title:focus {
	text-decoration: underline;
}
