@import url('styles.css');

/* ---------- Global reading width ---------- */

.content-root {
  max-width: 800px;   /* comfortable reading width */
  margin: 0 auto;
  box-sizing: border-box;
}

/* ---------- Top small text ---------- */

.top-note {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 24px;
  text-align: center;
  color: white;
  font-size: 24px;
  margin-bottom: 30px;
  margin-top: 50px;
}

/* ---------- Section layout ---------- */

.minimal-section {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: stretch;
  padding: 30px 30px;
  border-top: 1px solid rgba(255,255,255,0.5);
}

.minimal-section.bottom-divider {
  padding: 0;
  margin: 0;
  min-height: 0;
}


/* Remove first divider
.minimal-section:first-child::before {
  display: none;
}
*/
 
/* ---------- Image ---------- */

.img-left {
  flex: 0 0 200px;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.img-left img {
  width: 100%;
  height: auto;
  max-width: 200px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.image-link {
  display: inline-block;
  text-decoration: none;
}

.image-link img {
  display: block;
  cursor: pointer;
}

/* ---------- Text column ---------- */

.text-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-paragraph {
  color: #f0f0f0;
  font-family: inherit;
  font-size: 22px;
}

/* Bottom one-liner */
.one-liner {
  color: #ddd;
  font-size: 22px;
  margin-top: auto;
}

.one-liner a {
  color: rgba(126, 182, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.one-liner a:hover {
  color: rgba(163, 204, 255, 1.0);
}

.one-liner a:visited {
  color: rgba(255, 169, 198, 0.7);
}


/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .content-root {
    max-width: 100%;
  }

  .minimal-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .one-liner {
    padding-top:20px;

  .img-left {
    max-width: 100%;
  }

  .img-left img {
    max-width: 100%;
  }
}
