html, body {
  height: 100%;          /* allow full height calculations */
  margin: 0;
}

.text-orange {
   color: #F58220 !important;
}

.text-red {
   color: #E03A3E !important;
}

.badge-orange {
   color: #fff;
   background-color: #F58220;
}

body {
   margin: 0;
   padding-top: 60px;
   font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Helvetica, Arial, sans-serif;

   /*font-family: "Chicago", "Geneva", sans-serif; */
   background: #fff;
   display: flex;
   flex-direction: column;
}

nav.navbar {
   background: #1d1e21;
   /*
  background: #d5d9db;
  background:
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #eef2f7 100%
    );
    */
  /*border-bottom: 2px solid black;*/
  font-family: "Chicago", sans-serif;
  display: flex;

  /*justify-content: center;*/
  gap: 20px;
  padding-top: 0;
  padding-bottom: 0;
}

nav.navbar a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 3px 10px;
}

nav.navbar a:hover {
  background:
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #eef2f7 100%
    );
  color: #000;
}

p {
   font-size: 1.1em;
   letter-spacing: 1px;
}

p.a-bit-bigger {
   font-size: 1.3em;
}

img.headshot {
   max-width: 150px;
}

h1, h2, h3, h4, h5 {
   color: #404040;
   font-family: "Jersey 10", system-ui;
   font-weight: 400;
}

h2 {
   font-size: 48px;
}

h3 {
   font-size: 36px;
}
p.lh-lg {
   line-height: 1.75em;
}

p.lh-xl {
   line-height: 2em;
}
.smallish {
   font-size: 14px;
}
.mobile-screen-shot {
   border-radius: 1rem;
}


.min-width-500 {
   min-width: 500px;
}

.max-width-700 {
   max-width: 700px;
}
.retro-mac-dark {
   background:
    /* Offset panels */
    linear-gradient(
      135deg,
      #232327 0%,
      #232327 30%,
      #1a1a1d 30%,
      #1a1a1d 60%,
      #26262a 60%,
      #26262a 100%
    ),
    /* Pixel grid */
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.025) 0,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 0,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 4px
    );

  background-blend-mode: normal, overlay, overlay;
  background-size: 100% 100%, auto, auto;
  padding: 6rem 2rem;
}
.retro-mac-light-block {
  background:
    /* Classic Mac OS light gray gradient */
    linear-gradient(
      180deg,
      #e8e8e8 0%,
      #d8d8d8 100%
    ),
    /* Subtle pixel texture */
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.3) 0,
      rgba(255,255,255,0.3) 1px,
      transparent 1px,
      transparent 2px
    );
  background-blend-mode: normal, overlay;
  border-top: 1px solid #c0c0c0;
  border-bottom: 1px solid #c0c0c0;
}

.retro-mac-dark-block {
  background:
    /* Big block shapes */
    linear-gradient(
      90deg,
      #1f1f22 0%,
      #1f1f22 25%,
      #242428 25%,
      #242428 50%,
      #1b1b1e 50%,
      #1b1b1e 75%,
      #222226 75%,
      #222226 100%
    ),
    /* Horizontal banding */
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04) 0%,
      rgba(255,255,255,0.04) 20%,
      transparent 20%,
      transparent 40%,
      rgba(0,0,0,0.15) 40%,
      rgba(0,0,0,0.15) 60%,
      transparent 60%,
      transparent 100%
    ),
    /* Pixel noise / dithering */
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 2px
    );

  background-blend-mode: overlay;
  background-size: 100% 100%, 100% 100%, auto;
  padding: 5rem 2rem;
}
.large-header {
   font-family: "Jersey 10", system-ui; 
   font-size: 64px; 
   font-weight: 700;
   line-height: 1.15;
   margin-top: 40px;
   /*
   color: #963D97;  
   font-family: "Jersey 10", system-ui; 
   font-size: 64px; 
   font-weight: normal; 
   margin-top: 25px;
   */
}

