.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 0;
}
html {
	scroll-behavior: auto;
}
body.author {
    gap:0;
}
.main-content-wrapper {
	display: flex;
	flex-direction: column;
}
.profile-wrapper {
	flex: auto;
}
.profile-header {
	margin: 0;
	font-size: 25px;
	padding: 15px;
	border-bottom: 1px solid var(--borderColor);
	cursor: pointer;
	z-index: 1;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(15px);
	box-shadow: 0px 2px 30px #f4f6f8;
	position: sticky;
	top: 0;
	font-weight: bold;
	display:flex;
	align-items:center;
	gap:5px;
}
.display-name span {
	display: flex;
	align-items: center;
	gap: 5px;
}
.display-name svg {
	width: 25px;
}
.profile-media {
	position: relative;
}
.profile-media .cover-image {
	width: 100%;
	object-fit: cover;
}
div.profile-image {
	font-weight: bold;
	border-radius: 50%;
	position: absolute;
	bottom: -25px;
	right: 15px;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
}
.profile-media .profile-image {
	border-radius: 50%;
	position: absolute;
	bottom: -25px;
	right: 15px;
	width: 70px;
	height:70px;
	object-fit:cover
}
.account-detail {
	padding: 10px 15px 15px 15px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.account-actions {
    display:flex;
    justify-content:end;
}
.edit-profile {
  border: 1px solid #b9c5cd;
  border-radius: 15px;
  font-weight: bold;
  padding: 7px 20px;
  font-size:14px;
}
.display-name {
	font-weight: bold;
	font-size: 23px;
	display: flex;
	align-items: center;
}
.registration-date {
	display: flex;
	align-items: center;
	gap: 10px;
}
.detail-form {
	padding: 15px;
	border-top: 1px solid var(--borderColor);
}
.form-inputs {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.detail-form h6 {
	font-weight: bold;
	font-size: 18px;
	margin: 0;
}
.form-inputs input {
	border-radius: 10px;
	border-color: var(--borderColor);
	outline: none;
}
.form-inputs input:focus {
	border-color: var(--primary);
}
.section-icon {
	background: var(--borderColor);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	padding: 10px;
	width: fit-content;
}
.form-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	margin-top: 15px;
}
.form-actions {
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}
.form-actions input, .form-actions a {
	background: var(--primary) !important;
	color: var(--textColorWhite) !important;
	border: none !important;
	outline: none !important;
	border-radius: 10px;
	padding: 12px 25px;
	font-weight: bold;
}
.form-actions a {
	background-color: var(--borderColor) !important;
	color: #666 !important;
}
.message.success , .message.error {
	background: var(--green);
	color: var(--textColorWhite);
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 20px;
}
.message.error {
	background: var(--red);
	color: var(--textColorWhite);
}

/** multi card style **/
.contents .multi-item {
	padding: 15px;
	border-bottom: 1px solid var(--borderColor);
	display: inherit;
}
.name-data {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 10px;
}
.other-data {
	display: flex;
	column-gap: 50px;
	align-items: center;
	flex-wrap: wrap;
	row-gap: 20px;
	white-space: nowrap;
}
.data-item {
	display: flex;
	align-items: center;
	gap: 5px;
}
.data-item svg {
	width: 18px;
	height: 18px;
}
.user-id {
	direction: ltr;
	text-align: right;
}
.profile-tabs .links {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	text-align: center;
}
.links .tab-link {
	padding: 15px;
	position: relative;
	cursor: pointer;
    border-bottom: 1px solid var(--borderColor);
	white-space:nowrap;
}
.links .tab-link.active::before {
	content: '';
	position: absolute;
	width: 60px;
	height: 5px;
	bottom: 0;
	background: var(--primary);
	margin: 0 auto;
	border-radius: 10px;
	right: 0;
	left: 0;
}
.links .tab-link.active {
	font-weight: bold;
	color: var(--primary) !important;
}
.tab-content {
    transition:0.3s;
    display:none;
    min-height:300px;
}
.tab-content.active {
    display:revert;
}
/** reply tab **/
.reply-card {
	padding: 15px;
	border-bottom: 1px solid var(--borderColor);
}
.parent-item {
	display: grid;
	grid-template-columns: 40px auto;
	gap: 10px;
	position: relative;
}
.parent-item::before {
	content: '';
	position: absolute;
	width: 2px;
	height: 100%;
	background: var(--borderColor);
	right: 20px;
	top: 40px;
}
.post-author-name {
	display: flex;
	align-items: center;
	font-weight: bold;
}
.reply-card .multi-item {
	padding: 0;
	border-bottom: none;
	margin-top: 10px;
}
.post-author-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size:14px;
}
.author-post-detail {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.post-author-image , .author-detail img {
	width: 40px;
	border-radius: 50% !important;
}
.post-comment {
	margin-top: 20px;
	overflow: hidden;
	position: relative;
}
.author .comment-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 !important;
	font-size:14px;
	color: var(--detailColor);
}
.reply-card .reply-avatar {
	width: 50px;
	height: 50px;
	font-weight: bold;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}
.author-detail {
	display: grid;
	align-items: center;
	grid-template-columns: 40px auto;
	gap: 20px;
}
.author-detail .post-link {
    color: var(--primary);
    font-size: 14px;
}
.author {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: rgb(82, 100, 112);
	width: 100%;
}
.author-name {
	font-weight: bold;
	color: var(--textColor);
}
.comment-date {
	width: 100%;
	text-align: left;
	display: block;
}
.author-username {
	direction: ltr;
	text-align: right;
	color: var(--detailColor);
}
.post-reply {
	color: var(--textColor);
}
.author-post-wrapper .multi-item:hover {
	background: unset !important;
}
.last-news .post-title {
    margin:0;
}
.multi-item .post-thumbnail {
	width: 100%;
}
.tab-content .news-item:last-child , .tab-content .reply-card:last-child , .tab-content .multi-item:last-child {
    border-bottom:none;
}
.bio {
	margin-bottom: 15px;
}
.news-item {
	display: grid;
	grid-template-columns: 150px auto;
	gap: 10px;
	border-bottom: 1px solid var(--borderColor);
	padding: 15px;
}
.image-wrapper {
	display: flex;
	width: 150px;
	height: 100px;
	border:1px solid var(--borderColor);
	border-radius:20px;
	overflow:hidden;
}
.image-wrapper .post-thumbnail {
	height: 100px;
	object-fit: cover;
}
.last-news .post-thumbnail, .image-wrapper .post-thumbnail {
	width: 100%;
	border-radius: 20px;
	transition: 0.3s;
}
.detail-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.post-title {
	font-weight: bold;
}
.post-detail {
	text-align: left;
	color: var(--detailColor);
	font-size: 12px;
	font-weight: bold;
}
.post-thumbnail.cover-post {
	height: 400px;
	filter: blur(5px);
}
.image-wrapper .cover-post {
	height: unset !important;
}
.repost-box {
    color: rgb(82, 100, 112);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    margin-right: 40px;
}
.repost-box span {
    color: var(--detailColor);
}
.reply-card .parent-item > div {
	display: unset;
}
.post-author-username {
    direction:ltr;
}
#replies .reply-card .parent-item::before {
    height: calc(100% + 50px);
}
@media screen and (max-width: 480px) {
    .reply-card {
        padding: 15px 10px;
    }
}
@media screen and (max-width:450px) {
    .links .tab-link {
        width: 110px;
        border-bottom: 1px solid var(--borderColor);
    }
    .profile-tabs .links {
        overflow: auto;
      width: calc(100vw - 1px);
    }
    .post-title {
        font-size:16px;
    }
}