/*
Theme Name: Twenty Twelve Child
Theme URI: https://example.com/twentytwelve-child
Description: Child theme Twenty Twelve tanpa sidebar (konten full width) dan dengan search bar di header.
Author: Your Name
Author URI: https://example.com
Template: twentytwelve
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: child-theme, one-column, no-sidebar, full-width, search
Text Domain: twentytwelve-child
*/

/* =Header search
-------------------------------------------------------------- */

.header-search {
	margin-top: 24px;
	margin-top: 1.714285714rem;
}

.header-search .search-form {
	display: flex;
	align-items: stretch;
}

.header-search .search-form-label {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.header-search .search-field,
.header-search .search-submit {
	margin: 0;
}

.header-search .search-field {
	box-sizing: border-box;
	width: 100%;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.header-search .search-submit {
	flex: 0 0 auto;
	border-left: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* =Share buttons
-------------------------------------------------------------- */

.post-share {
	margin-top: 2.571428571rem;
}

.post-share .post-share-title {
	margin: 0 0 0.642857143rem;
	font-size: 0.928571429rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tt-muted, #757575);
}

.post-share .post-share-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.428571429rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-share .post-share-list li {
	margin: 0;
}

.post-share .post-share-link {
	display: inline-flex;
	align-items: center;
	gap: 0.428571429rem;
	box-sizing: border-box;
	min-height: 2.285714286rem;
	margin: 0;
	padding: 0.357142857rem 0.5rem;
	border: 1px solid var(--tt-border, #cccccc);
	border-radius: 3px;
	background-image: none;
	background-color: transparent;
	box-shadow: none;
	color: var(--tt-text, #464646);
	font-size: 0.928571429rem;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.post-share .post-share-link:visited {
	color: var(--tt-text, #464646);
}

.post-share .post-share-link:hover,
.post-share .post-share-link:focus,
.post-share .post-share-link.is-copied {
	background-image: none;
	background-color: var(--tt-accent, #21759b);
	border-color: var(--tt-accent, #21759b);
	color: var(--tt-button-text, #ffffff);
	text-decoration: none;
}

.post-share .post-share-text {
	font-size: 0.928571429rem;
}

.post-share-icon {
	display: block;
	flex: 0 0 auto;
}

/* =No sidebar / full width
-------------------------------------------------------------- */

@media screen and (min-width: 600px) {
	/* Title and search bar side by side. */
	.header-branding {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 24px;
	}

	.header-branding hgroup {
		flex: 1 1 auto;
		min-width: 0;
	}

	/* Drops below the title when the container is too narrow for both. */
	.header-search {
		flex: 0 0 240px;
		margin-top: 0;
	}

	/* Content always spans the whole wrapper, sidebar.php renders nothing. */
	.site-content {
		float: none;
		width: 100%;
	}
}
