/*
Theme Name: Custom Theme
Theme URI: #
Author: custom-theme
Author URI: #
Description: Theme a medida para el proyecto Custom Theme
Version: 1.2.2
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Text Domain: Custom Theme
*/
/* 

TOC

1. Variables
2. General	
	.container
	.container.medio
	.section-separator
	.page-wrapper
	.text-content
		.text-content h1
		.text-content h2
		.text-content h3
		.text-content h4
		.text-content h5
		.text-content h6
		.text-content p
		.text-content ul
		.text-content ol
		.text-content li
		.text-content blockquote
		.text-content cite
3. Botones
	thm-btn
	thm-btn.transparente
	thm-btn.transparente.small
4. Botón editar post y WP

*/
/* --------------------------------------------- */
/* Variables */
:root {
  --theme-font: 'Raleway', sans-serif;
  --theme-font-alt: 'Clash Display', sans-serif;
  --theme-white: #ffffff;
  --theme-white-rgb: 255, 255, 255;
  --theme-black: #18212F;
  --theme-black-rgb: 24, 33, 47;
  --theme-gray: #808080;
  --theme-gray-rgb: 128, 128, 128;
  --theme-base: #5299ab;
  --theme-base-rgb: 82, 153, 171;
  --theme-border: #e0dcd3;
  --theme-background-dark: #14171C;
}
/* --------------------------------------------- */
/* General */
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--theme-font);
  color: var(--theme-gray);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.625;
  background-color: var(--theme-white);
}
body.locked {
  overflow: hidden;
}
a {
  color: var(--theme-base);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  text-decoration: underline;
  color: var(--theme-black);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--theme-font-alt);
  color: var(--theme-black);
  margin: 0 0 1rem 0;
}
p {
  margin: 0 0 1rem 0;
}
ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.5rem;
}
blockquote {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  font-style: italic;
}
cite {
  display: block;
  margin-top: 0.5rem;
  text-align: right;
  font-size: 0.875rem;
  color: #666;
}
.container {
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin: 0 auto;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .container {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
}
@media (min-width: 1240px) {
  .container {
    max-width: 1240px;
  }
}
.row {
  --bs-gutter-x: 30px;
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}
/* --------------------------------------------- */
/* Botones */
.thm-btn {
  display: inline-block;
  background: #3a5368;
  color: var(--theme-white);
  font-family: var(--theme-font-alt);
  padding: 14px 40px;
  line-height: 1;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 50px;
}
.thm-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--theme-black);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.thm-btn:hover {
  color: var(--theme-white);
  text-decoration: none;
}
.thm-btn:hover::before {
  transform: scaleX(1);
}
/* Variantes */
.thm-btn.v2 {
  background: #090B0C;
  border-radius: 50px;
  color: var(--theme-white);
  box-shadow: 10px 10px 30px rgba(9, 9, 9, 0.74);
}
.thm-btn.v2::before {
  background: var(--theme-base);
  border-radius: 50px;
}
.thm-btn.v2:hover {
  color: var(--theme-black);
}
.thm-btn.v3 {
  background: #48494A;
  border-radius: 50px;
  color: var(--theme-white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.thm-btn.v3::before {
  background: var(--theme-base);
  border-radius: 50px;
}
.thm-btn.v3:hover {
  color: var(--theme-black);
}
/* Boton v4 Blanco */
.thm-btn.v4 {
  background: var(--theme-white);
  border-radius: 50px;
  color: var(--theme-black);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.thm-btn.v4::before {
  background: var(--theme-black);
  border-radius: 50px;
}
.thm-btn.v4:hover {
  color: var(--theme-white);
}
/* Tamaños */
.thm-btn.small {
  padding: 8px 25px;
  font-size: 13px;
}
/* --------------------------------------------- */
/* Editor Post Buttons */
.sq_edit_post {
  position: fixed;
  z-index: 9999999;
  bottom: 210px;
  left: 30px;
  border-radius: 100%;
  background: #333;
  border: 3px #e00034 solid;
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.75);
  transition: 0.5s;
}
.sq_edit_post a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.sq_edit_post svg {
  width: 25px;
  height: 20px;
}
.sq_edit_post svg path {
  fill: #fff;
  transition: 0.3s;
}
.sq_edit_post.sq_wp_link {
  bottom: 90px;
}
.sq_edit_post.sq_info_link {
  bottom: 150px;
}
.sq_edit_post:hover {
  border-color: #000;
}
.sq_edit_post:hover svg path {
  fill: #ebebeb;
}
/* --------------------------------------------- */
/* Gutenberg Blocks */
figure.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
