/*
Theme Name: vgcom26
Theme URI: https://vincentgonzalez.com
Author: Vincent Gonzalez
Author URI: https://vincentgonzalez.com
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026.1
Requires at least: 5.2
Tested up to: 7.0.3
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: vgcom26

vgcom26 WordPress Theme 2011-2026
vgcom26 is distributed under the terms of the GNU GPL
*/

@import './css/sanitize/sanitize.css';
@import './css/sanitize/typography.css';

/* Accessibility utilities */

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
  top: var(--wp--preset--spacing--20);
  left: var(--wp--preset--spacing--20);
  z-index: 100000;
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--60);
  background-color: var(--wp--preset--color--base);
  color: var(--wp--preset--color--primary);
  font-weight: 600;
  text-decoration: underline;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

#wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

#wrapper #container {
  flex: 1;
}

/* Header */
#header{
  display: flex;
  flex-direction: column;
  padding: var(--wp--preset--spacing--60);
  gap: var(--wp--preset--spacing--30);
}

#header .wp-block-site-title {
  margin-bottom: var(--wp--preset--spacing--20);
}

.home #header .wp-block-site-title {
  font-size: 3rem;
}

@media (max-width: 1024px) {
  .home #header .wp-block-site-title {
    font-size: 2rem;
  }
}

#header .wp-block-site-title a {
  text-decoration: none;
  color: inherit;
}

#header .wp-block-site-tagline {
  font-weight: 200;
  margin: 0;
}

.menu {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.menu li a {
  display: block;
  padding: var(--wp--preset--spacing--20) 0;
}

.menu li.current-menu-item {
  font-weight: 600;
  text-transform: uppercase;
}

/* Post */
.entry-header {
  padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60) 0;
}

.entry-content {
  display: grid;
  grid-template-columns:
    [full-start] var(--wp--preset--spacing--60)
    [content-start] minmax(0, var(--wp--style--global--content-size, 40rem)) [content-end]
    1fr [full-end];
  padding-inline: 0;
}
.entry-content > *          { grid-column: content; }
.entry-content > .alignfull { grid-column: full; }

.entry-content > .wp-block-separator {
  margin-left: 0;
  max-width: 20px;
}

.entry-content a {
  font-weight: 600;
}

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

.entry-title a {
  text-decoration: none;
}

#header a {
  text-decoration: none;
  color: inherit;
}

#header a:hover {
  text-decoration: underline;
}

.entry-meta {
  font-size: 0.875rem;
  margin: 0;
  gap: 0;
}

.entry-meta a {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

.entry-summary {
  max-width: 60ch;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--60) var(--wp--preset--spacing--60);
  margin: 0;
  text-wrap: pretty;
}

.entry-footer {
  font-size: 0.875rem;
  margin-inline: var(--wp--preset--spacing--60);
  padding-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
  display: flex;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .entry-featured-image {
    padding-inline: var(--wp--preset--spacing--60);
    
  }
  .entry-featured-image .wp-post-image {
    border-radius: 0.125rem;
    max-height: 94vh;
    width: auto;
    margin-inline: auto;
  }

  .feed .wp-block-post {
    display: grid;
    grid-template-columns: min(75%, 1024px) 1fr;
    grid-template-areas:
      "media header"
      "media summary";
    margin-block: var(--wp--preset--spacing--70);
  }

  .feed .entry-featured-image { grid-area: media;   align-self: center; }
  .feed .entry-header         { grid-area: header;  align-self: end; }
  .feed .entry-summary        { grid-area: summary; align-self: start; }
}

.feed .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feed .wp-block-post-featured-image {
  margin: 0;
}


/* Sidebar */
#sidebar {
  padding: var(--wp--preset--spacing--60);
}

#sidebar ul {
  display: flex;
  justify-content: space-between;
  max-width: 1024px;
  margin: 0 auto;
}

/* Wordpress Stuff */
.wp-block-search__label {
  font-weight: 600;
}

/* Post Navigation */
.post-navigation .nav-links,
.posts-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  padding: var(--wp--preset--spacing--60);
}

.post-navigation .nav-links a,
.posts-navigation .nav-links a {
  text-decoration: none;
  font-weight: 600;
}

/* Footer */

#footer {
  font-size: 0.875rem;
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
}

.identity-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.identity-card {
  max-width: min(24rem, calc(100vw - var(--wp--preset--spacing--60) * 2));
  padding: var(--wp--preset--spacing--50);
  border: 1px solid currentColor;
  border-radius: 0.125rem;
  background-color: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
  font-size: 0.875rem;
}

.identity-card::backdrop {
  background-color: rgb(11 0 26 / 0.4);
}

.identity-photo {
  display: block;
  width: 4rem;
  height: auto;
  margin-block-end: var(--wp--preset--spacing--30);
  border-radius: 0.125rem;
}

.identity-card .p-name {
  font-weight: 600;
}

.identity-card .p-note {
  margin-block: var(--wp--preset--spacing--20) 0;
  text-wrap: pretty;
}

.identity-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
  list-style: none;
  margin: var(--wp--preset--spacing--40) 0 0;
  padding: 0;
}

/* Visuals */
.visuals-filter {
  padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  padding-inline: var(--wp--preset--spacing--60);
}

.visuals-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
  list-style: none;
  margin: 0;
  padding: 0;
}

.visuals-filter-link {
  text-decoration: none;
}

.visuals-filter-link:hover,
.visuals-filter-link:focus-visible {
  text-decoration: underline;
}

.visuals-filter-link.is-current {
  font-weight: 700;
  position: relative;
}

.visuals-filter-link.is-current::before {
  content: '♞';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--wp--preset--color--secondary);
}

.visuals.is-loading {
  opacity: 0.5;
  transition: opacity 150ms ease;
}

.visuals {
  display: grid;
  display: grid-lanes;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--wp--preset--spacing--40);
  padding-inline: var(--wp--preset--spacing--60);
  grid-template-rows: masonry;
}

.visuals img {
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 0.125rem;
}

.visuals article:focus {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.visuals-more {
  padding-block: var(--wp--preset--spacing--70);
  text-align: center;
}

.visuals-status {
  font-size: 0.875rem;
  margin-block-start: var(--wp--preset--spacing--40);
  min-height: 1.25em;
}

.btn {
  cursor: pointer;
  display: inline-block;
}

.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.6;
}

.pagination {
  display: flex;
  gap: var(--wp--preset--spacing--40);
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

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

.wp-block-list li {
  margin-block-start: var(--wp--preset--spacing--20);
  margin-block-end: var(--wp--preset--spacing--20);
  list-style-type: disc;
}

.wp-block-image {
  max-width: none;
}

.is-style-normalize {
  font-family: var(--wp--preset--font-family--system);
  font-size: inherit;
}


#container:has(.not-found) {
  align-content: center;
  text-align: center;
  padding: 0 var(--wp--preset--spacing--60);
}

.not-found .entry-content {
  display: block;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--40);
  align-items: flex-start;
}

.contact-form p {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
  width: 100%;
  margin: 0;
}

.contact-form label {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  border: 2px solid var(--wp--preset--color--contrast);
  border-radius: 0;
  background-color: transparent;
  color: var(--wp--preset--color--contrast);
  font-family: inherit;
  font-size: inherit;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--wp--preset--color--primary);
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

[data-fs-error] {
  color: var(--wp--preset--color--primary);
  font-size: 0.875rem;
}

[data-fs-error]:empty {
  display: none;
}
