
/* ============ Format Title, ubtitles of the ABOUT-subpage ==================*/

/* Base styles (big screens) */
.title {
  font-family: "Petrona";
  font-size: 2.5rem;
  color: #235347;
  font-weight: 500;
  line-height: 1.1em !important;
}

.subtitle {
  font-family: "Petrona";
  color: #B2BEB5;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 2em;
}

.description {
  color: #B2BEB5;
  font-size: 1rem;
  margin-top: 1.3em !important;
}

.description a {
  text-decoration: underline !important;
  color: #235347 !important;
}

.about-image {
  margin-top: 0.1em;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.about-contents {
  padding: 0 0 0 2em !important;
  font-size: 0.95rem;
  color: #666260;
}

h1 {
  color: #FA2FBD;
  font-family: "Petrona";
  font-size: 2.5rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1px;
}

h2 {
  color: #7F8A80;
  font-family: "Petrona";
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1px;
}

/* Links styling */
a {
  font-family: "Petrona" !important;
  color: #FA2FBD;
  font-size: 1.0em;
  text-transform: none;
}

/* Social links container */
.about-entity .about-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  column-gap: 0 !important;
  font-size: 1.4em !important;
  margin-top: 0.5em;
  width: 100% !important;
}

/* Individual social links */
.about-entity .about-link {
  padding: 0.25em !important;
  border: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.cv-link {
  font-size: 0.9em;
  color: #B2BEB5 !important;
  text-decoration: none;
  margin-left: 0.5em;
}

.cv-link:hover {
  color: #235347 !important;
  text-decoration: underline;
}

/* ===================== Responsive Styles Tablet ====================== */

@media screen and (max-width: 768px) {
  .title {
    font-size: 2rem;
    text-align: center !important;  /* Centered on mobile */
  }
  
  .subtitle {
    font-size: 0.9rem;
    text-align: center !important;  /* Centered on mobile */
    margin-bottom: 1.5em;
  }
  
  .about-image {
    margin: 1em auto;  /* Center image */
    max-width: 70%;
    display: block;
  }
  
  .about-contents {
    padding: 0 1em !important;
    text-align: left;  /* Keep content left-aligned */
  }
  
  h1 {
    font-size: 2rem;
    text-align: left;
    margin-top: 1em;
  }
  
  h2 {
    font-size: 1.3rem;
    text-align: left;
  }
  
  /* Mobile social links adjustments */
  .about-entity .about-links {
    justify-content: center !important;  /* Center icons */
    gap: 1em !important;
    padding: 10px 0 20px !important;
    margin: 0 auto !important;
  }
  
  .about-entity .about-link {
    font-size: 1.2em !important;
  }
  
  .cv-link {
    display: block;
    /*text-align: center;   Center CV link */
    margin: 1em auto;
  }
}


/* ===================== Responsive Styles Mobile ====================== */

@media screen and (max-width: 480px) {
  .title {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 0.8rem;
  }
  
  .about-image {
    max-width: 85%;
  }
  
  .about-contents {
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  /* Small mobile social links adjustments */
  .about-entity .about-links {
    padding: 5px 0 35px !important;
    justify-content: center !important;  /* Ensure icons stay centered */
  }
  
  .about-entity .about-link {
    font-size: 1.2rem !important;
    padding: 0.15em !important;
  }
}