#hrAvoidViolation {
  background: #F1F5FA;
  padding: 0 0 0 0;
  font-family: "Noto Sans JP", sans-serif;
}

#hrAvoidViolation .container {
  max-width: 1300px;
  margin: 0 auto;
}

#hrAvoidViolation .prevent-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
  background-color: #F5F8FB;
}

#hrAvoidViolation .prevent-row .container{
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

#hrAvoidViolation .prevent-image{
  width: 260px;
}

#hrAvoidViolation .prevent-image img {
  height: 739px;
  object-fit: contain;
}

#hrAvoidViolation .prevent-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 46px;
  max-width: 916px;
}

/* TITLE */
#hrAvoidViolation .prevent-title {
  background-color: #004884;
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  border-radius: 10px;
  display: inline-block;
  width: 100%;
  height: 75px;
  text-align: center;
  line-height: 75px;
  margin-bottom: 45px;
}

#hrAvoidViolation .prevent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
  width: 100%;
  max-width: 916px;
  margin-bottom: 32px;
}

#hrAvoidViolation .prevent-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px 26px;
  text-align: left;
}

#hrAvoidViolation .card-label {
  background: #1561A3;
  display: inline-block;
  width: 83px;
  height: 26px;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 3px;
  text-align: center;
  line-height: 26px;
}

#hrAvoidViolation .card-title {
  font-size: 28px;
  font-weight: 700;
  color: #00519A;
  margin-bottom: 14px;
  width: fit-content;
  position: relative;
  z-index: 1;
}

#hrAvoidViolation .card-title::after{
  content: "";
  position: absolute;
  width: calc(100% + 10px);
  height: 17px;
  background-color: #FFCF4D;
  border-radius: 4px;
  bottom: -3px;
  left: -2px;
  z-index: -1;
}

#hrAvoidViolation .card-img {
  width: 100%;
  border-radius: 10px;
}

#hrAvoidViolation .prevent-desc {
  font-size: 30px;
  line-height: 1.8;
  color: #015FB4;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}

#hrAvoidViolation .prevent-desc b{
  font-weight: 700;
  position: relative;
}

#hrAvoidViolation .prevent-desc b::before{
  content: "";
  width: 6.8px;
  height: 6.8px;
  position: absolute;
  border-radius: 3.4px;
  background-color: #D67924;
  left: 50%;
  margin-left: -3.4px;
  top: -2px;
}

#hrAvoidViolation .prevent-cta-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  height: auto;
  background-color: #fff;
  padding: 51px 0 86px 0;
}

#hrAvoidViolation .cta-sub {
  font-size: 16px;
  font-weight: 700;
  color: #2d4956;
  white-space: nowrap;
  margin-bottom: 5px;
}

#hrAvoidViolation .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;  
    gap: 12px;
    width: 563px;
    height: 100px;
    background: #FFEB57;
    border-radius: 50px;
    font-size: 36px;
    font-weight: 700;
    color: #0E3B4E;
    text-decoration: none;
    box-shadow: 0 6px 0 #E3C949;
    transition: 0.2s ease;
}

#hrAvoidViolation .cta-button span {
    display: block;
    text-align: center;
    padding-left: 56px;
    position: relative;
}

#hrAvoidViolation .cta-button span::before{
    content: "";
    position: absolute;
    width: 44px;
    height: 31px;
    background: url("../../images/hiring-risk/mail-ico.png") no-repeat;
    background-size: 44px 31px;
    left: 0;
    top: 50%;
    margin-top: -12.5px;
}


#hrAvoidViolation .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #D9BE45;
}

#hrAvoidViolation .cta-button:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #C9AE40;
}

#hrAvoidViolation .prevent-main .prevent-desc br.mob{
      display: none;
    }

#hrAvoidViolation .prevent-title br{
      display: none;
    }

@media (max-width: 1399.98px) { 

}

@media (max-width: 1199.98px) { 

}

@media (max-width: 991.98px) {

    #hrAvoidViolation .prevent-row {
        gap: 40px;
        padding: 20px 0;
    }

    #hrAvoidViolation .prevent-title {
        font-size: 32px;
        height: 64px;
        line-height: 64px;
    }

    #hrAvoidViolation .prevent-desc {
        font-size: 26px;
    }

    #hrAvoidViolation .cta-button {
        width: 420px;
        height: 80px;
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {

    /* Layout 1 cột */
    #hrAvoidViolation .prevent-row {
        display: block;
        background-color: transparent;
        padding: 0;
    }

    #hrAvoidViolation .prevent-row .container {
        display: block;
        padding: 0 16px;
    }

    /* Ẩn hoặc thu nhỏ ảnh đứng */
    #hrAvoidViolation .prevent-image {
        display: none;
    }

    /* Main content full width */
    #hrAvoidViolation .prevent-main {
        padding-top: 20px;
        max-width: 100%;
        align-items: center;
    }

    /* Title */
    #hrAvoidViolation .prevent-title {
        width: 100%;
        height: auto;
        padding: 10px 0;
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 24px;
        border-radius: 8px;
    }

    /* GRID → 1 cột */
    #hrAvoidViolation .prevent-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        width: 100%;
    }

    /* Card */
    #hrAvoidViolation .prevent-card {
        padding: 16px 16px 20px;
        border-radius: 12px;
    }

    /* Badge */
    #hrAvoidViolation .card-label {
        width: 65px;
        height: 20px;
        font-size: 11px;
        line-height: 20px;
        font-weight: 600;
    }

    /* Card title */
    #hrAvoidViolation .card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    /* Highlight bar */
    #hrAvoidViolation .card-title::after {
        height: 12px;
        bottom: -2px;
    }

    /* Image */
    #hrAvoidViolation .card-img {
        border-radius: 0;
        margin-top: 8px;
    }

    /* Desc mobile */
    #hrAvoidViolation .prevent-desc {
        font-size: 18px;
        line-height: 1.6;
        padding: 0 6px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    /* Dấu chấm cam */
    #hrAvoidViolation .prevent-desc b::before {
      content: none;
    }

    /* CTA wrapper */
    #hrAvoidViolation .prevent-cta-inline {
        padding: 30px 0 50px;
    }

    #hrAvoidViolation .cta-sub {
        font-size: 13px;
        margin-bottom: 6px;
    }

    /* CTA button mobile */
    #hrAvoidViolation .cta-button {
        width: 280px;
        height: 60px;
        font-size: 20px;
        border-radius: 30px;
        gap: 10px;
    }

    #hrAvoidViolation .cta-button span {
        padding-left: 40px;
    }

    #hrAvoidViolation .cta-button span::before {
        width: 26px;
        height: 18px;
        background-size: 26px 18px;
        margin-top: -9px;
    }
}

@media (max-width: 575.98px) {

    #hrAvoidViolation .prevent-title {
        font-size: 23px;
    }

    #hrAvoidViolation .prevent-title br{
      display: block;
    }

    #hrAvoidViolation .prevent-card {
        padding: 14px 14px 18px;
    }

    #hrAvoidViolation .card-title {
        font-size: 21px;
    }

    #hrAvoidViolation .prevent-desc {
        font-size: 20px;
        margin-top: 0;
    }

    #hrAvoidViolation .prevent-desc span{
      display: inline-block;
      margin-top: 15px;
    }

    #hrAvoidViolation .cta-button {
        width: 344px;
        height: 63px;
        font-size: 21px;
    }

    #hrAvoidViolation .prevent-main .prevent-desc br.mob{
      display: block;
    }
}