/*
Theme Name: DannyCarlton Blog
Theme URI: https://dannycarlton.org/
Author: Danny Carlton
Author URI: https://dannycarlton.org/
Description: Blog theme matching the DannyCarlton.org ministry-sites look and feel — red-dark scheme (#a10f2b), Roboto/Open Sans, Bootstrap 4.5, card-based post listing, dark footer. Works on ClassicPress and WordPress (classic, non-block theme).
Version: 1.0.0
Requires at least: 4.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dannycarlton-blog
Tags: blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root
	{
	--dc-primary: #a10f2b;
	--dc-primary-dark: #720b1f;
	--dc-dark: #212529;
	--dc-dark-2: #1a1d20;
	--dc-light: #f5f6f7;
	--dc-text: #333333;
	--dc-muted: #6c757d;
	--dc-border: rgba(0,0,0,0.08);
	--dc-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--dc-font-head: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	--dc-font-slab: 'Roboto Slab', Georgia, serif;
	}

/* ==========================================================================
   Base
   ========================================================================== */
html
	{
	scroll-behavior: smooth;
	}

body
	{
	font-family: var(--dc-font-body);
	color: var(--dc-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #fff;
	}

h1, h2, h3, h4, h5, h6
	{
	font-family: var(--dc-font-head);
	}

a
	{
	color: var(--dc-primary);
	text-decoration: none;
	}

a:hover,
a:focus
	{
	color: var(--dc-primary-dark);
	text-decoration: underline;
	}

/* Primary colour overrides so Bootstrap utilities read red, not blue */
.text-primary
	{
	color: var(--dc-primary) !important;
	}

.bg-primary,
.badge-primary
	{
	background-color: var(--dc-primary) !important;
	}

.bg-red-dark
	{
	background-color: var(--dc-primary) !important;
	background-image: radial-gradient(circle, var(--dc-primary), var(--dc-primary-dark));
	}

.btn-primary
	{
	background-color: var(--dc-primary);
	border-color: var(--dc-primary);
	}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active
	{
	background-color: var(--dc-primary-dark) !important;
	border-color: var(--dc-primary-dark) !important;
	box-shadow: none;
	}

.btn-outline-primary
	{
	color: var(--dc-primary);
	border-color: var(--dc-primary);
	}

.btn-outline-primary:hover
	{
	background-color: var(--dc-primary);
	border-color: var(--dc-primary);
	color: #fff;
	}

.btn-rounded
	{
	border-radius: 50px;
	}

.btn-bold
	{
	font-weight: 700;
	}

/* ==========================================================================
   Announcement banner (matches ministry-banner.js family)
   ========================================================================== */
#dc-banner
	{
	position: relative;
	z-index: 1050;
	background-color: var(--dc-primary);
	background-image: url("https://dannycarlton.org/red-leather-prestige.jpg");
	background-repeat: repeat;
	box-shadow: inset 0 8px 8px rgba(0,0,0,0.4), inset 0 -8px 8px rgba(0,0,0,0.4);
	color: #fff;
	text-align: center;
	padding: 10px 44px 10px 16px;
	font-size: 14px;
	line-height: 1.5;
	}

#dc-banner .dc-banner-tag
	{
	display: inline-block;
	background: #fff;
	color: var(--dc-primary);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: middle;
	}

#dc-banner a.dc-banner-cta
	{
	display: inline-block;
	background: #fff;
	color: var(--dc-primary);
	font-weight: 700;
	font-size: 13px;
	padding: 4px 16px;
	border-radius: 50px;
	text-decoration: none;
	white-space: nowrap;
	margin-left: 10px;
	transition: background 0.2s, transform 0.2s;
	}

#dc-banner a.dc-banner-cta:hover
	{
	background: #f0f0f0;
	transform: translateY(-1px);
	}

#dc-banner .dc-banner-close
	{
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: rgba(255,255,255,0.7);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	transition: color 0.2s;
	}

#dc-banner .dc-banner-close:hover
	{
	color: #fff;
	}

@media (max-width: 600px)
	{
	#dc-banner
		{
		font-size: 13px;
		padding: 10px 38px 10px 12px;
		}
	#dc-banner a.dc-banner-cta
		{
		margin: 6px 0 0;
		}
	}

/* ==========================================================================
   Header / navbar
   ========================================================================== */
.dc-header
	{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background-color: rgba(20,22,24,0.32);
	border-bottom: 2px solid rgba(161,15,43,0.85);
	}

.dc-header .navbar
	{
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
	}

.dc-brand
	{
	display: flex;
	align-items: center;
	color: #fff;
	}

.dc-brand:hover
	{
	color: #fff;
	text-decoration: none;
	}

.dc-brand-text
	{
	font-family: var(--dc-font-head);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	margin: 0;
	color: #fff;
	}

.dc-brand-text b
	{
	font-weight: 700;
	}

.dc-brand-text .dc-tld
	{
	font-size: 13px;
	font-weight: 700;
	display: block;
	text-align: right;
	margin-top: -6px;
	}

.dc-brand-divider
	{
	width: 1px;
	height: 28px;
	background: rgba(255,255,255,0.25);
	margin: 0 14px;
	}

.dc-brand-slogan
	{
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: #fff;
	}

.dc-nav .nav-link
	{
	color: #fff !important;
	font-family: var(--dc-font-head);
	font-weight: 700;
	text-transform: capitalize;
	}

.dc-nav .nav-link:hover,
.dc-nav .current-menu-item > .nav-link,
.dc-nav .current_page_item > .nav-link
	{
	color: rgba(255,255,255,0.7) !important;
	}

.dc-header .navbar-toggler
	{
	border-color: rgba(255,255,255,0.4);
	color: #fff;
	}

/* Header overlays the hero, so no body offset is needed.
   When a banner is present, theme.js pushes the header down by the
   banner's height (the hero sits below the banner in normal flow). */
.dc-header.dc-collapsed-open
	{
	background-color: var(--dc-dark);
	}

/* ==========================================================================
   Page hero band
   ========================================================================== */
.dc-hero
	{
	position: relative;
	background-color: var(--dc-dark);
	background-image: url("https://dannycarlton.org/1014404-bible-762841_1920.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	padding: 7rem 0 3.5rem;
	text-align: center;
	}

.dc-hero::before
	{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(rgba(15,17,19,0.80), rgba(15,17,19,0.62));
	pointer-events: none;
	}

.dc-hero > .container
	{
	position: relative;
	z-index: 1;
	}

.dc-hero-meta
	{
	opacity: 0.85;
	margin-top: 0.5rem;
	font-size: 0.9rem;
	}

.dc-hero-meta a
	{
	color: #fff;
	}

.dc-hero .dc-hero-title
	{
	font-family: var(--dc-font-head);
	font-weight: 700;
	margin: 0 0 0.5rem;
	}

.dc-hero .dc-hero-sub
	{
	font-weight: 300;
	opacity: 0.85;
	max-width: 680px;
	margin: 0 auto;
	}

.dc-hero .dc-hero-badge
	{
	display: inline-block;
	border: 1px solid rgba(255,255,255,0.4);
	border-radius: 50px;
	padding: 4px 14px;
	font-size: 0.8rem;
	margin-bottom: 1rem;
	}

.dc-hero a
	{
	color: #fff;
	}

/* ==========================================================================
   Post cards (mirrors .portfolio-card)
   ========================================================================== */
.dc-content
	{
	padding: 3rem 0;
	}

.dc-card
	{
	border: none;
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
	}

.dc-card:hover
	{
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
	}

.dc-card .dc-card-img
	{
	height: 200px;
	object-fit: cover;
	width: 100%;
	transition: opacity 0.2s ease;
	}

.dc-card:hover .dc-card-img
	{
	opacity: 0.92;
	}

.dc-card .card-title a
	{
	color: var(--dc-dark);
	transition: color 0.2s ease;
	}

.dc-card .card-title a:hover
	{
	color: var(--dc-primary);
	text-decoration: none;
	}

.dc-card .dc-meta
	{
	font-size: 0.8rem;
	color: var(--dc-muted);
	}

.dc-card .dc-meta a
	{
	color: var(--dc-muted);
	}

.dc-card .badge
	{
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.03em;
	}

.dc-card-img-placeholder
	{
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle, var(--dc-primary), var(--dc-primary-dark));
	color: rgba(255,255,255,0.85);
	font-size: 2.5rem;
	}

/* ==========================================================================
   Single post / page article
   ========================================================================== */
.dc-article
	{
	background: #fff;
	}

.dc-article .dc-article-header
	{
	margin-bottom: 1.5rem;
	}

.dc-article .entry-title
	{
	font-family: var(--dc-font-head);
	font-weight: 700;
	}

.dc-article .dc-article-meta
	{
	color: var(--dc-muted);
	font-size: 0.875rem;
	margin-bottom: 1rem;
	}

.dc-article .dc-featured
	{
	border-radius: 6px;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	}

.dc-entry-content
	{
	font-size: 1.05rem;
	line-height: 1.8;
	}

.dc-entry-content h2,
.dc-entry-content h3,
.dc-entry-content h4
	{
	font-family: var(--dc-font-slab);
	margin-top: 1.8rem;
	margin-bottom: 0.8rem;
	}

.dc-entry-content p
	{
	margin-bottom: 1.2rem;
	}

.dc-entry-content blockquote
	{
	border-left: 4px solid var(--dc-primary);
	padding: 0.5rem 0 0.5rem 1.25rem;
	margin: 1.5rem 0;
	font-family: var(--dc-font-slab);
	color: #444;
	background: var(--dc-light);
	}

.dc-entry-content img
	{
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	}

.dc-tags a
	{
	display: inline-block;
	background: var(--dc-light);
	color: var(--dc-muted);
	border-radius: 50px;
	padding: 3px 12px;
	font-size: 0.78rem;
	margin: 0 4px 6px 0;
	}

.dc-tags a:hover
	{
	background: var(--dc-primary);
	color: #fff;
	text-decoration: none;
	}

/* ==========================================================================
   Sidebar / widgets
   ========================================================================== */
.dc-sidebar .widget
	{
	margin-bottom: 2rem;
	}

.dc-sidebar .widget-title
	{
	font-family: var(--dc-font-head);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-bottom: 2px solid var(--dc-primary);
	padding-bottom: 0.4rem;
	margin-bottom: 1rem;
	}

.dc-sidebar ul
	{
	list-style: none;
	padding-left: 0;
	}

.dc-sidebar ul li
	{
	padding: 0.3rem 0;
	border-bottom: 1px solid var(--dc-border);
	}

/* ==========================================================================
   Pagination
   ========================================================================== */
.dc-content .page-numbers
	{
	display: inline-block;
	padding: 6px 14px;
	margin: 0 3px;
	border-radius: 50px;
	border: 1px solid var(--dc-border);
	color: var(--dc-primary);
	}

.dc-content .page-numbers.current
	{
	background: var(--dc-primary);
	border-color: var(--dc-primary);
	color: #fff;
	}

.dc-content a.page-numbers:hover
	{
	background: var(--dc-primary);
	border-color: var(--dc-primary);
	color: #fff;
	text-decoration: none;
	}

/* ==========================================================================
   Comments
   ========================================================================== */
.dc-comments .comment-list
	{
	list-style: none;
	padding-left: 0;
	}

.dc-comments .comment-body
	{
	padding: 1rem 0;
	border-bottom: 1px solid var(--dc-border);
	}

.dc-comments .comment-author .fn
	{
	font-weight: 700;
	}

.dc-comments .comment-metadata
	{
	font-size: 0.8rem;
	color: var(--dc-muted);
	}

.dc-comments .children
	{
	list-style: none;
	margin-left: 1.5rem;
	}

/* ==========================================================================
   Footer (mirrors main site)
   ========================================================================== */
.dc-footer
	{
	background-color: var(--dc-dark);
	color: #fff;
	padding: 2.5rem 0;
	}

.dc-footer h5,
.dc-footer h6
	{
	font-family: var(--dc-font-head);
	font-weight: 700;
	color: #fff;
	}

.dc-footer h6
	{
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
	}

.dc-footer p,
.dc-footer li
	{
	font-size: 0.875rem;
	opacity: 0.75;
	}

.dc-footer a.dc-footer-link
	{
	color: rgba(255,255,255,0.5);
	}

.dc-footer a.dc-footer-link:hover
	{
	color: var(--dc-primary);
	text-decoration: none;
	}

.dc-footer ul
	{
	list-style: none;
	padding-left: 0;
	}

.dc-footer ul li
	{
	margin-bottom: 0.25rem;
	}

.dc-footer hr
	{
	border-color: rgba(255,255,255,0.1);
	margin: 1.5rem 0;
	}

.dc-footer .dc-copyright
	{
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.5;
	margin: 0;
	}

/* ==========================================================================
   Utilities / WordPress core classes
   ========================================================================== */
.sr-only-focusable:focus
	{
	position: static;
	width: auto;
	height: auto;
	}

.wp-caption
	{
	max-width: 100%;
	}

.wp-caption-text,
.gallery-caption
	{
	font-size: 0.85rem;
	color: var(--dc-muted);
	text-align: center;
	}

.alignright
	{
	float: right;
	margin: 0 0 1rem 1.5rem;
	}

.alignleft
	{
	float: left;
	margin: 0 1.5rem 1rem 0;
	}

.aligncenter
	{
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.sticky .dc-card
	{
	box-shadow: 0 0 0 2px var(--dc-primary);
	}

.bypostauthor
	{
	display: block;
	}

.dc-light-section
	{
	background: var(--dc-light);
	}

/* ==========================================================================
   Featured latest post (blog home)
   ========================================================================== */
.dc-featured-post
	{
	padding-bottom: 2.5rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--dc-border);
	}

.dc-featured-flag
	{
	display: inline-block;
	background: var(--dc-primary);
	color: #fff;
	font-family: var(--dc-font-head);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 12px;
	border-radius: 50px;
	margin-bottom: 0.75rem;
	}

.dc-featured-title
	{
	font-family: var(--dc-font-head);
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 0.5rem;
	}

.dc-featured-title a
	{
	color: var(--dc-dark);
	}

.dc-featured-title a:hover
	{
	color: var(--dc-primary);
	text-decoration: none;
	}

.dc-featured-post .dc-featured-meta
	{
	font-size: 0.85rem;
	color: var(--dc-muted);
	}

.dc-featured-post .dc-featured-meta a
	{
	color: var(--dc-muted);
	}

.dc-featured-img
	{
	width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	}

.dc-more-heading
	{
	font-family: var(--dc-font-head);
	font-weight: 700;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--dc-muted);
	border-bottom: 2px solid var(--dc-primary);
	padding-bottom: 0.4rem;
	margin-bottom: 1.5rem;
	}


.dc-featured-img
	{
	display:none;
	}
