/*
 Theme Name:   Aaron Traffas 2024 child
 Theme URI:    https://aarontraffas.com
 Description:  A lightweight child theme for Twenty Twenty-Four
 Author:       Aaron Traffas
 Template:     twentytwentyfour
 Version:      1.0.0
*/



/*/2026 update to constrain align/float images within container/*

/* 1. Force the post content to act like a traditional container */
.wp-block-post-content.is-layout-constrained {
    display: block !important;
    max-width: 620px !important; /* Forces the 620px wall you set in the editor */
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
}

/* 2. Fix the Image Float behavior */
.wp-block-post-content.is-layout-constrained .alignright,
.wp-block-post-content.is-layout-constrained figure.alignright {
    float: right !important;
    margin-left: 20px !important;
    margin-bottom: 15px !important;
    margin-right: 0 !important;
    max-width: 45% !important; /* Ensures text has room to wrap */
}

/* 3. The 'Clearfix' - This is the most important part */
/* It forces the white box to expand to the bottom of the family photo */
.wp-block-post-content.is-layout-constrained::after {
    content: "";
    display: table !important;
    clear: both !important;
}




/* stuff from previous Reverie theme */
h1, h2, h3, h4, h5, h6 {
	font-family: "Patrick Hand", cursive, "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
}

h4 label {
	padding: 0;
	margin: 0;
	background: lightgray;
	color: black;
	font-weight: bold;
	font-size: 1rem;
}

a {
	font-weight: 700;
}

a, a:link, a:active, #sidebar .panel a, #sidebar .panel a:active {
	color: #0019ba;
}

a:hover, #sidebar .panel a:hover {
	color: #000;
}

p.entry-tags a, 
span.categories a, 
p.entry-tags a:link,
p.entry-tags a:active {
	font-weight: bold;
	color: #999;
}

p.entry-tags a:hover, span.categories a:hover {
	color: #444;
}

body {
	color: #000000;
	background: #fff;
	font-family: "Ubuntu", "Verdana", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
}

blockquote.pullquote p {
	font-size: 1.1rem;
	line-height: 1.4em;
}
img.flickr_photo {
	border: 0;
	margin: 0;
	padding: 0;
}

.tubepress_sidebar .tubepress_thumb img {
	width: 300px !important;
	height: auto !important;
}
figure.figure figcaption {
	margin-bottom: 0;
}

figure.alignright.figure, figure.alignleft.figure {
	margin-bottom: 0;
	margin-top: .5rem;
}

div.logo-block {
	float: right;
}

img.grofile-thumbnail {
	float: left;
	width: 100px;
}

div.grofile-met {
	display: inline;
}
div.gallery-row {
	width: 100% !important;
}

span.tagline {
	font-size: .8em;
	text-transform: lowercase;
	color: grey;
	margin: 1rem auto;
}

span.at-meta {
	color: #999;
}



div.textwidget p {
	margin: 0;
	padding: 0;
}

div.qflickr-title {
	line-height: 1.3em;
	color: grey;
}

figure.figure img.size-full {
	width: 100% !important;
}

div.gallery dl.gallery-item {
	padding: 0;
	margin: 0;
}

code {
	color: black;
}

div.logo-badge {
	max-width: 444px;
	padding-bottom: 1.5rem;
	text-align: center;
}

div#content div.logo-badge {
	float: right;
	text-align: left;
}

div#content div.logo-badge-left {
	padding-left: 0;
	text-align: center;
}

div.title {
	padding-left: 0;
}

header.contain-to-grid {
	margin-bottom: 0;
}

video {
	width: 100% !important;
	height: auto !important;
}

.embed-youtube {
	position: relative;
	padding-bottom: 56.25%;
/* 16:9 */
	padding-top: 25px;
	height: 0;
}

.embed-youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

div.alignnone img,
figure.alignnone img,
img.alignnone{
height:auto;
width: 100% !important;
}
div.entry-content h3{font-size:1.2rem;margin-bottom:.2rem;}
div#content article header h2{font-size:1.5rem;}

.flex-video  {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
	 margin-bottom:1em;
}
.flex-video iframe, .flex-video object, .flex-video embed,  {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}