/*
Theme Name: Minimalist Profile
Author: TechBien
Author URI: https://techbien.com
Description: A clean, minimalist profile theme. Fully editable via the block editor.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimalist-profile
Tags: column-layout, custom-colors, custom-logo, block-patterns, full-site-editing, profile-theme, resume-theme, cv-theme
*/

:root {
  --wp--preset-color-ink: #18202b;
  --wp--preset-color-muted: #667085;
  --wp--preset-color-accent: #5b5bd6;
  --wp--preset-color-skill: #373b75;
  --wp--preset-color-skill-background: #e8e9f5;
  --wp--preset-color-background: #f5f7fb;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--wp--preset-color-background);
  color: var(--wp--preset-color-ink);
  font-family: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  min-height: 100vh;
}

.profile-screen {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.profile-column {
  min-width: 0;
}

.profile-column--avatar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.avatar-frame {
  width: min(280px, 72vw);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-title {
  color: var(--wp--preset-color-ink);
}

.profile-role {
  color: var(--wp--preset-color-accent);
}

.profile-copy {
  color: var(--wp--preset-color-muted);
}

.skill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8125rem;
  color: var(--wp--preset-color-skill);
  background: var(--wp--preset-color-skill-background);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 400;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

.highlight-label {
  color: var(--wp--preset-color-muted);
}

.contact-label {
  color: var(--wp--preset-color-muted);
}

.contact-value {
  color: var(--wp--preset-color-ink);
}

.contact-value a {
  color: var(--wp--preset-color-ink);
}

.contact-value a:hover,
.contact-value a:focus-visible {
  color: var(--wp--preset-color-accent);
}
.skills,
.wp-block-group.skills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center;
  width: 100%;
  margin: 8px 0 28px;
}

.skills .wp-block-paragraph,
.skills p,
.skills .skill {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
}

.highlight {
  padding: 0.75rem 0;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
}

.highlight-value {
  display: block;
  color: var(--wp--preset-color-ink);
  font-size: 1.4rem;
  font-weight: 700;
}

.highlight-label {
  color: var(--wp--preset-color-muted);
  font-size: 0.78rem;
  font-weight: 400;
  margin-top: 2px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 0;
}

.icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--wp--preset-color-accent);
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.linkedin-icon svg {
  fill: currentColor;
  stroke: none;
}

.contact-copy {
  min-width: 0;
}

.contact-value a {
  color: var(--wp--preset-color-ink);
  text-decoration: none;
}

.contact-value a:hover,
.contact-value a:focus-visible {
  color: var(--wp--preset-color-accent);
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .avatar-frame {
    width: min(230px, 65vw);
  }
}

@media (max-width: 560px) {
  .profile-screen {
    padding: 18px 12px;
  }

  .profile-grid {
    gap: 32px;
  }

  .avatar-frame {
    width: min(200px, 62vw);
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .contact-item {
    align-items: flex-start;
  }

  .contact-value {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-Regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-Medium-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-Bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body {
  font-family: "Ubuntu", sans-serif;
}

html,
body,
.wp-site-blocks,
.editor-styles-wrapper,
.block-editor-writing-flow,
.edit-post-visual-editor,
.is-root-container {
  font-family: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  background-color: var(--wp--preset-color-background, #f5f7fb) !important;
  color: var(--wp--preset-color-ink, #18202b) !important;
  line-height: 1.6;
}

.editor-styles-wrapper * {
  font-family: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

body {
  line-height: 1.6;
}

.profile-column--contact {
  align-self: center !important;
}

.contact-panel {
  background: var(--wp--preset-color-dark, #18202b);
  color: #ffffff;
  border-color: var(--wp--preset-color-dark, #18202b);
}

.contact-heading {
  font-size: 1.8rem;
}

.contact-label {
  color: #b7becd !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin: 0 0 0.125rem !important;
}

.contact-value {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}

.contact-list {
  gap: 12px !important;
}

.contact-item {
  padding: 14px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
}