.apple-rainbow{
   display: inline-block;          /* key: gradient sized to text width */
   color: transparent;
   -webkit-text-fill-color: transparent;
   -webkit-background-clip: text;
   background-clip: text;

   /* “classic Apple” rainbow-ish gradient */
   background-image: linear-gradient(
      135deg,
      #61BB46 0%,   /* green */
      #FDB827 20%,  /* yellow */
      #F58220 40%,  /* orange */
      #E03A3E 60%,  /* red */
      #963D97 80%,  /* purple */
      #009DDC 100%  /* blue */
   );
   filter: saturate(0.8);
   background-size: 100% 100%;     /* don’t stretch weirdly */
   background-position: 0 50%;     /* anchor left so it doesn’t “center-crop” */
   background-repeat: no-repeat;
}

.mac-window {
   width: 100%;
   border-top: 2px solid black;
   border-bottom: 2px solid black;
   box-sizing: border-box;
   background: white;
   /*margin-top: 2px;*/
}

.mac-titlebar {
   display: flex;
   align-items: center;
   border-bottom: 2px solid black;
   padding: 2px 4px;
}

.mac-stripes {
   flex: 1;
   height: 14px;
   background-image: repeating-linear-gradient(
      to bottom,
      black 0px,
      black 1px,
      white 1px,
      white 3px
   );
}

.mac-close {
   width: 14px;
   height: 14px;
   border: 2px solid black;
   background: white;
   margin: 0 6px;
   box-sizing: border-box;
}

.mac-title, .mac-title h1, .mac-title a {
   color: #000;
   font-family: "Chicago", "Geneva", sans-serif;
   font-size: 1rem;
   font-weight: bold;
   margin: 0 8px;
   white-space: nowrap;
}

.transparent-panel {
  background-color: rgba(220, 220, 220, 0.4);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.05) 0,
    rgba(0,0,0,0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  
}

.shadow-panel {
   background: #fff;
   border: 1px solid rgba(0, 0, 0, 0.08);
   /*border-radius: 14px;*/
   padding: 20px 22px;
   box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.06),
      0 10px 24px rgba(0, 0, 0, 0.10);
   position: relative;
   transition: transform 180ms ease, box-shadow 180ms ease;
}

.shadow-panel h4, .transparent-panel h4 {
   font-size: 32px;
}

.retro-mac-bg {
   background:
    linear-gradient(
      180deg,
      #f9fbff 0%,
      #eef2f7 100%
    );
  border: 1px solid #c9d1dc;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.10);
}

.wp-block-image img,
.wp-block-image > img {
  max-width: 100%;
  height: auto;
  display: block;
}


