.blog-details-article {
  max-width: 1170px;
}

.blog-details-back-btn, .blog-details-paginations-container .blog-details-btn-arrow {
  color: var(--primary, #333);
}

.blog-details-title-h2 {
  color: var(--secondary, #444);
}

.blog-details-time {
  color: var(--primary, #333);
}

.blog-details-youtube, .blog-details-facebook, .blog-details-twitter, .blog-details-instagram {
  color: var(--primary, #333);
}

.radio-slider {
  --border-radius: 3px;
  --gap: 2px;
  --padding: var(--gap);
  --min-size: 1em;
  --font-size: 1em;
  --box-shadow: 1px 1px 1px #0004;
  border-radius: calc(var(--border-radius) + var(--padding));
  background-color: var(--bg4, #ccc);
  display: flex;
  padding: var(--padding);
  gap: var(--gap);
  box-shadow: inset var(--box-shadow);
  overflow: hidden;
  svg, img {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  legend {
    position: absolute;
    color: var(--primary, #333);
    font-size: calc(var(--font-size) * 1.2);
    margin-top: calc(var(--font-size) * -1.5);
  }
  input[type="radio"] {
    display: none;
  }
  input[type="radio"]:checked + label, label:has(input[type="radio"]:checked) {
    color: var(--emphasis, #000);
    background-color: var(--bg1, #fff);
    box-shadow: var(--box-shadow);
  }
  label {
    display: block;
    cursor: pointer;
    border-radius: var(--border-radius);
    color: var(--primary, #333);
    background-color: transparent;
    font-size: var(--font-size);
    text-align: center;
    line-height: 1;
    text-transform: none;
    padding: 0.2em 0.4em;
    margin: 0;
    min-width: var(--min-size);
    min-height: var(--min-size);
    transition: all 150ms var(--ease-quart-in-out);
  }
}

.blog-details-article-content {
  font-size: 16px;
  font-size: clamp(15px, round(2vw, 1px), 18px);
  line-height: 1.5;
  color: var(--primary, #333);
  --margin-after: 20px;
  p, li, th, td {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
  }
  p {
    margin-bottom: var(--margin-after);
  }
  h2, h3, h4, h5 {
    color: inherit;
    font-weight: 700;
    margin-bottom: var(--margin-after);
    line-height: 1.2;
  }
  :is(h2, h3, h4, h5):not(:first-child) {
    margin-top: 2em;
  }
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.25em;
  }
  h4 {
    font-size: 1.125em;
  }
  h5 {
    font-size: 1.0625em;
  }
  h6 {
    font-weight: 600;
    font-size: 1em;
  }
  a {
    color: var(--accent-text, #900);
    font-weight: 500;
    text-decoration: none;
    &:hover {
      text-decoration: underline;
    }
  }
  b, strong {
    font-weight: 700;
  }
  ol, ul {
    list-style-position: outside;
    margin: 0 0 1.5em 1.1em;
    padding: 0;
  }
  ul {
    list-style-type: disc;
  }
  ol {
    list-style-type: decimal;
    li::marker {
      font-weight: 700;
    }
    ol {
      list-style-type: lower-alpha;
      ol {
        list-style-type: lower-roman;
        ol {
          list-style-type: decimal;
        }
      }
    }
  }
  li {
    list-style-position: inherit;
    list-style-type: inherit;
  }
  img {
    width: auto;
    height: auto;
  }
  > :is(img, figure) {
    margin-bottom: var(--margin-after);
  }
  figcaption {
    font-size: round(0.867em, 1px);
    margin-top: 0.5em;
  }
  section {
    margin-bottom: calc(var(--margin-after) * 2);
  }
  table {
    line-height: 1.125;
  }
  th {
    font-weight: 600;
  }
  th, td {
    color: inherit;
    text-align: inherit;
    padding: 0.25em 0.5em;
    border-color: inherit;
  }
  .table-101 {
    width: 100%;
    border-collapse: collapse;
    border-width: 1px;
    caption {
      color: inherit;
      text-align: inherit;
      font-weight: 300;
      font-size: 1.5em;
      padding: 0;
      margin-bottom: 0.5em;
    }
    th, td {
      font-size: 1.25em;
      border-style: solid;
    }
    tr:first-child :is(th, td) {
      border-top: none;
    }
    :not(thead) tr:last-child :is(th, td) {
      border-bottom: none;
    }
    :is(th, td):first-child {
      border-left: none;
    }
    :is(th, td):last-child {
      border-right: none;
    }
  }
  
  .image-toggler {
    position: relative;
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    .image-container {
      margin: 0 auto;
    }
    .image-container img {
      display: block;
    }
    .toggle-controls {
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 1em;
    }
  }
  .wraparound > :is(img, figure) {
    height: auto;
    width: auto;
    float: left;
    margin-bottom: 1em;
  }
  .wraparound.-left > :is(img, figure) {
    float: left;
    margin-right: var(--margin-after);
  }
  .wraparound.-right > :is(img, figure) {
    float: right;
    margin-left: var(--margin-after);
    @media (max-width: 640px) {
      float: none;
      max-width: 100%;
      margin: 0 auto 1em auto;
    }
  }
  .wraparound > *::before {
    content: "";
    display: block;
    overflow: hidden;
    width: 15em;
  }
  .wraparound::after { 
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
  }
  
  .ui-btn {
    font-size: 0.875em;
    padding: 0.5em min(1em, 2vw);
    line-height: 1.333;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
    text-transform: uppercase;
    border: none;
    color: #fff !important;
    display: inline-block;
    zoom: 1;
    background-color: var(--accent, #900);
    background-image: linear-gradient(var(--accent-hi, #c00), var(--accent-low, #600));
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.8) 0 1px 2px, rgba(255, 255, 255, 0.5) 0 1px 1px inset;
    text-shadow: rgba(255, 255, 255, 0.3) 1px 1px 0;
    font-weight: 400;
    font-style: normal;
  }
  
  .ui-btn.dark {
    color: #b3b3b3 !important;
    background-color: #333;
    background-image: linear-gradient(#4d4d4d, #1a1a1a);
    box-shadow: rgba(0, 0, 0, 0.8) 0 1px 2px, rgba(255, 255, 255, 0.2) 0 1px 1px inset;
    text-shadow: rgba(0, 0, 0, 0.8) -1px -1px 0;
  }
  
  .note {
    color: var(--tertiary, #666);
    background-color: var(--bg2, #f2f2f2);
    font-size: round(0.867em, 1px);
    margin: 0 0 15px 0;
    padding: 5px 10px;
    border-radius: 3px;
  }
  
  .center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .box {
    overflow: auto;
    padding: round(0.555em, 1px);
    margin-bottom: var(--margin-after);
    img {
      display: block;
      margin: auto;
      max-width: 100%;
      height: auto;
    }
  }
  
  .dark {
    background-color: #333;
    color: #b3b3b3;
  }

  .side-by-side {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1em;
    margin: 0 auto var(--margin-after);
    max-width: fit-content;
    > :is(img, figure) {
      max-width: 100%;
      height: auto;
    }
    figure {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin: 0;
    }
    @media (max-width: 640px) {
      grid-template-columns: 1fr;
    }
  }
  .full-width {
    width: 100%;
    max-width: 100%;
  }
  .fit-content {
    max-width: fit-content;
  }
  .double-arrow-horiz {
    --line-color: currentColor;
    --line-thickness: 2px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    height: calc(var(--line-thickness) * 5);
    background-image: linear-gradient(
      to bottom,
      transparent calc(var(--line-thickness) * 2),
      var(--line-color) calc(var(--line-thickness) * 2),
      var(--line-color) calc(var(--line-thickness) * 3),
      transparent calc(var(--line-thickness) * 3)
    );
    background-repeat: no-repeat;
    background-position: calc(var(--line-thickness) * 6) 0;
    background-size: calc(100% - calc(var(--line-thickness) * 12));
    &::before, &::after {
      content: "";
      position: relative;
      width: 0;
      height: 0;
    }
    &::before {
      border-top: calc(var(--line-thickness) * 2.5) solid transparent;
      border-bottom: calc(var(--line-thickness) * 2.5) solid transparent; 
      border-right: calc(var(--line-thickness) * 6) solid var(--line-color);
    }
    &::after {
      border-top: calc(var(--line-thickness) * 2.5) solid transparent;
      border-bottom: calc(var(--line-thickness) * 2.5) solid transparent;
      border-left: calc(var(--line-thickness) * 6) solid var(--line-color);
    }
  }
}

