/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */
/**
   * Remove the margin in all browsers.
   */
body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */
main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */
/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */
/**
   * Remove the gray background on active links in IE 10.
   */
a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */
small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */
/**
   * Remove the border on images inside links in IE 10.
   */
img {
  border-style: none;
}

/* Forms
     ========================================================================== */
/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */
textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */
/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */
summary {
  display: list-item;
}

/* Misc
     ========================================================================== */
/**
   * Add the correct display in IE 10+.
   */
template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */
[hidden] {
  display: none;
}

:root {
  color-scheme: light dark;
  --bg-color: #ffffff;
  --text-color: #333;
  --text-muted: #999;
  --text-light: #646464;
  --border-color: #c7c7c7;
  --card-bg: #efefef;
  --link-color: #333;
  --link-hover: #9c9c9c;
  --link-hover-color: var(--link-hover);
  --accent-color: #3064a9;
  --accent-contrast-text: #ffffff;
  --accent-hover: #307EA9;
  --accent-hover-color: var(--accent-hover);
  --social-hover-color: var(--accent-hover);
  --about-color: var(--text-light);
  --footer-text-color: var(--text-muted);
  --footer-link-color: var(--link-color);
  --icon-fill: #333;
  --icon-fill-muted: #555555;
  --icon-fill-dark: #000;
  --icon-hover-fill: var(--icon-fill-dark);
  --header-icon-fill: var(--icon-fill-dark);
  --button-bg: #efefef;
  --button-text: #333;
  --button-hover-bg: #333;
  --button-hover-text: #fff;
  --selection-bg: rgba(51, 51, 51, .8);
  --selection-color: #fff;
  --toggle-btn-bg: transparent;
  --toggle-btn-border: var(--border-color);
  --toggle-btn-color: var(--text-color);
  --toggle-btn-hover-bg: var(--button-bg);
  --toggle-btn-focus-ring: var(--accent-color);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme=light]):not([data-theme=light]) {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --text-muted: #888888;
    --text-light: #aaaaaa;
    --border-color: #333333;
    --card-bg: #1e1e1e;
    --link-color: #e0e0e0;
    --link-hover: #ffffff;
    --link-hover-color: var(--link-hover);
    --accent-color: #6ba4e8;
    --accent-contrast-text: #121212;
    --accent-hover: #8cbcf3;
    --accent-hover-color: var(--accent-hover);
    --social-hover-color: var(--accent-hover);
    --about-color: var(--text-light);
    --footer-text-color: var(--text-muted);
    --footer-link-color: var(--link-color);
    --icon-fill: #e0e0e0;
    --icon-fill-muted: #888888;
    --icon-fill-dark: #ffffff;
    --icon-hover-fill: var(--icon-fill-dark);
    --header-icon-fill: var(--icon-fill-dark);
    --button-bg: #2a2a2a;
    --button-text: #e0e0e0;
    --button-hover-bg: #444444;
    --button-hover-text: #ffffff;
    --selection-bg: rgba(107, 164, 232, .5);
    --selection-color: #ffffff;
    --toggle-btn-border: var(--border-color);
    --toggle-btn-color: var(--text-color);
    --toggle-btn-hover-bg: var(--button-bg);
    --toggle-btn-focus-ring: var(--accent-color);
  }
}
:root[data-color-scheme=dark],
:root[data-theme=dark],
[data-color-scheme=dark],
[data-theme=dark],
html.dark {
  color-scheme: dark;
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --text-muted: #888888;
  --text-light: #aaaaaa;
  --border-color: #333333;
  --card-bg: #1e1e1e;
  --link-color: #e0e0e0;
  --link-hover: #ffffff;
  --link-hover-color: var(--link-hover);
  --accent-color: #6ba4e8;
  --accent-contrast-text: #121212;
  --accent-hover: #8cbcf3;
  --accent-hover-color: var(--accent-hover);
  --social-hover-color: var(--accent-hover);
  --about-color: var(--text-light);
  --footer-text-color: var(--text-muted);
  --footer-link-color: var(--link-color);
  --icon-fill: #e0e0e0;
  --icon-fill-muted: #888888;
  --icon-fill-dark: #ffffff;
  --icon-hover-fill: var(--icon-fill-dark);
  --header-icon-fill: var(--icon-fill-dark);
  --button-bg: #2a2a2a;
  --button-text: #e0e0e0;
  --button-hover-bg: #444444;
  --button-hover-text: #ffffff;
  --selection-bg: rgba(107, 164, 232, .5);
  --selection-color: #ffffff;
  --toggle-btn-border: var(--border-color);
  --toggle-btn-color: var(--text-color);
  --toggle-btn-hover-bg: var(--button-bg);
  --toggle-btn-focus-ring: var(--accent-color);
}

