/*
Theme Name: Peptide SEO Blog
Theme URI: https://peptides359.com
Author: Dev
Author URI: https://peptides359.com
Description: Tailwind + Alpine WordPress theme for peptide SEO site with author profiles, FAQ schema, and optimized front-end code
Version: 2.0
Text Domain: peptheme
Requires PHP: 8.1
Requires at least: 6.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: seo, tailwind, alpine, peptide, b2b, foreign-trade, custom-logo, featured-images, custom-menu
*/

/* ========================================================================
   Custom supplement styles (Tailwind handles the rest)
   ======================================================================== */

/* Line clamp utility (fallback for older browsers) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination styling */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    margin: 0 2px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}
.pagination .page-numbers:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}
.pagination .page-numbers.current {
    background: linear-gradient(to right, #0ea5e9, #06b6d4);
    color: #fff;
    border-color: transparent;
}
.pagination .page-numbers.dots {
    border: none;
}

/* Breadcrumb */
.breadcrumb a {
    color: #0ea5e9;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* WordPress core image caption */
.wp-caption {
    max-width: 100%;
}
.wp-caption-text {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
}

/* Screen reader text */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Search form */
.search-form {
    display: flex;
    gap: 8px;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}
.search-form button {
    padding: 10px 20px;
    background: linear-gradient(to right, #0ea5e9, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
