/*
Theme Name: WolfTheiss Minimalist Law
Theme URI: https://example.com/wolftheiss-minimal
Author: Custom Studio
Author URI: https://example.com
Description: High-contrast, pure Black & White minimalist corporate law firm theme inspired by Wolf Theiss. Cyrillic-ready typography (Inter & Playfair Display with full Cyrillic subsets), native Elementor full-width templates, one-click Elementor demo content, and Revolution Slider compatibility.
Version: 2.1.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wolftheiss-minimal
Tags: legal, law-firm, minimalist, black-and-white, elementor, full-width, clean, modern
*/

:root {
    --wt-black: #000000;
    --wt-white: #ffffff;
    --wt-gray-100: #f7f7f7;
    --wt-gray-200: #e5e5e5;
    --wt-gray-400: #a3a3a3;
    --wt-gray-500: #737373;
    --wt-gray-600: #666666;
    --wt-gray-700: #404040;
    --wt-gray-900: #171717;
    --wt-dark-card: #121212;
    --wt-dark-border: #262626;
    --wt-border: #e0e0e0;
    /* Every family in these stacks has full Cyrillic coverage, so
       Cyrillic text renders correctly even without Google Fonts. */
    --wt-font-sans: 'Inter', 'Segoe UI', 'Arial', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --wt-font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --wt-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--wt-font-sans);
    background-color: var(--wt-white);
    color: var(--wt-black);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--wt-black);
    text-decoration: none;
    transition: var(--wt-transition);
}

a:hover {
    color: var(--wt-gray-700);
}

/* Site Header */
.site-header {
    background-color: var(--wt-white);
    border-bottom: 1px solid var(--wt-border);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--wt-black);
}

.site-branding .logo-text span {
    font-weight: 300;
    color: var(--wt-gray-700);
}

.primary-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.primary-navigation ul li a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
}

.primary-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--wt-black);
    transition: var(--wt-transition);
}

.primary-navigation ul li a:hover::after,
.primary-navigation ul li.current-menu-item a::after {
    width: 100%;
}

.header-cta .btn-contact {
    display: inline-block;
    padding: 10px 22px;
    border: 1.5px solid var(--wt-black);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: transparent;
    color: var(--wt-black);
    transition: var(--wt-transition);
}

.header-cta .btn-contact:hover {
    background: var(--wt-black);
    color: var(--wt-white);
}

/* Elementor & Slider Revolution overrides */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1320px;
}

/* Force the theme's Cyrillic-capable font stack onto all Elementor
   widgets so nothing falls back to Elementor's Roboto defaults. */
.elementor-widget,
.elementor-heading-title,
.elementor-widget-text-editor,
.elementor-button {
    font-family: var(--wt-font-sans);
}

.elementor-heading-title {
    letter-spacing: -0.03em;
}

/* ============================================================
   Design-system classes (used by both Elementor demo pages
   and the static PHP fallback markup). Attach them to Elementor
   sections / columns / widgets via "CSS Classes".
   ============================================================ */

/* --- Eyebrow labels --- */
.wt-eyebrow .elementor-heading-title,
div.wt-eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--wt-gray-500);
    margin-bottom: 8px;
}

.wt-eyebrow-dark .elementor-heading-title,
div.wt-eyebrow-dark {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--wt-gray-400);
}

/* --- Hero (dark) --- */
.wt-hero {
    background-color: var(--wt-black);
    border-bottom: 1px solid #222222;
}

.wt-hero-title .elementor-heading-title,
h1.wt-hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--wt-white);
    margin: 24px 0 32px;
    max-width: 850px;
}

.wt-hero-lead,
.wt-hero-lead p {
    font-size: 20px;
    color: var(--wt-gray-400);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- Buttons --- */
.wt-btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.wt-btn {
    padding: 16px 36px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    transition: var(--wt-transition);
}

.wt-btn-light {
    background: var(--wt-white);
    color: #000000;
}

.wt-btn-light:hover {
    background: var(--wt-gray-200);
    color: #000000;
}

.wt-btn-ghost {
    border: 1px solid #444444;
    color: var(--wt-white);
}

.wt-btn-ghost:hover {
    border-color: var(--wt-white);
    color: var(--wt-white);
}

.wt-btn-dark {
    background: var(--wt-black);
    color: var(--wt-white);
}

.wt-btn-dark:hover {
    background: var(--wt-gray-700);
    color: var(--wt-white);
}

.wt-btn-outline-dark {
    border: 1.5px solid var(--wt-black);
    color: var(--wt-black);
}

.wt-btn-outline-dark:hover {
    background: var(--wt-black);
    color: var(--wt-white);
}

/* --- Section shells --- */
.wt-bg-gray {
    background-color: var(--wt-gray-100);
}

.wt-bg-dark {
    background-color: var(--wt-black);
    color: var(--wt-white);
}

.wt-section-white {
    background-color: var(--wt-white);
    border-bottom: 1px solid var(--wt-gray-200);
}

.wt-section-gray {
    background-color: var(--wt-gray-100);
    border-bottom: 1px solid var(--wt-gray-200);
}

.wt-section-dark {
    background-color: var(--wt-black);
    color: var(--wt-white);
}

.wt-section-title .elementor-heading-title,
h2.wt-section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 50px;
}

