/* ==========================================================================
   STYLE TRANG TIN TỨC & CẨM NANG - ATV MEDIA / XƯỞNG IN ĐÀ NẴNG
   ========================================================================== */
.pt-news-page,
.pt-news-page * {
    box-sizing: border-box;
}

.pt-news-page {
    font-family: 'Be Vietnam Pro', 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.65;
    padding-bottom: 60px;
    font-size: 14.5px;
}

/* 1. HERO BANNER */
.pt-news-hero {
    position: relative;
   background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('https://media.istockphoto.com/id/1401343922/vi/anh/n%E1%BB%AF-nh%C3%A0-%C4%91i%E1%BB%81u-h%C3%A0nh-in-%E1%BA%A5n.jpg?s=2048x2048&w=is&k=20&c=rbgpX10f_g-xWdA5mj897xaePvju4pn7fsHnwYDucHE=');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    color: #ffffff;
    padding: 50px 20px 65px;
    text-align: center;
    overflow: hidden;
}

.pt-news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(220, 38, 38, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.pt-news-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.pt-news-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pt-news-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-news-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.pt-news-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.pt-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 14px;
    background: rgba(220, 38, 38, 0.22);
    border: 1px solid rgba(220, 38, 38, 0.5);
    border-radius: 30px;
    color: #fca5a5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.pt-news-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.pt-news-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto;
    max-width: 760px;
    line-height: 1.6;
}

/* 2. CONTAINER */
.pt-news-container {
    width: 100%;
    max-width: 1240px;
    margin: -30px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

/* 3. SPOTLIGHT ARTICLE CARD */
.pt-spotlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(11, 54, 100, 0.12);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 35px;
    transition: box-shadow 0.3s ease;
}

.pt-spotlight-card:hover {
    box-shadow: 0 16px 40px -10px rgba(11, 54, 100, 0.2);
}

.pt-spotlight-thumb {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: #0b3664;
}

.pt-spotlight-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.pt-spotlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pt-spotlight-thumb:hover img {
    transform: scale(1.04);
}

.pt-spotlight-flag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.pt-spotlight-content {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pt-spotlight-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pt-spotlight-cat {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pt-spotlight-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
}

.pt-spotlight-title a {
    color: #0b3664;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-spotlight-title a:hover {
    color: #dc2626;
}

.pt-spotlight-desc {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pt-spotlight-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.pt-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #0b3664;
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.pt-btn-read:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.pt-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

/* 4. TOOLBAR: CHIPS & SEARCH */
.pt-news-toolbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
}

.pt-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pt-chip {
    padding: 7px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid transparent;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pt-chip:hover {
    background: #e2e8f0;
    color: #0b3664;
}

.pt-chip.active {
    background: #0b3664;
    color: #ffffff;
    border-color: #0b3664;
    box-shadow: 0 4px 10px rgba(11, 54, 100, 0.25);
}

.pt-search-box {
    position: relative;
    min-width: 270px;
    flex-grow: 1;
    max-width: 340px;
}

.pt-search-box i.fa-magnifying-glass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13.5px;
}

.pt-search-box input {
    width: 100%;
    height: 38px;
    padding: 6px 36px 6px 36px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    font-size: 13.5px;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.pt-search-box input:focus {
    background: #ffffff;
    border-color: #0b3664;
    box-shadow: 0 0 0 3px rgba(11, 54, 100, 0.12);
}

.pt-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

/* 5. NEWS GRID */
.pt-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 40px;
}

.pt-news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.pt-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(11, 54, 100, 0.12);
    border-color: #cbd5e1;
}

.pt-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0b3664;
}

.pt-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.pt-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pt-news-card:hover .pt-card-thumb img {
    transform: scale(1.06);
}

.pt-card-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 54, 100, 0.9);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pt-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pt-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 10px;
}

.pt-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pt-card-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.pt-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-card-title a:hover {
    color: #dc2626;
}

.pt-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.pt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.pt-card-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b3664 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pt-card-read-link:hover {
    color: #dc2626 !important;
    transform: translateX(3px);
}

.pt-card-read-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.pt-card-read-link:hover i {
    transform: translateX(2px);
}

/* 6. NO RESULTS STATE */
.pt-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    margin: 20px 0;
    grid-column: 1 / -1;
}

.pt-no-results-icon {
    font-size: 38px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.pt-no-results h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.pt-no-results p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 16px;
}

.pt-btn-reset {
    padding: 8px 20px;
    background: #0b3664;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pt-btn-reset:hover {
    background: #dc2626;
}

/* 7. PAGINATION */
.pt-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.pt-page-item {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pt-page-item:hover {
    background: #f1f5f9;
    border-color: #0b3664;
    color: #0b3664;
}

.pt-page-item.active {
    background: #0b3664;
    border-color: #0b3664;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(11, 54, 100, 0.25);
}

.pt-page-item.disabled {
    opacity: 0.45;
    pointer-events: none;
    background: #f8fafc;
}

/* 8. CTA CONSULTATION BANNER */
.pt-news-cta {
    background: linear-gradient(135deg, #061c38 0%, #0b3664 60%, #0d447d 100%);
    border-radius: 20px;
    padding: 36px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 12px 30px rgba(11, 54, 100, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.pt-news-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pt-cta-text {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.pt-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.6);
    border-radius: 20px;
    color: #fca5a5;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pt-cta-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
}

.pt-cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.pt-cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 240px;
}

.pt-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.pt-cta-call {
    background: #dc2626;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.pt-cta-call:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45);
}

.pt-cta-zalo {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.pt-cta-zalo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .pt-news-title { font-size: 26px; }
    .pt-spotlight-card { grid-template-columns: 1fr; }
    .pt-spotlight-thumb { min-height: 240px; }
    .pt-spotlight-content { padding: 24px; }
    .pt-spotlight-title { font-size: 19px; }
    .pt-news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .pt-news-cta { flex-direction: column; text-align: center; padding: 30px 24px; }
    .pt-cta-text { max-width: 100%; }
    .pt-cta-actions { width: 100%; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .pt-news-hero { padding: 40px 16px 55px; }
    .pt-news-title { font-size: 22px; }
    .pt-news-sub { font-size: 13.5px; }
    .pt-news-container { margin-top: -20px; padding: 0 12px; }
    .pt-news-grid { grid-template-columns: 1fr; gap: 18px; }
    .pt-news-toolbar { flex-direction: column; align-items: stretch; }
    .pt-search-box { max-width: 100%; }
    .pt-card-title { height: auto; font-size: 15.5px; }
}