:root[data-color-scheme=light],
:root[data-theme=light],
[data-color-scheme=light],
[data-theme=light],
html.light {
  color-scheme: light;
  --bg-color: #ffffff;
  --text-color: #333;
  --text-muted: #999;
  --text-light: #646464;
  --border-color: #c7c7c7;
  --card-bg: #efefef;
  --link-color: #333;
  --link-hover: #9c9c9c;
  --link-hover-color: var(--link-hover);
  --accent-color: #3064a9;
  --accent-hover: #307EA9;
  --accent-hover-color: var(--accent-hover);
  --social-hover-color: var(--accent-hover);
  --about-color: var(--text-light);
  --footer-text-color: var(--text-muted);
  --footer-link-color: var(--link-color);
  --icon-fill: #333;
  --icon-fill-muted: #555555;
  --icon-fill-dark: #000;
  --icon-hover-fill: var(--icon-fill-dark);
  --header-icon-fill: var(--icon-fill-dark);
  --button-bg: #efefef;
  --button-text: #333;
  --button-hover-bg: #333;
  --button-hover-text: #fff;
  --selection-bg: rgba(51, 51, 51, .8);
  --selection-color: #fff;
  --toggle-btn-border: var(--border-color);
  --toggle-btn-color: var(--text-color);
  --toggle-btn-hover-bg: var(--button-bg);
  --toggle-btn-focus-ring: var(--accent-color);
}

@media print {
  :root,
  :root[data-color-scheme=dark],
  :root[data-color-scheme=light],
  :root[data-theme=dark],
  :root[data-theme=light],
  [data-color-scheme=dark],
  [data-theme=dark],
  html.dark,
  html.light {
    color-scheme: light !important;
    --bg-color: #ffffff !important;
    --text-color: #000000 !important;
    --text-muted: #666 !important;
    --text-light: #444 !important;
    --border-color: #c7c7c7 !important;
    --card-bg: #fff !important;
    --link-color: #000 !important;
    --link-hover: #000 !important;
    --link-hover-color: #000 !important;
    --accent-color: #000 !important;
    --accent-hover: #000 !important;
    --accent-hover-color: #000 !important;
    --social-hover-color: #000 !important;
    --about-color: #444 !important;
    --footer-text-color: #666 !important;
    --footer-link-color: #000 !important;
    --icon-fill: #000 !important;
    --icon-fill-muted: #666 !important;
    --icon-fill-dark: #000 !important;
    --icon-hover-fill: #000 !important;
    --header-icon-fill: #000 !important;
    --button-bg: #fff !important;
    --button-text: #000 !important;
    --button-hover-bg: #fff !important;
    --button-hover-text: #000 !important;
    --selection-bg: transparent !important;
    --selection-color: #000 !important;
  }
  html,
  body {
    background-color: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .dark-mode-toggle,
  #dark-mode-toggle {
    display: none !important;
  }
}
.dark-mode-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: var(--bg-color);
  color: var(--toggle-btn-color);
  border: 1px solid var(--toggle-btn-border);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dark-mode-toggle:hover {
  background-color: var(--toggle-btn-hover-bg);
  transform: scale(1.05);
}
.dark-mode-toggle:focus-visible {
  outline: 2px solid var(--toggle-btn-focus-ring);
  outline-offset: 2px;
}
.dark-mode-toggle .dark-mode-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none !important;
  stroke: currentColor;
  transition: transform 0.3s ease;
}
.dark-mode-toggle .dark-mode-icon-sun {
  display: none;
}
.dark-mode-toggle .dark-mode-icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme=light]):not([data-theme=light]) .dark-mode-toggle .dark-mode-icon-sun {
    display: block;
  }
  :root:not([data-color-scheme=light]):not([data-theme=light]) .dark-mode-toggle .dark-mode-icon-moon {
    display: none;
  }
}
:root[data-color-scheme=dark] .dark-mode-toggle .dark-mode-icon-sun,
:root[data-theme=dark] .dark-mode-toggle .dark-mode-icon-sun,
[data-color-scheme=dark] .dark-mode-toggle .dark-mode-icon-sun,
[data-theme=dark] .dark-mode-toggle .dark-mode-icon-sun,
html.dark .dark-mode-toggle .dark-mode-icon-sun {
  display: block;
}
:root[data-color-scheme=dark] .dark-mode-toggle .dark-mode-icon-moon,
:root[data-theme=dark] .dark-mode-toggle .dark-mode-icon-moon,
[data-color-scheme=dark] .dark-mode-toggle .dark-mode-icon-moon,
[data-theme=dark] .dark-mode-toggle .dark-mode-icon-moon,
html.dark .dark-mode-toggle .dark-mode-icon-moon {
  display: none;
}

