
.wporg-directory {
	padding: 28px 0 72px;
}

.wporg-directory-head h1 {
	margin: 0;
	color: #1d2327;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.wporg-directory-head p {
	margin: 6px 0 0;
	color: #50575e;
	font-size: 15px;
}

.wporg-directory-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.wporg-directory-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 2px;
}

.wporg-directory-actions > a {
	color: #3858e9;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.wporg-directory-actions > a:hover {
	color: #233cc2;
	text-decoration: underline;
}

.wporg-directory-actions .wporg-submit-theme {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid #0e9a9a;
	border-radius: 3px;
	background: #0e9a9a;
	color: #fff;
	text-decoration: none;
}

.wporg-directory-actions .wporg-submit-theme:hover {
	border-color: #087e7e;
	background: #087e7e;
	color: #fff;
	text-decoration: none;
}

.wporg-pricing-buttons {
	display: flex;
	gap: 8px;
	margin: 20px 0 18px;
}

.wporg-pricing-buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 76px;
	padding: 8px 13px;
	border: 1px solid #3858e9;
	border-radius: 3px;
	background: #fff;
	color: #3858e9;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.wporg-pricing-buttons a:hover,
.wporg-pricing-buttons a.is-active {
	background: #3858e9;
	color: #fff;
}

.wporg-letters {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 22px 0 28px;
}

.wporg-letters a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 6px;
	border-radius: 2px;
	color: #3858e9;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.wporg-letters a:hover,
.wporg-letters a.is-active {
	background: #3858e9;
	color: #fff;
	text-decoration: none;
}

.wporg-theme-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}

.wporg-theme-card {
	display: block;
	overflow: hidden;
	border: 1px solid #dcdcde;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	color: #1d2327;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wporg-theme-card:hover,
.wporg-theme-card:focus-within {
	border-color: #3858e9;
	box-shadow: 0 10px 28px rgba(56, 88, 233, 0.16);
	color: #1d2327;
	text-decoration: none;
	transform: translateY(-3px);
}

.wporg-theme-shot:focus-visible,
.wporg-theme-detail:focus-visible {
	outline: 3px solid #3858e9;
	outline-offset: 3px;
}

.wporg-theme-shot {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0f0f1;
}

.wporg-theme-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.wporg-theme-shot.is-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(#dcdcde, #dcdcde) 0 0 / 100% 28px no-repeat,
		linear-gradient(160deg, #f6f7f7, #e7e8ea);
}

.wporg-theme-shot.is-empty span {
	padding: 36px 16px 0;
	color: #1d2327;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-align: center;
}

.wporg-theme-actions {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(29, 35, 39, 0.45);
	opacity: 0;
	transition: opacity 0.15s ease;
}

.wporg-theme-card:hover .wporg-theme-actions,
.wporg-theme-card:focus-within .wporg-theme-actions {
	opacity: 1;
}

.wporg-theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	height: 40px;
	padding: 0 16px;
	border-radius: 2px;
	background: #3858e9;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.wporg-theme-name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	overflow: hidden;
	border-top: 1px solid #dcdcde;
	background: #fff;
	color: #1d2327;
	line-height: 1.3;
}

.wporg-theme-name h2 {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wporg-theme-detail {
	flex: 0 0 auto;
	border: 1px solid #3858e9;
	border-radius: 2px;
	padding: 7px 9px;
	color: #3858e9;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.wporg-theme-detail:hover {
	background: #3858e9;
	color: #fff;
	text-decoration: none;
}

.wporg-pages {
	margin-top: 36px;
}

.wporg-pages ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wporg-pages li {
	margin: 0;
}

.wporg-pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	background: #fff;
	color: #3858e9;
	font-weight: 600;
	text-decoration: none;
}

.wporg-pages a.page-numbers:hover,
.wporg-pages .page-numbers.current {
	background: #3858e9;
	color: #fff;
	text-decoration: none;
}

.wporg-empty {
	margin: 12px 0 0;
	color: #50575e;
	font-size: 16px;
}

@media (max-width: 991px) {
	.wporg-theme-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.wporg-theme-grid {
		grid-template-columns: 1fr;
	}
}


.blog-classic-top h2 a {
	color: inherit;
	text-decoration: none;
}

.wporg-single {
	padding: 8px 0 64px;
}

.wporg-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px 40px;
	align-items: start;
}

.wporg-single-head,
.wporg-hero-shot,
.wporg-single-copy,
.wporg-single-comments {
	grid-column: 1;
}

.wporg-single-side {
	grid-column: 2;
	grid-row: 1 / span 4;
	position: sticky;
	top: 96px;
}

.wporg-single-head h1 {
	margin: 0;
	color: #1d2327;
	font-size: 40px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.wporg-single-head p {
	margin: 8px 0 0;
	color: #50575e;
	font-size: 15px;
}

.wporg-hero-shot {
	margin: 0;
	padding: 6px;
	overflow: hidden;
	border: 1px solid #cbd8e5;
	background: #fff;
}

.wporg-hero-shot img {
	display: block;
	width: 100%;
	height: min(405px, 42vw);
	object-fit: cover;
	object-position: top center;
}

.wporg-hero-shot span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	color: #1d2327;
	font-size: 28px;
	font-weight: 600;
}

.wporg-side-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: 1px solid #dcdcde;
	background: #fff;
	box-shadow: 0 8px 24px rgba(29, 35, 39, 0.06);
}

