/*
Theme Name: Ink & Etch
Theme URI: 
Author: Antigravity
Author URI: 
Description: A minimalist tattoo stencil blog — Pinterest-style masonry grid with full image downloads.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ink-etch
*/

/* Pagination Styling */
.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #c4c7c7;
    color: #000;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.nav-links .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Custom Logo sizing */
.custom-logo-link img {
    max-height: 48px;
    width: auto;
}

/* Search input focus */
input[type="text"]:focus {
    border-color: #000 !important;
}

/* Smooth image loading + CLS prevention */
article img {
    transition: filter 0.7s ease, transform 0.7s ease;
    content-visibility: auto;
}

/* Ensure WordPress images with width/height don't cause layout shift */
article img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* WordPress block editor content alignment */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* WordPress gallery */
.wp-block-gallery {
    margin-bottom: 1.5rem;
}

/* Download button animation */
a[download]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

a[download] {
    transition: all 0.3s ease;
}

/* ========================================
   Page Content Styling (Sobre Nós, Privacidade, Termos)
   ======================================== */
.page-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--c-on-surface-variant);
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--c-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--c-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--c-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--c-secondary);
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content strong {
    font-weight: 600;
}

/* ========================================
   Footer Navigation
   ======================================== */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-nav .footer-info {
    max-width: 24rem;
}

.footer-nav .footer-info .footer-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-secondary);
}

.footer-nav .footer-info .footer-logo {
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.footer-nav .footer-info .footer-site-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--c-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links-group h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-outline);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 0.5rem;
}

.footer-links-group ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--c-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-group ul li a:hover {
    color: var(--c-primary);
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(93 95 95 / 0.7);
    font-weight: 500;
}

.page-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--c-secondary);
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .footer-links {
        flex-direction: row;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .footer-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
