/*=================================================================
Template Name: Custom Hugo Profile Template for My Profile
Version: 1.1
=================================================================*/

/*=================================================================
  Branding and layout
==================================================================*/
:root {
  /* Theme Colors */
  --color-accent: #57cbcc;
  --color-accent-hover: #ffffff;
  --color-btn-bg: #212529;
  --color-btn-txt: #ffffff;
  --color-badge-bg: #373e42;
  --color-text-white: #ffffff;
  --color-text-light: #c6d2df;
  --color-link: #749fc7;
  --color-icon: #ffffff;
  --color-border: #4e595f;
  --color-border-grad: linear-gradient(to right, transparent, #4e595f, transparent);
  --color-bg: #191B1F;
  --color-card-bg: #212529;
  --color-nav-bg: #07090a;
  --color-gig-accent: #ff2a5f;

  /* Shadows */
  --shadow-box: 0 8px 42px rgba(15, 80, 100, 0.16);
  
  /* Typography */
  --font-body: "Anaheim", sans-serif;
  --font-main: 'Inter', sans-serif;

  /* Layout Spacing */
  --navbar-height: 70px; /* Adjust this value to match your navbar's height */
}

/*=================================================================
# Global elements
=================================================================*/
html, body {
  scroll-padding-top: var(--navbar-height);
  scroll-behavior: smooth ;
  scrollbar-color: var(--color-accent) var(--color-bg);
}
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-light);
}
h3, h4 {
  color: var(--color-text-white);
  font-weight: 500;
}
h5 {
  color: var(--color-text-white);
}
body::-webkit-scrollbar {
  height: 8px;
  width: 8px;
  background-color: var(--color-bg);
}
::-webkit-scrollbar-track {
  border-radius: 1rem;
}
::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background: var(--color-accent);
  outline: 1px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-hover); /* Color when hovering over the scroll bar */
}
#search-content::-webkit-scrollbar {
  width: .5em;
  background-color: var(--color-bg);
}

.primary-font, #primary-font {
  font-family: var(--font-main); /* primary font */
}
.secondary-font, #secondary-font {
  font-family: var(--font-body); /* secondary font */
}
.default-font, #default-font {
  font-family: var(--font-body); /* default font */
}

.title-color {
  color: var(--color-accent);
}

/* Section separation*/
.section-block {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-image: linear-gradient(to right, #e5e7eb, var(--color-accent), #e5e7eb) 1;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
/* Sections that take up the full viewport height */
.section-block--full {
  min-height: 100vh;
}
.section-title-color {
  color: var(--color-accent);
}
.section-title-border-narrow {
  border-width: 0 0 2px 0;
  border-style: solid;
  border-image: var(--color-border-grad) 1;
  margin: 15px auto 0;
  position: relative;
  width: 20%;
}
.section-title-border-medium {
  border-width: 0 0 2px 0;
  border-style: solid;
  border-image: var(--color-border-grad) 1;
  margin: 15px auto 0;
  position: relative;
  width: 30%;
}
.section-title-border-wide {
  border-top: 2px solid var(--color-border);
  height: 1px;
  margin: 15px auto 0;
  position: relative;
  width: 100%;
}

/* Button Style*/
.btn {
  background-color: var(--color-btn-bg);
  color: var(--color-text-light);
  border: 1px solid; 
  border-color: var(--color-accent);
  border-radius: .5rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  background-color: var(--color-card-bg);
  color: var(--color-text-white);
  border-color: var(--color-accent);
}
.btn:focus-visible,
.btn:active {
  box-shadow: none;
  background-color: var(--color-card-bg);
  color: var(--color-accent);
  border-color: var(--color-accent);
}
/* Accessible Keyboard Focus Ring */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Remove default browser outline for mouse clicks only */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Animation */
#hero .hero-content > a::after,
#about a::after,
#single .page-content a::after {
  content: "";
  display: block;
  width: 0px;
  height: 2px;
  background-color: var(--color-text-white);
  transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
  opacity: 0.5;
}

.theme-card {
  background-color: var(--color-card-bg);
  border-radius: 1rem;
  box-shadow: var(--shadow-box);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Respect users who have Reduced Motion enabled */
@media (prefers-reduced-motion: reduce) {
  html {
  scroll-behavior: auto ;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/*=================================================================
# Header section
=================================================================*/
header {
  z-index: 10;
  position: relative;
  top: 0;
}
.showHeaderOnTop {
  box-shadow: var(--shadow-box);
  top: 0;
  position: sticky;
}

/* Navbar */
.navbar {
  background-color: var(--color-nav-bg);
}
header .navbar .navbar-nav a {
  color: var(--color-text-light);
}
.navbar-toggler {
  border: none;
  color: var(--color-text-light);
}
.navbar-toggler svg {
  fill: currentColor;
  color: var(--color-text-light);
}
.navbar-toggler:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.navbar-text {
  font-size: 16px ;
  opacity: 0.95;
  white-space: nowrap;
}
.navbar-brand {
  color: var(--color-text-light);  
  display: flex;
  align-items: center;
}
.navbar-brand img {
  width: auto ;
  height: 45px ;
  margin-right: 16px;
  padding: 0px;
}
.navbar .nav-link:hover {
  color: var(--color-accent-hover);
}
.nav-link .nav-link-sep:after {
  content: "|";
  color: var(--color-text-light);
}

li > .dropdown-toggle:focus-visible {
  color: var(--color-text-white);
}
.dropdown-menu {
  overflow: auto;
  background-color: var(--color-bg);
  border-color: var(--color-text-light);
}
.dropdown-item:hover {
  background-color: transparent ;
}

.dropdown-item:focus-visible, .dropdown-item:active {
  background-color: transparent ;
}
.dropdown-divider {
	border-top: 1px solid var(--color-border);
}

/* Search feature */
#search {
  border-radius: 1rem;
  background-color: transparent;
  color: var(--color-text-light);
  border-color: var(--color-border);
}
#search:focus-visible {
  border-color: var(--color-accent);
}
#search-content {
  scrollbar-width: none;
  display: none;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 9999;
  width: 250px;
  max-height: 350px;
  background-color: var(--color-card-bg);
  position: absolute;
  overflow-y: auto;
}
#search-content::-webkit-scrollbar {
  display: none;
}
#search-results > .card {
  background-color: transparent ;
  border: none;
  margin-bottom: 10px;
}
#search-results > .card:hover {
  border-radius: 1rem;
  background-color: var(--color-bg);
  transition: .2s;
}
#search-results .card a {
  opacity: 0.9;
  display: inline-block;
  text-decoration: none;
  color: var(--color-text-light);
}
#search-results .card a:hover {
  color: var(--color-text-white);
}