:root[data-color-scheme=light] .dark-mode-toggle .dark-mode-icon-sun,
:root[data-theme=light] .dark-mode-toggle .dark-mode-icon-sun,
[data-color-scheme=light] .dark-mode-toggle .dark-mode-icon-sun,
[data-theme=light] .dark-mode-toggle .dark-mode-icon-sun,
html.light .dark-mode-toggle .dark-mode-icon-sun {
  display: none;
}
:root[data-color-scheme=light] .dark-mode-toggle .dark-mode-icon-moon,
:root[data-theme=light] .dark-mode-toggle .dark-mode-icon-moon,
[data-color-scheme=light] .dark-mode-toggle .dark-mode-icon-moon,
[data-theme=light] .dark-mode-toggle .dark-mode-icon-moon,
html.light .dark-mode-toggle .dark-mode-icon-moon {
  display: block;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background: var(--bg-color, var(--bg-color, #fff));
}

body {
  font-family: "Lora", "Minion Pro", Palatino, Georgia, serif;
  color: var(--text-color, var(--text-color, #333));
  font-size: 16px;
  line-height: 1.5;
}

.wrapper:before,
.wrapper:after {
  content: "";
  display: table;
}

.wrapper:after {
  clear: both;
}

.wrapper {
  max-width: 800px;
  padding: 0 24px;
  margin: 0 auto;
}

.group:before,
.group:after {
  content: "";
  display: table;
}

.group:after {
  clear: both;
}

::-moz-selection {
  background: var(--selection-bg, rgba(51, 51, 51, 0.8));
  color: var(--selection-color, #fff);
  text-shadow: none;
}

::selection {
  background: var(--selection-bg, rgba(51, 51, 51, 0.8));
  color: var(--selection-color, #fff);
  text-shadow: none;
}

/* Visually hidden utility for screen readers (WCAG 2.1 AA) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  text-decoration: none !important;
}

/* Accessible Skip-to-Content Link (WCAG 2.4.1 Bypass Blocks) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--accent-color, #3064a9);
  color: var(--accent-contrast-text, #ffffff) !important;
  font-family: var(--font-en, "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 4px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: top 0.2s ease;
}
.skip-link:focus, .skip-link:focus-visible {
  top: 1rem;
  outline: 2px solid var(--accent-contrast-text, #ffffff);
  outline-offset: 2px;
}

html[dir=rtl] .skip-link {
  left: auto;
  right: 1rem;
  font-family: var(--font-locale, "Cairo", "Noto Naskh Arabic", Tahoma, sans-serif);
}

/* Universal Accessible Focus Indicators (WCAG 2.4.7 Focus Visible) */
:focus-visible {
  outline: 2px solid var(--accent-color, #3064a9);
  outline-offset: 2px;
}

/* Suppress focus outline on programmatic focus target */
main:focus,
.resume-main-content:focus {
  outline: none;
}

.language-switcher {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1000;
}
.language-switcher .language-switcher-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  background: var(--bg-color, #ffffff);
  color: var(--text-color, #333333);
  border: 1px solid var(--toggle-btn-border, #e0e0e0);
  border-radius: 9999px;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.language-switcher .language-switcher-trigger::-webkit-details-marker {
  display: none;
}
.language-switcher .language-switcher-trigger:hover {
  background-color: var(--toggle-btn-hover-bg, #f5f5f5);
  border-color: var(--accent-color, #007acc);
  transform: scale(1.05);
}
.language-switcher .language-switcher-trigger:focus-visible {
  outline: 2px solid var(--accent-color, #007acc);
  outline-offset: 2px;
}
.language-switcher[open] .language-switcher-trigger {
  border-color: var(--accent-color, #007acc);
}
.language-switcher .language-switcher-panel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 10rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: var(--bg-color, #ffffff);
  border: 1px solid var(--toggle-btn-border, #e0e0e0);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.language-switcher .lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-color, #333333);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}
.language-switcher .lang-switch-btn:hover {
  background-color: var(--toggle-btn-hover-bg, #f5f5f5);
}
.language-switcher .lang-switch-btn:focus-visible {
  outline: 2px solid var(--accent-color, #007acc);
  outline-offset: 2px;
}
.language-switcher .lang-icon {
  font-size: 1rem;
  line-height: 1;
}
.language-switcher .lang-label-target {
  font-family: "Inter", "Cairo", sans-serif;
}

@media print {
  .language-switcher {
    display: none !important;
  }
}
body {
  font-family: var(--font-locale, "Lora", "Minion Pro", Palatino, Georgia, serif);
  line-height: var(--line-height-locale, 1.5);
}

.section-header {
  border-top: 4px solid var(--border-color, #c7c7c7);
  border-bottom: 2px solid var(--border-color, #c7c7c7);
  padding: 0.2rem 0 0.4rem;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-family: var(--font-locale, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.05rem;
  margin: 0;
}

.page-header {
  padding: 1.5rem 0;
}
.page-header .avatar {
  width: 95px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 100px;
  margin: 0 auto;
  display: block;
}
.page-header .header-name {
  font-family: var(--font-locale, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.15rem;
  line-height: var(--line-height-locale, 1);
  margin: 1rem 0 0;
}
.page-header .header-contact-info {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;
}
.page-header .header-contact-info p {
  margin: 0.35rem 0;
}
.page-header .header-contact-info .header-languages {
  margin-top: 0.25rem;
}
.page-header .header-contact-info p a {
  color: inherit;
}
.page-header .title-bar {
  border-top: 4px solid var(--border-color, #c7c7c7);
  border-bottom: 2px solid var(--border-color, #c7c7c7);
  padding: 0.2rem 0 0.4rem;
  margin-top: 2rem;
  padding: 0.4rem 0;
}
.page-header .title-bar:before {
  display: table;
  content: "";
}
.page-header .title-bar:after {
  display: table;
  clear: both;
  content: "";
}
.page-header .title-bar .header-title {
  font-family: var(--font-locale, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-weight: 300;
  font-size: 1.75rem;
  line-height: var(--line-height-locale, 2rem);
  letter-spacing: -0.05rem;
  text-align: center;
  margin: 0 0 0.5rem;
}
@media (min-width: 600px) {
  .page-header .title-bar .header-title {
    float: left;
    margin: 0;
  }
}
@media (min-width: 600px) {
  .page-header .executive-summary {
    font-size: 1rem;
  }
}

.social-links {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  top: 4px;
  text-align: center;
  border-top: 2px solid var(--border-color, #c7c7c7);
  padding-top: 0.4rem;
}
@media (min-width: 600px) {
  .social-links {
    float: right;
    border-top: none;
    padding-top: 0;
  }
}
.social-links .icon-link-item {
  display: inline-block;
  margin-left: 5px;
}
.social-links .icon-link svg path,
.social-links .social-links svg path {
  fill: inherit;
}
.social-links .icon-link:hover .icon path, .social-links .icon-link:focus .icon path {
  fill: var(--icon-fill, var(--icon-fill-dark, #333));
  transition: all 0.2s ease;
}
.social-links .icon {
  height: 28px;
}

.contact-button {
  border-radius: 3px;
  background-color: var(--button-bg, #efefef);
  text-decoration: none;
  text-align: center;
  display: block;
  margin: 1.5rem auto;
  width: 220px;
  font-size: 1.375rem;
  color: var(--button-text, #333);
  line-height: 55px;
  transition: all 0.2s ease;
}
.contact-button:hover {
  background-color: var(--button-hover-bg, #333);
  color: var(--button-hover-text, #fff);
}
.contact-button {
  max-width: 100%;
  box-sizing: border-box;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}
.contact-button.not-looking {
  width: 400px;
  max-width: 100%;
  box-sizing: border-box;
}

.content-section {
  margin: 0 0 3rem;
}
.content-section .resume-item {
  margin-bottom: 2rem;
}
.content-section .resume-item-title {
  font-family: var(--font-locale, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.05rem;
  line-height: var(--line-height-locale, 1);
}
.content-section .resume-item-details {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  line-height: var(--line-height-locale, 1);
}
.content-section .resume-item-details.award-title {
  font-size: 1rem;
}
.content-section .resume-item-title a,
.content-section .resume-item-details a,
.content-section .resume-item-copy a,
.content-section .resume-item-list a {
  color: var(--link-color, #333);
  text-decoration: none;
  border-bottom: 1px solid;
}
.content-section .resume-item-title a:hover,
.content-section .resume-item-details a:hover,
.content-section .resume-item-copy a:hover,
.content-section .resume-item-list a:hover {
  border-bottom: none;
  color: var(--link-hover, #9c9c9c);
}
.content-section .resume-item-copy {
  margin: 0.75rem 0 0;
}
.content-section .resume-item blockquote {
  margin: 0;
  padding-block: 0.25rem;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--accent-color, #3064a9);
}
.content-section .resume-item blockquote p {
  margin: 0 0 0.5rem;
}
.content-section .resume-item blockquote cite {
  display: block;
  font-size: 0.9em;
  color: var(--text-light, #646464);
}
.content-section .resume-item-copy-license-cert-id {
  font-weight: normal;
}
.content-section {
  /* Languages table (responsive, flexible spacing) */
}
.content-section .languages-table {
  width: 100%;
  /* use separate border spacing to create visible gaps between TDs */
  border-collapse: separate;
  border-spacing: 1rem 0.5rem; /* horizontal gap, vertical gap */
  table-layout: fixed; /* let columns share available width */
  margin: 0 0 0.5rem 0;
}
.content-section .languages-table tbody {
  width: 100%;
}
.content-section .languages-table .lang-cell {
  padding: 0.5rem 1rem;
  vertical-align: top;
  word-break: break-word;
}
.content-section .lang-entry {
  margin: 0;
  line-height: 1.25;
}
.content-section {
  /* move typography here so markup stays clean */
}
.content-section .languages-table .resume-item-details {
  font-weight: 700;
  font-size: 14px;
}
.content-section {
  /* Make the table stack into single-column blocks on narrow viewports */
}
@media (max-width: 600px) {
  .content-section .languages-table,
  .content-section .languages-table tbody,
  .content-section .languages-table tr,
  .content-section .languages-table td {
    display: block;
    width: 100%;
  }
  .content-section .languages-table tr {
    margin-bottom: 0.5rem;
  }
}
.content-section {
  /* Print-specific: keep two columns side-by-side (do not stack) */
}
@media print {
  .content-section .languages-table {
    display: table;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 1rem 0.5rem;
    width: 100%;
    page-break-inside: avoid;
  }
  .content-section .languages-table tbody {
    display: table-row-group;
  }
  .content-section .languages-table tr {
    display: table-row;
  }
  .content-section .languages-table td {
    display: table-cell !important;
    width: 50%;
    vertical-align: top;
    padding: 0.4rem 0.8rem;
  }
}

.page-footer {
  border-top: 4px solid var(--border-color, #c7c7c7);
}

.print-only,
.print-only-inline {
  display: none !important;
}

@media print {
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .print-only-inline {
    display: inline !important;
  }
  body {
    font-size: 12px;
    line-height: 1rem;
  }
  .page-header {
    padding: 1rem 0 0.2rem;
  }
  .page-header .header-name {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 0.2rem;
  }
  .section-header {
    border-top: 1px solid var(--border-color, #c7c7c7);
    border-bottom: 1px solid var(--border-color, #c7c7c7);
    padding: 0.2rem 0 0.2rem;
    margin-bottom: 1rem;
  }
  .section-header h2 {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
  .content-section {
    margin: 0 0 1rem;
  }
  .content-section .resume-item {
    margin-bottom: 1rem;
  }
  .content-section .resume-item-title {
    font-size: 16px;
    line-height: 0.7em;
  }
  .content-section .resume-item-details {
    font-size: 12px;
    margin: 0 0 0.75rem;
    line-height: 0.7em;
    font-style: italic;
  }
  .content-section .resume-item-details.award-title {
    font-size: 11px;
  }
}
/* SVG Icons & Links */
.icon-link,
.social-links a,
.social-links li a {
  color: var(--icon-fill-muted, #555);
  text-decoration: none !important;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.icon-link:hover, .icon-link:focus,
.social-links a:hover,
.social-links a:focus,
.social-links li a:hover,
.social-links li a:focus {
  color: var(--accent-hover, #307EA9);
  text-decoration: none !important;
}

.icon-link:hover,
.icon-link:focus,
.social-links a:hover,
.social-links a:focus,
.social-links li a:hover,
.social-links li a:focus {
  text-decoration: none !important;
}

.svg-icon,
.icon-link svg,
.social-links svg,
.page-footer svg {
  fill: var(--icon-fill-muted, #555);
  width: 30px;
  transition: fill 0.2s ease;
}

.social-links svg path,
.icon-link svg path,
.svg-icon path,
.page-footer svg path {
  fill: inherit;
}

.svg-icon:hover,
.svg-icon:focus,
.icon-link:hover svg,
.icon-link:focus svg,
.social-links a:hover svg,
.social-links a:focus svg,
.page-footer a:hover svg,
.page-footer a:focus svg {
  fill: var(--icon-fill-dark, #000);
}
.svg-icon:hover path,
.svg-icon:focus path,
.icon-link:hover svg path,
.icon-link:focus svg path,
.social-links a:hover svg path,
.social-links a:focus svg path,
.page-footer a:hover svg path,
.page-footer a:focus svg path {
  fill: inherit;
}

/* Following only apply to the resume header contact info icons */
.header-contact-info > p > svg {
  width: 20px;
  fill: var(--icon-fill-dark, #000);
  vertical-align: middle;
}

/* Footer */
footer,
.page-footer {
  padding-top: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}
footer .footer-line,
footer .copyright,
.page-footer .footer-line,
.page-footer .copyright {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted, #999);
}
footer .footer-line > a,
footer .copyright > a,
.page-footer .footer-line > a,
.page-footer .copyright > a {
  font-weight: 700;
  color: var(--link-color, #333);
}

/* Main Content Container for Default Layout */
.main-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
  color: var(--text-color, #333);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.main-content h1:first-child, .main-content h2:first-child, .main-content h3:first-child, .main-content h4:first-child, .main-content h5:first-child, .main-content h6:first-child {
  margin-top: 0;
}
.main-content h1 {
  font-size: 2.25rem;
}
.main-content h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid var(--border-color, #c7c7c7);
  padding-bottom: 0.3em;
}
.main-content h3 {
  font-size: 1.375rem;
}
.main-content h4 {
  font-size: 1.125rem;
}
.main-content p {
  color: var(--text-color, #333);
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.main-content a:not(.cv-button):not(.error-btn) {
  color: var(--accent-color, #3064a9);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.main-content a:not(.cv-button):not(.error-btn):hover {
  color: var(--accent-hover, #307EA9);
}
.main-content blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-inline-start: 4px solid var(--accent-color, #3064a9);
  background-color: var(--card-bg, #efefef);
  color: var(--text-light, #646464);
  border-radius: 0 4px 4px 0;
}
.main-content blockquote p:last-child {
  margin-bottom: 0;
}
.main-content ul, .main-content ol {
  color: var(--text-color, #333);
  padding-inline-start: 1.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.main-content ul li, .main-content ol li {
  margin-bottom: 0.35rem;
}
.main-content hr {
  border: 0;
  height: 1px;
  background-color: var(--border-color, #c7c7c7);
  margin: 2rem 0;
}
.main-content code, .main-content kbd, .main-content samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  background-color: var(--card-bg, #efefef);
  color: var(--text-color, #333);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border-color, #c7c7c7);
}
.main-content pre {
  background-color: var(--card-bg, #efefef);
  border: 1px solid var(--border-color, #c7c7c7);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.main-content pre code {
  background-color: transparent;
  border: 0;
  padding: 0;
  font-size: 0.9em;
  color: var(--text-color, #333);
}
.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  color: var(--text-color, #333);
}
.main-content table th, .main-content table td {
  border: 1px solid var(--border-color, #c7c7c7);
  padding: 0.75rem 1rem;
  text-align: start;
}
.main-content table th {
  background-color: var(--card-bg, #efefef);
  font-weight: 700;
}
.main-content table tr:nth-child(even) {
  background-color: rgba(127, 127, 127, 0.05);
}

/* Error / 404 Page Styles */
.error-page {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 650px;
  margin: 0 auto;
}
.error-page .error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-color, #3064a9);
  margin: 0 0 1rem;
}
.error-page .error-bilingual-group {
  margin: 2rem 0;
}
.error-page .error-lang-block {
  margin: 1.5rem 0;
}
.error-page .error-lang-block[dir=rtl] .error-title,
.error-page .error-lang-block[dir=rtl] .error-description {
  font-family: var(--font-locale, "Cairo", "Noto Naskh Arabic", Tahoma, Arial, sans-serif);
  line-height: 1.6;
}
.error-page .error-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color, #333);
  margin: 0 0 0.5rem;
}
.error-page .error-description {
  color: var(--text-light, #646464);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.error-page .error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.error-page .error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none !important;
  background-color: var(--button-bg, #efefef);
  color: var(--button-text, #333);
  border: 1px solid var(--border-color, #c7c7c7);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.error-page .error-btn:hover {
  background-color: var(--button-hover-bg, #333);
  color: var(--button-hover-text, #fff);
  transform: translateY(-1px);
}
.error-page .error-btn.primary {
  background-color: var(--accent-color, #3064a9);
  color: var(--accent-contrast-text, #fff);
  border-color: var(--accent-color, #3064a9);
}
.error-page .error-btn.primary:hover {
  background-color: var(--accent-hover, #307EA9);
  color: var(--accent-contrast-text, #fff);
}

/*# sourceMappingURL=cv-ltr.css.map */