.wt-section-dark .wt-section-title .elementor-heading-title,
.wt-section-dark h2.wt-section-title,
.wt-bg-dark .wt-section-title .elementor-heading-title,
.wt-bg-dark h2.wt-section-title,
.wt-page-hero h1 {
    color: var(--wt-white);
}

.wt-section-title-tight .elementor-heading-title,
h2.wt-section-title-tight {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* --- Stats / metrics --- */
.elementor-column.wt-stat-item > .elementor-widget-wrap,
div.wt-stat-item {
    border-left: 2px solid #000000;
    padding-left: 24px;
}

.wt-stat-number .elementor-heading-title,
div.wt-stat-number {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--wt-black);
}

.wt-stat-label .elementor-heading-title,
div.wt-stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wt-gray-500);
    font-weight: 600;
    margin-top: 4px;
}

/* --- White cards (expertise / industries / people / offices) --- */
.elementor-column.wt-card > .elementor-widget-wrap,
div.wt-card {
    background: var(--wt-white);
    padding: 36px;
    border: 1px solid var(--wt-gray-200);
    transition: 0.2s;
    height: 100%;
    align-content: flex-start;
}

.elementor-column.wt-card > .elementor-widget-wrap:hover,
div.wt-card:hover {
    border-color: var(--wt-black);
}

.wt-card-title .elementor-heading-title,
.wt-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--wt-black);
}

.wt-card-text,
.wt-card-text p,
.wt-card p {
    color: var(--wt-gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* --- Dark deal cards --- */
.elementor-column.wt-deal-card > .elementor-widget-wrap,
div.wt-deal-card {
    border: 1px solid var(--wt-dark-border);
    padding: 40px;
    background: var(--wt-dark-card);
    height: 100%;
    align-content: flex-start;
}

.wt-deal-amount .elementor-heading-title,
span.wt-deal-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--wt-white);
    display: block;
    margin-bottom: 12px;
}

.wt-deal-tag .elementor-heading-title,
span.wt-deal-tag {
    color: var(--wt-gray-400);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.wt-deal-title .elementor-heading-title,
.wt-deal-card h3 {
    font-size: 22px;
    margin: 16px 0 12px;
    color: var(--wt-white);
    font-weight: 700;
}

.wt-deal-text,
.wt-deal-text p,
.wt-deal-card p {
    color: var(--wt-gray-400);
    font-size: 14px;
    line-height: 1.6;
}

/* --- Testimonials / quotes --- */
.wt-quote blockquote,
blockquote.wt-quote {
    border-left: 3px solid #000000;
    padding-left: 24px;
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: var(--wt-gray-900);
    margin-bottom: 30px;
}

.wt-quote blockquote cite,
blockquote.wt-quote cite {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-style: normal;
    margin-top: 12px;
    color: var(--wt-gray-500);
}

/* --- Inner page hero --- */
.wt-page-hero {
    background-color: var(--wt-black);
    border-bottom: 1px solid #222222;
}

.wt-page-hero-title .elementor-heading-title,
h1.wt-page-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--wt-white);
    margin: 20px 0 24px;
    max-width: 850px;
}

.wt-page-hero-lead,
.wt-page-hero-lead p {
    font-size: 18px;
    color: var(--wt-gray-400);
    max-width: 650px;
    line-height: 1.6;
}

/* --- People cards --- */
.wt-person-initials .elementor-heading-title,
div.wt-person-initials {
    width: 64px;
    height: 64px;
    background: var(--wt-black);
    color: var(--wt-white);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wt-person-role .elementor-heading-title,
div.wt-person-role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--wt-gray-500);
    margin-bottom: 6px;
}

/* --- Contact info blocks --- */
.wt-contact-label .elementor-heading-title,
div.wt-contact-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.wt-contact-detail,
.wt-contact-detail p {
    color: var(--wt-gray-600);
    font-size: 15px;
    line-height: 1.8;
}

/* --- Demo contact form --- */
.wt-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 760px;
}

.wt-form .wt-form-full {
    grid-column: 1 / -1;
}

.wt-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.wt-form input,
.wt-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--wt-border);
    background: var(--wt-white);
    font-family: var(--wt-font-sans);
    font-size: 15px;
    transition: var(--wt-transition);
}

.wt-form input:focus,
.wt-form textarea:focus {
    outline: none;
    border-color: var(--wt-black);
}

.wt-form button {
    padding: 16px 36px;
    background: var(--wt-black);
    color: var(--wt-white);
    border: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-family: var(--wt-font-sans);
    transition: var(--wt-transition);
    justify-self: start;
}

