/* ==================================================
   SHARED INNER PAGE STYLES
   شامل: Inner Page Wrapper, Breadcrumb, Block Title, Comments
   استفاده در: Contact, Blog, Course-Video
   ================================================== */

/* ---------- Inner Page Wrapper ---------- */
.custom-education-theme-inner-page {
    padding: 30px 24px 60px;
}

.custom-education-theme-inner-page-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* ---------- Breadcrumb ---------- */
.custom-education-theme-breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
/*    gap: 10px;*/
    padding: 14px 0 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 30px;
    font-size: 0.88rem;
}

.custom-education-theme-breadcrumb::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        to left,
        var(--accent) 0%,
        var(--accent-2) 25%,
        var(--accent-glow-40) 55%,
        transparent 100%
    );
    box-shadow:
        0 0 8px var(--accent-glow-60),
        0 0 20px var(--accent-glow-30),
        0 4px 16px var(--accent-glow-25);
    pointer-events: none;
}

.custom-education-theme-breadcrumb::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2.5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow:
        0 0 8px var(--accent),
        0 0 16px var(--accent),
        0 0 24px var(--accent-glow-50);
    animation: customEducationThemeBreadcrumbPulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes customEducationThemeBreadcrumbPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

[data-theme="dark"] .custom-education-theme-breadcrumb::after {
    background: linear-gradient(
        to left,
        var(--accent) 0%,
        var(--accent-2) 25%,
        var(--accent-2-glow-40) 55%,
        transparent 100%
    );
    box-shadow:
        0 0 10px var(--accent-2-glow-70),
        0 0 25px var(--accent-2-glow-35),
        0 4px 16px var(--accent-2-glow-30);
}

[data-theme="dark"] .custom-education-theme-breadcrumb::before {
    box-shadow:
        0 0 10px var(--accent),
        0 0 20px var(--accent),
        0 0 30px var(--accent-2-glow-60);
}

.custom-education-theme-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    position: relative;
    font-weight: 500;
}

.custom-education-theme-breadcrumb a:hover {
    color: var(--accent);
    background: var(--accent-glow-08);
    box-shadow:
        0 0 12px var(--accent-glow-25),
        inset 0 0 12px var(--accent-glow-08);
    transform: translateY(-1px);
}

[data-theme="dark"] .custom-education-theme-breadcrumb a:hover {
    background: var(--accent-2-glow-10);
    box-shadow:
        0 0 14px var(--accent-2-glow-30),
        inset 0 0 14px var(--accent-2-glow-10);
}

.custom-education-theme-breadcrumb a:first-child { color: var(--accent); }

.custom-education-theme-breadcrumb i.custom-education-theme-breadcrumb-sep {
    font-size: 0.7rem;
    color: var(--accent);
    opacity: 0.5;
    filter: drop-shadow(0 0 4px var(--accent-glow-50));
    margin: 0 10px;
}

[data-theme="dark"] .custom-education-theme-breadcrumb i.custom-education-theme-breadcrumb-sep {
    filter: drop-shadow(0 0 6px var(--accent-2-glow-60));
}

.custom-education-theme-breadcrumb .custom-education-theme-breadcrumb-current {
    color: var(--accent);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-md);
    position: relative;
    text-shadow: 0 0 12px var(--accent-glow-40);
}

[data-theme="dark"] .custom-education-theme-breadcrumb .custom-education-theme-breadcrumb-current {
    text-shadow: 0 0 16px var(--accent-2-glow-60);
}

.custom-education-theme-breadcrumb .custom-education-theme-breadcrumb-current::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: var(--accent-glow-10);
    box-shadow:
        inset 0 0 0 1px var(--accent-glow-30),
        inset 0 0 12px var(--accent-glow-15);
    z-index: -1;
}

[data-theme="dark"] .custom-education-theme-breadcrumb .custom-education-theme-breadcrumb-current::before {
    background: var(--accent-2-glow-12);
    box-shadow:
        inset 0 0 0 1px var(--accent-2-glow-35),
        inset 0 0 12px var(--accent-2-glow-20);
}

/* ---------- Block Title ---------- */
.custom-education-theme-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.custom-education-theme-block-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 26px;
    background: var(--accent-gradient);
    border-radius: 4px;
    box-shadow: 0 4px 12px var(--accent-glow-40);
}

/* ---------- Comments (shared) ---------- */
.custom-education-theme-comments-section { margin-top: 40px; }

.custom-education-theme-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.custom-education-theme-comment {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--card-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.custom-education-theme-comment:hover {
    border-color: var(--accent-glow-30);
    box-shadow: var(--glass-shadow-hover);
}

.custom-education-theme-comment-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--glass-border);
}

.custom-education-theme-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.custom-education-theme-comment-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-education-theme-comment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-education-theme-comment-name { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }

.custom-education-theme-comment-date {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.custom-education-theme-comment-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; }

.custom-education-theme-comment-actions { display: flex; gap: 12px; margin-top: 4px; }

.custom-education-theme-comment-actions button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.custom-education-theme-comment-actions button:hover { color: var(--accent-2); transform: translateY(-1px); }

/* Comment Form */
.custom-education-theme-comment-form {
    padding: 22px;
    background: var(--card-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-education-theme-comment-form .custom-education-theme-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.custom-education-theme-comment-form input,
.custom-education-theme-comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    resize: vertical;
}

.custom-education-theme-comment-form input:focus,
.custom-education-theme-comment-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow-15);
}

.custom-education-theme-comment-form textarea { min-height: 120px; line-height: 1.8; }

.custom-education-theme-comment-form button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: var(--radius-xl);
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px var(--accent-glow-35);
}

.custom-education-theme-comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--accent-glow-50);
}

/* ============ INNER PAGE RESPONSIVE ============ */
@media (max-width: 640px) {
    .custom-education-theme-inner-page { padding: 20px 16px 40px; }
    .custom-education-theme-comment-form .custom-education-theme-form-row { grid-template-columns: 1fr; }
    .custom-education-theme-comment { padding: 14px; }
    .custom-education-theme-comment-avatar { width: 42px; height: 42px; }
}