/* =========================================================================
   UEH CONNECT - SUBPAGES STYLESHEET (Category, News, Search, Single Post, Proposal)
   Included in <head> to prevent FOUC & layout shifts across all subpages
   ========================================================================= */

/* === CATEGORY & SEARCH SHARED CSS === */
/* Hero Banner */
.category-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    background-color: #020a0d;
    overflow: hidden;
}

.category-hero .video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.category-hero .subpage-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.category-hero .content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

.subpage-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.5rem;
}

.subpage-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.subpage-breadcrumb a:hover {
    color: #f36c21;
}

.subpage-breadcrumb .sep {
    color: rgba(255,255,255,0.45);
}

.subpage-breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}

.cat-pill-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(243, 108, 33, 0.2);
    color: #f36c21;
    border: 1px solid rgba(243, 108, 33, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}

.subpage-title {
    color: #ffffff;
    font-size: 2.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.subpage-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 780px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-partner-portal {
    display: inline-flex;
    align-items: center;
    background: #f36c21;
    color: #ffffff;
    padding: 0.65rem 1.35rem;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(243, 108, 33, 0.35);
}

.btn-partner-portal:hover {
    background: #d85c18;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(243, 108, 33, 0.45);
}

/* Bố cục 2 Cột */
.category-page-main {
    padding: 3.5rem 5%;
    background-color: #f8fafc;
    min-height: 70vh;
}

.category-page-main .content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

.category-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

/* Cá»˜T Ná»˜I DUNG */
.cat-co-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cat-filter-label {
    font-size: 14px;
    font-weight: 700;
    color: #004856;
    margin-right: 0.25rem;
}

.cat-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cat-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-filter-pill:hover {
    background: #e2e8f0;
    color: #004856;
}

.cat-filter-pill.active {
    background: #004856;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 72, 86, 0.25);
}

.cat-filter-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.75rem;
    font-size: 14px;
}

.btn-clear-group {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: #fee2e2;
}

.btn-clear-group:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* LÆ°á»›i bÃ i viáº¿t */
.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cat-post-card {
    display: flex;
}

.cat-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.28s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cat-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.cat-card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: linear-gradient(135deg, #012832 0%, #004d57 100%);
    overflow: hidden;
}

.cat-card-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    color: transparent;
    font-size: 0;
    transition: transform 0.4s ease;
}

.cat-card-inner:hover .cat-card-img {
    transform: scale(1.05);
}

.cat-group-badge {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    background: rgba(0, 72, 86, 0.92);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cat-pin-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cat-pin-badge svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.cat-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-card-meta {
    margin-bottom: 0.45rem;
}

.cat-date {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.cat-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.cat-card-inner:hover .cat-card-title {
    color: #f36c21;
}

.cat-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.cat-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #f36c21;
    font-size: 13px;
    font-weight: 700;
}

.cat-card-inner:hover .cat-read-more {
    gap: 0.55rem;
}

/* PhÃ¢n trang Server-Side */
.cat-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.cat-page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cat-page-btn:hover:not(.active) {
    border-color: #004856;
    color: #004856;
    background: #f8fafc;
    transform: translateY(-1px);
}

.cat-page-btn.active {
    background: #004856;
    color: #ffffff;
    border-color: #004856;
    box-shadow: 0 4px 12px rgba(0, 72, 86, 0.25);
}

.cat-page-dots {
    min-width: 32px;
    text-align: center;
    color: #94a3b8;
    font-weight: bold;
}

/* Empty Box */
.cat-empty-box {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
}

.cat-empty-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.cat-empty-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.cat-empty-box p {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
}

.btn-reset-filter {
    display: inline-flex;
    align-items: center;
    background: #004856;
    color: #ffffff;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-reset-filter:hover {
    background: #003641;
    color: #ffffff;
}

/* SIDEBAR WIDGETS */
.cat-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #004856;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
}

/* Search widget */
.sidebar-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.sidebar-search-input:focus {
    border-color: #004856;
    box-shadow: 0 0 0 3px rgba(0, 72, 86, 0.1);
}

