/* ==========================================================
   site.css  -  leutscher.se   (moved out of PRE-body 19 Nov 2026)
   Loaded after w3.css. Change a new client's look here first:
   the variables below hold colours and fonts.
   If you edit this file, raise ?v=  in the <link> in PRE-body so
   browsers fetch the new version.
   ========================================================== */

:root {
  /* colours */
  --color-bg: #051622;            /* page background */
  --color-text: #DEB992;          /* body text */
  --color-heading: #f2b87b;       /* h1-h6 */
  --color-link: yellow;           /* links */
  --color-link-hover: green;      /* link hover / active */
  --color-accent: #1BA098;        /* nav button hover */
  --color-field-bg: #0a314c;      /* form fields */
  --color-field-border: gray;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --nav-bg-light: rgba(255, 255, 255, 0.6);
  --caption-bg: rgba(0, 0, 0, .55);   /* caption bar on the main image */

  /* fonts (the Google Fonts <link> in PRE-body must load them) */
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Lato', sans-serif;
  --font-mono: "Courier New", monospace;
}

/* === Layout helpers === */
.w3-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* probably unused: the main image on one-work is an <img> now, no longer a <picture> */
.w3-center picture {
  display: block; /* Ensures it behaves like a block element */
  margin: 0 auto; /* Centers it */
  max-width: 100%; /* Prevents overflow */
}



	#lightgallery {
  max-width: calc(100% - 2rem); /* Adjust based on padding */
  margin: auto;
}

/* === Base: page colours and typography === */
body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  height: 100%;
  color: var(--color-text);
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: var(--font-heading);
	line-height: 2rem;
	color: var(--color-heading);
    }
p,li {
	font-size: 1.4rem;
	line-height: 1.8rem;
	color: var(--color-text);
}

p:first-child {
  margin: .25rem;
}


/* === Text columns === */
.newspaper-3 {
  column-count: 3;
  column-gap: 40px;
}
.newspaper-2 {
  column-count: 2;
  column-gap: 40px;
}
.NewspaperTitle-2 {
  margin-bottom: 2rem;
  column-span: all;
}




/* === Contact form === */
.FormFont {
    font-size: 2vw;
    font-family: var(--font-mono);
}
.FormFont input[type="text"],
.FormFont input[type="email"],
.FormFont textarea {
    background-color: var(--color-field-bg);
    border: 1px solid var(--color-field-border);
    color: var(--color-text);
}


/* === Links (the !important beats the w3.css link colours) === */
a:link {
  color: var(--color-link) !important;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: var(--color-link) !important;
  background-color: transparent;
  text-decoration: none;
}
 a:hover {
  color: var(--color-link-hover) !important;
  background-color: transparent;
  text-decoration: underline;
}
a:active {
  color: var(--color-link) !important;
  background-color: var(--color-link-hover);
  text-decoration: underline;
}




/* On screens that are 600px or less, use one column */
@media screen and (max-width: 600px) {
.newspaper-3 {
  column-count: 1;
  column-gap: 0px;
}
.newspaper-2 {
  column-count: 1;
  column-gap: 0px;
}
.NewspaperTitle {
  column-span: unset;
  margin-bottom: 0px;
}
}



/* === Legacy: lightbox text colours (check before removing) === */
.lightGallery-yellow h3,
.lightGallery-yellow .h3 {
  color: var(--color-link) !important;
  font-size: 2rem;
}
.lightGallery-yellow p {
  color: var(--color-link) !important;
  font-size: 1.5rem;
}
.lightGallery-yellow a:link {
		color: var(--color-link) !important;
    }
.lightGallery-yellow a:visited {
		color: var(--color-link) !important;
    }
.lightGallery-yellow a:hover {
		color: white !important;
    }
.lightGallery-yellow a:active {
		color: var(--color-link) !important;
    }






/* === Quotes === */
blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin-bottom: 4rem;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
#info > blockquote {
	display: block;
  column-span: all;
  margin-bottom: 5px;
}

/* === Navigation === */
.LeutscherNav {
	font-family: var(--font-heading);
	color: black;
	font-size: 1.5rem;
	font-weight: 300;
	text-transform: lowercase;
	font-variant: small-caps;
    }

.NewNavBarTransp
{
	/*setting alpha = 0.6*/
                background: var(--nav-bg);
}
@media screen and (max-width: 701px) and (min-width: 600px) {
  .LeutscherNav {
		  font-size: .6rem;
			  }
}
@media screen and (max-width: 768px) and (min-width: 702px) {
  .LeutscherNav {
		  font-size: 1rem;
			  }
}
@media screen and (max-width: 927px) and (min-width: 769px) {
  .LeutscherNav {
		  font-size: 1.1rem;
			  }
}



/* NavWhite is no longer used in TopNav; the rules below are probably unused (check before removing) */
.NavWhite {
	 background: white;
 }
.Blur {
	filter: blur(1px);
}
.Unblur {
	filter: blur(0) !important;
}
.DropShadow {
	filter: drop-shadow(8px 8px 10px grey);
}
.PageTitleAdapt {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	font-size: 4rem;
	color: white;
	text-shadow: 1px 0 0 #777, 0 -1px 0 #777, 0 1px 0 #777, -1px 0 0 #777;
	text-align: center;
}
/* If the screen size is 414px wide or less */
@media screen and (max-width: 414px) {
	  .PageTitleAdapt {
		  font-size: 2rem !important;
			  }
}
@media screen and (max-width: 1159px) and (min-width: 415px) {
  .PageTitleAdapt {
		  font-size: 2rem;
			  }
}
@media screen and (max-width: 1316px) and (min-width: 1160px) {
  .PageTitleAdapt {
		  font-size: 3.5rem;
			  }
}

    .NavBarTransp {
	    /*setting alpha = 0.6*/
                background: var(--nav-bg-light);
    }
    .ButtonLeutscher {
  background: transparent;
  color: var(--color-text);
}
.ButtonLeutscher:hover {
  background-color: var(--color-accent);
  color: white !important;
}
.ButtonLeutscherHere
{
color: black;}

.GreyImage {
	filter: grayscale(100%) blur(4px);
}
.SmallText {
	font-size: .5rem;
	line-height: .6rem;
}


/* === One-work page: main image with caption, thumbnail row === */
/* one-work: main image with caption bar, wrapping thumbnail row */
.work-figure { position: relative; margin: 0; width: 100%; }
.work-figure img { display: block; }
.work-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .6rem 1rem;
  background: var(--caption-bg);
  color: #fff;
  font-size: 1.1rem; line-height: 1.4;
  text-align: center;
  pointer-events: none;   /* a click on the bar goes to the image below */
}
#lightgallery { flex-wrap: wrap; }   /* many thumbnails wrap to a new row */
