/* Optimized responsive stylev2.css */

/* ==============================
   ABOUT SECTION
============================== */

.about-section {
    background: #fff;
    padding: 55px 0;
}

.content-wrapper {
  position: relative !important; 
}

/* ==============================
   LEFT PANEL
============================== */

.left-panel {
    padding-right: 45px;
    border-right: 3px solid #175b3a;
}

.about-panel {
    width: 100%;
}

.about-panel h2,
.about-panel h3 {
    margin-top: 0;
    color: #e6030a;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.about-panel h2 {
    margin-bottom: 22px;
    font-size: 28px;
}

.about-panel h3 {
    margin-top: 30px;
    margin-bottom: 14px;
    font-size: 23px;
}

.about-panel p {
    margin-bottom: 15px;
    color: #175b3a;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.about-panel ol {
    margin-bottom: 0;
    padding-left: 22px;
}

.about-panel li {
    margin-bottom: 6px;
    color: #175b3a;
    font-size: 16px;
    line-height: 1.5;
}

/* ==============================
   RIGHT PANEL
============================== */

.right-panel {
    padding-left: 45px;
}

.right-panel > h2 {
    margin-top: 0;
    margin-bottom: 28px;
    color: #e6030a;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
}

.news-card {
    margin-bottom: 55px;
    text-align: right;
}

.news-card:last-child {
    margin-bottom: 0;
}

.news-card img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 0 18px auto;
}

.news-card h3 {
    margin: 0 0 15px;
    color: #e6030a;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    text-transform: uppercase;
}

.news-card p {
    margin-bottom: 14px;
    color: #175b3a;
    font-size: 15px;
    line-height: 1.55;
    text-align: right;
}

.news-card a {
    display: block;
    color: #e6030a;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
}

.news-card a:hover,
.news-card a:focus {
    color: #a61e22;
    text-decoration: none;
}

/* ==============================
   TABLET AND MOBILE
============================== */

@media (max-width: 991px) {
    .left-panel {
        padding-right: 30px;
    }

    .right-panel {
        padding-left: 30px;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 35px 0;
    }

    .left-panel {
        padding-right: 15px;
        padding-bottom: 35px;
        border-right: 0;
        border-bottom: 3px solid #175b3a;
    }

    .right-panel {
        padding-top: 35px;
        padding-left: 15px;
    }

    .about-panel h2,
    .right-panel > h2 {
        font-size: 24px;
    }

    .about-panel h3,
    .news-card h3 {
        font-size: 21px;
    }

    .news-card img {
        max-width: 100%;
    }
}


/* ==============================
   PROGRAM
=============================== */

.page-section-program{
    color: #2d4f35;
    line-height: 1.9;
    font-size: 17px;
}

/* Main Title */

.page-section-program h2{
    display: inline-block;

    margin: 0 auto 0px;
    padding: 8px 0;

    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d62828;

    border-top: 2px dotted #d62828;
    border-bottom: 2px dotted #d62828;
}

/* Section Heading */

.page-section-program h3{
    margin: 10px 0 20px;

    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;

    color: #d62828;
}

/* Paragraph */

.page-section-program p{
    margin-bottom: 20px;

    color: #356240;
    text-align: justify;

    font-size: 17px;
    line-height: 1.9;
}

/* Strong */

.page-section-program strong{
    color: #174e2d;
    font-weight: 700;
}

/* List */

.page-section-program ul,
.page-section-program ol{
    margin: 20px 0 25px 30px;
}

