/* ==============================================================
   Authors Page — 慶教ゼミナール 執筆者紹介
   ============================================================== */

/* ヘッダー・フッター干渉回避 */
body.page-template-page-authors .keikyo-interview-header { margin-bottom: 0 !important; }
body.page-template-page-authors .keikyo-interview-site-footer { margin-top: 0 !important; }
body.page-template-page-authors .keikyo-interview-header { backdrop-filter: none !important; }
body.page-template-page-authors .site-main,
body.page-template-page-authors #main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.authors-page {
    font-family: 'Noto Sans JP', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
}

.authors-page a { text-decoration: none; }

/* ==============================================================
   Hero Section
   ============================================================== */

.authors-hero {
    position: relative;
    background: #faf8f3;
    overflow: hidden;
    border-bottom: 1px solid #e8e4dc;
}

.authors-hero__decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    opacity: 0.03;
    pointer-events: none;
}

.authors-hero__decoration-shape {
    display: block;
    width: 100%;
    height: 100%;
    border: 40px solid #1a1a2e;
    transform: rotate(45deg);
}

.authors-hero__breadcrumb-wrap {
    position: relative;
    z-index: 1;
    max-width: 1152px;
    margin: 0 auto;
    padding: 2rem 1rem 0;
}

.authors-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1152px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .authors-hero__content { padding-top: 6rem; padding-bottom: 6rem; }
}
@media (min-width: 1024px) {
    .authors-hero__content { padding-top: 8rem; padding-bottom: 8rem; }
}

/* Breadcrumb */
.authors-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #555;
}

.authors-breadcrumb__item { display: flex; align-items: center; }
.authors-breadcrumb__link {
    color: #555;
    transition: color 0.2s;
}
.authors-breadcrumb__link:hover { color: #1a1a2e; }
.authors-breadcrumb__current { color: #1a1a2e; font-weight: 500; }
.authors-breadcrumb__sep { width: 1rem; height: 1rem; }

/* Hero titles */
.authors-hero__title-en {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: clamp(3.5rem, 11vw, 120px);
    font-weight: 400;
    color: rgba(26, 26, 46, 0.1);
    letter-spacing: 0.15em;
    line-height: 1;
    margin: 0 0 1.5rem 0;
    word-break: break-all;
}

.authors-hero__title-ja-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.authors-hero__accent-bar {
    display: block;
    width: 4px;
    height: 2.5rem;
    background: #c0392b;
    flex-shrink: 0;
}

.authors-hero__title-ja {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0;
}

.authors-hero__catchphrase {
    font-size: clamp(1.0625rem, 2vw, 1.5rem);
    color: #555;
    font-weight: 500;
    line-height: 1.7;
    max-width: 28rem;
    margin: 0;
}

/* ==============================================================
   Authors Grid Section
   ============================================================== */

.authors-grid-section {
    background: #faf8f3;
    padding: 4rem 0;
}

@media (min-width: 768px) { .authors-grid-section { padding: 5rem 0; } }
@media (min-width: 1024px) { .authors-grid-section { padding: 6rem 0; } }

.authors-grid-section__container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}

.authors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .authors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .authors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.authors-grid__empty {
    text-align: center;
    color: #555;
    padding: 4rem 0;
    font-size: 1rem;
}

/* ==============================================================
   Author Profile Card
   ============================================================== */

.author-profile-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
    padding: 2rem;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
    .author-profile-card { padding: 2.5rem; }
}

.author-profile-card:hover {
    transform: translateY(-4px);
    border-color: #1a1a2e;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.08);
    color: inherit;
}

/* Avatar */
.author-profile-card__avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.author-profile-card__avatar {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid #1a1a2e;
    overflow: hidden;
    background: #1a1a2e;
    transition: transform 0.3s ease;
}

.author-profile-card:hover .author-profile-card__avatar {
    transform: scale(1.03);
}

.author-profile-card__avatar-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.author-profile-card__avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

/* Name */
.author-profile-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .author-profile-card__name { font-size: 1.5rem; }
}

/* Role */
.author-profile-card__role {
    font-size: 0.875rem;
    color: #555;
    text-align: center;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

/* Tags */
.author-profile-card__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.author-profile-card__tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border: 1px solid #1a1a2e;
    color: #1a1a2e;
    background: #ffffff;
    border-radius: 2px;
    white-space: nowrap;
}

/* Divider */
.author-profile-card__divider {
    display: block;
    border-top: 1px solid #e8e4dc;
    margin-bottom: 1.5rem;
}

/* Description */
.author-profile-card__description {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post count */
.author-profile-card__count-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}

.author-profile-card__count-number {
    display: inline-block;
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: #1a1a2e;
    line-height: 1;
}

@media (min-width: 640px) {
    .author-profile-card__count-number { font-size: 3rem; }
}

.author-profile-card__count-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

/* CTA */
.author-profile-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1a1a2e;
    font-size: 0.875rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.author-profile-card:hover .author-profile-card__cta {
    gap: 0.75rem;
}

.author-profile-card__cta-icon {
    width: 1rem;
    height: 1rem;
}

/* ==============================================================
   CTA Section
   ============================================================== */

.authors-cta {
    background: #1a1a2e;
    padding: 4rem 0;
}

@media (min-width: 640px) { .authors-cta { padding: 5rem 0; } }
@media (min-width: 1024px) { .authors-cta { padding: 6rem 0; } }

.authors-cta__container {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.authors-cta__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.02em;
}

@media (min-width: 640px) {
    .authors-cta__title { font-size: 1.875rem; }
}
@media (min-width: 768px) {
    .authors-cta__title { font-size: 2.25rem; }
}

.authors-cta__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 auto 2.5rem auto;
    max-width: 32rem;
}

@media (min-width: 640px) {
    .authors-cta__subtitle { font-size: 1.125rem; }
}

.authors-cta__br-mobile { display: inline; }
@media (min-width: 640px) {
    .authors-cta__br-mobile { display: none; }
}

.authors-cta__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .authors-cta__buttons { flex-direction: row; }
}

.authors-cta__btn {
    width: 100%;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .authors-cta__btn { width: auto; }
}

.authors-cta__btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.authors-cta__btn--primary { background: #c0392b; }
.authors-cta__btn--primary:hover { background: #a73322; }

.authors-cta__btn--line { background: #06C755; }
.authors-cta__btn--line:hover { background: #05a847; }

.authors-cta__line-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
