/* Article sidebar, table of contents and registration card. */

.eg-single-sidebar {
  display: flex;
  flex-direction: column;
  row-gap: 35px;
  height: 100%;
  width: 100%;
  font-family: "Tajawal", sans-serif;
  min-width: 0;
  order: 2;
}

.eg-privacy-register-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eg-article-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 22px;
}

.eg-toc-box {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid #EEE5D9;
  border-radius: 15px;
  box-shadow: 0 7px 25px rgba(104,69,30,.055);
}

.eg-toc-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 19px;
  margin-bottom: 13px;
  border-bottom: 1px solid #F0E9DF;
}

.eg-toc-heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  color: #986B31;
  background: #F7F0E5;
  border-radius: 11px;
}

.eg-toc-heading-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eg-toc-heading h3 {
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: #68451E;
  font-family: "Alexandria", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.eg-toc-heading p {
  margin: 0 !important;
  color: #A09280;
  font-size: 9px;
  line-height: 1.7;
}

.eg-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eg-toc-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 9px;
  color: #75634D;
  background: transparent;
  border-radius: 8px;
  text-decoration: none !important;
  font-family: "Alexandria", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.9;
  transition: all .22s ease;
}

.eg-toc-link:hover,
.eg-toc-link.active {
  color: #80501D;
  background: #FAF5EC;
}

.eg-toc-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  color: #A4773C;
  background: #F5EDDF;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  transition: all .22s ease;
}

.eg-toc-link:hover .eg-toc-number,
.eg-toc-link.active .eg-toc-number {
  color: #fff;
  background: #80501D;
}

.eg-toc-sub {
  padding-right: 19px;
  padding-top: 7px;
  padding-bottom: 7px;
  color: #92816B;
  font-size: 9px;
}

.eg-toc-bullet {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: #C99543;
}

@media (max-width: 950px) {
  .eg-single-container {
    padding: 0 10px;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 22px;
  }

  .eg-article-body h2 {
    font-size: 21px;
  }

  .eg-article-body h3 {
    font-size: 17px;
  }
}

@media (max-width: 700px) {
  .eg-single-container {
    display: flex;
     padding: 0 10px;
    flex-direction: column;
    gap: 30px;
  }

  .eg-single-main,
  .eg-single-sidebar {
    width: 100%;
  }

  .eg-article-sidebar-inner {
    position: static;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-single-layout *,
  .eg-single-layout *::before,
  .eg-single-layout *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.eg-privacy-side-card {
  border: 1px solid #F0E8DC;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(72,52,28,.06);
  overflow: hidden;
}

.eg-privacy-side-overline {
  display: block;
  margin-bottom: 3px;
  color: #A18E76;
  font-size: 11px;
  font-weight: 700;
}

.eg-privacy-register {
  position: sticky;
  top: 100px;
  padding: 25px 23px 22px;
  background: linear-gradient(150deg, #fff 0%, #FFFCF7 100%);
}

.eg-privacy-register:before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -80px;
  left: -55px;
  border: 1px solid rgba(201,149,67,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(201,149,67,.035),
    0 0 0 31px rgba(201,149,67,.025);
}

.eg-privacy-register-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin-bottom: 15px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #C99543, #9B6A2C);
  box-shadow: 0 8px 18px rgba(173,122,49,.2);
}

.eg-privacy-register-icon svg {
  width: 24px;
  height: 24px;
}

.eg-privacy-register > .eg-privacy-side-overline {
  margin-bottom: 7px;
}

.eg-privacy-register h3 {
  position: relative;
  margin: 0 0 9px;
  color: #4E3217;
  font-family: "Alexandria", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

.eg-privacy-register > p {
  margin: 0 0 17px;
  color: #81766A;
  font-size: 13px;
  line-height: 1.9;
}

.eg-privacy-register-form {
  display: grid;
  gap: 12px;
}

.eg-privacy-register-form label {
  display: grid;
  gap: 6px;
}

.eg-privacy-register-form label > span {
  color: #5E5142;
  font-size: 12px;
  font-weight: 700;
}

.eg-privacy-register-form input,
.eg-privacy-register-form select {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  outline: none;
  border: 1px solid #EAE1D5;
  border-radius: 9px;
  color: #51483D;
  background: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: 12.5px;
  transition: .2s ease;
}

.eg-privacy-register-form input::placeholder {
  color: #B1A79A;
}

.eg-privacy-register-form input:focus,
.eg-privacy-register-form select:focus {
  border-color: #C99543;
  box-shadow: 0 0 0 3px rgba(201,149,67,.12);
}

.eg-privacy-register-form select {
  cursor: pointer;
}

.eg-privacy-register-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  margin-top: 3px;
  padding: 10px 15px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(100deg, #68451E, #8A5D2A);
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.eg-privacy-register-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 19px rgba(104,69,30,.2);
  background: linear-gradient(100deg, #805626, #A57537);
}

.eg-privacy-register-form button svg {
  width: 17px;
  height: 17px;
}

.eg-privacy-register-form small {
  color: #A3988B;
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 980px) {
  .eg-privacy-register {
    padding: 22px 18px;
  }
}

@media (max-width: 700px) {
  .eg-single-sidebar .eg-toc-box {
    display: none;
  }
}
