/*
Theme Name: Shantou Theme
Theme URI: https://www.shantou.org.hk/
Author: Custom Theme
Author URI: https://www.shantou.org.hk/
Description: A modern WordPress theme for Shantou Organization built with Tailwind CSS
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8.3
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shantou
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Root CSS Variables - Global Theme Colors */
:root {
  /* Theme colors - Primary */
  --theme-color: #880002;
  --theme-hover-color: #550001;
  --theme-active-color: #550001;
  --theme-darken-color: #550001;
  --theme-lighten-color: #bb0003;
  
  /* Theme colors - Font */
  --theme-font-color: #fff;
  --theme-hover-font-color: #fff;
  
  /* Theme colors - Alpha/Transparency */
  --theme-alpha-color: rgba(136, 0, 2, 0.8);
  --theme-tag-color: rgba(136, 0, 2, 0.75);
  --theme-rgb-color: 136, 0, 2;
}

/* Pagination Styles */
.navigation.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  justify-content: center;
}

.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.navigation.pagination .nav-links a {
  color: #4b5563;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
}

.navigation.pagination .nav-links a:hover {
  color: #ffffff;
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.navigation.pagination .nav-links .current {
  color: #ffffff;
  background-color: var(--theme-color);
  border: 1px solid var(--theme-color);
  cursor: default;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.navigation.pagination .nav-links .dots {
  color: #9ca3af;
  border: 1px solid transparent;
  cursor: default;
}

.navigation.pagination .nav-links .prev,
.navigation.pagination .nav-links .next {
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.navigation.pagination .nav-links .prev:hover,
.navigation.pagination .nav-links .next:hover {
  transform: translateY(-1px);
}

/* Pagination Styles for paginate_links() output */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.pagination ul {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination ul li {
  margin: 0;
  padding: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.pagination a {
  color: #4b5563;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
}

.pagination a:hover {
  color: #ffffff;
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.pagination span.current {
  color: #ffffff;
  background-color: var(--theme-color);
  border: 1px solid var(--theme-color);
  cursor: default;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.pagination .dots {
  color: #9ca3af;
  border: 1px solid transparent;
  cursor: default;
  background: transparent;
}

.pagination .prev,
.pagination .next {
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.pagination .prev:hover,
.pagination .next:hover {
  transform: translateY(-1px);
}

/* Screen Reader Only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

