.about-center {
	display: grid;
	gap: 16px;
}

.about-hero {
	position: relative;
	min-height: 268px;
	overflow: hidden;
	border: 1px solid var(--home-line);
	border-radius: 14px;
	background:
		linear-gradient(90deg, #fff9ef 0%, rgb(255 249 239 / 98%) 38%, rgb(255 249 239 / 76%) 53%, rgb(255 249 239 / 5%) 75%),
		url("../images/about/about-hero.jpg") right center / auto 100% no-repeat,
		#fff9ef;
	box-shadow: var(--home-shadow);
}

.about-hero__content {
	position: relative;
	z-index: 1;
	width: 51%;
	padding: 41px 0 30px 38px;
}

.about-hero__eyebrow {
	margin: 0 0 5px;
	color: #c48a56;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.about-hero__eyebrow span,
.about-hero h1 span,
.about-panel h2 b,
.about-contact h2 b,
.about-closing span {
	color: #f3b848;
}

.about-hero h1 {
	margin: 0;
	color: #6c4a31;
	font-family: Georgia, "Noto Serif SC", serif;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.25;
}

.about-hero h1 span {
	font-size: 24px;
}

.about-hero__english {
	position: relative;
	width: max-content;
	margin: 1px 0 24px;
	color: var(--home-orange);
	font-family: "Segoe Script", "Brush Script MT", cursive;
	font-size: 21px;
	font-style: italic;
}

.about-hero__english::after {
	position: absolute;
	top: 55%;
	left: calc(100% + 12px);
	width: 48px;
	height: 1px;
	background: #efd5ac;
	content: "";
}

.about-hero blockquote {
	max-width: 275px;
	padding: 0;
	margin: 0;
	border: 0;
	color: #7a6452;
	font-family: Georgia, "Noto Serif SC", serif;
	font-size: 13px;
	font-style: normal;
	line-height: 1.8;
}

.about-intro-grid {
	display: grid;
	grid-template-columns: 224px minmax(0, 1fr);
	gap: 16px;
}

.about-profile,
.about-panel,
.about-contact {
	border: 1px solid var(--home-line);
	border-radius: 14px;
	background: var(--home-card);
	box-shadow: var(--home-shadow);
}

.about-profile {
	padding: 21px 18px 18px;
	text-align: center;
}

.about-profile > img {
	width: 112px;
	height: 112px;
	border: 5px solid #fff8ee;
	border-radius: 50%;
	box-shadow: 0 7px 18px rgb(167 112 64 / 13%);
	object-fit: cover;
}

.about-profile h2 {
	margin: 12px 0 8px;
	font-size: 22px;
}

.about-profile h2 span {
	color: #f0b44e;
	font-size: 12px;
}

.about-profile__role,
.about-profile__description {
	margin: 0;
	color: #75675c;
	font-size: 11px;
	line-height: 1.7;
}

.about-profile__description {
	margin-top: 5px;
	color: var(--home-muted);
}

.about-profile dl {
	display: grid;
	gap: 6px;
	margin: 16px 0;
}

.about-profile dl div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	padding: 0 10px;
	border-radius: 9px;
	background: #fff9f1;
	color: #74685e;
	font-size: 10px;
}

.about-profile dt,
.about-profile dd {
	margin: 0;
}

.about-profile dt {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.about-profile dt .dashicons {
	width: 14px;
	height: 14px;
	color: var(--home-orange);
	font-size: 14px;
}

.about-profile__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	height: 38px;
	border-radius: 999px;
	background: linear-gradient(135deg, #fff0d8, #ffe9bd);
	color: #e78332;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
}

.about-profile__contact:hover {
	background: linear-gradient(135deg, #ffab59, #ff9141);
	color: #fff;
}

.about-profile__contact .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.about-interests {
	display: grid;
	gap: 16px;
}

.about-panel {
	padding: 18px 20px 17px;
}

.about-panel h2,
.about-contact h2 {
	margin: 0 0 15px;
	font-size: 15px;
}

.about-panel h2 span,
.about-contact h2 span {
	color: var(--home-orange);
	font-weight: 500;
}

.about-panel h2 b,
.about-contact h2 b {
	font-size: 10px;
}

.about-icon-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.about-icon-item {
	display: grid;
	justify-items: center;
	gap: 7px;
	min-width: 0;
	color: #6e6158;
	font-size: 9px;
	text-align: center;
}

.skill-badge,
.hobby-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-style: normal;
	font-weight: 800;
}

.skill-badge--html { background: #fff0e6; color: #f36c36; }
.skill-badge--css { background: #edf4ff; color: #4d8fe8; }
.skill-badge--js { background: #fff8d8; color: #d9ad16; }
.skill-badge--vue { background: #edf8ed; color: #3d9f6c; }
.skill-badge--python { background: #f0f0ff; color: #5277c4; }
.skill-badge--git { background: #fff0ec; color: #eb6749; }

.hobby-badge {
	width: 46px;
	height: 46px;
	font-size: 23px;
}

.hobby-badge--0 { background: #fff1e7; color: #fb9257; }
.hobby-badge--1 { background: #fff6e1; color: #eaae4c; }
.hobby-badge--2 { background: #eaf9f1; color: #57bb82; }
.hobby-badge--3 { background: #fff3e5; color: #eaa94d; }
.hobby-badge--4 { background: #f4edff; color: #a568e1; }
.hobby-badge--5 { background: #fff0ed; color: #ed8371; }

.about-stats {
	padding-bottom: 20px;
}

.about-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.about-stat {
	display: grid;
	justify-items: center;
	min-height: 100px;
	padding: 13px 8px;
	border-radius: 12px;
	text-align: center;
}

.about-stat .dashicons {
	width: 25px;
	height: 25px;
	font-size: 25px;
}

.about-stat strong {
	margin-top: 2px;
	font-size: 18px;
}

.about-stat span {
	color: #786b61;
	font-size: 9px;
}

.about-stat--posts { background: #fff7eb; color: #f39a39; }
.about-stat--categories { background: #edf4ff; color: #4386dd; }
.about-stat--tags { background: #f4efff; color: #8d68cc; }
.about-stat--views { background: #fff0f7; color: #eb669b; }

.about-contact {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 245px;
	align-items: end;
	min-height: 184px;
	overflow: hidden;
	background: linear-gradient(110deg, var(--home-card) 0%, var(--home-card) 58%, #fff9ee 100%);
}

.about-contact__content {
	position: relative;
	z-index: 1;
	align-self: center;
	padding: 22px;
}

.about-contact h2 {
	margin-bottom: 7px;
}

.about-contact p {
	margin: 0 0 17px;
	color: var(--home-muted);
	font-size: 10px;
}

.about-contact > img {
	align-self: end;
	width: 100%;
	mix-blend-mode: multiply;
}

.about-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.about-socials a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid var(--home-line);
	border-radius: 999px;
	background: rgb(255 253 249 / 88%);
	color: #675a50;
	font-size: 9px;
	text-decoration: none;
}

.about-socials a:hover {
	border-color: var(--home-orange);
	background: var(--home-orange-soft);
	color: var(--home-orange);
}

.about-socials .dashicons {
	width: 14px;
	height: 14px;
	color: var(--home-orange);
	font-size: 14px;
}

.about-closing {
	margin: 0;
	color: #a18f80;
	font-family: Georgia, "Noto Serif SC", serif;
	font-size: 12px;
	text-align: center;
}

[data-theme="dark"] .about-hero {
	background:
		linear-gradient(90deg, rgb(48 36 29 / 98%) 0%, rgb(48 36 29 / 94%) 42%, rgb(48 36 29 / 58%) 64%, rgb(48 36 29 / 12%) 83%),
		url("../images/about/about-hero.jpg") right center / auto 100% no-repeat,
		#30241d;
}

[data-theme="dark"] .about-hero h1,
[data-theme="dark"] .about-hero blockquote,
[data-theme="dark"] .about-profile__role,
[data-theme="dark"] .about-icon-item,
[data-theme="dark"] .about-stat span {
	color: var(--home-text);
}

[data-theme="dark"] .about-profile dl div,
[data-theme="dark"] .about-socials a {
	background: #352d27;
	color: var(--home-text);
}

[data-theme="dark"] .about-contact {
	background: linear-gradient(110deg, var(--home-card), #302921);
}

[data-theme="dark"] .about-contact > img {
	opacity: 0.72;
	mix-blend-mode: screen;
}

@media (max-width: 1199px) {
	.about-intro-grid { grid-template-columns: 205px minmax(0, 1fr); }
	.about-panel { padding-inline: 15px; }
	.skill-badge,
	.hobby-badge { width: 40px; height: 40px; }
	.hobby-badge { font-size: 20px; }
}

@media (max-width: 900px) {
	.about-center { grid-column: 1; }
	.about-intro-grid { grid-template-columns: 190px minmax(0, 1fr); }
	.about-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 13px; }
	.about-contact { grid-template-columns: minmax(0, 1fr) 190px; }
}

@media (max-width: 680px) {
	.about-hero { min-height: 244px; background-position: 60% center; }
	.about-hero::after { position: absolute; inset: 0; background: rgb(255 249 239 / 20%); content: ""; }
	.about-hero__content { width: 68%; padding: 36px 0 25px 24px; }
	.about-hero h1 { font-size: 31px; }
	.about-hero blockquote { max-width: 215px; font-size: 11px; }
	.about-intro-grid { grid-template-columns: 1fr; }
	.about-profile { padding-inline: 24px; }
	.about-profile > img { width: 104px; height: 104px; }
	.about-profile dl { max-width: 360px; margin-inline: auto; }
	.about-profile__contact { max-width: 360px; }
	.about-icon-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.about-contact { grid-template-columns: minmax(0, 1fr) 180px; }
	[data-theme="dark"] .about-hero::after { background: rgb(40 31 25 / 18%); }
}

@media (max-width: 520px) {
	.about-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
	.about-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-contact { display: block; min-height: 238px; }
	.about-contact__content { padding: 20px 18px 122px; }
	.about-contact > img { position: absolute; right: 0; bottom: 0; width: 220px; }
	.about-socials { position: relative; z-index: 2; }
}

@media (max-width: 390px) {
	.about-hero__content { width: 78%; padding-left: 19px; }
	.about-hero__english { margin-bottom: 18px; }
	.about-panel { padding-inline: 14px; }
	.about-socials a { padding-inline: 9px; }
}
