/*
Theme Name: u3a Waiheke Core
Theme URI: 
Author: Web Services Ltd
Author URI: 
Description: Custom Tailwind CSS theme for u3a Waiheke based on 2025 brand guidelines.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: u3a-theme
*/

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Add any custom CSS or standard WP classes below */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Premium Pagination Styling */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: #f9fafb; /* bg-gray-50 */
    border-top: 1px solid #f3f4f6; /* border-gray-100 */
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    color: #005ab8; /* u3a-dark-blue */
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* border-gray-200 */
}

.pagination-wrapper .page-numbers:hover {
    color: #005ab8;
    background-color: #ffeeb3; /* u3a-pastel-yellow */
    border-color: #ffc700; /* u3a-yellow */
    transform: translateY(-1px);
}

.pagination-wrapper .page-numbers.current {
    color: #005ab8;
    background-color: #ffc700; /* u3a-yellow */
    border-color: #ffc700;
}

.pagination-wrapper .page-numbers.dots {
    color: #9ca3af;
    background-color: transparent;
    border-color: transparent;
    cursor: default;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    font-weight: 700;
}