/*=================================================================
# Hero section
=================================================================*/
#hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('/images/backgrounds/bkg-headphones.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 2rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}
#hero .hero-bottom-svg {
  opacity: 0.5;
  position: relative;
  bottom: -50px;
  left: -150px;
  overflow-x: hidden
}
#hero .subtitle {
  font-size: clamp(14px,5vw,16px);
  opacity: 0.7;
}
#hero h1 {
  font-size: clamp(40px, 8vw, 80px);
  color: var(--color-text-white);
  border-width: 0 0 2px 0;
  border-style: solid;
  border-image: var(--color-border-grad) 1;
  width: fit-content;
}
#hero h2 {
  font-size: clamp(30px, 6vw, 60px);
  opacity: 0.7;
  padding: 1px;
}
#hero h3 {
  font-size: clamp(20px, 6vw, 40px);
  opacity: 0.5;
  padding: 1px;
}
#hero p {
  margin: 20px 0px 0px;
  max-width: 820px;
  opacity: 0.8;
}

#hero .hero-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 820px;
}

#hero .hero-titles {
  flex: 1;
}

#hero .image {
  flex-shrink: 0;
}

#hero .image img {
  box-shadow: var(--shadow-box);
  padding: 0;
  border: 2px solid var(--color-border); 
  border-radius: 1rem;
  width: 250px;        /* Sized to sit neatly inside the 640px width alongside h1/h2 */
  height: 250px;
  object-fit: cover;
}

#hero .clickable-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem; /* Adjust this value to increase or decrease the spacing */
  flex-wrap: wrap;
}

#hero .hero-content {
  text-align: left;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}
#hero .hero-content > a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-link);
}
#hero .hero-content > a:hover::after,
#hero .hero-content > a:focus::after,
#hero .hero-content > a:active::after {
  width: 100%;
}

/* Base Hero Button (Glassmorphism) */
#hero a.btn {
  margin-top: 50px;
  padding: 0.7rem 1.75rem;
  color: var(--color-btn-txt);
  border-radius: .75rem;
  
  /* Glass effect */
  background-color: rgba(25, 27, 31, 0.35); /* Semi-transparent dark tint */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.25); /* Subtle frosted edge */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  
  transition: all 0.25s ease;
}

