/*
Theme Name: Latvian Estate
Theme URI: https://www.soulbites.lv/bits/
Author: Matiss Vaisla
Author URI: https://www.soulbites.lv/bits/
Description: Modern real estate theme for Latvian property buyers. Clean, modular architecture with Tailwind CSS.
Version: 1.0.0
Requires at least: 6.0
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: latvian-estate
Tags: real-estate, business, tailwindcss, one-page
*/

/* ─── Single Post Content Typography ──────────────────────────────── */
.post-content { color: #374151; font-size: 1.0625rem; line-height: 1.8; }
.post-content p { margin-bottom: 1.4rem; }
.post-content h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0D1B3E;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.post-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0D1B3E;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}
.post-content ul { list-style-type: disc; }
.post-content ol { list-style-type: decimal; }
.post-content li { margin-bottom: 0.4rem; }
.post-content strong { font-weight: 800; color: #0D1B3E; }
.post-content a { color: #2563EB; text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: #1D4ED8; }
.post-content blockquote {
    border-left: 3px solid #2563EB;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: #64748B;
    font-style: italic;
}
.post-content img { max-width: 100%; border-radius: 12px; margin: 1.5rem 0; }

/* ─── Static Page Content Typography ──────────────────────────────── */
.page-content p { margin-bottom: 1.4rem; }
.page-content h2,
.page-content h3 {
    color: #0D1B3E;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.page-content h2 { font-size: 1.6rem; }
.page-content h3 { font-size: 1.25rem; }
.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}
.page-content ul { list-style-type: disc; }
.page-content ol { list-style-type: decimal; }
.page-content li { margin-bottom: 0.4rem; }
.page-content a { color: #2563EB; text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: #1D4ED8; }
.page-content strong { color: #0D1B3E; font-weight: 800; }
.page-content blockquote {
    border-left: 3px solid #2563EB;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: #64748B;
    font-style: italic;
}

/* ─── WhatsApp Floating Button ────────────────────────────────────── */
#le-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9997;
    width: 120px;
    height: 50px;
    background: #25D366;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    font-weight: bold;
}
#le-whatsapp.hide-when-mobile-menu {
    display: flex;
}

@media (max-width: 1024px) {
    #le-whatsapp.hide-when-mobile-menu {
        display: none;
    }
}
#le-whatsapp svg {
    width: 28px;
    height: 28px;
}
#le-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
#le-whatsapp:active { transform: scale(0.95); }

/* ─── Font Size Accessibility Widget ──────────────────────────────── */
#le-font-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    background: #0D1B3E;
    border-radius: 12px 0 0 12px;
    padding: 12px 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    box-shadow: -3px 0 24px rgba(0, 0, 0, 0.4);
    user-select: none;
}
.le-fw-label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    font-family: Manrope, sans-serif;
    line-height: 1;
}
.le-fw-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-family: Manrope, sans-serif;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
    line-height: 1;
    padding: 0;
}
.le-fw-btn:hover:not(:disabled) {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.5);
    color: #93C5FD;
}
.le-fw-btn:active:not(:disabled) { transform: scale(0.9); }
.le-fw-btn:disabled { opacity: 0.22; cursor: default; }
.le-fw-a   { font-size: 14px; font-weight: 800; line-height: 1; }
.le-fw-sup { font-size: 9px;  font-weight: 800; position: relative; bottom: 5px; color: #60A5FA; line-height: 0; }
.le-fw-sub { font-size: 10px; font-weight: 800; position: relative; top: 4px; color: rgba(255, 255, 255, 0.4); line-height: 0; }
.le-fw-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 7px 0;
}
.le-fw-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: background 0.2s, transform 0.2s;
    display: block;
}
.le-fw-dot.le-fw-active { background: #2563EB; transform: scale(1.6); }
.le-fw-reset {
    width: 36px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.22);
    font-size: 14px;
    transition: color 0.18s;
    padding: 0;
    margin-top: 3px;
    font-family: Manrope, sans-serif;
}
.le-fw-reset:hover { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 480px) {
    #le-font-widget { top: auto; bottom: 24px; transform: none; }
}

@media (max-width: 1024px) {
	.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
        display: none;
    }
}
