/* === SINGLE PAGE STYLES (UNIVERSITIES & PROGRAMS) === */


.status-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.hero-meta-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.save-item-hero-btn.is-saved {
    background: white;
    color: var(--medical-blue) !important;
    border-color: white !important;
}

.merit-bar {
    height: 8px;
    background: var(--bg-section);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.merit-bar-fill {
    height: 100%;
    background: var(--success-green);
}

.merit-formula-box {
    background: var(--sky-blue);
    border-radius: var(--radius-md);
    padding: 20px;
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--medical-blue);
    line-height: 1.8;
}

.sticky-sidebar {
    position: relative;
    margin-bottom: 32px;
}

.deadline-box {
    background: var(--danger-light);
    border: 1px solid var(--danger-red);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 16px;
    text-align: center;
}

.deadline-label {
    font-size: 0.75rem;
    color: var(--danger-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deadline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--danger-red);
}

.program-hero-wrap {
    background: linear-gradient(135deg, var(--medical-blue-dark) 0%, var(--medical-blue) 100%);
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
}

.program-hero-wrap::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.program-breadcrumb-wrap {
    margin-bottom: 32px;
}

.program-breadcrumb-wrap .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.program-breadcrumb-wrap .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.program-breadcrumb-wrap .breadcrumbs a:hover {
    color: white;
}

.program-breadcrumb-wrap .breadcrumbs .sep {
    color: rgba(255, 255, 255, 0.4);
}

.program-breadcrumb-wrap .breadcrumbs .current {
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.program-hero-icon-wrap {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 12px;
}

.program-title-h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.program-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.program-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.program-stat-item-hero {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: left;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.program-stat-item-hero:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.program-stat-label-hero {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.program-stat-value-hero {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

.program-stat-icon-hero {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--sky-accent);
}

@media (max-width: 991px) {
    .program-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .program-hero-inner,
    .uni-hero-inner {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }


    .program-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .program-hero-actions {
        width: 100%;
    }

    .program-hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

.salary-box {
    background: var(--success-light);
    border: 1px solid var(--success-green);
    padding: 24px;
    border-radius: var(--radius-md);
}

/* === SINGLE UNIVERSITY PAGE === */
.uni-hero-wrap {
    padding: 60px 0 60px;
}

.uni-hero-wrap::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.uni-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.uni-hero-content {
    flex: 1;
}

.uni-hero-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    width: 240px;
}

.uni-hero-actions-wrap .btn-primary {
    width: 100%;
    height: 48px;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 0 24px;
}

.uni-hero-actions-wrap button.btn-primary {
    border: none;
    font-family: inherit;
}


.uni-hero-title {
    color: white;
    margin-bottom: 8px;
}

.uni-hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.uni-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.uni-hero-meta-item i {
    color: var(--sky-accent);
}

.info-panel-title {
    font-size: 1.05rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    gap: 16px;
}

.info-list-key {
    color: var(--text-muted);
    flex-shrink: 0;
}

.info-list-value {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table thead th {
    background: var(--bg-section);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.fee-table tbody td {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
}

.fee-table tfoot td {
    background: var(--sky-blue);
    padding: 12px 16px;
    font-weight: 700;
    color: var(--medical-blue);
    border-top: 2px solid var(--border);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.salary-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-green);
    font-family: var(--font-heading);
}

/* === BLOG POST SPECIFIC === */
.post-full-article {
    padding: 48px;
}

@media (max-width: 768px) {
    .post-full-article {
        padding: 24px;
    }
}

.post-cat-badges a {
    background: var(--sky-blue);
    color: var(--medical-blue);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-meta img {
    border-radius: 50%;
}

.post-thumbnail-wrap img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.entry-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-share-bar {
    border: 1px solid var(--border);
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: white !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.share-btn.fb {
    background: #1877F2;
}

.share-btn.tw {
    background: #000000;
}

.share-btn.wa {
    background: #25D366;
}

.share-btn.in {
    background: #0A66C2;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.post-navigation-links {
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.nav-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.nav-title {
    font-weight: 700;
    color: var(--medical-blue);
}

/* === BLOG POST CONTENT STYLING === */
.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 10px;
    padding-left: 8px;
}

.entry-content blockquote {
    border-left: 4px solid var(--medical-blue);
    padding: 24px;
    background: var(--bg-section);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 32px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* === AUTHOR INFO BOX REFINED === */
.author-info-box {
    display: flex;
    gap: 28px;
    padding: 32px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-top: 48px;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.author-details h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.author-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .author-info-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .author-avatar {
        display: flex;
        justify-content: center;
    }
}

/* Sidebar Recent Posts widget */
.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sticky-top {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}
