/* सार्वजनिक इनर पेज — साझा थीम */
.page-inner main { padding-bottom: 0; }

.public-hero {
    position: relative;
    padding: 56px 0 48px;
    color: #fff;
    overflow: hidden;
}
.public-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background: radial-gradient(circle at 20% 80%, rgba(255,193,7,.25), transparent 50%);
}
.public-hero--blue { background: linear-gradient(135deg, #0a2342 0%, #0d2c54 50%, #1a5276 100%); }
.public-hero--gold { background: linear-gradient(135deg, #5c4a00 0%, #8a6d00 40%, #0d2c54 100%); }
.public-hero--green { background: linear-gradient(135deg, #0d3d2e 0%, #145a32 50%, #0d2c54 100%); }
.public-hero--purple { background: linear-gradient(135deg, #2d1b4e 0%, #4a2c7a 50%, #0d2c54 100%); }
.public-hero-inner { position: relative; z-index: 1; }
.public-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,193,7,.4);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .85rem;
    margin-bottom: 12px;
}
.public-hero h1 {
    font-family: 'Playfair Display', 'Noto Sans Devanagari', serif;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    margin: 0 0 10px;
}
.public-hero-sub { opacity: .92; max-width: 640px; margin: 0; font-size: 1.05rem; }
.public-breadcrumb { margin-top: 16px; font-size: .88rem; opacity: .85; }
.public-breadcrumb a { color: #ffd966; text-decoration: none; }
.public-breadcrumb span { margin: 0 6px; }

.public-quick-nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 8px rgba(13,44,84,.06);
}
.public-quick-nav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}
.public-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: .9rem;
    font-weight: 500;
    border: 1px solid transparent;
}
.public-quick-link:hover { background: #f1f5f9; color: #0d2c54; }
.public-quick-link.is-active {
    background: #0d2c54;
    color: #fff;
}

.public-content { padding: 48px 0 64px; background: #f8fafc; }
.public-content .container { max-width: 1100px; }
.public-section-head { margin-bottom: 28px; }
.public-section-head .section-title {
    font-size: 1.65rem;
    color: #0d2c54;
    margin: 0 0 8px;
}
.public-section-head .section-subtitle { color: #64748b; margin: 0; }

.public-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(13,44,84,.08);
    border: 1px solid #e8eef5;
    margin-bottom: 20px;
}
.public-card h3 { color: #0d2c54; margin: 0 0 10px; font-size: 1.15rem; }
.public-card p { margin: 0; color: #475569; line-height: 1.75; }

.public-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.public-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.public-info-box {
    background: linear-gradient(135deg, #0d2c54, #1a5276);
    color: #fff;
    border-radius: 14px;
    padding: 24px;
}
.public-info-box a { color: #ffd966; }
.public-info-box ul { margin: 12px 0 0; padding-left: 18px; }
.public-info-box li { margin-bottom: 8px; }

.public-notice {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .95rem;
    line-height: 1.6;
}
.public-notice--info { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e40af; }
.public-notice--warn { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }
.public-notice--honest { background: #f0fdf4; border-left: 4px solid #22c55e; color: #166534; }

.public-table-wrap { overflow-x: auto; margin: 16px 0; }
.public-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,44,84,.06);
}
.public-table th, .public-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.public-table th { background: #0d2c54; color: #fff; font-weight: 600; }
.public-table tr:last-child td { border-bottom: none; }
.public-table tr:nth-child(even) td { background: #f8fafc; }

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.facility-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    transition: transform .2s, box-shadow .2s;
}
.facility-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13,44,84,.1);
}
.facility-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d2c54, #1a5276);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: box-shadow .2s;
}
.news-item:hover { box-shadow: 0 6px 20px rgba(13,44,84,.1); }
.news-item.is-urgent { border-left: 4px solid #dc2626; }
.news-item-meta { font-size: .85rem; color: #64748b; margin-bottom: 6px; }
.news-item h3 { margin: 0 0 8px; color: #0d2c54; font-size: 1.1rem; }
.news-item p { margin: 0; color: #475569; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    position: relative;
    background: #e2e8f0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
    font-size: .85rem;
}

.vacancy-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}
.vacancy-card h3 { margin: 0 0 10px; color: #0d2c54; }
.vacancy-deadline { display: inline-block; margin-top: 10px; font-size: .88rem; color: #b45309; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; color: #334155; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.btn-public {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    transition: transform .15s, box-shadow .15s;
}
.btn-public-gold { background: #ffc107; color: #0d2c54; }
.btn-public-gold:hover { background: #e6ac00; transform: translateY(-1px); }
.btn-public-primary { background: #0d2c54; color: #fff; }
.btn-public-primary:hover { background: #0a2342; }
.btn-public-outline {
    background: transparent;
    color: #0d2c54;
    border: 2px solid #0d2c54;
}
.btn-public-outline:hover { background: #0d2c54; color: #fff; }

.public-cta-strip {
    background: linear-gradient(135deg, #0d2c54, #1a5276);
    color: #fff;
    padding: 40px 0;
}
.public-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.public-cta-inner h2 { margin: 0 0 8px; font-size: 1.4rem; }
.public-cta-inner p { margin: 0; opacity: .9; }
.public-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.public-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.public-modal[hidden] { display: none !important; }
.public-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}
.public-modal-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.public-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #64748b;
}
.public-modal-date { color: #64748b; font-size: .88rem; margin: 0 0 8px; }
.public-modal-body { line-height: 1.75; color: #334155; }

.public-empty {
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.holiday-list, .event-list { list-style: none; padding: 0; margin: 0; }
.holiday-list li, .event-list li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
}
.holiday-date-badge {
    min-width: 56px;
    text-align: center;
    background: #0d2c54;
    color: #fff;
    border-radius: 8px;
    padding: 8px 6px;
    font-weight: 700;
    line-height: 1.2;
}
.holiday-date-badge small { display: block; font-size: .72rem; font-weight: 500; opacity: .85; }

.program-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    height: 100%;
}
.program-card .tag {
    display: inline-block;
    background: rgba(255,193,7,.2);
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .public-grid-2, .public-grid-3, .contact-grid { grid-template-columns: 1fr; }
    .public-cta-inner { flex-direction: column; text-align: center; }
    .public-cta-btns { justify-content: center; }
}