.sidebar-search-btn {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #004856;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-search-btn:hover {
    background: #f36c21;
}

/* Category list widget */
.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-cat-item {
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-cat-icon {
    font-size: 15px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.sidebar-cat-name {
    flex-grow: 1;
}

.sidebar-cat-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    transition: all 0.2s;
}

.sidebar-cat-link:hover {
    background: #f8fafc;
    color: #004856;
}

.sidebar-cat-link:hover .sidebar-cat-icon {
    color: #004856;
}

.sidebar-cat-item.active .sidebar-cat-link {
    background: #004856;
    color: #ffffff;
    font-weight: 600;
}

.sidebar-cat-item.active .sidebar-cat-icon i {
    color: #f36c21 !important;
}

.sidebar-cat-item.active .sidebar-cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Tags widget */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.sidebar-tag:hover {
    background: #004856;
    color: #ffffff;
    border-color: #004856;
}

.sidebar-tag.active {
    background: #f36c21;
    color: #ffffff;
    border-color: #f36c21;
}

/* Recent posts widget */
.sidebar-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sidebar-recent-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.sidebar-recent-item:hover {
    transform: translateX(3px);
}

.sidebar-recent-thumb {
    width: 68px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-info {
    flex-grow: 1;
}

.sidebar-recent-date {
    font-size: 11.5px;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.15rem;
}

.sidebar-recent-title {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.sidebar-recent-item:hover .sidebar-recent-title {
    color: #f36c21;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .category-layout {
        grid-template-columns: 1fr;
    }
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cat-sidebar-col {
        margin-top: 1.5rem;
    }
}

@media (max-width: 640px) {
    .category-posts-grid {
        grid-template-columns: 1fr;
    }
    .subpage-title {
        font-size: 1.85rem;
    }
    .cat-co-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === NEWS LIST CSS === */
/* Subpage Hero Banner */
.subpage-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 70px;
    background-color: #020a0d;
    overflow: hidden;
}

.subpage-hero .video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.subpage-hero-content .content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.subpage-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}

.subpage-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.subpage-breadcrumb a:hover {
    color: #f26f33;
}

.subpage-breadcrumb .sep {
    opacity: 0.4;
}

.subpage-breadcrumb .current {
    color: #f26f33;
    font-weight: 600;
}

.subpage-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.subpage-desc {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 1.6;
    max-width: 750px;
    margin-bottom: 0;
}

/* Main Archive Content */
.news-archive-main {
    background-color: #f8fafc;
    padding: 3.5rem 5% 5.5rem;
    min-height: 70vh;
}

.news-archive-main .content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

/* Filter & Search Bar */
.news-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-pill .cat-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 700;
}

.cat-pill:hover {
    border-color: #034f59;
    color: #034f59;
    transform: translateY(-1px);
}

.cat-pill.active {
    background: #034f59;
    border-color: #034f59;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3,79,89,0.2);
}

