/* =========================================================================
   golftrips-components.css
   Shared components for GolfTrips.com and the state golf sites
   (_templates and _admin). Loaded after responsivestyle.css in
   _templates/include/css.cfm.
   Change the ?v= date in css.cfm every time this file changes.
   ========================================================================= */


/* =========================================================================
   PAGER - results pagination
   "Showing 1-25 of 300" summary, Previous on the left, Next on the right.
   Buttons are .btn links (public pages) or small forms (admin pages that
   post their search fields), so both kinds of page look the same.

   <nav class="gt-pager" aria-label="Pagination">
     <p class="gt-pager__summary">Showing 1-25 of 300</p>
     <div class="gt-pager__actions">
       <a class="btn btn--secondary gt-pager__prev" href="...">&laquo; Previous</a>
       <a class="btn btn--secondary gt-pager__next" href="...">Next &raquo;</a>
     </div>
   </nav>
   ========================================================================= */

.gt-pager {
	clear: both;
	margin: 24px 0 8px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.gt-pager__summary {
	margin: 0 0 12px;
	text-align: center;
	color: #667085;
	font-size: .875rem;
}

.gt-pager__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

/* Next stays on the right even when there is no Previous button */
.gt-pager__next {
	margin-left: auto;
}

.gt-pager__actions form {
	margin: 0;
}

@media (max-width: 600px) {
	.gt-pager__actions .btn {
		white-space: nowrap;
	}
}
