/* ============================================
   Daniel Stabile - Personal Website Stylesheet
   Replaces: Bootstrap, Font Awesome, ET Line,
   Themify Icons, Owl Carousel, Magnific Popup,
   master.min.css, jqvmap.css
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #555a64;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; }
h1 { font-size: 50px; }
h2 { font-size: 44px; }
h3 { font-size: 35px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }
p { margin-top: 0; margin-bottom: 1rem; }
a { color: #0076be; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; vertical-align: middle; border-style: none; }
ul { margin-top: 0; margin-bottom: 1rem; }
button { border-radius: 0; margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; overflow: visible; text-transform: none; cursor: pointer; }
button::-moz-focus-inner { padding: 0; border-style: none; }
label { display: inline-block; margin-bottom: 0.5rem; }
textarea { resize: vertical; }

@media (max-width: 991px) { h1 { font-size: 40px; } h2 { font-size: 36px; } }
@media (max-width: 767px) { h1 { font-size: 35px; } h2 { font-size: 32px; } }

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: #0076be; color: #fff;
  padding: 8px 16px; z-index: 1000;
  font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --- Layout --- */
.container {
  width: 100%; max-width: 1140px;
  padding-right: 15px; padding-left: 15px;
  margin-right: auto; margin-left: auto;
}
@media (max-width: 575px) { .container { max-width: 100%; } }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
  display: flex; flex-wrap: wrap;
  margin-right: -15px; margin-left: -15px;
}
[class*="col-"] { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* --- Flexbox Utilities --- */
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
@media (min-width: 768px) { .justify-content-md-start { justify-content: flex-start !important; } }

/* --- Spacing Utilities --- */
.mr-2 { margin-right: 0.5rem !important; }
.ml-auto { margin-left: auto !important; }
.pl-0 { padding-left: 0 !important; }
.p-3 { padding: 1rem !important; }
.float-left { float: left !important; }
.text-center { text-align: center !important; }
@media (min-width: 768px) { .text-md-right { text-align: right !important; } }
.text-uppercase { text-transform: uppercase !important; }
.small { font-size: 14px; }
.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }

