/*
Theme Name:         Sage Starter Theme
Theme URI:          https://roots.io/sage/
Description:        Sage is a WordPress starter theme.
Version:            11.0.1
Author:             Roots
Author URI:         https://roots.io/
Text Domain:        sage
License:            MIT License
License URI:        https://opensource.org/licenses/MIT
Requires PHP:       8.2
Requires at least:  6.6
*/

/* Custom Slang Website Styles */

/* Cards */
.card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Audio Player */
.audio-player {
    margin: 1rem 0;
    width: 100%;
}

/* Suggest a Slang Button */
.button-suggest {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background-color: #F59E0B;
    color: #fff;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.button-suggest:hover {
    background-color: #D97706;
    transform: translateY(-1px);
}

/* WordPress content spacing only */
.entry-content > * {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}
/* --- Pagination: centered pill-style for paginate_links() and get_the_posts_pagination() --- */

/* Container for plain paginate_links() output (we'll add .pagination-wrap in template) */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* WP get_the_posts_pagination container */
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Ensure nav-links uses flex so items are spaced/pilled */
.navigation.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* Common pill style for both systems */
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.9rem;
  font-size: 0.95rem;
  line-height: 1;
  background-color: #ffffff;
  color: #1f2937;              /* text-gray-800 */
  border: 1px solid #e5e7eb;   /* gray-200 */
  border-radius: 9999px;       /* full pill */
  text-decoration: none;
  transition: transform .12s ease, background-color .12s ease, color .12s ease, box-shadow .12s ease;
  box-shadow: 0 1px 0 rgba(16,24,40,0.02);
}

/* Hover state */
.navigation.pagination .nav-links a:hover,
.page-numbers:hover {
  background-color: #2563eb;   /* blue-600 */
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.12);
}

/* Current / active page */
.navigation.pagination .nav-links .current,
.page-numbers.current {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  cursor: default;
  transform: none;
  box-shadow: 0 6px 18px rgba(37,99,235,0.12);
}

/* Prev / Next emphasis (if WP adds classes) */
.page-numbers.prev, .page-numbers.next,
.navigation.pagination .nav-links .prev,
.navigation.pagination .nav-links .next {
  font-weight: 700;
}

/* Ellipsis / dots */
.page-numbers.dots,
.navigation.pagination .nav-links .dots {
  background: transparent;
  border: none;
  color: #6b7280; /* gray-500 */
  padding: 0.48rem 0.6rem;
  box-shadow: none;
  pointer-events: none;
}

@media (max-width: 767px) {
  form.header-search {
    width: auto;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
@media (max-width: 550px) {
  .site-logo span {
    display: none;
  }
}
/* Small screens: make pills slightly smaller */
@media (max-width: 480px) {
  .navigation.pagination .nav-links a,
  .navigation.pagination .nav-links span,
  .page-numbers {
    padding: 0.38rem 0.6rem;
    font-size: 0.9rem;
  }
}
.page-content {
  padding-top: 20px;
  .page-header {
    display: none;
  }
  h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  p {
    margin-bottom: 8px;
  }
  p + h2,
  ul + h2 {
    margin-top: 30px;
  }
  ul li {
    margin-bottom: 2px;
  }
  a {
    text-decoration: underline;
  }
}