.site-footer {
  margin-top:auto;
  background: repeating-linear-gradient(
    45deg,
    #000 0,
    #000 2px,
    #111 2px,
    #111 4px
  );
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

img.app-icon-med {
   height: 120px;
   border-radius: 20%;
}

@media (max-width: 576px) {
   nav.navbar {
   display: flex;
   flex-wrap: nowrap;        /* don’t wrap to two lines */
   overflow-x: auto;         /* allow sideways scroll if needed */
   -webkit-overflow-scrolling: touch;
   gap: 10px;                /* tighten spacing on small screens */
   }

   nav.navbar a {
   white-space: nowrap;      /* don’t break individual links */
   flex-shrink: 0;           /* don’t squeeze too much */
   }

   .large-header {
      font-size: 42px;
   }
}

.section-divider {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: #000;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.section-divider::before {
  margin-right: 1rem;
}

.section-divider::after {
  margin-left: 1rem;
}

.section-divider-dark {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: #000;
}

.section-divider-dark::before
{
  content: "";
  flex: 1;
  height: 1px;
  background-image: linear-gradient(
      90deg,
      #61BB46 0%,   /* green */
      #FDB827 50%,  /* yellow */
      #F58220 100%  /* orange */
     
   );
   filter: saturate(0.4);
   background-size: 100% 100%;     /* don’t stretch weirdly */
   background-position: 0 50%;     /* anchor left so it doesn’t “center-crop” */
   background-repeat: no-repeat;
}

.section-divider-dark::after {
  content: "";
  flex: 1;
  height: 1px;
  background-image: linear-gradient(
      90deg,
      #E03A3E 0%,  /* red */
      #963D97 50%,  /* purple */
      #009DDC 100%  /* blue */
   );
   filter: saturate(0.4);
   background-size: 100% 100%;     /* don’t stretch weirdly */
   background-position: 0 50%;     /* anchor left so it doesn’t “center-crop” */
   background-repeat: no-repeat;
}

.section-divider-dark::before {
  margin-right: 1rem;
}

.section-divider-dark::after {
  margin-left: 1rem;
}

/* Blog / News styles */
.post-content {
   font-size: 1.1em;
   line-height: 1.8;
}

.post-content p {
   margin-bottom: 1.5em;
}

.post-content h2,
.post-content h3,
.post-content h4 {
   margin-top: 1.5em;
   margin-bottom: 0.75em;
}

.post-content img {
   max-width: 100%;
   height: auto;
   border-radius: 4px;
   margin: 1em 0;
}

.post-content pre {
   background: #1d1e21;
   color: #f8f8f2;
   padding: 1em;
   border-radius: 4px;
   overflow-x: auto;
   font-size: 0.9em;
}

.post-content code {
   background: #f4f4f4;
   padding: 0.2em 0.4em;
   border-radius: 3px;
   font-size: 0.9em;
}

.post-content pre code {
   background: transparent;
   padding: 0;
}

.post-content blockquote {
   border-left: 4px solid #ddd;
   margin: 1.5em 0;
   padding-left: 1em;
   color: #666;
   font-style: italic;
}

.post-content ul,
.post-content ol {
   margin-bottom: 1.5em;
   padding-left: 2em;
}

.post-content li {
   margin-bottom: 0.5em;
}

.post-excerpt {
   color: #666;
}

.post-excerpt p {
   margin-bottom: 0;
}

.pagination .page-link {
   color: #333;
   border-color: #ddd;
}

.pagination .page-item.active .page-link {
   background-color: #1d1e21;
   border-color: #1d1e21;
   color: #fff;
}

.pagination .page-link:hover {
   background-color: #f8f9fa;
   color: #000;
}

/* Image Slider / Carousel */
.image-slider {
   position: relative;
   width: 100%;
   max-width: 900px;
   margin: 0 auto;
   overflow: hidden;
   border-radius: 12px;
   box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.slider-track {
   display: flex;
   transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
   will-change: transform;
}

.slider-slide {
   width: 100%;
   min-width: 100%;
   flex-shrink: 0;
}

.slider-slide img {
   width: 100%;
   height: auto;
   display: block;
}

.slider-nav {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 44px;
   height: 44px;
   background: rgba(255,255,255,0.9);
   border: none;
   border-radius: 50%;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 18px;
   color: #333;
   box-shadow: 0 2px 8px rgba(0,0,0,0.15);
   transition: all 0.2s ease;
   z-index: 10;
   opacity: 0;
}

.image-slider:hover .slider-nav {
   opacity: 1;
}

.slider-nav:hover {
   background: #fff;
   transform: translateY(-50%) scale(1.1);
   box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slider-nav.prev {
   left: 16px;
}

.slider-nav.next {
   right: 16px;
}

.slider-dots {
   display: flex;
   justify-content: center;
   gap: 10px;
   margin-top: 20px;
}

.slider-dot {
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: #ccc;
   border: none;
   cursor: pointer;
   padding: 0;
   transition: all 0.3s ease;
}

.slider-dot:hover {
   background: #999;
}

.slider-dot.active {
   background: #F58220;
   transform: scale(1.2);
}

/* Tablet */
@media (max-width: 768px) {
   .image-slider {
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.12);
   }

   .slider-nav {
      opacity: 1;
      width: 36px;
      height: 36px;
      font-size: 14px;
   }

   .slider-nav.prev {
      left: 8px;
   }

   .slider-nav.next {
      right: 8px;
   }

   .slider-dot {
      width: 10px;
      height: 10px;
   }

   .slider-dots {
      gap: 8px;
      margin-top: 16px;
   }
}

/* Vertical divider - only on large screens */
.divider-right-lg {
   border-right: none;
}

@media (min-width: 992px) {
   .divider-right-lg {
      border-right: 1px solid rgba(0,0,0,0.06);
   }
}

/* Small mobile */
@media (max-width: 480px) {
   .image-slider {
      border-radius: 6px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
   }

   .slider-nav {
      width: 32px;
      height: 32px;
      font-size: 12px;
   }

   .slider-nav.prev {
      left: 6px;
   }

   .slider-nav.next {
      right: 6px;
   }

   .slider-dot {
      width: 8px;
      height: 8px;
   }

   .slider-dots {
      gap: 6px;
      margin-top: 12px;
   }
}