/* Main Hero Button Hover */
#hero a.btn:hover {
  background-color: rgba(87, 203, 204, 0.2); /* Frosted teal tint */
  border-color: var(--color-accent);
  color: var(--color-text-white);
  box-shadow: 0 4px 20px rgba(87, 203, 204, 0.25);
  opacity: 1;
}

/* Keep focus/active states consistent with the glass look */
#hero a.btn:focus-visible,
#hero a.btn:active {
  background-color: rgba(87, 203, 204, 0.2);
  border-color: var(--color-accent);
  color: var(--color-text-white);
}

/* Social Icons (inherits glass effect from #hero a.btn) */
#hero a.btn.social-icon {
  color: var(--color-icon);
  line-height: 0;
  border-radius: 50%;
  margin-top: 50px;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#hero a.btn.social-icon:hover {
  background-color: rgba(33, 114, 116, 0.55); /* Semi-transparent --color-btn-bg */
  border-color: var(--color-accent);
}

/*=================================================================
# About section
=================================================================*/
#about h3 {
  color: var(--color-text-light);
}
#about .image img {
  box-shadow: var(--shadow-box);
  transition: box-shadow 0.3s;
  padding: 0;
  border: 0;
  max-width: 100%;
  height: auto;
  
}
#about .image img:hover {
  box-shadow: 0 0 11px rgb(15 80 100 / 20%);
}
#about ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0px 10px;
  padding: 0px;
  margin: 20px 0px 0px;
  overflow: hidden;
  list-style: none;
}
#about ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
}
#about ul li::before {
  content: "▹";
  color: var(--color-text-white);
  position: absolute;
  left: 0px;
}
#about .content {
  font-weight: 500;
  opacity: 0.9 ;
  line-height: 1.7rem;
  text-align: justify;
}
#about a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-link);
}
#about a:hover::after, #about a:focus::after, #about a:active::after {
  width: 100%;
}

/*=================================================================
# Experience section
=================================================================*/
.promoter-item {
  border-bottom: 0.5px solid rgba(128, 128, 128, 0.2);
  padding: 0.75rem 0;
}

.promoter-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}

.promoter-summary::-webkit-details-marker {
  display: none;
}

.promoter-summary::before {
  content: "▸";
  margin-right: 0.6rem;
  color: var(--color-text-white);
  transition: transform 0.2s ease;
}

.promoter-item[open] .promoter-summary::before {
  transform: rotate(90deg);
}

.promoter-title {
  margin: 0;
  font-size: 1.15rem;
}

.promoter-events {
  margin-top: 0.75rem;
  padding-left: 1.75rem;
}

/*=================================================================
# Projects section
=================================================================*/
#projects .card h5, 
#projects a h5 {
  color: var(--color-accent);
}

#projects h3 {
  color: var(--color-text-white);
}

#projects a {
  text-decoration: none;
  color: var(--color-link);
}

#projects .badge {
  background-color: var(--color-badge-bg);
  color: var(--color-text-light);
  margin: 0 1%;
}

#projects .card {
  border: 1px solid transparent;
}

#projects .card:hover {
  box-shadow: 0 0 11px rgb(15 80 100 / 20%);
  transform: translateY(-7px);
}

#projects .card .card-head {
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border: none ;
}

#projects .card .card-footer {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

#projects .card:hover .card-img-top {
  object-fit: cover;
  transform: scale(1.2);
  transition: all 0.3s ease-out;
}

#projects .card-img-top {
  transition: transform 0.3s;
}

/*=================================================================
# Achievements section
=================================================================*/
#achievements a {
  text-decoration: none;
}
#achievements .card h5, 
#achievements a h5 {
  color: var(--color-accent);
  margin-bottom: 0;
}
#achievements .card {
  border: 1px solid transparent;
}
#achievements .card:hover,
#achievements .card:focus-visible {
  border: 1px solid var(--color-text-light);
}
#achievements .card-text {
  background-color: transparent ;
}
#achievements .achievement-header {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between the image and the title */
  margin-bottom: 0.75rem;
}

#achievements .achievement-header img {
  width: 50px;       /* Adjust icon/badge size as needed */
  height: 50px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-left: 0;    /* Replaces previous margin-left: 8px */
  flex-shrink: 0;    /* Prevents image from squishing on long titles */
}

