/**
 * Single Templates Styles
 * Zentrale CSS für single-it_expert.php, single-company.php, single-expert_event.php
 * 
 * @package IT_Expert_Hub
 * @version 1.0
 */

/* ================================================
   CSS-VARIABLEN (Fallbacks - werden durch PHP überschrieben)
   ================================================ */
:root {
    --expert-primary: #667eea;
    --expert-secondary: #764ba2;
    --expert-bg: #ffffff;
    --company-primary: #3b82f6;
    --company-secondary: #8b5cf6;
    --event-primary: #3b82f6;
    --event-secondary: #8b5cf6;
    --event-accent: #10b981;
    --event-border: #e5e7eb;
    --event-color: #667eea;
}

/* ================================================
   GEMEINSAME CONTAINER STYLES
   ================================================ */
.expert-profile-container,
.company-detail-wrapper,
.event-detail-wrapper {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 40px var(--container-padding, 2rem);
    box-sizing: border-box;
}

.company-detail-wrapper {
    background: #f5f5f5;
}

/* ================================================
   BREADCRUMB
   ================================================ */
.breadcrumb,
.event-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #64748b;
}

.event-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb a,
.event-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--expert-primary);
}

.event-breadcrumb a:hover {
    color: var(--event-primary);
}

/* ================================================
   EXPERT PROFILE STYLES
   ================================================ */

/* Header Card */
.expert-header-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
    position: relative;
}