.page-section-program li{
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Optional Card Style */

.page-section-program h3 + p{
    margin-top: 0;
}

/* Selection */

.page-section-program ::selection{
    background: #d62828;
    color: #fff;
}

/* Tablet */

@media (max-width:991px){

    .page-section-program{
        padding:50px 25px;
    }

    .page-section-program h2{
        font-size:34px;
    }

    .page-section-program h3{
        font-size:26px;
    }

    .page-section-program p{
        font-size:16px;
    }

}

/* Mobile */

@media (max-width:767px){

    .page-section-program{
        padding:40px 18px;
    }

    .page-section-program h2{
        font-size:28px;
        margin-bottom:45px;
    }

    .page-section-program h3{
        font-size:22px;
        margin-top:40px;
    }

    .page-section-program p{
        font-size:15px;
        text-align:left;
        line-height:1.8;
    }

}

.title-news-item {
  color: #11482E;
}

/* ==============================
   PROGRAM
=============================== */

 body {
            background: #bdbdbd;
        }
        .news-container {
            margin: 20px auto 0px;
        }
        .main-news {
            position: relative;
        }
        .main-news img {
            width: 100%;
            height: auto;
            display: block;
        }
        .main-news h2{
            display: inline-block;
            margin: 20px auto 0px;
            padding: 8px 0;
            font-size: 40px;
            font-weight: 700;
            text-transform: uppercase;
            color: #d62828;
            border-top: 2px dotted #d62828;
            border-bottom: 2px dotted #d62828;
        }
        .news-title {
            position: absolute;
            bottom: 0%;
            left: 10%;
            width: 80%;
            background: color(255,255,255,0.8);
            color: white;
            padding: 15px;
            font-size: 18px;
            font-weight: bold;
        }
        .top-news {
            background: #e6030a;
            color: white;
            padding: 15px;
        }
        .top-news h4 {
            text-align: center;
            color:#fff; 
            margin-bottom: 15px;
            padding-bottom: 5px;
        }
        .top-news-list{
            display:grid;
            grid-template-columns:repeat(2,1fr);
            gap:20px;
        }

        .top-news-item{
            display:block;
        }

        .top-news-item img{
            width:100%;
            display:block;
            margin-bottom:10px;

            object-fit:cover;
            border:2px solid #fff;
        }

        .top-news-item a{
            display:block;

            color:#fff; 
            text-decoration:none;
            font-weight:700;
            line-height:1.5;

            font-size:16px;
        }

        .top-news-item a:hover{
            text-decoration:underline;
        }

        @media(max-width:768px){

            .top-news-list{
                grid-template-columns:1fr;
            }

            .top-news-item img{
                height:220px;
            }

        }

        /*.top-news-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .top-news-item img {
            width: 80px;
            height: 60px;
            margin-right: 10px;
            border: 2px solid white;
        }
        .top-news-item a {
            color: #FFF;
            text-decoration: none;
            font-weight: bold;
        }*/
        .news-item {
            padding: 15px 0px;
            margin-bottom: 15px;
            font-size: 14px;
            border: 1px solid transparent;
        }

        .news-item h3{
            margin-top: 0px;
        }
        

/* ==============================
   KEGIATAN
=============================== */


.slider-bannerv2 {
  display: block;
  width: 100%;
  height: auto;
  max-height: 750px;
  overflow: hidden;
}

.social-media-list ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-media-list ul li {
  flex: 1 1 25%;
  max-width: 25%;
  text-align: center;
  padding: 5px;
}

.social-media-list img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.segment-middle, .segment-third {
  background-color: #ffffff;
  padding: 15px;
}

.about-us {
  border-radius: 5px;
  margin-bottom: 20px;
}

.about-us > .content {
  border-right: 8px solid #000;
  padding-right: 10px;
  margin-right: 0;
  text-align: justify;
}

.branches, .get-in-touch, .highlight-news {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.get-in-touch > .content {
  border-right: 8px solid #000;
  padding-right: 15px;
  margin-right: -10px;
}

.section-title {
  font-weight: bold;
  margin-bottom: 15px;
}

.highlight-news img {
  max-width: 100%;
  height: auto;
  border-radius: none;
}

.btn-dark {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
}

.btn-dark:hover {
  background-color: #0d5208 !important;
  color: #ffffff !important;
}

.footerv2 {
  background-color: #11482E;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.footerv2 .column-left{
  text-align: left;
  margin-bottom: 15px;
}

.footerv2 .column-right {
  text-align: right;
  margin-bottom: 15px;
}

.footerv2 .column-center{
  text-align: center;
  margin-bottom: 15px;
}

.footerv2 .social-icons i {
  font-size: 20px;
  margin: 0 8px;
  color: #fff;
}

.footerv2 .social-icons i:hover,
.footerv2 a:hover {
  color: #ddd;
}

.footerv2 .bordered-section {
  border-left: none;
  padding-left: 0;
}

.branch-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.branch-title {
  font-weight: bold;
  margin: 10px 0;
}

.branch-links .link-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  border-radius: 5px;
}

.branch-links .link-btn:hover {
  background-color: #333;
}

.chevrons button {
  background-color: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.branchesv2 {
  padding: 20px 10px;
  background: #b7b0b0;
}

.branchesv2tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
  justify-content: center;
}

.branchesv2tabs button {
  background-color: #0d5208;
  color: white;
  border: none;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

.branchesv2tabs button.active {
  background-color: black;
} 

  .nav-toggle-btn {
    display: none !important;
  }
  .nav-menu-listv2 .close-btn {
    display: none !important;
  }


/* iPad Air and iPad Pro specific media query */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {

.top-news {
  margin-top: 50px;
}
  .slider-banner {
    /*height: 400px;*/
    margin-bottom: -25px;
  }
  /* Navbar adjustments */
  .nav-toggle-btn {
    display: block !important;
    top: 15px;
    right: 15px;
    font-size: 26px;
  }

  .about-us > .content {
    height: 170px !important;
  }

  .nav-menu-listv2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .nav-menu-listv2.open {
    display: flex;
  }

  .nav-menu-listv2 li a {
    font-size: 22px;
  }

  /* Social media adjustments */
  .social-media-list ul li {
    flex: 1 1 25%;
    max-width: 25%;
  }

  .social-media-list img {
    max-width: 180px;
  }
}

@media (max-width: 991px) {
  .floating-box {
    display: none !important;
  }
  .nav-toggle-btn {
    display: block !important;
  }
  nav.nav-header {
    margin-top: -5px;
  }

  .nav-header {
    position: relative;
  }

  .nav-menu-listv2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .nav-menu-listv2.open {
    display: flex;
  }

  .nav-menu-listv2 li {
    text-align: center;
    padding: 15px 0;
  }

  .nav-menu-listv2 li a {
    color: #fff;
    font-size: 20px;
    display: block;
  }

  .nav-toggle-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .nav-menu-listv2 .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
  }

  .social-media-list ul li {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .segment-middle, .segment-third, .branches, .get-in-touch, .highlight-news, .branchesv2 {
    padding: 10px;
  }

  .news-container{
    padding: 0px !important;
  }
  .about-us {
    padding: 0px !important;
  }
  .get-in-touch {
    padding: 0px !important;
  }

  .footerv2 {
    padding: 10px;
  }

  .footerv2 .social-icons i {
    font-size: 18px;
  }

  .slider-bannerv2 {
    height: auto;
  }

  .get-in-touch > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
  .about-us > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
  .social-media-list {
    margin-top:30px;
  }
  .branchesv2 {
    padding: 0px;
  }
  .branches-row {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .news-container{
    padding: 0px !important;
  }
  .about-us {
    padding: 0px !important;
  }
  .get-in-touch {
    padding: 0px !important;
  }
  .nav-toggle-btn {
    display: block !important;
  }
  nav.nav-header {
    margin-top: -5px;
  }
  .nav-header {
    position: relative;
  }

.nav-menu-listv2 {
    display: none;
    position: fixed; /* fixed ensures full viewport coverage */
    top: 0;          /* aligns to top edge */
    left: 0;         /* aligns to left edge */
    width: 100vw;    /* explicitly sets width to viewport width */
    height: 100vh;   /* explicitly sets height to viewport height */
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    justify-content: top;
    align-items: center;
    padding: 10px 0;
    z-index: 9999;
}

  .nav-menu-listv2.open {
    top: 50px;
    display: list-item;
  }

  .nav-menu-listv2 li {
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }

  .nav-menu-listv2 li a {
    color: #008001;
    display: block;
    line-height: 1em;
  }

  .nav-toggle-btn {
    display: block !important;
    position: absolute;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    color: #008001;
    cursor: pointer;
    z-index: 10000;
  }

  .social-media-list ul li {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .segment-middle, .segment-third, .branches, .get-in-touch, .highlight-news, .branchesv2 {
    padding: 10px;
  }

  .footerv2 {
    padding: 10px;
  }

  .footerv2 .social-icons i {
    font-size: 18px;
  }

  .slider-bannerv2 {
    height: auto;
  }

  .footerv2 .column-left,
  .footerv2 .column-right,
  .footerv2 .column-center {
    text-align: center;
  }

  .get-in-touch > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
  .about-us > .content {
    border-right: none;
    padding-right: 10px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
    section.page-section {
      padding-top: 0px !important;
    }  
    .news-item > .col-xs-4 {
      padding: 0px !important;
    }
    .news-item > .col-xs-8 > h3 {
      margin-top: 0px;
    }
  .main-news {
    margin-bottom: 30px;
  }
  .branchesv2tabs button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .btn-dark, .branch-links .link-btn {
    padding: 8px;
    font-size: 12px;
  }
.social-media-list ul li {
        flex: 1 1 25%;
        max-width: 25%;
    }
  .social-media-list img {
    max-width: 100px;
  }
}

* {
  box-sizing: border-box;
}

.exchange-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 725px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}

.exchange-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
        90deg,
        rgba(0, 128, 1, 0.82) 0%,
        rgba(0, 100, 10, 0.68) 45%,
        rgba(0, 55, 0, 0.78) 100%
    );
}

.exchange-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px;
}

.exchange-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 90px;
}