/*=================================================================
# Gigs page
=================================================================*/
  .gig-container {
    background-color: #08080a;
    color: #e2e2e5;
    font-family: 'Courier New', Courier, monospace;
    padding: 4rem 1.5rem;
    min-height: 85vh;
    border-top: 1px solid #1f1f24;
  }

  .gig-wrapper {
    max-width: 900px;
    margin: 0 auto;
  }

  .gig-header {
    border-bottom: 2px solid var(--color-gig-accent);
    padding-bottom: 1rem;
    margin-bottom: 1%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
  }

  .gig-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: 2px 2px 0px var(--color-gig-accent);
  }

  .gig-subtitle {
    color: #57cbcc;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .section-label {
    font-size: 1.1rem;
    color: #888891;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
  }

  /* Upcoming Gig Cards */
  .gig-card {
    background: #101014;
    border: 1px solid #26262e;
    border-left: 4px solid #57cbcc;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: transform 0.15s ease, border-color 0.15s ease;
  }

  .gig-card:hover {
    transform: translateX(6px);
    border-color: var(--color-gig-accent);
    border-left-color: var(--color-gig-accent);
  }

  .gig-date-box {
    border-right: 1px dashed #2e2e38;
    padding-right: 1rem;
  }

  .gig-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    display: block;
  }

  .gig-time {
    font-size: 0.8rem;
    color: #888891;
  }

  .gig-event {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    letter-spacing: 0.5px;
  }

  .gig-meta {
    font-size: 0.9rem;
    color: #b0b0b8;
    margin: 0;
  }

  .gig-lineup {
    font-size: 0.8rem;
    color: #57cbcc;
    margin-top: 0.4rem;
  }

  .gig-cta {
    text-align: right;
  }

  .btn-ticket {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--color-gig-accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s ease;
  }

  .btn-ticket:hover,
  .btn-ticket:focus-visible {
  background: var(--color-gig-accent);
  color: #08080a;
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.5);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

  .gig-status {
    display: block;
    font-size: 0.7rem;
    color: var(--color-gig-accent);
    margin-bottom: 0.4rem;
    letter-spacing: 1.5px;
  }

  /* Past Gigs Archive Table */
  .archive-section {
    margin-top: 4rem;
  }

  .archive-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #1a1a20;
    font-size: 0.9rem;
    color: #8e8e99;
  }

  .archive-row:hover {
    color: #d0d0d8;
  }

  

/*=================================================================
# Contact section
=================================================================*/
#contact {
  border-bottom: transparent;
}
#contact .h3 {
  color: var(--color-text-light);
}

#contact form .form-control {
  background-color: transparent;
  color: var(--color-text-light);
  border-radius: .7rem;
  border: 1px solid var(--color-text-light);
  box-shadow: var(--shadow-box);
}
#contact-form-status {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1050;
  transform: translate3d(0, 0, 0);
}
#contact-form-status svg {
  height: 18px;
  width: 18px;
}
#contact-form-status button {
  border-radius: 50%;
  border: none;
  background-color: white;
  padding: 0.5rem;
  margin-left: 0.5rem;
  box-shadow: var(--shadow-box);
  font-size: .6rem;
}
#contact-form-status .alert {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-box);
  padding: .5rem 1rem;
}

/*=================================================================
# Blog landing page
=================================================================*/
#list-page .card {
  background-color: var(--color-card-bg);
  box-shadow: var(--shadow-box);
  border: 1px solid transparent;
  border-radius: .75rem;
  overflow: hidden;
}
#list-page .card > .card-img-top {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
#list-page .card a {
  text-decoration: none;
}
#list-page .card a h5 {
  color: var(--color-text-light);
}
#list-page .card:hover {
  border: 1px solid var(--color-text-white);
}
#list-page .card-text * {
  background-color: var(--color-card-bg);
}
#list-page .post-footer {
  padding: .5rem 1rem;
  background-color: var(--color-card-bg);
  color: var(--color-text-light);
  border-top: 1px solid rgba(15, 80, 100, 0.16);
  opacity: 0.9;
}
#list-page .card > .card-header {
  padding: 0 ;
  border: none ;
  background-color: var(--color-card-bg);
}

/* pagination */
#list-page ul li a {
  transition: none;
  border-color: var(--color-card-bg);
  background-color: var(--color-card-bg);
  color: var(--color-text-light);
}
#list-page .page-item.active .page-link {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: var(--color-card-bg);
}

/*=================================================================
# Blog post
=================================================================*/
#single {
  padding: 60px 0;
  line-height: 1.7em;
  font-size: 17px;
}
#single .title > h1 {
  opacity: 0.8;
  color: var(--color-text-white);
}
#single .title small {
  opacity: 0.7;
}