.expert-avatar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expert-avatar {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--expert-primary) 0%, var(--expert-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Availability Badge */
.availability-badge {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.availability-badge.status-available {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.availability-badge.status-limited {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.availability-badge.status-booked {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* Expert Main Info */
.expert-main-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.expert-name {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.expert-job-title {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Badges */
.expert-badges {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 10;
}

.badge-verified,
.badge-certified {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-verified {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.badge-certified {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Specializations & Skills Grid */
.expert-specializations-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.expert-specializations,
.expert-skills {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.expert-specializations:hover,
.expert-skills:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.specialization-header,
.skills-header {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.specialization-tags,
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialization-tag {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 8px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1e40af;
}

.specialization-tag:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.skill-tag {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.skill-tag:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.specialization-tag-icon,
.skill-tag-icon {
    font-size: 16px;
    line-height: 1;
}

/* Company Label Box */
.company-label-box {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 10px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.company-label-box:hover {
    border-color: var(--expert-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.company-label-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.company-label-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.company-label-text {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.company-label-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-label-name:hover {
    color: var(--expert-primary);
}

/* Meta Labels Grid */
.expert-meta-labels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

/* Pricing Card */
.pricing-card,
.certificates-card,
.biography-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pricing-card:hover,
.certificates-card:hover,
.biography-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.pricing-header,
.certificates-header,
.biography-header {
    background: linear-gradient(135deg, var(--expert-primary) 0%, var(--expert-secondary) 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.biography-header {
    padding: 16px 20px;
    margin: -24px -24px 20px -24px;
    border-radius: 16px 16px 0 0;
    font-size: 16px;
}

.biography-card {
    padding: 24px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 24px;
}

.pricing-item {
    padding: 20px;
    text-align: center;
    position: relative;
}

.pricing-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e2e8f0;
}

.pricing-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--expert-primary), var(--expert-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Status Colors */
.status-available {
    color: #10b981;
}

.status-limited {
    color: #f59e0b;
}

.status-booked {
    color: #ef4444;
}

/* Certificates */
.certificates-subheader {
    padding: 16px 24px 0;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.certificate-item:last-child {
    border-bottom: none;
}

.certificate-item:hover {
    background: #f8fafc;
}

.certificate-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--expert-primary) 0%, var(--expert-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.certificate-content {
    flex: 1;
    min-width: 0;
}

.certificate-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.certificate-issuer {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.certificate-issuer::before {
    content: '🏢';
    font-size: 12px;
}

.certificate-date {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.certificate-date::before {
    content: '📅';
    font-size: 11px;
}

.certificate-badge {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.certificate-badge::before {
    content: '✓';
    font-size: 12px;
}

/* Biography */
.biography-content {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

/* Details Grid */
.expert-details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.expert-sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================================================
   COMPANY STYLES
   ================================================ */

/* Company Header Section */
.company-header-section {
    background: #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 20px;
}

.company-header-top {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
}

.company-logo-box {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.company-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-logo-placeholder {
    background: linear-gradient(135deg, var(--company-primary) 0%, var(--company-secondary) 100%);
    font-size: 72px;
    color: white;
}

.company-title-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.company-location-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 20px;
}

.company-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

.btn-contact-main {
    padding: 14px 24px;
    background: var(--company-primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-phone,
.btn-website {
    padding: 12px 24px;
    background: white;
    color: #1e293b;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #e2e8f0;
}

.btn-phone:hover,
.btn-website:hover {
    border-color: var(--company-primary);
}

/* Company Meta Boxes */
.company-meta-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.meta-box {
    background: white;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.meta-box:hover {
    border-color: var(--company-primary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.meta-box-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-box-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

/* Company About Section */
.about-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-content {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

.legal-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #e2e8f0;
}

.legal-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.legal-item {
    margin-bottom: 12px;
}

.legal-label {
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 4px;
}

.legal-value {
    color: #64748b;
}

/* Company Pricing Section */
.pricing-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.availability-box {
    background: #f0fdf4;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #bbf7d0;
}

.availability-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.availability-status {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
}

.availability-box.status-available { 
    color: #10b981; 
    background: #f0fdf4; 
    border-color: #bbf7d0; 
}

.availability-box.status-limited { 
    color: #f59e0b; 
    background: #fffbeb; 
    border-color: #fde68a; 
}

.availability-box.status-booked { 
    color: #ef4444; 
    background: #fef2f2; 
    border-color: #fecaca; 
}

/* Details Grid */
.details-grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Company Experts Section */
.experts-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.expert-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--company-primary);
}

/* ================================================
   EVENT STYLES
   ================================================ */

/* Event Header Card */
.event-header-card {
    background: linear-gradient(135deg, var(--event-color), var(--event-color));
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.event-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.event-type-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: white;
}

.event-date-time {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.125rem;
    flex-wrap: wrap;
}

.event-date-time > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Event Content Grid */
.event-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.event-main-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--event-border);
}

.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Event Info Card */
.event-info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--event-border);
}

.event-info-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #1f2937;
}

.event-info-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.event-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--event-primary), var(--event-secondary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.event-info-content {
    flex: 1;
}

.event-info-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.event-info-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
}

/* Event Price Card */
.event-price-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid var(--event-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.event-price-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.event-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--event-primary);
    margin-bottom: 1rem;
}

.event-register-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--event-primary), var(--event-secondary));
    color: white;
    text-align: center;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Event Back Button */
.event-back-btn {
    text-align: center;
    margin-top: 2rem;
}

.event-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.event-back-link:hover {
    background: white;
    border-color: var(--event-primary);
    color: var(--event-primary);
}

/* ================================================
   BACK TO ARCHIVE BUTTON
   ================================================ */
.back-to-archive-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.back-to-archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--expert-primary, #667eea);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-to-archive-btn:hover {
    background: var(--expert-secondary, #764ba2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.back-to-archive-btn.alt-style {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
    box-shadow: none;
}

.back-to-archive-btn.alt-style:hover {
    background: white;
    border-color: var(--expert-primary);
    color: var(--expert-primary);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 968px) {
    .expert-header-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 60px;
    }
    
    .expert-avatar {
        margin: 0 auto;
    }
    
    .expert-badges {
        top: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
    }
    
    .expert-meta-labels {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .expert-specializations-skills-grid {
        grid-template-columns: 1fr;
    }
    
    .company-header-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .company-logo-box {
        margin: 0 auto;
    }
    
    .company-action-buttons {
        width: 100%;
    }
    
    .event-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-details-grid,
    .details-grid-section {
        grid-template-columns: 1fr;
    }
    
    .expert-profile-container,
    .company-detail-wrapper,
    .event-detail-wrapper {
        padding: 20px var(--container-padding, 1rem);
    }
    
    .event-header-card {
        padding: 2rem 1.5rem;
    }
    
    .event-title {
        font-size: 1.75rem;
    }
}
