/* Bond Affair: sitewide style (posts, pages, archives, header, footer) */
:root {
	--ba-ink: #1d1a4a;
	--ba-rasp: #ff5f7e;
	--ba-rasp-text: #c2264f;
	--ba-gold: #ffb547;
	--ba-lilac: #f4f1ff;
	--ba-line: #e3ddf5;
	--ba-text: #26233f;
	--ba-muted: #5f5b7a;
	--ba-head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
	--ba-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: var(--ba-body);
}
body {
	background-color: var(--ba-lilac);
	color: var(--ba-text);
}
.site,
.site-content {
	background-color: transparent;
}

/* Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid var(--ba-gold);
	outline-offset: 3px;
}

/* Header and navigation */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--ba-line);
}
.site-header .main-title {
	margin: 0;
}
.main-title a,
.main-title a:hover {
	font-family: var(--ba-head);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--ba-ink);
}
.site-description {
	color: var(--ba-muted);
}
.main-navigation,
.main-navigation ul ul {
	background: transparent;
}
.main-navigation .main-nav ul li a {
	font-family: var(--ba-body);
	font-weight: 600;
	color: var(--ba-ink);
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background: transparent;
	color: var(--ba-rasp-text);
}
.main-navigation ul ul {
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(29, 26, 74, 0.12);
	overflow: hidden;
}
.main-navigation .main-nav ul ul li a {
	font-weight: 500;
}
.main-navigation .menu-toggle {
	color: var(--ba-ink);
}

/* Content container */
.separate-containers .site-main > * {
	margin-bottom: 24px;
}
body.single .site-main,
body.page .site-main {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

/* Single posts and pages */
body.single .site-main .inside-article,
body.page .site-main .inside-article {
	padding: 40px 44px 44px;
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: 24px;
}
.entry-title,
.page-title {
	font-family: var(--ba-head);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.12;
	color: var(--ba-ink);
}
body.single .entry-title,
body.page .entry-title {
	font-size: clamp(30px, 4.4vw, 44px);
}
.entry-title a {
	color: var(--ba-ink);
	text-decoration: none;
}
.entry-title a:hover {
	color: var(--ba-rasp-text);
}
.entry-meta,
.entry-meta a {
	font-size: 14px;
	color: var(--ba-muted);
}
.entry-meta a:hover {
	color: var(--ba-rasp-text);
}
.featured-image img,
.post-image img {
	border-radius: 16px;
}
body.single .featured-image {
	margin-bottom: 26px;
}

.entry-content {
	font-size: 18px;
	line-height: 1.75;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--ba-head);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.2;
	color: var(--ba-ink);
}
.entry-content h2 {
	margin-top: 2em;
	font-size: clamp(25px, 3vw, 32px);
}
.entry-content h3 {
	margin-top: 1.6em;
	font-size: clamp(21px, 2.4vw, 25px);
}
.entry-content a {
	color: var(--ba-rasp-text);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
.entry-content a:hover {
	color: var(--ba-ink);
}
.entry-content img {
	border-radius: 12px;
}
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 14px 22px;
	border-left: 4px solid var(--ba-rasp);
	background: var(--ba-lilac);
	border-radius: 0 12px 12px 0;
	font-style: normal;
	color: var(--ba-ink);
}
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.5em;
}
.entry-content li {
	margin-bottom: 0.4em;
}
.entry-content table {
	display: block;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 16px;
}
.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--ba-line);
}
.entry-content th {
	background: var(--ba-lilac);
	color: var(--ba-ink);
	font-weight: 700;
}
.entry-content hr {
	height: 1px;
	border: 0;
	background: var(--ba-line);
}

/* Category tags at the end of a post */
.entry-footer .cat-links a,
.entry-footer .tags-links a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ba-lilac);
	border: 1px solid var(--ba-line);
	font-size: 14px;
	font-weight: 500;
	color: var(--ba-ink);
	text-decoration: none;
}
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:hover {
	background: var(--ba-ink);
	border-color: var(--ba-ink);
	color: #fff;
}
.entry-footer .gp-icon {
	display: none;
}

/* Archive, category and search pages */
body.archive .site-main,
body.search .site-main,
body.blog .site-main {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	align-items: stretch;
}
body.archive .site-main > *,
body.search .site-main > *,
body.blog .site-main > * {
	margin-bottom: 0;
}
body.archive .page-header,
body.search .page-header,
body.archive .paging-navigation,
body.search .paging-navigation,
body.blog .paging-navigation,
body.archive .site-main > .navigation,
body.search .site-main > .navigation {
	grid-column: 1 / -1;
}
body.archive .page-header,
body.search .page-header {
	padding: 36px 40px;
	background: var(--ba-ink);
	border: 0;
	border-radius: 24px;
	color: #d9d5f5;
}
body.archive .page-title,
body.search .page-title {
	margin: 0;
	font-size: clamp(28px, 4vw, 42px);
	color: #fff;
}
.taxonomy-description,
.taxonomy-description p {
	margin: 10px 0 0;
	font-size: 18px;
	color: #d9d5f5;
}

