/*********************************************************************************************************************/
/*                                                                                                                   */
/*                                                     CV PAGES                                                      */
/*                                                                                                                   */
/*********************************************************************************************************************/

.cv                     { font-size: 16px; line-height: 1.55;                               }
.cv .page               { max-width: 832px; padding-top: 80px;                              }
.cv h1                  { font-size: 2.8rem;                                                }
.header-subtitle        { margin-top: 4px; font-family: "Open Sans", Arial, sans-serif      ;
                          font-weight: 700; font-size: 1.8rem; line-height: 1.4;            }
.cv-navigation          { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px;  }
.cv-navigation a        { text-decoration: underline; text-underline-offset: 3px;           }
.cv-navigation a:hover  { text-decoration-thickness: 2px;                                   }
.summary-entry:hover    { text-decoration: underline; text-underline-offset: 3px;           }
.cv-section             { margin-top: 36px; padding-top: 30px                               ;
                          border-top: 1px solid var(--color-border);                        }
.cv-section h2          { margin-bottom: 26px; font-size: 1.8rem; line-height: 1.4;         }
.cv-section, .cv-entry  { scroll-margin-top: 24px;                                          }
.cv .header-details     { display: flex; flex-direction: column; gap: 2px                   ;
                          font-size: 16px; text-align: right;                               }
.cv-introduction        { margin-top: 30px; line-height: 1.75;                              }

/*********************************************************************************************************************/
/*                                                                                                                   */
/*                                                   CAREER SUMMARY                                                  */
/*                                                                                                                   */
/*********************************************************************************************************************/

.career-summary, .games-summary { display: grid; column-gap: 24px                                                   ;
                                  grid-template-columns: max-content fit-content(25%) fit-content(30%) minmax(0, 1fr);}
.summary-entry                  { display: grid; grid-column: 1 / -1                                                ;
                                  grid-template-columns: subgrid; padding: 1px 0; line-height: 1.4;                 }
.summary-entry span             { min-width: 0; overflow-wrap: anywhere;                                            }
.summary-entry span:first-child { font-variant-numeric: tabular-nums; padding-right: 20px;                          }
.summary-entry span:nth-child(2)
                                { font-weight: 700; padding-right: 12px;                                            }
.career-summary .summary-entry span:nth-child(3)
                                { padding-right: 20px;                                                              }

/*********************************************************************************************************************/
/*                                                                                                                   */
/*                                                      SKILLS                                                       */
/*                                                                                                                   */
/*********************************************************************************************************************/

.skill-list     { display: grid; grid-template-columns: fit-content(35%) minmax(0, 1fr) ;
                  gap: 3px 64px; margin: 0; line-height: 1.4;                           }
.skill-list dt, .skill-list dd
                { min-width: 0; overflow-wrap: anywhere;                                }
.skill-list dd  { margin: 0;                                                            }

/*********************************************************************************************************************/
/*                                                                                                                   */
/*                                                    EXPERIENCE                                                     */
/*                                                                                                                   */
/*********************************************************************************************************************/

.cv-entry + .cv-entry { margin-top: 60px;                                               }
.cv-entry h3          { margin: 0; font-family: "Open Sans", Arial, sans-serif          ;
                        font-weight: 700; font-size: 1.5rem; line-height: 1.4;          }
.entry-details        { margin-top: 6px; margin-bottom: 22px;                           }
.cv-entry > p + p     { margin-top: 18px;                                               }
.cv-entry ul          { margin: 18px 0 0; padding-left: 32px; list-style-type: circle;  }
.cv-entry li          { margin: 4px 0; padding-left: 6px;                               }
.cv-entry p a, .cv-entry li a
                      { text-decoration: underline; text-underline-offset: 3px;         }
.cv-entry p a:hover, .cv-entry li a:hover
                      { text-decoration-thickness: 2px;                                 }
.entry-role           { font-weight: 700;                                               }
.entry-images         { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) ;
                        gap: 16px; margin-top: 48px; margin-bottom: 12px;               }
.entry-images img     { display: block; width: 100%; height: auto;                      }
.entry-images a       { display: block; min-width: 0; cursor: zoom-in;                  }

/*********************************************************************************************************************/
/*                                                                                                                   */
/*                                                   IMAGE VIEWER                                                    */
/*                                                                                                                   */
/*********************************************************************************************************************/

html.image-open     { overflow: hidden;                                             }
.image-dialog       { width: fit-content; max-width: calc(100vw - 32px)             ;
                      max-height: calc(100dvh - 32px); padding: 16px                ;
                      color: var(--color-text); background: var(--color-background) ;
                      border: 1px solid var(--color-border);                        }
.image-dialog::backdrop
                    { background: var(--color-background); opacity: 0.9;            }
.image-dialog img   { display: block; width: auto; height: auto                     ;
                      max-width: 100%; max-height: calc(100dvh - 120px)             ;
                      margin: 0 auto; object-fit: contain;                          }
.image-dialog-close { display: block; margin: 0 0 12px auto; padding: 4px 8px       ;
                      font: inherit; color: var(--color-text)                       ;
                      background: var(--color-background)                           ;
                      border: 1px solid var(--color-border); cursor: pointer;       }

/*********************************************************************************************************************/
/*                                                                                                                   */
/*                                                      MOBILE                                                       */
/*                                                                                                                   */
/*********************************************************************************************************************/

@media (max-width: 620px)                                                               {
.cv .page             { padding-top: 52px;                                              }
.cv h1                { font-size: 34px;                                                }
.cv .header-details   { text-align: left;                                               }
.header-subtitle      { font-size: 24px;                                                }
.cv-section h2        { font-size: 24px;                                                }
.cv-entry h3          { font-size: 21px;                                                }
.career-summary, .games-summary
                      { grid-template-columns: max-content minmax(0, 1fr)               ;
                        column-gap: 14px;                                               }
.summary-entry        { gap: 2px 14px; padding: 8px 0;                                  }
.summary-entry span:nth-child(n+3)
                      { grid-column: 2;                                                 }
.summary-entry span:first-child, .summary-entry span:nth-child(2)
                      { padding-right: 0;                                               }
.career-summary .summary-entry span:nth-child(3)
                      { padding-right: 0;                                               }
.skill-list           { grid-template-columns: 1fr; gap: 2px;                           }
.skill-list dd        { margin-bottom: 12px;                                            }
.skill-list dt        { font-weight: 700;                                               }
.entry-images         { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;   } }