.policy_page {
  padding: 38px 0 !important;
  background-color: #f7f7f7 !important;
  color: #222;
}

.policy_page .card {
  border: 1px solid #ececec !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06) !important;
}

.policy_page .card > .d-flex:first-child {
  border-color: rgba(230, 94, 21, 0.35) !important;
  gap: 1rem;
}

.policy_page h1,
.policy_page .text-primary {
  color: #000 !important;
}

.policy_page .card h1 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.policy_page .card h1::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background-color: #e65e15;
  content: "";
}

.policy_page h2,
.policy_page h3,
.policy_page h4 {
  color: #000 !important;
}

.policy_page h2 {
  border-bottom-color: #e9e9e9;
}

.policy_page h2::after {
  background-color: #e65e15 !important;
}

.policy_page h3 {
  padding-left: 0.75rem;
  border-left: 3px solid #e65e15;
}

.policy_page p {
  color: #333;
  line-height: 1.75;
  text-align: left;
}

.policy_page .lead {
  color: #333;
  line-height: 1.8;
  max-width: 100%;
}

.policy_page a:not(.btn) {
  color: #b9470d;
  text-underline-offset: 3px;
}

.policy_page a:not(.btn):hover {
  color: #000;
}

.policy_page .badge {
    background-color: #e65e15 !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.policy_page .alert {
  border-color: #f0dfd5 !important;
  border-left: 4px solid #e65e15 !important;
  border-radius: 8px;
  background-color: #fff8f4 !important;
  color: #222;
}

.policy_page .btn-primary,
.policy_page .btn-success,
.policy_page .btn-danger,
.policy_page .btn-outline-primary {
  border-color: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
}

.policy_page .btn-primary:hover,
.policy_page .btn-success:hover,
.policy_page .btn-danger:hover,
.policy_page .btn-outline-primary:hover {
  border-color: #e65e15 !important;
  background-color: #e65e15 !important;
  color: #fff !important;
}

.policy_page table {
  width: 100%;
  border-color: #e5e5e5;
}

.policy_page thead th {
  border-color: #333;
  border-top: 3px solid #e65e15;
  background-color: #000;
  color: #fff;
}

.policy_page tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.policy_page .row.g-3.my-2 > div > .bg-light {
  height: 100%;
  border: 1px solid #e8e8e8 !important;
  border-top: 3px solid #e65e15 !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.policy_page .row.g-3.my-2 > div > .bg-light:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.policy_page .row.g-3.my-2 > div > .bg-light > i {
  color: #e65e15 !important;
}

.policy_page .row.g-3.my-2 > div > .bg-light h6 {
  color: #000;
  line-height: 1.4;
}

.policy_page .row.g-3.my-2 > div > .bg-light p {
  color: #555 !important;
  line-height: 1.6;
  text-align: left;
}

.policy_page td,
.policy_page th {
  padding: 0.8rem;
  vertical-align: top;
}

@media (max-width: 767.98px) {
  .policy_page {
    padding: 24px 0 !important;
  }

  .policy_page .card {
    border-radius: 10px !important;
  }

  .policy_page .card > .d-flex:first-child {
    align-items: flex-start !important;
  }

  .policy_page .card > .d-flex:first-child > div:last-child {
    text-align: left !important;
  }

  .policy_page h2 {
    margin-top: 1.75rem;
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .policy_page h3 {
    font-size: 1.15rem;
    line-height: 1.45;
  }

  .policy_page table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .policy_page td,
  .policy_page th {
    min-width: 130px;
  }
}

:is(.privacy-policy-page, .cookie-policy-page) .table-card {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

:is(.privacy-policy-page, .cookie-policy-page) .table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
}

:is(.privacy-policy-page, .cookie-policy-page) .privacy-data-inventory,
.cookie-policy-page .cookie-inventory-table {
  min-width: 1100px;
}

:is(.privacy-policy-page, .cookie-policy-page) .privacy-subprocessors,
.cookie-policy-page .cookie-categories-table {
  min-width: 950px;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table thead th {
  padding: 18px 20px;
  border: 0 !important;
  border-bottom: 3px solid #f26b21 !important;
  background-color: #111 !important;
  color: #fff !important;
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody td {
  min-width: 0;
  padding: 18px 20px;
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  color: #2b2b2b !important;
  font-size: inherit !important;
  text-align: left;
  vertical-align: middle !important;
  overflow-wrap: anywhere;
}

.cookie-policy-page .cookie-inventory-table tbody td code {
  color: inherit;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody td:first-child {
  position: relative;
  padding-left: 54px;
  font-weight: 500;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody td:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #f26b21;
  border-right: 2px solid #f26b21;
  transform: translateY(-50%) rotate(45deg);
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table th:nth-child(2),
:is(.privacy-policy-page, .cookie-policy-page) .pro-table td:nth-child(2),
:is(.privacy-policy-page, .cookie-policy-page) .pro-table th:nth-child(3),
:is(.privacy-policy-page, .cookie-policy-page) .pro-table td:nth-child(3) {
  text-align: left;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table td:nth-child(3) {
  color: inherit;
  font-weight: inherit;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody tr:nth-child(even) {
  background-color: #fff;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody tr {
  transition: background-color 0.2s ease;
}

:is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody tr:hover {
  background-color: #f8f9fa;
}

@media (max-width: 767.98px) {
  :is(.privacy-policy-page, .cookie-policy-page) .pro-table {
    display: table;
    font-size: 14px;
  }

  :is(.privacy-policy-page, .cookie-policy-page) .pro-table thead th,
  :is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody td {
    min-width: 0;
    padding: 14px 16px;
  }

  :is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody td:first-child {
    padding-left: 38px;
  }

  :is(.privacy-policy-page, .cookie-policy-page) .pro-table tbody td:first-child::before {
    left: 18px;
  }
}