.cat-pill.active .cat-count {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.news-search-form {
    min-width: 280px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.55rem 2.2rem 0.55rem 2.6rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.search-input:focus {
    border-color: #034f59;
    box-shadow: 0 0 0 3px rgba(3,79,89,0.12);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.search-result-alert {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 14.5px;
}

/* Featured Spotlight */
.featured-news-spotlight {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.featured-news-spotlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.featured-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.featured-thumb-col {
    flex: 0 0 50%;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card-link:hover .featured-img {
    transform: scale(1.05);
}

.spotlight-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f26f33;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-content-col {
    flex: 1;
    padding: 3rem 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-cat-badge {
    align-self: flex-start;
    background: rgba(3,79,89,0.08);
    color: #034f59;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.news-date-text {
    color: #0ea5e9;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.featured-news-title {
    color: #0f172a;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.featured-card-link:hover .featured-news-title {
    color: #034f59;
}

.featured-news-excerpt {
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.read-more-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f26f33;
    font-weight: 700;
    font-size: 14.5px;
    margin-top: auto;
    transition: transform 0.25s ease;
}

.featured-card-link:hover .read-more-action {
    transform: translateX(6px);
}

/* News Grid Archive */
.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-archive-card {
    display: flex;
}

.news-card-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.news-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.news-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-box:hover .news-card-img {
    transform: scale(1.06);
}

.card-cat-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(2,10,13,0.8);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.card-pin-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    z-index: 2;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.card-pin-badge svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.news-card-body {
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    margin-bottom: 0.5rem;
}

.date-badge {
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 600;
}

.news-card-title {
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-card-box:hover .news-card-title {
    color: #034f59;
}

.news-card-excerpt {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.read-more-text {
    color: #034f59;
    font-size: 13px;
    font-weight: 700;
}

.arrow-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    color: #f26f33;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.news-card-box:hover .arrow-circle {
    background: #f26f33;
    color: #ffffff;
    transform: translateX(3px);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 4rem;
}

.page-num, .page-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-num:hover, .page-nav-btn:hover {
    border-color: #034f59;
    color: #034f59;
    background: #f8fafc;
}

.page-num.active {
    background: #034f59;
    border-color: #034f59;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3,79,89,0.2);
}

.page-dots {
    color: #94a3b8;
    padding: 0 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-card-link {
        flex-direction: column;
    }
    .featured-thumb-col {
        flex: 0 0 100%;
        aspect-ratio: 16 / 9;
    }
    .featured-content-col {
        padding: 2rem;
    }
    .news-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .subpage-title {
        font-size: 1.85rem;
    }
    .news-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .news-search-form {
        width: 100%;
    }
    .news-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* === SEARCH RESULTS CSS === */
/* =========================================
   STYLE CHO TRANG TÃŒM KIáº¾M BÃ€I VIáº¾T
   ========================================= */

/* Highlight tá»« khÃ³a */
mark.search-highlight {
    background-color: #fef08a !important;
    color: #854d0e !important;
    font-weight: 700 !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Hero Banner TÃ¬m kiáº¿m */
.search-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    background-color: #020a0d;
    overflow: hidden;
}

.search-hero .video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.search-hero .subpage-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.search-hero .content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

/* Khung tÃ¬m kiáº¿m trÃªn Hero */
.hero-search-bar {
    max-width: 780px;
    margin-top: 1.75rem;
}

.hero-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-search-icon {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-right: 12px;
}

.hero-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 15.5px;
    color: #1e293b;
    background: transparent;
}

.hero-search-clear {
    color: #94a3b8;
    font-size: 22px;
    padding: 0 10px;
    text-decoration: none;
    line-height: 1;
}

.hero-search-clear:hover {
    color: #ef4444;
}

.hero-search-submit {
    background: #004856;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.6rem;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 72, 86, 0.3);
}

.hero-search-submit:hover {
    background: #f36c21;
    box-shadow: 0 4px 14px rgba(243, 108, 33, 0.35);
}

/* Layout ThÃ¢n trang */
.search-page-main {
    padding: 3.5rem 5%;
    background-color: #f8fafc;
    min-height: 70vh;
}

.search-page-main .content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

.search-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

/* Results Header */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid #e2e8f0;
}

.search-stat-text {
    font-size: 1.05rem;
    color: #475569;
}

.text-highlight {
    color: #f36c21;
}

.search-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.btn-remove-cat {
    color: #0369a1;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

/* Danh sÃ¡ch káº¿t quáº£ */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.search-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.search-card-inner {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.search-card-thumb {
    position: relative;
    width: 220px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.search-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.search-result-card:hover .search-card-thumb img {
    transform: scale(1.06);
}

.search-card-badge {
    position: absolute;
    bottom: 8px; left: 8px;
    background: rgba(0, 72, 86, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.card-pin-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    z-index: 2;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.card-pin-badge svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.search-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.search-card-date {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 0.35rem;
    display: block;
}

.search-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.search-result-card:hover .search-card-title {
    color: #004856;
}

.search-card-snippet {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.search-card-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.5rem;
}

.search-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #f36c21;
    font-size: 13.5px;
    font-weight: 700;
}

.search-result-card:hover .search-read-link {
    gap: 0.6rem;
}

/* PhÃ¢n trang Search */
.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.search-page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-page-btn:hover:not(.active) {
    border-color: #004856;
    color: #004856;
    background: #f8fafc;
}

.search-page-btn.active {
    background: #004856;
    color: #ffffff;
    border-color: #004856;
    box-shadow: 0 4px 12px rgba(0, 72, 86, 0.25);
}

.search-page-dots {
    min-width: 32px;
    text-align: center;
    color: #94a3b8;
    font-weight: bold;
}

/* Empty State */
.search-empty-state {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
}

.empty-state-icon {
    font-size: 3.25rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.empty-state-desc {
    font-size: 0.98rem;
    color: #64748b;
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.empty-state-suggestions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.suggestion-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

.suggestion-pill {
    background: #f1f5f9;
    color: #004856;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.suggestion-pill:hover {
    background: #004856;
    color: #ffffff;
    border-color: #004856;
}

/* SIDEBAR STYLES (Äá»“ng bá»™ vá»›i category.php) */
.search-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #004856;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
}

.sidebar-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.sidebar-search-input:focus {
    border-color: #004856;
    box-shadow: 0 0 0 3px rgba(0, 72, 86, 0.1);
}

.sidebar-search-btn {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #004856;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-search-btn:hover {
    background: #f36c21;
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-cat-icon {
    font-size: 15px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.sidebar-cat-name {
    flex-grow: 1;
}

.sidebar-cat-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
}

.sidebar-cat-link:hover {
    background: #f8fafc;
    color: #004856;
}

.sidebar-cat-item.active .sidebar-cat-link {
    background: #004856;
    color: #ffffff;
    font-weight: 600;
}

.sidebar-cat-item.active .sidebar-cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.sidebar-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sidebar-recent-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.sidebar-recent-item:hover {
    transform: translateX(3px);
}

.sidebar-recent-thumb {
    width: 68px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-date {
    font-size: 11.5px;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.15rem;
}

.sidebar-recent-title {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.sidebar-recent-item:hover .sidebar-recent-title {
    color: #f36c21;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
    .search-sidebar-col {
        margin-top: 1.5rem;
    }
}

@media (max-width: 640px) {
    .search-card-inner {
        flex-direction: column;
    }
    .search-card-thumb {
        width: 100%;
        height: 180px;
    }
    .hero-search-input-wrap {
        flex-wrap: wrap;
        border-radius: 14px;
        padding: 10px;
    }
    .hero-search-submit {
        width: 100%;
        margin-top: 8px;
        border-radius: 10px;
    }
}

/* === SINGLE POST CSS === */
/* Subpage Hero Banner */
.subpage-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 70px;
    background-color: #020a0d;
    overflow: hidden;
}

.subpage-hero .video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.subpage-hero-content .content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.subpage-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}

.subpage-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.subpage-breadcrumb a:hover {
    color: #f26f33;
}

.subpage-breadcrumb .sep {
    opacity: 0.4;
}

.subpage-breadcrumb .current {
    color: #f26f33;
    font-weight: 600;
}

.subpage-title {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content-body p {
    margin-bottom: 1.5rem;
}

.post-content-body h2, .post-content-body h3 {
    color: #034f59;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* === PROPOSAL FORM CSS === */
.unified-proposal-section {
    background-color: #f8fafc;
    padding: 4rem 1.5rem 6rem;
    position: relative;
    z-index: 10;
}

.proposal-container {
    max-width: 1060px;
    margin: 0 auto;
}

.proposal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3.5rem 4rem;
    box-shadow: 0 16px 45px rgba(0, 72, 86, 0.07);
    border: 1.5px solid #d0e1e5;
}

@media (max-width: 768px) {
    .proposal-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }
}

.proposal-header {
    margin-bottom: 2.8rem;
}

.proposal-badge {
    display: inline-block;
    background: rgba(243, 108, 33, 0.12);
    color: #f36c21;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.proposal-title {
    color: #004856;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .proposal-title {
        font-size: 1.75rem;
    }
}

.proposal-desc {
    color: #4b5563;
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.proposal-form {
    display: flex;
    flex-direction: column;
}

.proposal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

@media (max-width: 768px) {
    .proposal-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.prop-group {
    display: flex;
    flex-direction: column;
}

.prop-group.full-width {
    grid-column: 1 / -1;
}

.prop-group label {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.prop-group .req {
    color: #f36c21;
    font-weight: 700;
    margin-left: 2px;
}

.prop-sublabel {
    font-size: 13px;
    font-weight: 400;
}

.prop-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition: all 0.25s ease;
}

.prop-input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.prop-input:focus {
    border-color: #004856;
    box-shadow: 0 0 0 3.5px rgba(0, 72, 86, 0.14);
}

.prop-select {
    cursor: pointer;
    appearance: auto;
}

.prop-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}

/* Checkbox Pills Grid */
.prop-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
    margin-top: 0.4rem;
}

.prop-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.prop-checkbox-card:hover {
    border-color: #004856;
    background: #f0fdfa;
}

.prop-checkbox-input {
    display: none;
}

.prop-custom-check {
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #fff;
}

.prop-checkbox-input:checked + .prop-custom-check {
    background: #004856;
    border-color: #004856;
}

.prop-checkbox-input:checked + .prop-custom-check::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.prop-check-content {
    display: flex;
    flex-direction: column;
}

.prop-check-content strong {
    color: #0f172a;
    font-size: 13.5px;
    line-height: 1.35;
}

.prop-check-desc {
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

/* Dropzone Area */
.prop-dropzone {
    border: 2px dashed #93c5cf;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    background: #f0f7f9;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.prop-dropzone.dragover,
.prop-dropzone:hover {
    border-color: #004856;
    background: #e2f2f5;
}

.prop-dropzone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-prop-browse {
    background: #004856;
    color: #ffffff;
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-prop-browse:hover {
    background: #003641;
}

/* File items list */
.prop-file-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prop-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 13.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.prop-file-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow: hidden;
}

.prop-file-icon {
    color: #004856;
    font-size: 16px;
}

.prop-file-name {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.prop-file-size {
    color: #64748b;
    font-size: 12px;
}

.btn-prop-remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
    transition: transform 0.2s ease;
}

.btn-prop-remove-file:hover {
    transform: scale(1.25);
}

/* Footer / Captcha & Submit */
.prop-footer-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.prop-captcha-wrapper {
    display: flex;
    flex-direction: column;
}

.prop-math-badge {
    display: inline-block;
    background: #004856;
    color: #ffffff;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13.5px;
    margin: 0 4px;
}

.prop-captcha-input {
    max-width: 180px;
}

.prop-submit-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-unified-submit {
    background: #004856;
    color: #ffffff;
    border: none;
    padding: 0.95rem 2.5rem;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 72, 86, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
}

.btn-unified-submit:hover {
    background: #003641;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 72, 86, 0.28);
}

.btn-unified-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.prop-privacy-note {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    text-align: left;
}

.prop-privacy-note a {
    color: #004856;
    font-weight: 600;
    text-decoration: underline;
}

/* === DOITAC PAGE CSS === */
.subpage-hero {
    position: relative;
    padding: 130px 0 65px;
    background: #01141a;
    overflow: hidden;
}
.subpage-hero .video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}
.subpage-hero .bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.subpage-hero .video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(1, 15, 20, 0.78) 0%, rgba(1, 15, 20, 0.94) 100%);
    z-index: 2;
}
.subpage-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.subpage-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}
.subpage-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.subpage-breadcrumb a:hover {
    color: #f36c21;
}
.subpage-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
}
.subpage-breadcrumb .current {
    color: #fff;
}
.subpage-title {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}
.subpage-desc {
    max-width: 780px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}
.ueh-partners-page-wrap {
    padding-top: 30px;
    padding-bottom: 90px;
    background: #ffffff;
}
.ueh-partners-page-wrap .ueh-partners {
    padding-top: 10px;
    padding-bottom: 20px;
}