/* ================================
   SINGLE TEACHER PROFILE
   ================================ */

/* Hero Section */
.teacher-hero {
    background: #000;
    padding: 4rem 0;
    border-bottom: 1px solid #222;
}

.teacher-hero-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.teacher-photo {
    flex-shrink: 0;
}

.teacher-photo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 3px solid #222;
}

.teacher-photo .photo-placeholder {
    width: 250px;
    height: 250px;
    background: #cc3333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    border: 3px solid #222;
}

.teacher-info h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.verified-badge {
    color: #cc3333;
    font-size: 1.5rem;
}

.teacher-rank {
    color: #cc3333;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.teacher-academy {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.teacher-academy .separator {
    color: #444;
    margin: 0 0.25rem;
}

.teacher-dates {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.teacher-dates .separator {
    color: #444;
    margin: 0 0.5rem;
}

.btn-edit-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid #cc3333;
    color: #cc3333;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-edit-profile:hover {
    background: #cc3333;
    color: #fff;
}

/* Main Content */
.teacher-content {
    background: #111;
    padding: 3rem 0 4rem;
}

/* Content Blocks */
.content-block {
    background: #000;
    border: 1px solid #222;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-block h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-block h2 .count {
    background: #cc3333;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
}

.bio-text {
    color: #ccc;
    line-height: 1.8;
}

.bio-text p {
    margin-bottom: 1rem;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* Lineage Path */
.lineage-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.lineage-item {
    background: #222;
    color: #fff;
    padding: 0.5rem 1rem;
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
}

a.lineage-item:hover {
    background: #333;
    color: #cc3333;
}

.lineage-item.current {
    background: #cc3333;
    color: #fff;
}

.lineage-arrow {
    color: #444;
    font-size: 0.75rem;
}

/* People Grid (Students) */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.person-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #111;
    border: 1px solid #222;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.person-card:hover {
    border-color: #cc3333;
    background: #1a1a1a;
}

.person-photo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-photo .initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cc3333;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
}

.person-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.person-name {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-icon {
    color: #cc3333;
    font-size: 0.8rem;
}

.person-rank {
    color: #666;
    font-size: 0.8rem;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-item {
    background: #111;
    border: 1px solid #222;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    padding: 1rem;
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Sidebar */
.sidebar-block {
    background: #000;
    border: 1px solid #222;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-block h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-intro {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Details List */
.details-list {
    margin: 0;
}

.details-list dt {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.details-list dd {
    color: #fff;
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
}

.details-list dd:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.details-list dd a {
    color: #cc3333;
    text-decoration: none;
}

.details-list dd a:hover {
    text-decoration: underline;
}

/* Peers List */
.peers-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.peer-link {
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #222;
    transition: color 0.2s ease;
}

.peer-link:last-child {
    border-bottom: none;
}

.peer-link:hover {
    color: #cc3333;
}

/* Claim Block */
.claim-block {
    border-color: #cc3333;
}

.claim-block p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.claim-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.claim-features li {
    color: #ccc;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.claim-features li i {
    color: #cc3333;
}

.claim-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1rem;
}

.claim-price span {
    font-size: 0.9rem;
    color: #666;
}

.btn-claim {
    display: block;
    width: 100%;
    background: #cc3333;
    color: #fff;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-claim:hover {
    background: #a82929;
    color: #fff;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border: 1px solid #333;
    color: #888;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    border-color: #cc3333;
    color: #cc3333;
}

.share-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.share-btn.twitter:hover {
    border-color: #fff;
    color: #fff;
}

/* ================================
   BOTTOM CLAIM BANNER
   ================================ */

.claim-section {
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid #222;
}

.claim-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border: 2px solid #cc3333;
    padding: 3rem;
}

.claim-banner-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.claim-banner-content p {
    color: #888;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.claim-features-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.claim-features-horizontal li {
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.claim-features-horizontal li i {
    color: #cc3333;
}

.claim-banner-action {
    flex-shrink: 0;
    text-align: center;
}

.claim-banner-action .claim-price {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1;
}

.claim-banner-action .claim-price span {
    font-size: 1rem;
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.btn-claim-large {
    display: inline-block;
    background: #cc3333;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.25rem 3rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-claim-large:hover {
    background: #a82929;
    color: #fff;
}

/* Peer name items (text only, no links) */
.peer-name-item {
    display: block;
    color: #ccc;
    padding: 0.5rem 0;
    border-bottom: 1px solid #222;
}

.peer-name-item:last-child {
    border-bottom: none;
}

/* No link person card */
.person-card.no-link {
    cursor: default;
    opacity: 0.7;
}

.person-card.no-link:hover {
    border-color: #222;
    background: #111;
}

/* Responsive */
@media (max-width: 991.98px) {
    .teacher-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .teacher-info h1 {
        justify-content: center;
    }
    
    .lineage-path {
        justify-content: center;
    }
    
    .claim-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .claim-banner-content p {
        max-width: none;
    }
    
    .claim-features-horizontal {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .teacher-hero {
        padding: 2rem 0;
    }
    
    .teacher-photo img,
    .teacher-photo .photo-placeholder {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }
    
    .teacher-info h1 {
        font-size: 2rem;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    .people-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .claim-section {
        padding: 2rem 0;
    }
    
    .claim-banner {
        padding: 2rem;
    }
    
    .claim-banner-content h2 {
        font-size: 1.5rem;
    }
    
    .claim-features-horizontal {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-claim-large {
        width: 100%;
        padding: 1rem 2rem;
    }
}