/*
Theme Name: Emergency Plumber Tempe
Theme URI: https://emergencyplumberstempe.com
Author: Demo conversion from RankLocal static site
Author URI: https://emergencyplumberstempe.com
Description: Demo WordPress theme converted from the RankLocal static HTML site for Emergency Plumber Tempe, Tempe AZ. Pantheon demo only. Homepage design, navigation, phone +1 (480) 867-7503 and footer are preserved from the original. Forms are demo placeholders and are not connected to any endpoint yet.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tempe-plumber
*/

/* Demo visibility guard: the original static site used scroll-reveal
   helpers that could leave below-fold sections hidden. For the demo,
   keep animated elements visible. */
[data-aos], [data-sal] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.page-content {
    padding: 2rem 0 3rem;
}

.page-content h1 {
    margin-bottom: 1rem;
}

.demo-form-note {
    background: #fff8e1;
    border: 1px solid #f0c36d;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}

/* v1.4 blog cards: restored from the original static blog page, whose
   card CSS lived in an inline <style> in blog/index.html, not in
   global.css. Without this, the archive fell back to huge global H2s. */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform .25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card-media {
    height: 210px;
    background-size: cover;
    background-position: center;
}

.blog-card-body {
    padding: 1.6rem;
}

.blog-card-tag {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
}

.blog-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin: .6rem 0 .7rem;
    color: var(--ink);
}

.blog-card p {
    color: var(--muted);
    font-size: .93rem;
    margin: 0 0 1rem;
}

.blog-card-more {
    font-weight: 600;
    color: var(--orange);
}

.blog-pagination {
    margin-top: 2rem;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: .5rem .9rem;
    margin: 0 .25rem;
    color: var(--orange);
    text-decoration: none;
}

.blog-pagination .page-numbers.current {
    color: var(--ink);
    font-weight: 700;
}