.wt-form button:hover {
    background: var(--wt-gray-700);
}

/* --- Static (non-Elementor) fallback layout helpers --- */
.wt-plain-section {
    padding: 100px 40px;
}

.wt-plain-section .wt-container,
.wt-container {
    max-width: 1320px;
    margin: 0 auto;
}

.wt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.wt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.wt-grid-split { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }

/* ============================================================
   Blog / Insights
   ============================================================ */
.wt-blog-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 40px;
}

.wt-blog-header {
    margin-bottom: 50px;
}

.wt-blog-header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.wt-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wt-post-card {
    background: var(--wt-white);
    border: 1px solid var(--wt-gray-200);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: var(--wt-transition);
}

.wt-post-card:hover {
    border-color: var(--wt-black);
}

.wt-post-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--wt-gray-500);
    margin-bottom: 14px;
}

.wt-post-card h2 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 12px;
}

.wt-post-card .wt-post-excerpt {
    color: var(--wt-gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.wt-post-card .wt-read-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--wt-black);
    align-self: flex-start;
    padding-bottom: 2px;
}

.wt-pagination {
    margin-top: 50px;
    display: flex;
    gap: 8px;
}

.wt-pagination .page-numbers {
    padding: 10px 16px;
    border: 1px solid var(--wt-border);
    font-size: 14px;
    font-weight: 600;
}

.wt-pagination .page-numbers.current {
    background: var(--wt-black);
    color: var(--wt-white);
    border-color: var(--wt-black);
}

/* --- Single post --- */
.wt-single-hero {
    background: var(--wt-black);
    color: var(--wt-white);
    padding: 90px 40px;
    border-bottom: 1px solid #222222;
}

.wt-single-hero .wt-single-inner {
    max-width: 860px;
    margin: 0 auto;
}

.wt-single-hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--wt-white);
    margin-top: 18px;
}

.wt-single-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--wt-gray-400);
}

.wt-single-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 70px 40px 100px;
}

.wt-single-content p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--wt-gray-900);
}

.wt-single-content h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 40px 0 18px;
}

.wt-single-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 14px;
}

.wt-single-content ul,
.wt-single-content ol {
    margin: 0 0 24px 22px;
}

.wt-single-content li {
    margin-bottom: 10px;
}

.wt-single-content blockquote {
    border-left: 3px solid #000000;
    padding-left: 24px;
    font-size: 19px;
    font-style: italic;
    margin: 32px 0;
    color: var(--wt-gray-900);
}

.wt-back-link {
    display: inline-block;
    margin-top: 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--wt-black);
    padding-bottom: 2px;
}

/* --- Generic page content (non-Elementor pages) --- */
.content-area .wt-entry {
    max-width: 860px;
    margin: 0 auto;
    padding: 70px 40px;
}

/* --- 404 / search --- */
.wt-404 {
    max-width: 760px;
    margin: 0 auto;
    padding: 140px 40px;
    text-align: center;
}

.wt-404 .wt-404-code {
    font-size: 120px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.wt-404 h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 20px 0 14px;
}

.wt-404 p {
    color: var(--wt-gray-600);
    margin-bottom: 32px;
}

/* Footer styling */
.site-footer {
    background-color: var(--wt-black);
    color: var(--wt-white);
    padding: 80px 40px 40px;
    border-top: 1px solid var(--wt-gray-900);
}

.site-footer a {
    color: var(--wt-gray-400);
}

.site-footer a:hover {
    color: var(--wt-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1320px;
    margin: 0 auto 60px;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--wt-white);
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--wt-gray-900);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--wt-gray-400);
    max-width: 1320px;
    margin: 0 auto;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .wt-hero-title .elementor-heading-title,
    h1.wt-hero-title {
        font-size: 44px;
    }
    .wt-blog-grid,
    .wt-grid-3,
    .wt-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .site-header {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wt-grid-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .wt-hero-title .elementor-heading-title,
    h1.wt-hero-title {
        font-size: 36px;
    }
    .wt-page-hero-title .elementor-heading-title,
    h1.wt-page-hero-title {
        font-size: 34px;
    }
    .wt-section-title .elementor-heading-title,
    h2.wt-section-title {
        font-size: 30px;
    }
    .wt-blog-grid,
    .wt-grid-2,
    .wt-grid-3,
    .wt-grid-4 {
        grid-template-columns: 1fr;
    }
    .wt-form {
        grid-template-columns: 1fr;
    }
    .wt-single-hero h1 {
        font-size: 32px;
    }
    .wt-blog-wrap,
    .wt-single-content,
    .wt-plain-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .primary-navigation ul {
        gap: 16px;
        flex-wrap: wrap;
    }
    /* Static fallback sections collapse to one column on phones. */
    .wt-fallback .wt-container {
        grid-template-columns: 1fr !important;
    }
    .wt-fallback {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
