:root {
  --bts-blue: #5B75E6;
  --bts-blue-dark: #4263D4;
  --bts-ink: #252A35;
  --bts-copy: #687286;
  --bts-soft: #F2F5FB;
  --bts-border: rgba(72, 91, 133, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bts-ink);
  background: #fff;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.news-shell {
  width: calc(100% - 160px);
  max-width: 1240px;
  margin-inline: auto;
}


/* ==================================================
   NEWS PAGE LINKS
   Kept here because these are used by the article cards
   and featured story, not by the shared hero/header.
================================================== */
.read-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
}

.read-link i,
.card-link i {
  transition: transform .25s ease;
}

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

/* COMMON HEADINGS */
.section-line { display: block; width: 56px; height: 4px; margin-bottom: 24px; border-radius: 5px; background: var(--bts-blue); }
.section-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--bts-blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* FEATURED */
.news-featured { padding: 120px 0; }
.news-featured-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 95px; align-items: center; }
.featured-visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(74,116,232,.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.95), transparent 30%),
    linear-gradient(145deg, #EFF3FB, #DDE6F6);
  box-shadow: 0 32px 70px rgba(39,55,92,.11);
  text-decoration: none;
}
.featured-visual::before {
  content: "";
  position: absolute; inset: 50px;
  border-radius: 25px;
  border: 1px solid rgba(84,112,190,.1);
  background: rgba(255,255,255,.72);
}
.featured-chart {
  position: absolute;
  left: 105px; right: 105px; bottom: 93px;
  height: 245px;
  display: flex; align-items: end; justify-content: center; gap: 24px;
  border-bottom: 1px solid #CCD5E7;
}
.featured-chart span {
  width: 45px; height: var(--bar-height);
  border-radius: 12px 12px 3px 3px;
  background: linear-gradient(180deg, #7790EF, #506DDC);
  box-shadow: 0 11px 24px rgba(68,97,200,.2);
}
.featured-cost-card {
  position: absolute;
  left: 67px; top: 61px;
  padding: 16px 19px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 11px;
  border-radius: 15px;
  color: #636E82;
  background: #fff;
  box-shadow: 0 18px 38px rgba(38,55,92,.12);
  font-size: 10px;
}
.featured-cost-card i { grid-row: 1 / 3; align-self: center; color: #53B489; font-size: 23px; }
.featured-cost-card strong { color: #2D3442; font-size: 12px; }
.featured-badge {
  position: absolute;
  top: 32px; right: 32px;
  padding: 8px 13px;
  border-radius: 20px;
  color: #fff;
  background: var(--bts-blue);
  font-size: 11px;
  font-weight: 600;
}
.news-featured-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.04em;
}
.article-meta { margin-bottom: 19px; display: flex; gap: 16px; color: #8992A2; font-size: 12px; }
.article-meta span { color: var(--bts-blue-dark); font-weight: 600; }
.news-featured-copy p { margin: 0 0 29px; color: var(--bts-copy); font-size: 16px; line-height: 1.8; }
.read-link { color: var(--bts-blue-dark); font-size: 15px; }

/* ARCHIVE */
.news-archive { padding: 120px 0 130px; background: #F4F6FB; }
.news-archive-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.news-archive-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(39px, 4vw, 55px);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -.04em;
}
.news-archive-heading > p { max-width: 400px; margin: 0 0 5px; color: var(--bts-copy); font-size: 15px; line-height: 1.75; }
.news-filters { margin: 48px 0 42px; display: flex; flex-wrap: wrap; gap: 10px; }
.news-filter {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(65,84,125,.14);
  border-radius: 12px;
  color: #606A7C;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: .25s ease;
}
.news-filter:hover { border-color: rgba(75,104,219,.4); color: var(--bts-blue-dark); }
.news-filter.is-active { border-color: var(--bts-blue); color: #fff; background: var(--bts-blue); box-shadow: 0 10px 22px rgba(72,99,205,.19); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.news-card {
  overflow: hidden;
  border: 1px solid rgba(65,84,125,.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(36,50,83,.065);
  transition: transform .4s ease, box-shadow .4s ease, opacity .3s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 27px 55px rgba(36,50,83,.12); }
.news-card.is-filtered-out { display: none; }
.news-card-visual {
  position: relative;
  height: 205px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.news-card-visual i { position: relative; z-index: 2; font-size: 44px; transition: transform .4s ease; }
.news-card:hover .news-card-visual i { transform: scale(1.1) rotate(-3deg); }
.news-card-visual span { position: absolute; z-index: 2; left: 20px; bottom: 17px; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.visual-safety { background: linear-gradient(140deg,#3C67CD,#6B8DF0); }
.visual-biometric { background: linear-gradient(140deg,#5361B9,#8A80D9); }
.visual-control { background: linear-gradient(140deg,#33799D,#63AFC8); }
.visual-payroll { background: linear-gradient(140deg,#506FD0,#6EA1DE); }
.visual-testing { background: linear-gradient(140deg,#386F9E,#587DD6); }
.visual-faq { background: linear-gradient(140deg,#6466BA,#8D89DE); }
.visual-compliance { background: linear-gradient(140deg,#3D739A,#719EBB); }
.visual-time { background: linear-gradient(140deg,#4263C4,#6985E2); }
.visual-legal { background: linear-gradient(140deg,#525D80,#7B88AB); }
.news-card-body { min-height: 285px; padding: 25px 25px 27px; display: flex; flex-direction: column; }
.news-card-body time { color: #929BAC; font-size: 11px; }
.news-card-body h3 { margin: 11px 0 13px; font-size: 18px; line-height: 1.43; font-weight: 600; }
.news-card-body h3 a { text-decoration: none; }
.news-card-body p { margin: 0 0 22px; color: var(--bts-copy); font-size: 13px; line-height: 1.7; }
.card-link { margin-top: auto; color: var(--bts-blue-dark); font-size: 12px; }
.news-empty { padding: 40px; text-align: center; color: var(--bts-copy); }

/* CTA */
.news-cta { padding: 100px 0; background: #fff; }
.news-cta-inner {
  min-height: 310px;
  padding: 65px 75px;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg,#365FC7,#577AE4 62%,#6D8AEB);
  box-shadow: 0 28px 60px rgba(50,78,166,.17);
}
.news-cta-kicker { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.news-cta h2 { max-width: 720px; margin: 0 0 15px; font-size: clamp(35px,3.5vw,50px); line-height: 1.13; font-weight: 400; letter-spacing: -.035em; }
.news-cta p { margin: 0; color: rgba(255,255,255,.83); }
.news-cta-button {
  min-width: 205px; min-height: 57px;
  padding: 0 25px;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--bts-blue-dark);
  background: #fff;
  box-shadow: 0 15px 32px rgba(27,47,110,.2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.featured-visual.featured-visual-image {
  position: relative !important;
  display: block !important;

  width: 90% !important;          /* shrink the whole card */
  aspect-ratio: 1.1 / 1 !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: none !important;
  border-radius: 34px !important;

  overflow: hidden !important;
  box-shadow: none !important;

  transition:
    transform 0.4s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.4s ease !important;
}

.featured-visual.featured-visual-image img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 34px !important;
}

.featured-visual.featured-visual-image::before,
.featured-visual.featured-visual-image::after {
  display: none !important;
  content: none !important;
}

.featured-visual.featured-visual-image:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 22px 45px rgba(40, 55, 90, 0.13) !important;
}
/* ==================================================
   BTS WHATSAPP BUTTON
================================================== */


/* Floating WhatsApp Button */

.whatsapp-button {

    position:fixed;

    right:30px;

    bottom:30px;

    width:58px;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#25D366;

    border:none;

    border-radius:50%;

    color:#ffffff;

    font-size:30px;

    cursor:pointer;

    z-index:9999;

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);

    transition:
        transform .3s ease,
        background .3s ease;

}


.whatsapp-button:hover {

    background:#20bd5a;

    transform:translateY(-5px);

}



/* ==================================================
   WHATSAPP POPUP
================================================== */


.whatsapp-popup {

    position:fixed;

    right:30px;

    bottom:105px;

    width:320px;

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
        0 25px 70px rgba(0,0,0,.20);

    z-index:9998;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:

        opacity .35s ease,

        transform .35s ease,

        visibility .35s ease;

}



/* Popup active state */

.whatsapp-popup.active {

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}



/* Small pointer */

.whatsapp-popup::after {

    content:"";

    position:absolute;

    right:48px;

    bottom:-10px;

    width:22px;

    height:22px;

    background:#ffffff;

    transform:rotate(45deg);

}



/* ==================================================
   POPUP HEADER
================================================== */


.whatsapp-popup-header {

    position:relative;

    padding:25px 28px;

    background:#6675D9;

    color:#ffffff;

}



.whatsapp-popup-header h3 {

    margin:0;

    font-size:22px;

    line-height:1.35;

    font-weight:500;

}



/* Close button */

.whatsapp-close {

    position:absolute;

    top:15px;

    right:18px;

    background:none;

    border:none;

    color:#ffffff;

    font-size:28px;

    cursor:pointer;

    line-height:1;

}



.whatsapp-close:hover {

    opacity:.7;

}



/* ==================================================
   POPUP BODY
================================================== */


.whatsapp-popup-body {

    padding:28px;

    color:#46505f;

    font-size:16px;

    line-height:1.65;

}



.whatsapp-popup-body h4 {

    margin:0 0 12px;

    font-size:20px;

    color:#111111;

    font-weight:700;

}



.whatsapp-popup-body p {

    margin:0 0 20px;

}



/* ==================================================
   WHATSAPP ACTION BUTTON
================================================== */


.whatsapp-popup-link {

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    width:100%;

    padding:14px 20px;

    border-radius:50px;

    background:#25D366;

    color:#ffffff;

    text-decoration:none;

    font-size:18px;

    font-weight:600;

    transition:.3s ease;

}



.whatsapp-popup-link:hover {

    background:#20bd5a;

    color:#ffffff;

    transform:translateY(-3px);

}



.whatsapp-popup-link i {

    font-size:25px;

}



/* ==================================================
   BACK TO TOP BUTTON
================================================== */


.back-to-top {

    position:fixed;

    left:30px;

    bottom:30px;

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#586FE5;

    color:#ffffff;

    border:none;

    border-radius:50%;

    font-size:18px;

    cursor:pointer;

    z-index:9999;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.3s ease;

    box-shadow:

        0 12px 30px rgba(0,0,0,.15);

}



.back-to-top:hover {

    background:#4359d2;

    transform:translateY(-5px);

}



/* Visible state */

.back-to-top.show {

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}



/* ==================================================
   MOBILE RESPONSIVE
================================================== */


@media(max-width:600px){


    .whatsapp-button {

        width:55px;

        height:55px;

        right:20px;

        bottom:20px;

        font-size:28px;

    }



    .whatsapp-popup {

        width:calc(100% - 40px);

        right:20px;

        bottom:90px;

    }



    .whatsapp-popup-header {

        padding:22px;

    }



    .whatsapp-popup-header h3 {

        font-size:20px;

    }



    .whatsapp-popup-body {

        padding:24px;

    }



    .back-to-top {

        width:48px;

        height:48px;

        left:20px;

        bottom:20px;

    }


}

/* ==================================================
   WHATSAPP POPUP HEADER TITLE
================================================== */

.whatsapp-popup-header h3 {
    color: #ffffff !important;
}

/* ==================================================
   BACK TO TOP BUTTON
================================================== */


.back-to-top {

    position:fixed;

    left:30px;

    bottom:30px;


    width:52px;

    height:52px;


    display:flex;

    align-items:center;

    justify-content:center;


    background:#586FE5;


    color:#ffffff;


    border:none;


    border-radius:50%;


    font-size:18px;


    cursor:pointer;


    z-index:9999;


    opacity:0;

    visibility:hidden;


    transform:translateY(20px);


    transition:.3s ease;


    box-shadow:
        0 12px 30px rgba(0,0,0,.15);

}



.back-to-top:hover {


    background:#4359d2;


    transform:translateY(-5px);

}



/* Show button */

.back-to-top.show {


    opacity:1;


    visibility:visible;


    transform:translateY(0);

}




@media(max-width:600px){


    .back-to-top {


        width:48px;

        height:48px;


        left:20px;


        bottom:20px;

    }

}