/*
Theme Name: Mano Leyrado
Theme URI: 
Author: m4n0.art
Author URI: m4n0.art
Description: Custom theme 2026 - AI Category Styles
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*
Note: Base styles (typography, reset, animations, header-footer) are loaded separately
via functions.php dependencies.
*/

/* || AI-SPECIFIC STYLES */
/* || Typography - REMOVED (now in css/base/typography.css) */
/* @font-face {
  font-family: GT-Walsheim-Pro-Regular;
  src: url('fonts/GT-Walsheim-Pro-Regular.woff2') format("woff2"), url('fonts/GT-Walsheim-Pro-Regular.woff') format("woff"), url('fonts/GT-Walsheim-Pro-Regular.ttf') format("truetype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: GT-Walsheim-Pro-Medium;
  src: url('fonts/GT-Walsheim-Pro-Medium.woff2') format("woff2"), url('fonts/GT-Walsheim-Pro-Medium.woff') format("woff"), url('fonts/GT-Walsheim-Pro-Medium.ttf') format("truetype");
  font-weight: 100;
  font-style: normal;
}

/* || GENERAL STYLES (from labor) */
*, h1, h2, h3, a {
  margin: 0;
  padding: 0;
  font-size: 15px;
  text-decoration: none;
  color: #333333;
  font-weight: normal;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "sans-serif";
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
li, ul {
  list-style: none;
}

/* || HEADER & NAV (from labor) */
header, footer {
  position: fixed;
  z-index: 2000;
}
header {
  display: inline-table;
}
.corner {
  padding: 11px;
  cursor: pointer;
  z-index: 3000;
}
.copy-btn{
    cursor: pointer;
}
footer {
  bottom: 0;
}
#siteTitle {
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
}

/* || ABOUT (from labor) */
#about h1 p {
  font-size: 5vw;
  line-height: 1em;
}
#about h1.animColor p {
  color: transparent !important;
  -webkit-text-stroke: 1px;
  -webkit-text-stroke-color: #333;
}
#about {
  position: fixed;
  top: 0;
  left: 0;
  float: left;
  width: 100%;
  height: 100%;
  line-height: 1.4em;
  background-color: #fff;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  display: none;
  cursor: url('assets/X-cursor-black.png'), auto;
}
#about h1 p {
  padding: 2px;
  box-sizing: border-box;
  margin-bottom: 1em;
}

/* || KEYFRAMES ANIMATIONS (from labor) */
@-webkit-keyframes back-change {
  0% {
    background-color: #ffed02;
  }
  50% {
    background-color: #ffdee9;
  }
  100% {
    background-color: #ffed02;
  }
}
@-moz-keyframes back-change {
  0% {
    background-color: #ffed02;
  }
  50% {
    background-color: #ffdee9;
  }
  100% {
    background-color: #ffed02;
  }
}
@-ms-keyframes back-change {
  0% {
    background-color: #ffed02;
  }
  50% {
    background-color: #ffdee9;
  }
  100% {
    background-color: #ffed02;
  }
}
@-o-keyframes back-change {
  0% {
    background-color: #ffed02;
  }
  50% {
    background-color: #ffdee9;
  }
  100% {
    background-color: #ffed02;
  }
}
@keyframes back-change {
  0% {
    background-color: #ffed02;
  }
  50% {
    background-color: #ffdee9;
  }
  100% {
    background-color: #ffed02;
  }
}
*/
/* REMOVED: Above animations now in css/base/animations.css */

/* || AI Posts Container */
.ai-posts-container {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* || AI Post Section - Vertical stacking */
.ai-post-section {
  width: 100%;
  padding: 60px 20px;
  margin-bottom: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* || AI Post Header */
.ai-post-header {
  width: 100%;
}

.ai-post-header h2 {
  font-family: GT-Walsheim-Pro-Regular;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 10px 0;
  text-align: left;
}

.ai-post-header h2.eng_name {
  font-size: 0.8em;
  opacity: 0.7;
  margin-top: 5px;
}

.ai-post-content {
  font-family: 'Cormorant Garamond', Times New Roman;
  font-size: 1.3125rem;
  line-height: 1.19048;
  margin-top: 20px;
}

.ai-post-content p {
  margin: 0 0 1em 0;
}

/* || AI Gallery Scrollable Container */
.ai-gallery-scrollable {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Webkit scrollbar styling */
.ai-gallery-scrollable::-webkit-scrollbar {
  height: 8px;
}

.ai-gallery-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.ai-gallery-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.ai-gallery-scrollable::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* || AI Gallery Wrapper - Horizontal layout */
.ai-gallery-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 10px 0;
  min-width: min-content;
}

/* || AI Gallery Item */
.ai-gallery-item {
  flex: 0 0 auto;
  min-width: 300px;
  max-width: 600px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f5;
}

.ai-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* || AI Gallery Item Video */
.ai-gallery-item--video {
  background: #000;
}

.ai-gallery-item--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* || No Posts Message */
.no-posts {
  padding: 60px 20px;
  text-align: center;
  font-family: GT-Walsheim-Pro-Regular;
  font-size: 1.2rem;
}

/* || Responsive Design */
@media (max-width: 768px) {
  .ai-post-section {
    padding: 40px 15px;
    margin-bottom: 30px;
  }

  .ai-post-header h2 {
    font-size: 1.2rem;
  }

  .ai-post-content {
    font-size: 1.1rem;
  }

  .ai-gallery-item {
    min-width: 250px;
    height: 300px;
  }

  .ai-gallery-wrapper {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .ai-post-section {
    padding: 30px 10px;
    margin-bottom: 20px;
  }

  .ai-gallery-item {
    min-width: 200px;
    height: 250px;
  }

  .ai-gallery-wrapper {
    gap: 10px;
  }
}

/* || AI Lightbox/Popup Styles */
.ai-gallery-item {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ai-gallery-item:hover {
  opacity: 0.9;
}

#ai-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.ai-lightbox-container {
  position: relative;
  width: 90%;
  max-width: 95vw;
  height: 90vh;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.ai-lightbox-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ai-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: background 0.3s ease;
}

.ai-lightbox-close:hover {
  background: rgba(255, 255, 255, 1);
}

.ai-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  padding: 0;
}

.ai-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.ai-lightbox-prev {
  left: 20px;
}

.ai-lightbox-next {
  right: 20px;
}

.ai-lightbox-nav img {
  width: 20px;
  height: auto;
  opacity: 0.9;
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .ai-lightbox-container {
    width: 95%;
    height: 95vh;
  }

  .ai-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .ai-lightbox-prev {
    left: 10px;
  }

  .ai-lightbox-next {
    right: 10px;
  }

  .ai-lightbox-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  .ai-lightbox-nav img {
    width: 16px;
  }
}
