/* ================================================
   PRODUCT UPDATE - Archive & Single | TeroTAM
   Font: Montserrat | Colors: #0C1C44, #FF8214
   ================================================ */

/* ---------- Reset ---------- */
.pu-archive-page, .pu-archive-page *, .pu-archive-page *::before, .pu-archive-page *::after,
.pu-single-page, .pu-single-page *, .pu-single-page *::before, .pu-single-page *::after { box-sizing: border-box; }
.pu-archive-page, .pu-single-page {
    font-family: 'Montserrat', sans-serif;
    max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
    margin-block-start: 0 !important; width: 100%; overflow-x: clip;
    position: relative; color: #333;
}
.pu-archive-page a, .pu-single-page a { text-decoration: none; }
.pu-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; width: 100%; }
.pu-text-orange { color: #FF8214 !important; }
.pu-badge {
    display: inline-block; padding: 6px 18px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    color: #FF8214; background: rgba(255,130,20,0.15);
}

/* ================================
   ARCHIVE - HERO
   ================================ */
.pu-hero {
    position: relative; z-index: 1; background: #0C1C44;
    padding: 100px 0 90px; overflow: hidden;
}
.pu-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.pu-hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 40px 40px;
}
.pu-hero-content { position: relative; text-align: center; }
.pu-hero .pu-badge { margin-bottom: 24px; }
.pu-archive-page .pu-hero-title,
.pu-single-page .pu-hero-title {
    font-size: 48px !important; font-weight: 800 !important; color: #fff !important;
    margin: 0 0 16px 0 !important; line-height: 1.15 !important;
    background: none !important; -webkit-text-fill-color: #fff !important;
}
.pu-archive-page .pu-hero-desc,
.pu-single-page .pu-hero-desc {
    font-size: 17px !important; color: rgba(255,255,255,0.6) !important;
    max-width: 560px; margin: 0 auto 36px !important; line-height: 1.7 !important;
}

/* Hero Stats */
.pu-hero-stats {
    display: inline-flex; align-items: center; gap: 0;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}
.pu-hero-stat {
    padding: 0 30px; text-align: center;
    display: flex; align-items: center; gap: 8px; flex-direction: column;
}
.pu-hero-stat-num { font-size: 28px; font-weight: 800; color: #FF8214; }
.pu-hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.pu-hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* ================================
   ARCHIVE - FEATURED CARD
   ================================ */
.pu-featured { padding: 0 0 60px; margin-top: -40px; position: relative; z-index: 2; }
.pu-featured-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: #FF8214;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.pu-featured-card {
    display: flex; gap: 0; background: #fff;
    border: 1px solid #e8eaf0;
    box-shadow: 0 10px 50px rgba(12,28,68,0.1);
    transition: all 0.4s; color: #333 !important; overflow: hidden;
}
.pu-featured-card:hover {
    box-shadow: 0 20px 60px rgba(12,28,68,0.14);
    border-color: #FF8214;
}
.pu-featured-left {
    width: 42%; flex-shrink: 0; overflow: hidden;
    background: #f0f2f5;
}
.pu-featured-img {
    width: 100% !important; height: 100% !important; object-fit: cover; display: block;
    transition: transform 0.4s;
}
.pu-featured-card:hover .pu-featured-img { transform: scale(1.03); }
.pu-featured-img-placeholder {
    width: 100%; height: 100%; min-height: 280px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f5f7fc, #eef1f8);
}
.pu-featured-right { padding: 36px 40px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pu-featured-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pu-featured-date {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: #888;
}
.pu-featured-new {
    font-size: 10px; font-weight: 800; color: #fff;
    background: #FF8214; padding: 3px 10px; letter-spacing: 1px;
}
.pu-archive-page .pu-featured-title {
    font-size: 26px !important; font-weight: 800 !important; color: #0C1C44 !important;
    margin: 0 0 12px 0 !important; line-height: 1.3 !important;
}
.pu-featured-excerpt { font-size: 14px; color: #666; line-height: 1.7; margin: 0 0 20px 0; }
.pu-featured-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: #FF8214;
    transition: gap 0.3s;
}
.pu-featured-card:hover .pu-featured-link { gap: 10px; }

/* ================================
   ARCHIVE - GRID
   ================================ */
.pu-list { padding: 0 0 80px; position: relative; z-index: 1; }
.pu-list-header { margin-bottom: 36px; }
.pu-archive-page .pu-list-title {
    font-size: 28px !important; font-weight: 800 !important; color: #0C1C44 !important;
    margin: 0 0 8px 0 !important;
}
.pu-list-desc { font-size: 14px; color: #888; margin: 0; }
.pu-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pu-card {
    background: #fff; border: 1px solid #e8eaf0;
    overflow: hidden; transition: all 0.3s; color: #333 !important;
    position: relative; display: flex; flex-direction: column;
}
.pu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12,28,68,0.1);
    border-color: #FF8214;
}
.pu-card-top { height: 180px; overflow: hidden; background: #f5f7fc; }
.pu-card-img {
    width: 100% !important; height: 100% !important; object-fit: cover; display: block;
    transition: transform 0.4s;
}
.pu-card:hover .pu-card-img { transform: scale(1.05); }
.pu-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f5f7fc, #eef1f8);
}
.pu-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pu-card-date {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: #999; margin-bottom: 10px;
}
.pu-archive-page .pu-card-title {
    font-size: 16px !important; font-weight: 700 !important; color: #0C1C44 !important;
    margin: 0 0 8px 0 !important; line-height: 1.4 !important;
}
.pu-card-excerpt { font-size: 13px; color: #777; line-height: 1.6; margin: 0 0 16px 0; flex: 1; }
.pu-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: #FF8214;
    transition: gap 0.3s;
}
.pu-card:hover .pu-card-link { gap: 10px; }
.pu-card-decoration {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: #FF8214;
    transform: scaleX(0); transition: transform 0.3s;
}
.pu-card:hover .pu-card-decoration { transform: scaleX(1); }

