/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.1.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */
/* ==============================
   CONDITION BOX
   ============================== */

.fa-condition {
  margin-top: 32px;
}

/* small label above */
.fa-condition__label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-transform: lowercase;
  color: rgba(0,0,0,0.6);
}

/* main container */
.fa-condition__box {
  display: flex;
  align-items: center;
  gap: 24px;

  background: #f4f4f4;
  border-radius: 12px;
  padding: 18px 20px;
}

/* rank column */
.fa-condition__rank {
  min-width: 64px;
  text-align: center;
}

/* small "Rank" text */
.fa-condition__rank-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.45);
  margin-bottom: 4px;
}

/* big letter (A/B/C/…) */
.fa-condition__rank-value {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: #000;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.02em;
}

/* description text */
.fa-condition__text {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  max-width: 42ch;
}

/* link under the box */
.fa-condition__link {
  display: block;
  margin-top: 10px;
  text-align: right;

  font-size: 13px;
  font-weight: 400;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fa-condition__link:hover {
  opacity: 0.7;
}

/* ==============================
   CONDITION MODAL – KINDAL STYLE
   ============================== */

.fa-condition-modal {
  padding: 40px 36px;
  max-width: 560px;
}

/* Title */
.fa-condition-modal__title {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.fa-condition-modal__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.15);
}

/* Definition list */
.fa-condition-modal__list {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 18px;
  row-gap: 18px;
}

/* Rank letter */
.fa-condition-modal__list dt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* Description */
.fa-condition-modal__list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.75);
}

/* Subtle rhythm */
.fa-condition-modal__list dt:not(:first-child),
.fa-condition-modal__list dd:not(:first-child) {
  padding-top: 6px;
}