body.archive .site-main .inside-article,
body.search .site-main .inside-article,
body.blog .site-main .inside-article {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: 20px;
	overflow: hidden;
}
body.archive .post-image,
body.search .post-image,
body.blog .post-image {
	order: -1;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ba-line);
}
body.archive .post-image a,
body.search .post-image a,
body.blog .post-image a {
	display: block;
	height: 100%;
}
body.archive .post-image img,
body.search .post-image img,
body.blog .post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
body.archive .entry-header,
body.search .entry-header,
body.blog .entry-header {
	padding: 20px 22px 0;
}
body.archive .entry-title,
body.search .entry-title,
body.blog .entry-title {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.22;
	letter-spacing: -0.01em;
}
body.archive .entry-summary,
body.search .entry-summary,
body.blog .entry-summary {
	flex: 1;
	padding: 6px 22px 22px;
	color: var(--ba-muted);
	font-size: 16px;
	line-height: 1.6;
}
body.archive .entry-summary p,
body.search .entry-summary p,
body.blog .entry-summary p {
	margin: 0;
}
body.archive .read-more,
body.search .read-more,
body.blog .read-more {
	color: var(--ba-rasp-text);
	font-weight: 700;
}

/* Pagination */
.paging-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--ba-line);
	font-weight: 600;
	color: var(--ba-ink);
	text-align: center;
	text-decoration: none;
}
.page-numbers.current,
a.page-numbers:hover {
	background: var(--ba-ink);
	border-color: var(--ba-ink);
	color: #fff;
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
	color: var(--ba-ink);
	font-weight: 600;
}

/* Sidebar widgets, forms and buttons */
.sidebar .widget,
.footer-widgets .widget {
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: 16px;
}
.widget-title {
	font-family: var(--ba-head);
	font-weight: 800;
	color: var(--ba-ink);
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	border: 1px solid var(--ba-line);
	border-radius: 10px;
	background: #fff;
	color: var(--ba-text);
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button {
	border-radius: 10px;
	background: var(--ba-ink);
	color: #fff;
	font-weight: 700;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover {
	background: var(--ba-rasp-text);
	color: #fff;
}
.comments-area .comments-title,
.comment-reply-title {
	font-family: var(--ba-head);
	font-weight: 800;
	color: var(--ba-ink);
}


/* Sidebar "about the author" widget */
.ba-side-author {
	text-align: center;
}
.ba-side-author__photo img,
.ba-side-author__ph {
	display: block;
	width: 210px;
	height: 210px;
	max-width: 100%;
	margin: 0 auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 22%;
	border-radius: 50%;
	border: 5px solid #fff;
	box-shadow: 0 0 0 2px var(--ba-rasp), 0 10px 26px rgba(29, 26, 74, 0.18);
}
.ba-side-author__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ba-ink);
	font-family: var(--ba-head);
	font-size: 72px;
	font-weight: 800;
	color: var(--ba-gold);
}
.ba-side-author__title {
	margin: 22px 0 6px;
	font-family: "Dancing Script", "Brush Script MT", cursive;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--ba-ink);
}
.ba-side-author__line {
	width: 72px;
	height: 3px;
	margin: 0 auto 16px;
	border: 0;
	border-radius: 3px;
	background: var(--ba-rasp);
}
.ba-side-author p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ba-muted);
}
.ba-side-author p {
	text-align: left;
}
.ba-side-author p:last-child {
	margin-bottom: 0;
}

/* Author box */
.ba-author {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 44px 0 0;
	padding: 28px 30px;
	background: var(--ba-lilac);
	border: 1px solid var(--ba-line);
	border-radius: 20px;
}
.ba-author__photo {
	flex: 0 0 132px;
}
.ba-author__img,
.ba-author__photo img {
	display: block;
	width: 132px;
	height: 132px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0 6px 18px rgba(29, 26, 74, 0.14);
}
.ba-author__initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	border: 4px solid #fff;
	background: var(--ba-ink);
	box-shadow: 0 6px 18px rgba(29, 26, 74, 0.14);
	font-family: var(--ba-head);
	font-size: 44px;
	font-weight: 800;
	color: var(--ba-gold);
}
.ba-author__body {
	flex: 1;
	min-width: 0;
}
.ba-author__hello {
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ba-rasp-text);
}
.ba-author__name {
	margin: 0 0 8px;
	font-family: var(--ba-head);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ba-ink);
}
.ba-author__bio {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ba-muted);
}
.ba-author__link {
	font-weight: 700;
	font-size: 15px;
	color: var(--ba-ink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.ba-author__link:hover {
	color: var(--ba-rasp-text);
}

@media (max-width: 600px) {
	.ba-author {
		flex-direction: column;
		padding: 24px 20px;
		text-align: center;
	}
	.ba-author__photo {
		flex-basis: auto;
	}
}

/* Responsive */
@media (max-width: 768px) {
	body.single .site-main .inside-article,
	body.page .site-main .inside-article {
		padding: 24px 20px 28px;
		border-radius: 18px;
	}
	.entry-content {
		font-size: 17px;
	}
	body.archive .site-main,
	body.search .site-main,
	body.blog .site-main {
		grid-template-columns: 1fr;
	}
	body.archive .page-header,
	body.search .page-header {
		padding: 26px 22px;
	}
}