/* Pagination */
.pu-pagination { margin-top: 50px; text-align: center; }
.pu-pagination ul { list-style: none; display: inline-flex; gap: 6px; margin: 0; padding: 0; }
.pu-pagination li { display: inline-block; }
.pu-pagination a, .pu-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    font-size: 14px; font-weight: 600; font-family: 'Montserrat', sans-serif;
    border: 1px solid #e2e5ea; color: #0C1C44 !important;
    transition: all 0.3s;
}
.pu-pagination a:hover { border-color: #FF8214; color: #FF8214 !important; }
.pu-pagination .current {
    background: #FF8214 !important; color: #fff !important; border-color: #FF8214 !important;
}
.pu-empty { text-align: center; padding: 60px 0; color: #999; }
.pu-empty p { margin: 16px 0 0; }

/* ================================
   ARCHIVE - CTA
   ================================ */
.pu-cta {
    background: linear-gradient(135deg, #0C1C44 0%, #162d66 100%);
    padding: 70px 0; position: relative; z-index: 1; overflow: hidden; text-align: center;
}
.pu-cta::before {
    content: ''; position: absolute; top: -50%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,130,20,0.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.pu-cta-inner { position: relative; }
.pu-archive-page .pu-cta-title,
.pu-single-page .pu-cta-title {
    font-size: 30px !important; font-weight: 800 !important; color: #fff !important;
    margin: 0 0 10px 0 !important; background: none !important;
    -webkit-text-fill-color: #fff !important;
}
.pu-archive-page .pu-cta-desc,
.pu-single-page .pu-cta-desc {
    font-size: 15px !important; color: rgba(255,255,255,0.6) !important;
    margin: 0 auto 30px !important; max-width: 520px;
}
.pu-cta-actions { display: flex; gap: 14px; justify-content: center; }
.pu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; font-size: 14px; font-weight: 600;
    font-family: 'Montserrat', sans-serif; text-decoration: none !important;
    transition: all 0.3s; white-space: nowrap; border: 2px solid transparent;
}
.pu-archive-page .pu-btn-orange,
.pu-single-page .pu-btn-orange {
    background: #FF8214 !important; color: #fff !important; border-color: #FF8214 !important;
}
.pu-archive-page .pu-btn-orange:hover,
.pu-single-page .pu-btn-orange:hover {
    background: #fff !important; color: #0C1C44 !important; border-color: #fff !important;
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}
.pu-archive-page .pu-btn-ghost,
.pu-single-page .pu-btn-ghost {
    background: transparent !important; color: #fff !important;
    border: 2px solid rgba(255,255,255,0.25) !important;
}
.pu-archive-page .pu-btn-ghost:hover,
.pu-single-page .pu-btn-ghost:hover {
    background: rgba(255,255,255,0.1) !important; border-color: #fff !important;
    transform: translateY(-2px);
}

/* ================================
   SINGLE - HERO
   ================================ */
.pus-hero {
    position: relative; z-index: 1; background: #0C1C44;
    padding: 100px 0 60px; overflow: hidden;
}
.pus-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.pus-hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 40px 40px;
}
.pus-hero-content { position: relative; }
.pus-back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5) !important;
    margin-bottom: 24px; transition: color 0.3s;
}
.pus-back-link:hover { color: #FF8214 !important; }
.pus-meta { margin-bottom: 14px; }
.pus-date {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: rgba(255,255,255,0.5);
}
.pu-single-page .pus-title {
    font-size: 40px !important; font-weight: 800 !important; color: #fff !important;
    margin: 0 !important; line-height: 1.25 !important; max-width: 800px;
    background: none !important; -webkit-text-fill-color: #fff !important;
}

/* ================================
   SINGLE - CONTENT
   ================================ */
.pus-content-section { padding: 50px 0 60px; position: relative; z-index: 1; }
.pus-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
}
.pus-article { min-width: 0; }
.pus-featured-img { margin-bottom: 30px; overflow: hidden; }
.pus-img { width: 100% !important; height: auto !important; display: block; }