.exchange-hero__intro {
  max-width: 510px;
}

.exchange-hero__title {
  margin: 0 0 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.5px;
}

.exchange-hero__description {
  max-width: 510px;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: rgb(255 255 255 / 90%);
}

.exchange-hero a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.exchange-hero a:hover {
  opacity: 0.72;
}

.exchange-rates {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

.exchange-rates__table {
  overflow: hidden;
  border-radius: 4px;
  background: rgb(152 181 217 / 48%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.exchange-rates__table > h2:first-child {
  border-bottom: 1px solid rgb(255 255 255 / 68%);
  padding: 0px 0px 15px 0px;
}

.exchange-rates__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 62px;
  border-bottom: 1px solid rgb(255 255 255 / 68%);
  color: #ffffff;
}

.exchange-rates__row:last-child {
  border-bottom: 0;
}

.exchange-rates__row > div {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 700;
}

/* First column (Currency) */
.exchange-rates__row > div:first-child {
    justify-content: flex-start;
    text-align: left;
}

/* Buy & Sell columns */
.exchange-rates__row > div:not(:first-child) {
    justify-content: flex-end;
    text-align: right;
}

.exchange-rates__header {
  min-height: 50px;
}

.exchange-rates__header > div {
  font-size: 17px;
}

.exchange-rates__currency {
  gap: 14px;
}

.currency-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.exchange-rates__updated {
  margin: 14px 0 0;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1.5;
  color: rgb(255 255 255 / 92%);
}

.exchange-rates__footer {
  margin: 18px 0 0;
  text-align: justify;
  padding:5px 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 10px;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 992px) {
  .exchange-hero {
    min-height: auto;
  }

  .exchange-hero__container {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .exchange-hero__content {
    grid-template-columns: 1fr 390px;
    gap: 40px;
  }

  .exchange-hero__title {
    font-size: 44px;
  }

  .exchange-hero__description {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .exchange-hero {
    background-position: 58% center;
  }

    .exchange-hero__overlay {
        background: linear-gradient(
            90deg,
            rgb(0 128 1 / 78%) 0%,
            rgb(0 110 1 / 60%) 50%,
            rgb(0 70 0 / 72%) 100%
        );
    }

  .exchange-hero__container {
    padding: 56px 20px;
  }

  .exchange-hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .exchange-hero__intro {
    max-width: 100%;
  }

  .exchange-hero__title {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.05;
  }

  .exchange-hero__title br {
    display: none;
  }

  .exchange-hero__description {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }

  .exchange-rates {
    max-width: 100%;
    margin: 0;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .exchange-hero__container {
    padding: 44px 16px;
  }

  .exchange-hero__title {
    font-size: 32px;
  }

  .exchange-rates__row {
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 56px;
  }

  .exchange-rates__row > div {
    padding: 10px;
    font-size: 15px;
  }

  .exchange-rates__header > div {
    font-size: 15px;
  }

  .exchange-rates__currency {
    gap: 8px;
  }

  .currency-flag {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 25px;
  }

  .exchange-rates__footer {
    font-size: 8px;
  }
  
  .exchange-rates__table > h2:first-child {
    font-size: 24px;
    font-weight: bolder;
  }
}

/* =========================================================
   Rates Page — aligned with existing Dua Sisi website
   ========================================================= */

.rates-banner {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rates-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 48%);
}

.rates-banner__container,
.rates-page__container {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}

.rates-banner__container {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 360px;
    align-items: center;
}

.rates-banner__content {
    max-width: 680px;
    padding: 70px 0;
    color: #ffffff;
}

.rates-banner__title {
    margin: 0 0 18px;
    color: #ffffff;
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.rates-banner__description {
    max-width: 590px;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================================
   Content section
   ========================================================= */

.rates-page {
    padding: 70px 0 90px;
}

.rates-page__heading {
    margin-bottom: 34px;
    text-align: center;
}

.rates-page__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #008001;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rates-page__title {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: #333333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.3;
}

.rates-page__title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 45px;
    height: 2px;
    background: #008001;
    content: "";
    transform: translateX(-50%);
}

.rates-page__updated {
    margin: 15px 0 0;
    color: #888888;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   Table
   ========================================================= */

.rates-table {
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #ffffff;
}

.rates-table__header,
.rates-table__row {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.5fr)
        minmax(130px, 1fr)
        minmax(130px, 1fr);
    align-items: center;
}

.rates-table__header {
    min-height: 54px;
    padding: 0 24px;
    background: #008001;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rates-table__header > div:not(:first-child) {
    text-align: right;
}

.rates-table__row {
    min-height: 68px;
    padding: 0 24px;
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.2s ease;
}

.rates-table__row:last-child {
    border-bottom: 0;
}

.rates-table__row:nth-child(even) {
    background: #fafafa;
}

.rates-table__row:hover {
    background: #fff5f5;
}

/* =========================================================
   Currency
   ========================================================= */

.rates-table__currency {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.currency-flag {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.rates-table__currency-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.rates-table__currency-info strong {
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

.rates-table__currency-info span {
    margin-top: 2px;
    color: #999999;
    font-size: 12px;
}

.rates-table__value {
    color: #333333;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    text-align: right;
}

/* =========================================================
   Information
   ========================================================= */

.rates-page__information {
    margin-top: 24px;
    padding: 18px 22px;
    border-left: 3px solid #008001;
    background: #f7f7f7;
    color: #666666;
    font-size: 13px;
    text-align: justify;
    line-height: 1.7;
}

.rates-page__information p {
    margin: 0;
}

/* =========================================================
   Actions
   ========================================================= */

.rates-page__actions {
    margin-top: 34px;
    text-align: center;
}

.rates-page__button {
    display: inline-block;
    padding: 13px 27px;
    border: 1px solid #008001;
    background: #008001;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.rates-page__button:hover {
    background: #ffffff;
    color: #008001;
    text-decoration: none;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {
    .rates-banner {
        min-height: 320px;
    }

    .rates-banner__container {
        min-height: 320px;
    }

    .rates-banner__title {
        font-size: 40px;
    }

    .rates-page {
        padding: 55px 0 70px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {
    .rates-banner {
        min-height: 280px;
    }

    .rates-banner__container,
    .rates-page__container {
        width: calc(100% - 30px);
    }

    .rates-banner__container {
        min-height: 280px;
    }

    .rates-banner__content {
        padding: 50px 0;
    }

    .rates-banner__title {
        margin-bottom: 14px;
        font-size: 32px;
    }

    .rates-banner__description {
        font-size: 14px;
        line-height: 1.6;
    }

    .rates-page {
        padding: 45px 0 60px;
    }

    .rates-page__title {
        font-size: 27px;
    }

    .rates-table {
        overflow-x: auto;
    }

    .rates-table__header,
    .rates-table__row {
        min-width: 520px;
        grid-template-columns: 200px 140px 140px;
    }

    .rates-table__header {
        padding: 0 16px;
        font-size: 11px;
    }

    .rates-table__row {
        min-height: 62px;
        padding: 0 16px;
    }

    .rates-table__value {
        font-size: 13px;
    }

    .currency-flag {
        flex-basis: 26px;
        width: 26px;
        font-size: 19px;
    }

    .rates-page__button {
        width: 100%;
        box-sizing: border-box;
    }
}
