/*
 * Book of Slots — supplemental styles
 * --------------------------------------------------------------
 * Styles ONLY the WordPress-specific markup that has no rule in the
 * original template stylesheet (css/style.min.css):
 *   - single blog post layout (.post-page__*)
 *   - generic page wrapper top-spacing (.page-content)
 *   - post sidebar widgets (.widget / .aside-post)
 *   - blog/page comments (.bos-comments / .bos-comment-form)
 *   - WordPress core content (.entry-content, alignments, captions)
 * Palette mirrors the template: bg #0b112a, accent #f90 / #ffbf60,
 * panels rgba(20,38,102,.25), muted #8289a4, font Montserrat.
 * -------------------------------------------------------------- */

/* ---------- WordPress core alignment & media ---------- */
.entry-content .alignleft,
.wp-caption.alignleft { float: left; margin: 6px 24px 12px 0; max-width: 100%; }
.entry-content .alignright,
.wp-caption.alignright { float: right; margin: 6px 0 12px 24px; max-width: 100%; }
.entry-content .aligncenter,
.wp-caption.aligncenter { display: block; margin: 18px auto; }
.entry-content img,
.wp-caption img { max-width: 100%; height: auto; border-radius: 6px; }
.wp-caption-text,
.entry-content .wp-caption-text { font-size: 13px; color: #8289a4; margin-top: 6px; text-align: center; }
.entry-content figure { margin: 0 0 24px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	position: absolute !important; word-wrap: normal !important;
}

/* ---------- WordPress content typography ---------- */
.entry-content { color: #fff; line-height: 26px; }
.entry-content > * { margin-bottom: 18px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 26px; font-weight: 700; margin: 28px 0 14px; }
.entry-content h3 { font-size: 21px; font-weight: 600; margin: 24px 0 12px; }
.entry-content h4 { font-size: 18px; font-weight: 600; margin: 20px 0 10px; }
.entry-content a { color: #ffbf60; text-decoration: underline; }
.entry-content a:hover { color: #f90; }
.entry-content ul,
.entry-content ol { padding-left: 22px; margin-bottom: 18px; }
.entry-content ul li { list-style: disc; margin-bottom: 8px; }
.entry-content ol li { list-style: decimal; margin-bottom: 8px; }
.entry-content blockquote {
	border-left: 3px solid #f90; padding: 8px 0 8px 20px; margin: 22px 0;
	color: #d1d5e9; font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.entry-content th,
.entry-content td { border: 1px solid rgba(255,255,255,.15); padding: 10px 12px; text-align: left; }
.entry-content code,
.entry-content pre {
	background: rgba(255,255,255,.07); border-radius: 6px;
	font-family: monospace; font-size: 14px;
}
.entry-content code { padding: 2px 6px; }
.entry-content pre { padding: 16px; overflow-x: auto; }
.page-links { margin-top: 22px; font-weight: 600; }
.page-links a,
.page-links > span { padding: 4px 11px; border-radius: 6px; margin-right: 6px; }
.page-links a { background: rgba(255,255,255,.1); color: #fff; }
.page-links > span { background: #f90; color: #fff; }

/* ---------- Generic page wrapper (page.php) ---------- */
/* .top__page strip is position:absolute, so clear it like styled inner pages. */
.page-content { position: relative; z-index: 5; padding: 162px 0 80px; }

/* Fallback archive/search blog (index.php) has no .slots-month above it,
   so it needs the same top clearance as other inner pages. */
.blog--archive { padding-top: 162px; }

/* ---------- Single post layout (single.php) ---------- */
.post-page { position: relative; z-index: 5; padding: 162px 0 80px; }
.post-page__layout {
	display: flex; align-items: flex-start; gap: 30px;
}
.post-page__main {
	flex: 1 1 auto; min-width: 0; max-width: 820px;
	background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 100%), rgba(20,38,102,.25);
	border-radius: 12px; padding: 34px 38px; box-sizing: border-box;
}
.post-page__head { margin-bottom: 22px; }
.post-page__title { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.post-page__meta {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 12px; color: #8289a4; font-size: 14px;
}
.post-page__share { display: flex; align-items: center; gap: 10px; }
.post-page__share img { width: 28px; height: 28px; }
.post-page__img { margin: 0 0 26px; }
.post-page__img img { width: 100%; height: auto; border-radius: 10px; display: block; }
.post-page__content { margin-bottom: 26px; }
.post-page__footer { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.post-page__terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.post-page__terms p { color: #8289a4; font-weight: 600; margin: 0; }
.post-page__terms a { color: #ffbf60; }
.post-page__terms a:hover { color: #f90; }

/* ---------- Post sidebar (single.php aside) ---------- */
.post-page__aside { flex: 0 0 320px; width: 320px; }
.post-page__aside .widget,
.widget {
	background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 100%), rgba(20,38,102,.25);
	border-radius: 12px; padding: 24px 22px; margin-bottom: 24px;
}
.widget-title,
.widget .widget-title,
.widget .widgettitle {
	font-size: 18px; font-weight: 700; text-transform: capitalize;
	margin-bottom: 18px; padding-bottom: 12px;
	border-bottom: 2px solid #f90;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { margin-bottom: 12px; line-height: 22px; }
.widget ul li a { color: #fff; }
.widget ul li a:hover { color: #ffbf60; }
.aside-post { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.aside-post:last-child { border-bottom: 0; }
.aside-post a p { font-size: 15px; font-weight: 600; line-height: 21px; margin: 0 0 6px; color: #fff; transition: color .2s; }
.aside-post a:hover p { color: #ffbf60; }
.aside-post__date { font-size: 13px; color: #8289a4; margin: 0; }

/* search widget / 404 search wrapper */
.widget .search,
.page__404-search { margin: 0 auto; }
.page__404-search { margin: 24px auto 0; max-width: 388px; }

/* ---------- Comments (posts & pages) ---------- */
.bos-comments {
	margin-top: 36px; padding-top: 28px;
	border-top: 1px solid rgba(255,255,255,.12);
}
.bos-comments__title { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.bos-comments__list { list-style: none; margin: 0 0 28px; padding: 0; }
.bos-comments__list .comment { margin-bottom: 18px; }
.bos-comments__list .children { list-style: none; margin: 18px 0 0 40px; padding: 0; }
.bos-comments__list .comment-body {
	background: rgba(255,255,255,.04); border-radius: 10px; padding: 18px 20px;
}
.bos-comments__list .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bos-comments__list .comment-author .avatar { border-radius: 50%; }
.bos-comments__list .comment-author .fn { font-weight: 600; font-style: normal; color: #fff; }
.bos-comments__list .comment-meta { font-size: 13px; color: #8289a4; margin-bottom: 10px; }
.bos-comments__list .comment-meta a { color: #8289a4; }
.bos-comments__list .comment-content { color: #d1d5e9; }
.bos-comments__list .reply { margin-top: 10px; }
.bos-comments__list .reply a { color: #ffbf60; font-weight: 600; font-size: 14px; }
.bos-comments__closed { color: #8289a4; margin-bottom: 18px; }

.bos-comment-form,
.comment-respond { margin-top: 8px; }
.bos-comment-form__title,
.comment-reply-title { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; color: #8289a4; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; box-sizing: border-box; background: rgba(255,255,255,.5);
	border: 1px solid rgba(255,255,255,.4); border-radius: 6px; color: #000;
	font-family: "Montserrat", sans-serif; font-size: 14px; padding: 11px 14px; outline: 0;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-submit { margin-top: 6px; }
.comment-form .submit {
	cursor: pointer; border: 1px solid #f90; background-color: #f90; color: #fff;
	border-radius: 10px; text-transform: capitalize; padding: 10px 32px;
	font-family: "Montserrat", sans-serif; font-weight: 600;
}
.comment-form .submit:hover { background-color: #ffbf60; border-color: #ffbf60; }
.comment-form .comment-notes,
.comment-form .logged-in-as { font-size: 13px; color: #8289a4; margin-bottom: 14px; }

/* shared empty-state */
.bos-empty { color: #8289a4; text-align: center; padding: 24px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.post-page__layout { flex-direction: column; }
	.post-page__aside { flex-basis: auto; width: 100%; }
	.post-page__main { max-width: none; }
}
@media (max-width: 575px) {
	.post-page,
	.page-content,
	.blog--archive { padding-top: 140px; }
	.post-page__main { padding: 24px 18px; }
	.post-page__title { font-size: 25px; }
}
