/*
Theme Name: SimpleArtDesign
Author: Bert
Author URI: https://bertmahoney.com
Description: A simple custom theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

html {
  font-size: var(--base-font-size);
}

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

h1 { font-size: var(--h1-size); line-height: var(--h1-line-height); }
h2 { font-size: var(--h2-size); line-height: var(--h2-line-height); }
h3 { font-size: var(--h3-size); line-height: var(--h3-line-height); }
h4 { font-size: var(--h4-size); line-height: var(--h4-line-height); }
h5 { font-size: var(--h5-size); line-height: var(--h5-line-height); }
h6 { font-size: var(--h6-size); line-height: var(--h6-line-height); }


:root {
  --background-color: #ffffff;
  --text-color: #272727;
  --link-color: #3333cc;
  --heading-color: #222555;
}

/* === Site Logo === */
img.custom-logo {
  max-width: 300px;
  height: auto;
  width: auto;
  display: inline-block;
}

/* === Header Layout Fix 
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  margin: 1vh 0;
  padding: 0;
}

.branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-title a {
  text-decoration: none;
  color: inherit;
}
=== */

/* === Visually Hidden (for SEO titles only) === */
h1.visually-hidden,
.header-container {
  position: absolute !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

body {
  margin: 1vh 1vw;
  padding-left: 3vw;
  padding-right: 3vw;
  font-family: 'Lexend', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.2rem;
  background-color: var(--background-color);
  color: var(--text-color);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  margin-top: 0;
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1vh;
}

/* ===== Layout Grid Example ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.portfolio-item {
  border: 1px solid #ddd;
  padding: 1rem;
  background-color: #f9f9f9;
}

/* ===== Navigation ===== */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  padding: 0.5rem 1rem;
  color: var(--link-color);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
}

.site-branding,
.main-navigation {
  display: inline-block;
  vertical-align: middle;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


/* ===== Custom Templates (Sample Blocks) ===== */
.portfolio-detail .portfolio-meta p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

article {
  margin-bottom: 3rem;
}

/* ===== Responsive Images + Content ===== */
figure {
  margin: 0;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
  }
}

ayg-player {
	height: auto;
	min-height: 300px;
}

.wp-embed-aspect-16-9 wp-has-aspect-ratio {
	margin: 1vh 0;
	padding: 0;
}

.wp-block-site-title a {
	color: #f2f2f2;
}