.ck-author-profile-page {
padding: 32px 0 64px;
}
.ck-author-profile-shell {
width: calc(100% - 32px);
max-width: none;
margin: 0 auto;
}
.ck-author-profile-hero {
position: relative;
overflow: hidden;
border-radius: 32px;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
color: #fff;
box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
}
.ck-author-profile-hero__media {
min-height: 280px;
max-height: 460px;
overflow: hidden;
}
.ck-author-profile-hero__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.38;
}
.ck-author-profile-hero__content {
position: relative;
padding: 32px;
margin-top: -96px;
}
.ck-author-profile-hero__logo {
display: inline-flex;
align-items: center;
justify-content: center;
width: 124px;
height: 124px;
margin-bottom: 20px;
border-radius: 28px;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
overflow: hidden;
}
.ck-author-profile-hero__logo-image {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
padding: 12px;
}
.ck-author-profile-hero__badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 9px 14px;
margin-bottom: 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(10px);
font-size: 0.875rem;
font-weight: 700;
}
.ck-author-profile-hero__title {
margin: 0 0 14px;
font-size: clamp(2rem, 4vw, 3.4rem);
line-height: 1.05;
}
.ck-author-profile-hero__lead {
max-width: 760px;
margin: 0;
color: rgba(255, 255, 255, 0.9);
font-size: 1.05rem;
line-height: 1.75;
}
.ck-author-profile-hero__types {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 0 0 18px;
}
.ck-author-profile-hero__type {
display: inline-flex;
align-items: center;
min-height: 36px;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.14);
backdrop-filter: blur(10px);
font-size: 0.875rem;
font-weight: 700;
}
.ck-author-profile-socials {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 22px;
}
.ck-author-profile-socials__link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 10px 14px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
color: #fff;
text-decoration: none;
font-weight: 600;
}
.ck-author-profile-socials__link:hover,
.ck-author-profile-socials__link:focus {
color: #fff;
background: rgba(255, 255, 255, 0.18);
}
.ck-author-profile-section {
margin-top: 34px;
padding: 30px;
border-radius: 28px;
background: #fff;
box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.ck-author-profile-section__header {
margin-bottom: 18px;
}
.ck-author-profile-section__header h2 {
margin: 0 0 8px;
font-size: clamp(1.4rem, 2vw, 1.9rem);
line-height: 1.15;
}
.ck-author-profile-section__header p {
margin: 0;
color: #475569;
line-height: 1.7;
}
.ck-author-service-grid,
.ck-author-gallery-grid,
.ck-author-article-grid {
display: grid;
gap: 20px;
}
.ck-author-service-grid {
grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
}
.ck-author-service-card {
padding: 22px;
border-radius: 22px;
background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
border: 1px solid rgba(15, 23, 42, 0.08);
}
.ck-author-service-card h3 {
margin: 0 0 10px;
font-size: 1.1rem;
line-height: 1.25;
}
.ck-author-service-card p {
margin: 0;
color: #475569;
line-height: 1.7;
}
.ck-author-gallery-grid {
grid-template-columns: repeat( auto-fit, minmax(180px, 1fr) );
}
.ck-author-gallery-card {
display: block;
overflow: hidden;
border-radius: 24px;
background: #e2e8f0;
box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.ck-author-gallery-card__image {
display: block;
width: 100%;
height: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
transition: transform 0.3s ease;
}
.ck-author-gallery-card:hover .ck-author-gallery-card__image,
.ck-author-gallery-card:focus .ck-author-gallery-card__image {
transform: scale(1.03);
}
.ck-author-article-grid {
grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
}
.ck-author-article-card {
display: flex;
flex-direction: column;
overflow: hidden;
border-radius: 24px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.ck-author-article-card__thumb {
display: block;
overflow: hidden;
background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}
.ck-author-article-card__image {
display: block;
width: 100%;
height: 220px;
object-fit: cover;
}
.ck-author-article-card__placeholder {
display: grid;
place-items: center;
height: 220px;
font-size: 1.3rem;
font-weight: 700;
color: #0f172a;
}
.ck-author-article-card__body {
display: flex;
flex-direction: column;
flex: 1 1 auto;
padding: 22px;
}
.ck-author-article-card__body h3 {
margin: 0 0 10px;
font-size: 1.15rem;
line-height: 1.3;
}
.ck-author-article-card__body h3 a {
color: inherit;
text-decoration: none;
}
.ck-author-article-card__body h3 a:hover,
.ck-author-article-card__body h3 a:focus {
text-decoration: underline;
}
.ck-author-article-card__body p {
margin: 0 0 16px;
color: #475569;
line-height: 1.7;
}
.ck-author-article-card__button {
display: inline-flex;
align-items: center;
justify-content: center;
margin-top: auto;
padding: 12px 18px;
border-radius: 14px;
background: #0f172a;
color: #fff;
text-decoration: none;
font-weight: 700;
}
.ck-author-article-card__button:hover,
.ck-author-article-card__button:focus {
color: #fff;
opacity: 0.94;
}
.ck-author-profile-empty {
display: grid;
place-items: center;
padding: 24px;
border-radius: 22px;
background: #f8fafc;
border: 1px dashed rgba(15, 23, 42, 0.15);
}
@media (max-width: 900px) {
.ck-author-profile-hero__content {
margin-top: -64px;
padding: 24px;
}
.ck-author-profile-section {
padding: 22px;
}
}
@media (max-width: 640px) {
.ck-author-profile-page {
padding: 20px 0 44px;
}
.ck-author-profile-shell {
width: calc(100% - 20px);
max-width: none;
}
.ck-author-profile-hero {
border-radius: 24px;
}
.ck-author-profile-hero__media {
min-height: 200px;
}
.ck-author-profile-hero__content {
margin-top: -34px;
padding: 18px;
}
.ck-author-profile-hero__logo {
width: 96px;
height: 96px;
border-radius: 22px;
}
.ck-author-profile-section {
margin-top: 22px;
border-radius: 22px;
}
}