/* Article Body - WP Content */
.pus-body { font-size: 16px; line-height: 1.8; color: #444; }
.pus-body h1, .pus-body h2, .pus-body h3, .pus-body h4 {
    color: #0C1C44 !important; font-weight: 700 !important;
    margin-top: 32px !important; margin-bottom: 14px !important;
    -webkit-text-fill-color: #0C1C44 !important; background: none !important;
}
.pus-body h2 { font-size: 24px !important; padding-bottom: 10px; border-bottom: 2px solid #f0f2f5; }
.pus-body h3 { font-size: 20px !important; }
.pus-body p { margin: 0 0 16px 0; }
.pus-body ul, .pus-body ol { margin: 0 0 16px 0; padding-left: 24px; }
.pus-body li { margin-bottom: 6px; }
.pus-body img { max-width: 100%; height: auto; margin: 16px 0; }
.pus-body a { color: #FF8214; font-weight: 600; }
.pus-body a:hover { text-decoration: underline; }
.pus-body strong { color: #0C1C44; }

/* Share */
.pus-share {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 0; margin-top: 30px;
    border-top: 1px solid #f0f2f5; border-bottom: 1px solid #f0f2f5;
}
.pus-share-label { font-size: 13px; font-weight: 600; color: #0C1C44; }
.pus-share-links { display: flex; gap: 8px; }
.pus-share-btn {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e8eaf0; color: #888 !important; background: #fff;
    transition: all 0.3s; cursor: pointer; font-size: 12px;
}
.pus-share-li:hover { background: #0a66c2; color: #fff !important; border-color: #0a66c2; }
.pus-share-tw:hover { background: #000; color: #fff !important; border-color: #000; }
.pus-share-fb:hover { background: #1877f2; color: #fff !important; border-color: #1877f2; }
.pus-share-copy:hover { background: #0C1C44; color: #fff !important; border-color: #0C1C44; }

/* Post Nav */
.pus-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    margin-top: 30px;
}
.pus-nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 18px; border: 1px solid #e8eaf0;
    transition: all 0.3s; color: #333 !important;
}
.pus-nav-item:hover { border-color: #FF8214; background: #FFF8F0; }
.pus-nav-next { text-align: right; justify-content: flex-end; }
.pus-nav-label { display: block; font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.pus-nav-title { display: block; font-size: 14px; font-weight: 600; color: #0C1C44; margin-top: 2px; }

/* Sidebar */
.pus-sidebar {
    display: flex; flex-direction: column; gap: 20px;
    position: -webkit-sticky; position: sticky; top: 100px;
}
.pus-toc-card, .pus-related-card {
    background: #fff; padding: 24px; border: 1px solid #e8eaf0;
    box-shadow: 0 4px 20px rgba(12,28,68,0.05);
}
.pus-sidebar-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px !important; font-weight: 700 !important; color: #0C1C44 !important;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin: 0 0 16px 0 !important; padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}
.pus-toc a {
    display: block; padding: 7px 0 7px 14px;
    font-size: 13px; color: #666 !important; font-weight: 500;
    border-left: 2px solid #e8eaf0; transition: all 0.3s;
}
.pus-toc a:hover, .pus-toc a.active {
    color: #FF8214 !important; border-left-color: #FF8214;
}
.pus-related-item {
    display: block; padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s; color: #333 !important;
}
.pus-related-item:last-child { border-bottom: none; }
.pus-related-item:hover { padding-left: 8px; }
.pus-related-date { display: block; font-size: 11px; color: #999; margin-bottom: 3px; }
.pus-related-name { display: block; font-size: 14px; font-weight: 600; color: #0C1C44; transition: color 0.3s; }
.pus-related-item:hover .pus-related-name { color: #FF8214; }

/* ================================
   SINGLE - CONTACT FORM
   ================================ */
.pus-form-section {
    padding: 70px 0; background: linear-gradient(180deg, #F5F7FC 0%, #fff 100%);
    position: relative; z-index: 1;
}
.pus-form-inner {
    max-width: 700px; margin: 0 auto;
    background: #fff; padding: 50px 40px;
    border: 1px solid #e8eaf0; box-shadow: 0 8px 40px rgba(12,28,68,0.06);
}
.pus-form-header { text-align: center; margin-bottom: 32px; }
.pu-single-page .pus-form-title {
    font-size: 26px !important; font-weight: 800 !important; color: #0C1C44 !important;
    margin: 16px 0 8px 0 !important;
}
.pus-form-desc { font-size: 14px; color: #888; margin: 0; line-height: 1.6; }

/* CF7 inside form section */
.pus-form-wrap .wpcf7-form { font-family: 'Montserrat', sans-serif; }
.pus-form-wrap .wpcf7-form p { margin: 0 0 18px 0; }
.pus-form-wrap .wpcf7-form label {
    display: block; font-size: 13px; font-weight: 600; color: #0C1C44; margin-bottom: 6px;
}
.pu-single-page .pus-form-wrap .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100% !important; border: 2px solid #e2e5ea !important;
    padding: 13px 14px !important; font-size: 14px !important;
    font-family: 'Montserrat', sans-serif !important;
    background: #fff !important; color: #333 !important;
    border-radius: 0 !important; transition: all 0.3s !important;
    outline: none !important; box-shadow: none !important;
}
.pu-single-page .pus-form-wrap .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):focus {
    border-color: #FF8214 !important; box-shadow: 0 0 0 3px rgba(255,130,20,0.1) !important;
}
.pu-single-page .pus-form-wrap textarea.wpcf7-form-control {
    resize: vertical !important; min-height: 120px !important;
}
.pu-single-page .pus-form-wrap .wpcf7-submit {
    display: inline-flex !important; align-items: center !important; gap: 10px !important;
    padding: 15px 36px !important; background: #FF8214 !important; color: #fff !important;
    border: 2px solid #FF8214 !important; font-size: 15px !important; font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    cursor: pointer !important; transition: all 0.3s !important; border-radius: 0 !important;
}
.pu-single-page .pus-form-wrap .wpcf7-submit:hover {
    background: #e6720e !important; border-color: #e6720e !important;
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,130,20,0.35);
}
.pus-form-wrap .wpcf7-response-output {
    border: none !important; padding: 14px 18px !important;
    margin: 16px 0 0 0 !important; font-size: 14px !important; border-radius: 0 !important;
}
.pus-form-wrap .wpcf7-not-valid-tip { font-size: 12px !important; color: #dc2626 !important; margin-top: 4px; }

/* ================================
   SCROLL REVEAL
   ================================ */
.pu-featured-card, .pu-card, .pus-form-inner {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pu-featured-card.pu-visible, .pu-card.pu-visible, .pus-form-inner.pu-visible {
    opacity: 1; transform: translateY(0);
}
.pu-card:nth-child(2) { transition-delay: 0.1s; }
.pu-card:nth-child(3) { transition-delay: 0.2s; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .pu-featured-card { flex-direction: column; }
    .pu-featured-left { width: 100%; height: 250px; }
    .pu-grid { grid-template-columns: repeat(2, 1fr); }
    .pus-layout { grid-template-columns: 1fr; }
    .pus-sidebar { position: static; }
    .pu-archive-page .pu-hero-title, .pu-single-page .pu-hero-title { font-size: 38px !important; }
}
@media (max-width: 768px) {
    .pu-hero, .pus-hero { padding: 80px 0 60px; }
    .pu-archive-page .pu-hero-title, .pu-single-page .pu-hero-title { font-size: 30px !important; }
    .pu-single-page .pus-title { font-size: 28px !important; }
    .pu-featured-right { padding: 24px; }
    .pu-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .pus-nav { grid-template-columns: 1fr; }
    .pus-form-inner { padding: 30px 22px; }
    .pu-cta-actions { flex-direction: column; align-items: center; }
    .pu-hero-stats { flex-direction: column; padding: 0; }
    .pu-hero-stat { padding: 12px 24px; }
    .pu-hero-stat-divider { width: 50px; height: 1px; }
}
@media (max-width: 480px) {
    .pu-hero, .pus-hero { padding: 70px 0 50px; }
    .pu-archive-page .pu-hero-title, .pu-single-page .pu-hero-title { font-size: 24px !important; }
    .pu-single-page .pus-title { font-size: 22px !important; }
    .pu-grid { grid-template-columns: 1fr; }
    .pu-card-top { height: 160px; }
    .pu-btn { padding: 12px 22px; font-size: 13px; }
    .pus-share { flex-direction: column; align-items: flex-start; }
}



/* Form fixes - no :has() */
.wpcf7-form .inner-item:last-child {
    border: none !important;
    padding: 5px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-form-control.wpcf7-checkbox {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.wpcf7-form .wpcf7-form-control-wrap[data-name*='checkbox'] {
    border: none !important;
    background: transparent !important;
}
.intl-tel-input.allow-dropdown,
.intl-tel-input {
    width: 100% !important;
    display: block !important;
}
.intl-tel-input input[type='tel'],
.intl-tel-input.allow-dropdown input[type='tel'],
input.wpcf7-intl-tel {
    padding-left: 52px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* intcall-padding */
input#intcall{padding-left:45px!important}
