/* ITtechCA overrides — Solarized palette, safe layout fixes. Loaded after theme CSS. */
:root {
  --color-primary: #2aa198;
  --color-subtitle: #2aa198;
  --color-primary-gradient-from: #2aa198;
  --color-primary-gradient-to: #859900;
  --color-heading: #fdf6e3;
  --color-body: #93a1a1;
  --color-lightn: #fdf6e3;
  --color-border: rgba(147, 161, 161, 0.22);
  --color-separator: rgba(147, 161, 161, 0.35);
  --background-color-1: linear-gradient(145deg, #073642, #0b4352);
  --background-color-2: #073642;
  --shadow-1: 10px 10px 19px #00222b, -10px -10px 19px #0e4a5a;
  --shadow-2: inset 21px 21px 19px #00202a, inset -21px -21px 19px #0a3f4d;
  --color-heading-wv: #073642;
  --color-body-white: #586e75;
  --gradient-box-w: linear-gradient(145deg, #e5dec9, #fdf6e3);
  --shadow-white-3: 5px 5px 15px #d6cfba, -5px -5px 15px #fffcf0;
  --inner-shadow-white: 1px 4px 2px -3px #d6cfba inset, -1px -3px 3px -2px #fffcf0 inset;
}
html, body { background-color: #002b36; }
body.white-version { background-color: #fdf6e3; }

/* Layout safety */
img { max-width: 100%; height: auto; }
body { overflow-x: hidden; }

/* Profile photo (sidebar / header logo): round, framed, never distorted */
.rn-header .logo-area img.dark-logo,
.rn-header .logo-area img.light-logo,
.popup-mobile-menu .menu-header .logo img {
  width: 140px; height: 140px; max-width: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
  border: 3px solid #2aa198;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.popup-mobile-menu .menu-header .logo img { width: 56px; height: 56px; border-width: 2px; }
@media (max-width: 575px) {
  .rn-header .logo-area img.dark-logo,
  .rn-header .logo-area img.light-logo { width: 96px; height: 96px; }
}

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #2aa198; outline-offset: 2px;
}

/* Front page: remove the theme's title banner and let the page content sit flush */
body.home .breadcrumb-area,
body.front-page .breadcrumb-area { display: none; }
body.home .rn-section-gap > .container,
body.front-page .rn-section-gap > .container { max-width: 100%; padding-left: 0; padding-right: 0; }
body.home .rn-section-gap, body.front-page .rn-section-gap { padding-top: 0; padding-bottom: 0; }
.main-page-wrapper, .rn-footer-area, header.rn-header { background-color: #073642; }
body.white-version .main-page-wrapper, body.white-version .rn-footer-area, body.white-version header.rn-header { background-color: #fdf6e3; }
