/* =========================
   AT A GLANCE — standalone component
   Scope: everything under .atg only
   ========================= */

.atg {
  /* Optional: keeps this component self-contained */
  width: 100%;
}

.atg .atg__layout {
  /* Make piece1 & piece2 visually larger (like OldAtAGlance) */
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 60px 60px;

  display: grid;
  grid-template-columns: 1.55fr 1fr;   /* left content bigger */
  grid-template-rows: auto auto;
  gap: 34px 46px;
  align-items: start;
}

/* -------------------------
   piece1 — What is iaci card
   ------------------------- */

.atg .atg__what {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.atg .atg__whatCard {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  border-radius: 14px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.atg .atg__whatLeft {
  background: rgba(217, 225, 228, 0.55);
  padding: 18px 18px 18px 18px;
  border-left: 4px solid #F2C078;
}

.atg .atg__kicker {
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 16px;
  color: #4D555B;
  opacity: 0.95;
  margin-bottom: 8px;
}

.atg .atg__subtitle {
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: lowercase;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: #4D555B;
  margin-bottom: 18px;
}

.atg .atg__hint {
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(77, 85, 91, 0.80);
  margin: 0;
  max-width: 26ch;
}

.atg .atg__whatRight {
  padding: 18px 22px 18px 22px;
}

.atg .atg__lead {
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #2f3438;
  margin: 0 0 12px 0;
}

.atg .atg__chevList {
  margin: 0 0 12px 0;
  padding: 0;
  list-style: none;
}

.atg .atg__chevList li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;

  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(47, 52, 56, 0.92);
}

.atg .atg__chevList li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(77, 85, 91, 0.85);
}

.atg .atg__more {
  margin: 0;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 13px;
  color: rgba(77, 85, 91, 0.85);
}

.atg .atg__arrowLink {
  display: inline-block;
  margin-left: 6px;

  color: #4D555B;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.atg .atg__arrowLink:hover {
  border-bottom-color: #4D555B; /* “nice” underline on hover only */
  transform: translateX(2px);
  opacity: 0.95;
}

/* -------------------------
   piece2 — 4 images grid
   ------------------------- */

.atg .atg__grid {
  grid-column: 1 / 2;
  grid-row: 2 / 3;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;

  margin-top: 6px;
}

.atg .atg__shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;

  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
}

.atg .atg__shot img {
  width: 100%;
  height: 230px;            /* bigger like OldAtAGlance */
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.atg .atg__shot:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* optional label overlay */
.atg .atg__shot::after {
  content: attr(data-text);
  position: absolute;
  left: 14px;
  bottom: 12px;

  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;

  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.30);
  padding: 7px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* -------------------------
   piece3 — CV corner
   (no white wrapper box)
   ------------------------- */

.atg .atg__profile {
  grid-column: 2 / 3;
  grid-row: 1 / 3;

  text-align: center;
  padding-top: 2px;
}

.atg .atg__avatar {
  width: 170px;
  height: 170px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px auto;

  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.65);
}

.atg .atg__tagline {
  margin: 0 0 22px 0;
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(77, 85, 91, 0.90);
}

/* Actions block is NOT a white card; it’s just spacing */
.atg .atg__actions {
  width: min(420px, 100%);
  margin: 0 auto;
}

/* Shared button row style (Context snapshot + Explore my CV) */
.atg .atg__actionRow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 16px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(77, 85, 91, 0.18);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);

  color: #4D555B;
  text-decoration: none;

  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.atg .atg__actionRow + .atg__actionRow,
.atg .atg__disclosure + .atg__cvRow {
  margin-top: 12px;
}

.atg .atg__actionRow:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.10);
}

.atg .atg__actionLabel {
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.atg .atg__cvLabel {
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0.00em;
  font-size: 14px;
  font-weight: 500;
}

.atg .atg__actionIcon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(77, 85, 91, 0.10);
  border: 1px solid rgba(77, 85, 91, 0.14);
  font-size: 14px;
}

/* Details reset */
.atg .atg__disclosure {
  width: 100%;
}

.atg .atg__disclosure > summary {
  list-style: none;
  cursor: pointer;
}