#single .subtitle > h4 {
  opacity: 0.7;
  color: var(--color-text-light);
  margin: 30px 5px 15px 20px;
}
#single .tag {
  background-color: var(--color-badge-bg);
  color: var(--color-btn-txt);
  margin: 0 1%;
}
#single .featured-image {
  padding: 1rem;
  padding-top: 0;
}
#single .featured-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto; 
  border-radius: 1rem;
  box-shadow: var(--shadow-box);
  background-color: var(--color-card-bg);
}
#single .page-content img {
  max-width: 100%;
  border-radius: 1rem;
}
#single .page-content a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-link);
}

#single .page-content a:hover::after,
#single .page-content a:focus::after {
  width: 100%;
}
#single .page-content h1, 
#single .page-content h2 {
  color: var(--color-accent); /* Uses your #57cbcc teal accent */
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.3em;
  margin-top: 1.5em;
  margin-bottom: 0.7em;
}
#single .page-content h3, 
#single .page-content h4, 
#single .page-content h5, 
#single .page-content h6 {
  color: var(--color-link); /* Uses your #749fc7 soft blue */
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}
#single .page-content blockquote {
  padding: 20px 30px;
  border-left: 6px solid var(--color-accent);
  color: var(--color-text-white);
  font-weight: 500;
  font-size: 18px;
  margin: 30px 0;
  border-radius: 5px;
}
#single .page-content blockquote, #single .page-content blockquote * {
  background-color: var(--color-card-bg);
}

/* table */
#single .page-content table {
  width: auto;
  border-radius: 5px;
  padding: 0.1rem;
  margin-bottom: 1.2em;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  opacity: 0.8;
}
#single .page-content table tr {
  height: 40px;
}
#single .page-content table > thead > tr > th {
  padding: 0.5rem;
  background-color: var(--color-accent);
  color: var(--color-card-bg);
  border: 1px solid var(--color-card-bg);
  opacity: 0.9;
}
#single .page-content table > tbody > tr > td {
  padding: 0.5rem;
  border: 1px solid var(--color-card-bg);
  background-color: var(--color-card-bg);
  opacity: 0.9;
}

/* code */
#single .page-content pre {
  border-radius: 0.7em;
  margin: 5px 5px 2em;
  padding: 2em;
  background-color: var(--color-card-bg);
  color: var(--color-text-white);
  max-height: 450px;
}
#single .page-content pre > code {
  color: var(--color-text-white);
}
#single .page-content code {
  color: var(--color-accent);
}

/* kbd and mark */
#single .page-content kbd {
  color: var(--color-accent);
  background-color: var(--color-card-bg);
}
#single .page-content mark {
  color: var(--color-accent);
  background-color: var(--color-card-bg);
}

/* list */
#single .page-content ol, #single .page-content ul {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
  list-style-position: inside;
  opacity: 0.9;
}
#single .page-content ol li li, #single .page-content ul li li {
  margin-bottom: 0.5em;
  padding-left: 1.5em;
}

/*=================================================================
# Blog Bottom Image Strip / Carousel
=================================================================*/
.blog-gallery-strip {
  color: var(--color-accent);
  font-weight: 500;
  width: 100%;
  overflow: hidden;
}

.gallery-scroll-container {
 display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* Smooth momentum swiping on iOS */
  overscroll-behavior-x: contain;    /* Stops horizontal swipe from triggering browser back/forward navigation */
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  padding: 4px 1rem 12px 1rem;       /* Adds breathing room at the start and end of the scroll */
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-card-bg);
}

.gallery-item {
  flex: 0 0 auto;
  width: 280px; /* Adjust width of each image card */
  height: 200px; /* Adjust height of each image card */
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*=================================================================
# Mobile layout
=================================================================*/
@media (max-width: 768px) {
  #hero {
    background-attachment: scroll;
  }
  #hero .hero-titles {
    width: 100%;
  }
  #hero h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  #hero .image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  #hero .image img {
    width: 100%;
    max-width: 250px; /* Match your mobile hero image width */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto;
  }
  #hero .hero-header-row {
    flex-direction: column-reverse; /* Puts image on top on mobile; change to 'column' to put it below h2 */
    align-items: flex-start;
    gap: 1.25rem;
  }

  #about .image img {
    max-width: 250px; /* Forces the image to a specific neat mobile size */
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto;   /* Centers the image if layout goes into single column */
  }
  #about .content {
    text-align: left;
  }

  .gig-card {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    .gig-date-box {
      border-right: none;
      border-bottom: 1px dashed #2e2e38;
      padding-bottom: 0.5rem;
    }
    .gig-cta {
      text-align: left;
    }
}
