/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* base */

.site-main {
  width: 100%;
}

/* override colors */
:root {
  --ld-color-button-bg: #8c9987 !important;
  --ld-color-brand-primary: #8c9987 !important;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled {
  background: #8c9987 !important;
}

.ld-course-list-items .ld_course_grid .btn-primary {
  background-color: #8c9987;
  color: white;
  font-weight: 700;
  border: 0;
}

.ld-course-list-items .ld_course_grid .btn-primary:hover {
  background-color: #eee;
  color: #8c9987 !important;
}

a.ld-login {
  color: white !important;
}

/* maunathek */

.maunathek-video {
  position: relative;
  width: 100%;
  height: auto;
}

body.single-maunathek .site-main {
  width: 100%;
}

.maunathek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.maunathek-thumb {
  transition: all 0.2s ease-in-out;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.maunathek-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.2s ease-in-out;
  border-radius: 5px;
  margin-bottom: 20px;
}

.maunathek-link {
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.maunathek-link p {
  font-size: 1.1em;
  margin-top: 0.5rem;
}

.maunathek-link:hover .maunathek-thumb img {
  transform: scale(1.05);
}

/* misc */

.text-center {
  text-align: center;
}

/* pagination */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5em 0.75em;
  background-color: #fff;
  color: #333;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  background-color: #e0e0e0;
  color: #000;
}

.pagination .current {
  background-color: var(--contrast-2);
  color: #fff;
  font-weight: bold;
}