.atg .atg__disclosure > summary::-webkit-details-marker {
  display: none;
}

.atg .atg__disclosure[open] .atg__actionIcon {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.atg .atg__disclosureBody {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(77, 85, 91, 0.14);
}

.atg .atg__contextList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.atg .atg__contextList li {
  display: flex;
  justify-content: space-between;
  gap: 14px;

  padding: 8px 0;
  border-bottom: 1px solid rgba(77, 85, 91, 0.10);
}

.atg .atg__contextList li:last-child {
  border-bottom: 0;
}

.atg .atg__contextKey {
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  color: rgba(77, 85, 91, 0.85);
}

.atg .atg__contextVal {
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  color: rgba(47, 52, 56, 0.92);
  text-align: left;
}

.atg .atg__contextNote {
  margin: 10px 0 0 0;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  color: rgba(77, 85, 91, 0.78);
  line-height: 1.45;
}

.atg .atg__subnote {
  margin: 10px 0 0 0;
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(77, 85, 91, 0.70);
  text-align: left;
  padding-left: 2px;
}

/* -------------------------
   Responsive — Mobile (MobileNew.png order)
   piece1 -> piece2 -> piece3
   ------------------------- */

@media (max-width: 980px) {
  .atg .atg__layout {
    max-width: 720px;
    padding: 54px 18px 40px;

    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .atg .atg__what {
    grid-column: 1;
    grid-row: 1;
  }

  .atg .atg__grid {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .atg .atg__shot img {
    height: 210px;
  }

  .atg .atg__profile {
    grid-column: 1;
    grid-row: 3;
    padding-top: 8px;
  }

  .atg .atg__subnote {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .atg .atg__whatCard {
    grid-template-columns: 1fr;
  }

  .atg .atg__whatLeft {
    border-left: 4px solid #F2C078;
    border-bottom: 1px solid rgba(77, 85, 91, 0.10);
  }
}
/* -------------------------------------------
   31-12-2025: On Index page - Option 5 — Chips + one expanded panel
   ------------------------------------------- */

.atg .atg__paths5 {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(77, 85, 91, 0.12);
}

.atg .atg__paths5Top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.atg .atg__paths5Label {
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px; /* was 10px */
  color: rgba(77, 85, 91, 0.86); /* was lighter */
  white-space: nowrap;
}


.atg .atg__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.atg .atg__chip {
  border: 1px solid rgba(77, 85, 91, 0.14);
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;

  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  color: rgba(47, 52, 56, 0.92);

  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.atg .atg__chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.atg .atg__chip:focus-visible {
  outline: 2px solid rgba(242, 192, 120, 0.85);
  outline-offset: 2px;
}

.atg .atg__chipMeta {
  font-size: 11px;
  color: rgba(77, 85, 91, 0.70);
  white-space: nowrap;
}

.atg .atg__chip.is-active {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(77, 85, 91, 0.26);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.atg .atg__panelWrap {
  border-radius: 12px;
  padding: 12px 12px 10px 12px;

  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(77, 85, 91, 0.14);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.atg .atg__panel {
  animation: atgFadeIn 160ms ease;
}

@keyframes atgFadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

.atg .atg__panelList {
  margin: 0;
  padding-left: 18px;
}

.atg .atg__panelList li {
  margin: 6px 0;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(47, 52, 56, 0.92);
}

.atg .atg__panelList a {
  color: #4D555B;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.atg .atg__panelList a:hover {
  border-bottom-color: rgba(77, 85, 91, 0.70);
  opacity: 0.95;
}

.atg .atg__note {
  margin-left: 6px;
  font-size: 11px;
  color: rgba(77, 85, 91, 0.70);
  font-style: italic;
}

/* Mobile: stack label above chips for breathing room */
@media (max-width: 980px) {
  .atg .atg__paths5Top {
    flex-direction: column;
    align-items: flex-start;
  }

  .atg .atg__chips {
    justify-content: flex-start;
  }

  .atg .atg__panelList li {
    font-size: 13px;
  }
}

.atg .atg__panelTitle {
  font-family: "Arsenal SC", "Arsenal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: rgba(77, 85, 91, 0.86);
  margin: 0 0 8px 0;
}
