/* Delatool /learning (Utbildningshub) – extracted for cache + smaller HTML (LinkedIn iOS WebView) */
/* ========== HERO ========== */
.edu-hero {
    background: linear-gradient(135deg, #00539C 0%, #091c32 60%, #0a2540 100%);
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.edu-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(0,166,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.edu-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
}
.edu-hero .subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

/* ========== TAB NAV ========== */
.edu-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 0;
    position: relative;
}
.edu-tab-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    background: transparent;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.edu-tab-btn:hover { color: #fff; }
.edu-tab-btn.active {
    background: linear-gradient(135deg, #00A6FF, #00539C);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,166,255,0.3);
}

/* ========== SEKTIONER ========== */
.edu-section {
    background: var(--background-color, #091c32);
    padding: 60px 20px;
}
.edu-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}
.edu-tab-panel { display: none; }
.edu-tab-panel.active { display: block; }

/* ========== WEBINAR CARDS ========== */
.webinar-card {
    background: linear-gradient(135deg, #1a2b49 0%, #0d2240 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
}
.webinar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
    border-color: rgba(0,166,255,0.25);
}
.webinar-card.past { opacity: 0.6; }
.webinar-card-img {
    width: 220px;
    min-height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}
.webinar-card-body {
    padding: 24px 24px 20px;
    flex: 1;
    min-width: 0;
    position: relative;
}
.webinar-card .badge-past {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,75,87,0.15);
    color: #ff4b57;
    border: 1px solid rgba(255,75,87,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.webinar-card .badge-open {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,200,83,0.12);
    color: #00c853;
    border: 1px solid rgba(0,200,83,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.webinar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #00A6FF, #00539C);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.webinar-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
    padding-right: 120px;
}
.webinar-date {
    color: #00A6FF;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.webinar-date i { margin-right: 6px; }
.webinar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}
.desc-wrapper {
    position: relative;
}
.desc-content {
    position: relative;
}
.desc-wrapper.collapsed .desc-content {
    max-height: 100px;
    overflow: hidden;
}
.desc-wrapper.collapsed .desc-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(26,43,73,0), #0d2240 90%);
    pointer-events: none;
}
.webinar-card .desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.93rem;
    line-height: 1.5;
    margin-bottom: 0;
    white-space: pre-line;
    overflow-wrap: break-word;
    word-break: break-word;
}
.desc-toggle {
    background: none;
    border: none;
    color: #00A6FF;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 6px 0 0;
    display: none;
    transition: color 0.2s ease;
}
.desc-toggle:hover {
    color: #fff;
}
.desc-toggle.visible {
    display: inline-block;
}

/* ========== TRAINING CARDS ========== */
.training-card {
    background: linear-gradient(135deg, #1a2b49 0%, #0d2240 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.2);
    border-color: rgba(0,166,255,0.3);
}
.training-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.training-card .card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.training-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.training-card .card-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}
.training-card .price-tag {
    color: #00A6FF;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 12px 0 4px;
}
.training-card .meta-info {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    margin-bottom: 16px;
}

/* ========== BUTTONS ========== */
.btn-register, .btn-book {
    display: inline-block;
    background: linear-gradient(135deg, #00A6FF, #00539C);
    color: #fff;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-register:hover, .btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,166,255,0.35);
    color: #fff;
}
.btn-register:disabled, .btn-register.disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.btn-agenda, .btn-details {
    display: inline-block;
    background: transparent;
    color: #00A6FF;
    border: 1px solid rgba(0,166,255,0.4);
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-agenda:hover, .btn-details:hover {
    background: rgba(0,166,255,0.1);
    color: #fff;
}

/* ========== MODAL ========== */
.edu-modal .modal-content {
    background: linear-gradient(135deg, #1a2b49 0%, #0d2240 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    color: #fff;
}
.edu-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 24px;
}
.edu-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}
.edu-modal .modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}
.edu-modal .modal-body { padding: 24px; }
.edu-modal label {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.edu-modal .form-control,
.edu-modal .form-select {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
}
.edu-modal .form-control:focus,
.edu-modal .form-select:focus {
    border-color: #00A6FF;
    box-shadow: 0 0 0 3px rgba(0,166,255,0.15);
    background-color: rgba(255,255,255,0.08);
    color: #fff;
}
.edu-modal .form-control::placeholder {
    color: rgba(255,255,255,0.35);
}
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #00A6FF, #00539C);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,166,255,0.35);
}
.success-message {
    text-align: center;
    padding: 30px 20px;
}
.success-message i {
    font-size: 3rem;
    color: #00c853;
    margin-bottom: 15px;
}
.success-message h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}
.success-message p {
    color: rgba(255,255,255,0.7);
}

/* ========== BENEFIT SECTION ========== */
.benefit-card {
    background: linear-gradient(135deg, #1a2b49 0%, #091c32 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.2);
    border-color: rgba(0,166,255,0.3);
}
.benefit-icon {
    font-size: 2.5rem;
    color: #00A6FF;
    margin-bottom: 15px;
}
.benefit-card h5 { color: #fff; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background: linear-gradient(135deg, #1a2b49 0%, #091c32 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 30px 24px;
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(0,166,255,0.2);
    position: absolute;
    top: 10px; left: 18px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card .quote {
    color: rgba(255,255,255,0.85);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-top: 20px;
}
.testimonial-card .author {
    color: #00A6FF;
    font-weight: 600;
    font-size: 0.9rem;
}
.testimonial-card .author-role {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

/* ========== RESPONSIV ========== */
@media (max-width: 768px) {
    .edu-hero h1 { font-size: 1.6rem; }
    .edu-hero .subtitle { font-size: 0.92rem; }
    .edu-tabs { flex-direction: column; align-items: center; gap: 8px; }
    .webinar-card { flex-direction: column; }
    .webinar-card-img { width: 100%; min-height: 160px; }
    .webinar-card h3 { font-size: 1.05rem; padding-right: 0; }
    .webinar-card .badge-past,
    .webinar-card .badge-open { position: static; display: inline-block; margin-bottom: 10px; }
    .webinar-actions { flex-direction: column; }
    .btn-register, .btn-agenda, .btn-book, .btn-details { width: 100%; text-align: center; }
}