/* --- Theme Colors --- */
.theme-bg { background-color: #0076be; }
.gray-bg { background-color: #f2f5f8; }
.white-bg { background-color: #fff; }
.dark-color { color: #090a0c; }
.theme-color { color: #0064a1; }

/* --- Typography Helpers --- */
.font-alt { font-family: Arial, sans-serif; }
.font-w-600 { font-weight: 600; }
.full-screen { min-height: 100vh; }

/* --- Spacing --- */
.p-25px-l { padding-left: 25px; }
.p-100px-tb { padding-top: 100px; padding-bottom: 100px; }
.m-15px-tb { margin-top: 15px; margin-bottom: 15px; }
.m-35px-b { margin-bottom: 35px; }
.sm-m-25px-b { margin-bottom: 25px; }
.m-20px-b { margin-bottom: 20px; }
.m-10px-tb { margin-top: 10px; margin-bottom: 10px; }

/* ============================================
   Header & Navigation
   ============================================ */
header { transition: background 0.3s; }
.fixed-header .header-dark { background: #fff; }

.navbar {
  position: relative; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  padding: 0.5rem 1rem;
}
.navbar > .container {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem; padding-bottom: 0.3125rem;
  margin-right: 1rem; font-size: 1.25rem;
  line-height: inherit; white-space: nowrap;
}
.navbar-nav {
  display: flex; flex-direction: column;
  padding-left: 0; margin-bottom: 0; list-style: none;
}
.navbar-nav .nav-link { padding-right: 0; padding-left: 0; }
.nav-link { display: block; padding: 0.5rem 1rem; color: #090a0c; text-decoration: none; }
.nav-link:hover { text-decoration: none; }

.navbar-collapse {
  flex-basis: 100%; flex-grow: 1; align-items: center;
}
.navbar-collapse:not(.show) { display: none; }

.navbar-toggler {
  width: 40px; height: 40px; position: relative;
  margin: 0; border-radius: 0; padding: 0;
  margin-left: 15px; background: #0076be;
  border: none; display: none;
}
.navbar-toggler span {
  position: absolute; top: 0; left: 0; bottom: 0; right: 0;
  width: 25px; height: 2px; margin: auto;
  box-shadow: 0 -8px 0 0 currentColor, 0 8px 0 0 currentColor;
  background: #fff; color: #fff;
}

@media (min-width: 992px) {
  .header-dark {
    padding: 0; background: rgba(255, 255, 255, 0.72);
    position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  }
  .header-dark .navbar-brand { font-weight: 600; font-size: 24px; color: #090a0c; }
  .header-dark .navbar-nav { flex-direction: row; }
  .header-dark .navbar-nav .nav-link {
    line-height: 60px; padding: 0 10px !important;
    font-size: 13px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.035rem;
    color: #090a0c; margin-left: 10px;
  }
  .header-dark .navbar-nav .nav-link.active,
  .header-dark .navbar-nav .nav-link:hover { color: #0076be; }
  .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-toggler { display: none; }
}

@media (max-width: 991px) {
  .navbar-toggler { display: block; }
  .header-nav, .header-dark {
    position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  }
  .header-nav .navbar-brand,
  .header-dark .navbar-brand { font-weight: 600; font-size: 24px; color: #090a0c; }
  .header-nav .navbar-nav,
  .header-dark .navbar-nav {
    padding: 8px 15px; border: 1px solid #ddd; background: #fff;
  }
  .header-nav .navbar-nav > li + li .nav-link,
  .header-dark .navbar-nav > li + li .nav-link { border-top: 1px solid #ddd; }
  .header-nav .navbar-nav .nav-link,
  .header-dark .navbar-nav .nav-link {
    font-size: 13px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.035rem; color: #090a0c;
  }
  .header-nav .navbar-nav .nav-link.active,
  .header-nav .navbar-nav .nav-link:hover,
  .header-dark .navbar-nav .nav-link.active,
  .header-dark .navbar-nav .nav-link:hover { color: #0076be; }
  .navbar > .container { padding-right: 0; padding-left: 0; }
}

/* ============================================
   Home Banner
   ============================================ */
.home-banner-01 { position: relative; }
.home-banner-01 .container { position: relative; z-index: 1; }
.home-banner-01 h6 { color: #090a0c; font-size: 18px; margin: 0 0 15px; }
.home-banner-01 h1 { font-size: 60px; color: #090a0c; font-weight: 600; margin: 0 0 15px; line-height: 1; }
.home-banner-01 h2 { font-weight: 500; font-size: 20px; color: #090a0c; margin: 0 0 15px; }
.home-banner-01 h2 > span { border-bottom: 1px solid #090a0c; }
.home-banner-01 p { color: rgba(9, 10, 12, 0.8); margin: 0; }
.home-banner-01 .btn-bar { padding-top: 25px; }
.home-banner-01 .btn-bar a { min-width: 120px; margin-right: 12px; }

.home-banner-01 .go-to-next {
  position: absolute; bottom: 30px; left: 0; right: 0;
  width: 35px; margin: auto; z-index: 1; text-align: center;
}
.home-banner-01 .go-to-next a {
  width: 35px; height: 35px; position: relative;
  display: inline-block; background: #0076be; border-radius: 50%;
  animation: down 2s linear infinite;
}
.home-banner-01 .go-to-next a span {
  border-top: 1px solid #fff; border-right: 1px solid #fff;
  width: 10px; height: 10px; position: absolute;
  top: -6px; left: 0; right: 0; bottom: 0;
  margin: auto; transform: rotate(135deg);
}

@keyframes down {
  0% { top: 5px; opacity: 0; }
  30% { top: 15px; opacity: 1; }
  100% { top: 25px; opacity: 0; }
}

@media (max-width: 991px) {
  .home-banner-01 h6 { font-size: 15px; }
  .home-banner-01 h1 { font-size: 40px; }
  .home-banner-01 h2 { font-size: 18px; }
}
@media (max-width: 767px) {
  .home-banner-01 { background-position: 70% center; }
  .home-banner-01 .ht-text { background: rgba(255, 255, 255, 0.8); padding: 25px; }
  .home-banner-01 h6 { font-size: 14px; }
  .home-banner-01 h1 { font-size: 35px; }
  .home-banner-01 h2 { font-size: 16px; }
}

.custom-div { width: 100%; padding-left: 0; }
@media (min-width: 992px) { .custom-div { width: 50%; padding-left: 15px; } }

.portrait-header img { display: block; margin: auto; height: auto; width: 100%; }
@media (max-width: 768px) {
  .p-100px-tb { flex-direction: column-reverse; }
  .portrait-header img { width: 60%; }
}

/* ============================================
   Sections
   ============================================ */
.section { padding: 50px 0; }
section { scroll-margin-top: 60px; }

.section-title { margin-bottom: 18px; }
@media (max-width: 767px) { .section-title { margin-bottom: 12px; } }

.section-title h3 {
  font-weight: 700; font-size: 35px;
  margin: 0 0 10px; position: relative;
  display: inline-block; vertical-align: top;
  z-index: 1; padding: 0 0 10px;
}
.section-title h3::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  margin: auto; height: 2px; z-index: -1;
  background: #0076be; width: 50px;
}
.section-title p { margin: 0; font-size: 14px; letter-spacing: 2px; }

/* ============================================
   About Section
   ============================================ */
.about-me-img {
  border: 14px solid #fff; border-radius: 5px;
  position: relative;
}
.about-me-img .social-icon {
  width: 50px; position: absolute;
  top: 20px; left: -10px;
  background: #fff; padding: 8px;
}
.about-me-img .social-icon a {
  width: 34px; height: 34px; line-height: 34px;
  text-align: center; background: #0076be;
  color: #fff; margin: 3px 0; font-size: 12px;
  display: block;
}
.about-me-img .social-icon a:hover { background: #090a0c; text-decoration: none; }
.about-img { width: 100%; height: auto; }
.box-shadow { box-shadow: 0 3px 10px 0 rgba(38, 59, 94, 0.1); }

@media (min-width: 992px) { .about-me { padding-left: 40px; } }
.about-me h4 { color: #090a0c; font-weight: 400; margin: 0 0 20px; }
.about-me .btn-bar { margin-top: 30px; }

/* ============================================
   Skills Section (Tag/Pill Layout)
   ============================================ */
.skills-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
@media (max-width: 768px) { .skills-grid { grid-template-columns: 1fr; } }

.skills-grid h4 { margin-bottom: 12px; }
.skills-grid h4 + .skill-tags { margin-bottom: 24px; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.skill-tag {
  display: inline-block; padding: 6px 16px;
  background: #e8f4f8; color: #0064a1;
  border-radius: 20px; font-size: 14px; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.skill-tag:hover { background: #0076be; color: #fff; }

/* ============================================
   Portfolio Grid (replaces Isotope)
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px)  { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

.portfolio-box-01 { position: relative; overflow: hidden; border-radius: 5px; }
.portfolio-box-01 img {
  height: auto; width: 100%;
  transform: scale(1); transition: transform 0.35s ease;
}
.portfolio-box-01:hover img { transform: scale(1.1); }
.portfolio-box-01 .link-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.portfolio-box-01 .portfolio-info {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 10, 12, 0.5);
  transition: opacity 0.35s ease; opacity: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.portfolio-box-01:hover .portfolio-info { opacity: 1; }
.portfolio-box-01 .portfolio-info h4 {
  color: #fff; font-size: 25px; font-weight: 600;
  display: inline-block; margin: 0 0 10px;
  position: relative; transition: left 0.35s ease; left: -25px;
}
.portfolio-box-01:hover .portfolio-info h5 { left: 0; }
.portfolio-box-01 .portfolio-info span {
  color: rgba(255, 255, 255, 0.8); font-weight: 500;
  padding: 2px 12px; display: inline-block;
  font-size: 14px; transition: left 0.35s ease;
  position: relative; left: -25px;
}
.portfolio-box-01:hover .portfolio-info span { left: 0; }
@media (max-width: 991px) { .portfolio-box-01 .portfolio-info h4 { font-size: 20px; } }

.modal-img { width: 100%; height: auto; }

/* ============================================
   Modal System
   ============================================ */
.modal {
  position: fixed; top: 0; left: 0; z-index: 1050;
  display: none; width: 100%; height: 100%;
  overflow-x: hidden; overflow-y: auto;
  outline: 0;
}
.modal.show { display: block; }
.modal-backdrop {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1040; background: rgba(0, 0, 0, 0.5);
  opacity: 0; transition: opacity 0.3s;
}
.modal-backdrop.show { opacity: 1; }
body.modal-open { overflow: hidden; padding-right: 0 !important; }

.modal-dialog {
  position: relative; width: auto;
  margin: 1.75rem auto; max-width: 500px;
}
.modal-xl { max-width: 800px; }
@media (min-width: 1200px) { .modal-xl { max-width: 1140px; } }

.modal-content {
  position: relative; display: flex; flex-direction: column;
  width: 100%; background-color: #fff;
  background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem; outline: 0;
}
.modal-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem;
  background-color: #0076be;
}
.modal-header .close { padding: 1rem; margin: -1rem -1rem -1rem auto; }
.modal-title { margin-bottom: 0; line-height: 1.5; color: #fff; }
.modal-footer {
  display: flex; align-items: center;
  justify-content: flex-end; padding: 1rem;
  border-top: 1px solid #dee2e6;
  padding-top: 5px; padding-bottom: 5px;
}
.modal-footer > :not(:first-child) { margin-left: 0.25rem; }
.modal-footer > :not(:last-child) { margin-right: 0.25rem; }
.modal-footer button { background-color: #0076be; }
.modal-footer a:hover { color: #707070; }

.close {
  float: right; font-size: 1.5rem; font-weight: 700;
  line-height: 1; color: #fff; opacity: 1;
  text-shadow: none; background-color: transparent;
  border: 0; appearance: none; cursor: pointer;
}
.close:hover { opacity: 0.75; }

.btn {
  display: inline-block; font-weight: 400; color: #212529;
  text-align: center; vertical-align: middle;
  background-color: transparent; border: 1px solid transparent;
  padding: 0.375rem 0.75rem; font-size: 1rem;
  line-height: 1.5; border-radius: 0.25rem;
}
.btn-secondary { color: #fff; background-color: #6c757d; border-color: #6c757d; }
.btn-secondary:hover { background-color: #5a6268; border-color: #545b62; }

/* ============================================
   Testimonial Carousel (CSS scroll-snap)
   ============================================ */
.testimonial-carousel {
  display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; gap: 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 10px;
}
.testimonial-carousel::-webkit-scrollbar { display: none; }
.testimonial-carousel > .testimonial-col-01 {
  scroll-snap-align: start;
  flex: 0 0 100%; min-width: 100%;
}

.testimonial-carousel .testimonial-col-01 {
  background: #fff;
  padding: 45px 45px 30px;
  margin-top: 15px; margin-bottom: 25px;
  border: none;
  box-shadow: 0 4px 20px rgba(38, 59, 94, 0.08);
  display: flex; flex-direction: column; justify-content: center;
}
.testimonial-carousel .testimonial-col-01 > p {
  margin: 0 0 20px;
  color: #555a64;
}
.testimonial-carousel .testimonial-col-01 .tc-meta h4 {
  font-family: Arial, sans-serif;
  font-weight: 600; color: #090a0c;
}

/* Read-more toggle: only shown on mobile, only when text overflows */
.testimonial-read-more {
  display: none;
  background: none; border: none; padding: 0;
  margin: -10px 0 20px;
  color: #0064a1; font-size: 14px; font-weight: 500;
  cursor: pointer;
}
.testimonial-read-more:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .testimonial-carousel .testimonial-col-01 > p {
    display: -webkit-box;
    -webkit-line-clamp: 14;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .testimonial-carousel .testimonial-col-01.expanded > p {
    display: block;
    overflow: visible;
  }
  .testimonial-read-more.is-needed { display: inline-block; }
}

.carousel-dots {
  text-align: center; margin-top: 15px;
}
.carousel-dot {
  display: inline-block; vertical-align: top;
  width: 15px; height: 15px;
  background: #fff; border: 1px solid #0076be;
  border-radius: 50%; margin: 0 5px;
  padding: 0; cursor: pointer;
  transition: background 0.4s ease;
}
.carousel-dot.active { background: #0076be; }
.carousel-dot:hover { background: #0076be; }
.tc-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 1px solid #eee;
}
.tc-avatar {
  flex-shrink: 0;
  width: 45px; height: 45px;
  background: #0076be; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.5px;
}
.tc-meta { flex: 1; min-width: 0; }
.tc-meta h4 { margin: 0 0 2px 0; font-size: 15px; }
.tc-meta span { font-size: 13px; color: #767676; }
.tc-meta .tc-date::before {
  content: " · ";
}

/* ============================================
   World Map (inline SVG)
   ============================================ */
.map-container { height: 30vw; }
@media (max-width: 768px) { .map-container { height: 50vw; } }

.world-map { width: 100%; height: 100%; }
.world-map path {
  fill: #4db4d7; stroke: #f4f3f0; stroke-width: 0.5;
}
.world-map path.visited,
.world-map g.visited path { fill: #0076be; }
.world-map path.hovered,
.world-map g.hovered path { fill: #48bf91; }
.world-map path[id], .world-map g[id] { cursor: pointer; }

.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: #292929; color: #fff;
  font-size: 12px; font-family: Arial, sans-serif;
  padding: 4px 8px; border-radius: 3px;
  white-space: nowrap;
  opacity: 0; z-index: 10;
}
.map-tooltip.show { opacity: 1; }

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
  border-radius: 5px; background: #fff; padding: 5%;
}
.contact-form h4 {
  font-weight: 600; font-size: 18px;
  text-transform: uppercase; color: #090a0c;
  margin-bottom: 20px;
}
.form-group { position: relative; margin-bottom: 20px; }
.form-group .input-focus-effect {
  position: absolute; bottom: -1px; left: auto; right: 0;
  width: 0; height: 2px;
  transition: ease all 0.35s;
}
.form-control {
  display: block; width: 100%;
  border: none; border-bottom: 1px solid #ccc;
  border-radius: 0; padding: 0.375rem 0;
  padding-left: 0; box-shadow: none;
  font-size: 14px; font-family: inherit;
  line-height: 1.5; color: #495057;
  background-color: #fff; background-clip: padding-box;
  transition: border-color 0.15s;
}
.form-control:focus {
  outline: 0; border-color: #0076be;
}
.form-control:focus + .input-focus-effect {
  width: 100%; right: auto; left: 0;
}
.form-control::placeholder { color: #c9c9c9; opacity: 1; }
.form-control.invalid { border-color: red; }
.form-control.invalid:focus + .input-focus-effect { background: red; }
.contact-form .form-group textarea { height: 80px; }

/* ============================================
   Buttons
   ============================================ */
.m-btn {
  display: inline-block; border: 2px solid transparent;
  color: inherit; line-height: inherit;
  border-radius: 0; width: auto;
  padding: 10px 20px; font-size: 14px;
  cursor: pointer; font-weight: 500;
  text-transform: uppercase; text-align: center;
  text-decoration: none;
  transition: ease-in-out all 0.55s;
}
.m-btn.m-btn-theme {
  background: #0076be; color: #fff; border-color: #0076be;
}
.m-btn.m-btn-theme:hover {
  background: #090a0c; border-color: #090a0c; text-decoration: none;
}
.m-btn.m-btn-t-theme {
  background: transparent; color: #0076be; border-color: #0076be;
}
.m-btn.m-btn-t-theme:hover {
  background: #0076be; border-color: #0076be; color: #fff; text-decoration: none;
}

/* ============================================
   Footer
   ============================================ */
.footer { padding: 12px 0; background: #111; }
.footer .nav { display: flex; }
.footer .nav a {
  color: rgba(255, 255, 255, 0.5); font-size: 14px;
  margin-right: 17px; display: flex; align-items: center;
}
.footer .nav a:hover { color: #fff; text-decoration: none; }
.footer p { color: rgba(255, 255, 255, 0.5); font-size: 12px; margin: 0; }

/* ============================================
   Inline SVG Icons
   ============================================ */
.icon {
  display: inline-block; width: 1em; height: 1em;
  vertical-align: -0.125em; fill: currentColor;
}
.icon-lg { font-size: 1.33em; }

/* Social icon sizing in about sidebar */
.about-me-img .social-icon .icon { width: 16px; height: 16px; }

/* Instructables logo filters */
.instructables-white { height: 50%; }
.instructables-gray {
  height: 15px;
  filter: brightness(0.5) invert(1);
}
.instructables-gray:hover {
  filter: brightness(0) invert(1);
}

/* ============================================
   Link Accessibility - distinguish beyond color
   ============================================ */
.single-post-content-wrapper a { text-decoration: underline; }
.about-me a { text-decoration: underline; }
.home-banner-01 p a { text-decoration: underline; }
