/*!
Theme Name: Sight
Theme URI:  http://sight.themezinho.net
Author:     Themezinho
Author URI: https://themezinho.net
Description: Premium Stock Photos, Videos, and Graphics Marketplace WordPress Theme
Version:    1.0.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.0
License:    GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sight
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks

Copyright: (c) 2025 Themezinho. This theme is distributed under the GNU General Public License v2 or later.

*/



/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignnone {
  display: block;
  margin: 1em 0;
}

.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object {
  max-width: 100%;
}
/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin-top:5px;
  margin-bottom: 10px;
}
.wp-caption-text {
  text-align: center;
}
/*--------------------------------------------------------------
## Galleries using Grid
--------------------------------------------------------------*/
.gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
  margin-bottom: 1.5em;
}

.gallery-item {
  text-align: center;
}

.gallery-item a,
.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 5px;
}

/* Adjust columns based on .gallery-columns-[x] classes */
.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  font-size: 0.875em;
  color: #666;
  margin-top: 0.5em;
  display: block;
}

.blocks-gallery-grid:not(.has-nested-images).alignleft, .blocks-gallery-grid:not(.has-nested-images).alignright, .wp-block-gallery:not(.has-nested-images).alignleft, .wp-block-gallery:not(.has-nested-images).alignright{
  max-width: 100%;
}


.bypostauthor {
  display: block;
}
.wp-block-cover,
.wp-block-cover-image {
  height: auto;
}

.wp-block-code {
  background-color: #f7f7f7;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  padding: 1em;
  overflow-x: auto;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 1.5em 0;
}

.wp-block-code code {
  background: none;
  padding: 0;
  color: #000;
  white-space: pre;
  display: block;
}