.wporg-preview,
.wporg-download,
.wporg-download.is-unavailable {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 2px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.wporg-release-notes {
	margin: 24px 0;
	padding: 20px 22px;
	border-left: 4px solid #3858e9;
	background: #f3f5ff;
}

.wporg-release-notes h2 {
	margin: 0 0 8px;
	color: #1d2327;
	font-size: 19px;
	font-weight: 700;
}

.wporg-release-notes p {
	margin: 0;
	color: #3c434a;
}

.wporg-preview {
	border: 1px solid #0e9a9a;
	background: #fff;
	color: #087f80;
}

.wporg-preview:hover {
	background: #eefafa;
	color: #075f64;
	text-decoration: none;
}

.wporg-download {
	background: #0e9a9a;
	color: #fff;
}

.wporg-download:hover {
	background: #087f80;
	color: #fff;
	text-decoration: none;
}

.wporg-download.is-unavailable {
	background: #f0f0f1;
	color: #50575e;
}

.wporg-facts {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #dcdcde;
}

.wporg-facts li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #dcdcde;
	color: #1d2327;
	font-size: 14px;
}

.wporg-facts span {
	color: #50575e;
}

.wporg-facts strong {
	font-weight: 600;
	text-align: right;
}

.wporg-browse {
	color: #087f80;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.wporg-browse:hover {
	text-decoration: underline;
}

.wporg-side-tags {
	padding-top: 4px;
	border-top: 1px solid #dcdcde;
}

.wporg-side-tags > span {
	display: block;
	margin: 8px 0 7px;
	color: #50575e;
	font-size: 14px;
}

.wporg-side-tags div {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.wporg-side-tags em {
	padding: 3px 7px;
	border: 1px solid #dcdcde;
	border-radius: 2px;
	color: #52657a;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
}

.wporg-license-card {
	margin: 0;
	padding: 10px 11px;
	border-left: 3px solid #0e9a9a;
	background: #f6f7f7;
	color: #3c434a;
	font-size: 12px;
	line-height: 1.5;
}

.wporg-changelog-jump {
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
	margin-left: 4px;
	border-radius: 50%;
	background: #0e9a9a;
	color: #fff;
	font-size: 11px;
	line-height: 1;
	text-decoration: none;
}

.wporg-single-copy {
	color: #1d2327;
	font-size: 17px;
	line-height: 1.65;
}

.wporg-theme-accordions {
	margin-bottom: 30px;
}

.wporg-theme-panel {
	margin: 0 0 10px;
	scroll-margin-top: 110px;
}

.wporg-theme-panel details {
	margin: 0;
	border: 1px solid #d6e7e9;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.wporg-theme-panel summary {
	position: relative;
	padding: 15px 46px 15px 17px;
	cursor: pointer;
	color: #142033;
	font-weight: 600;
	list-style: none;
}

.wporg-theme-panel summary::-webkit-details-marker { display: none; }

.wporg-theme-panel summary::after {
	position: absolute;
	top: 50%;
	right: 18px;
	color: #087f80;
	content: "+";
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}

.wporg-theme-panel details[open] > summary {
	border-bottom: 1px solid #dcebed;
	background: #f2fbfb;
}

.wporg-theme-panel details[open] > summary::after { content: "−"; }

.wporg-accordion-content {
	padding: 4px 17px 18px;
}


.wporg-accordion-content > :first-child {
	margin-top: 12px;
}

.wporg-accordion-content p {
	margin: 10px 0 0;
	color: #50575e;
}

.wporg-accordion-content details {
	margin-top: 10px;
	border-color: #e0e9ed;
}

.wporg-accordion-content details summary {
	padding: 11px 38px 11px 13px;
	font-size: 14px;
}

.wporg-accordion-content details summary::after {
	right: 13px;
	font-size: 18px;
}

.wporg-release-notes {
	scroll-margin-top: 110px;
}

.wporg-similar-themes {
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid #dcdcde;
}

.wporg-similar-themes > h2 {
	margin: 0 0 16px;
	font-size: 24px;
}

.wporg-similar-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.wporg-single-copy h2,
.wporg-single-copy h3 {
	margin: 1.4em 0 0.5em;
	color: #1d2327;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.wporg-single-copy img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 991px) {
	.wporg-single-layout {
		grid-template-columns: 1fr;
	}

	.wporg-single-head,
	.wporg-hero-shot,
	.wporg-single-side,
	.wporg-single-copy,
	.wporg-single-comments {
		grid-column: 1;
		grid-row: auto;
	}

	.wporg-single-side {
		position: static;
	}
	.wporg-similar-grid {
		grid-template-columns: 1fr;
	}
}


.wporg-letters a.is-empty {
	color: #c5d0d6;
}

.wporg-theme-name .wporg-gpl {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 6px;
	border-radius: 999px;
	background: #e7f7f6;
	color: #0b7a80;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	vertical-align: middle;
}


.wporg-license-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #e7f7f6;
	color: #0b5f63;
	font-size: 15px;
	font-weight: 700;
}

.wporg-load-more {
	display: block;
	margin: 36px auto 0;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: #142033;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.wporg-load-more:hover,
.wporg-load-more:focus {
	background: #0e9a9a;
	color: #fff;
}

.wporg-load-more:disabled {
	cursor: progress;
	opacity: 0.85;
}

.wporg-load-more[hidden] {
	display: none;
}

@media (max-width: 640px) {
	.wporg-directory-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.wporg-directory-actions {
		margin-bottom: 0;
	}
}
