
/*
Theme Name: Crackrequest Modern
Description: Modern light redesign for Crackrequest.
Author: Crackrequest
Version: 1.0.0
Template: newsup
Text Domain: crackrequest-modern
*/

/* Modern design foundation */
:root {
    --cr-primary: #2563eb;
    --cr-text: #172033;
    --cr-muted: #64748b;
    --cr-border: #e5e7eb;
    --cr-background: #f8fafc;
    --cr-whatsapp: #16a34a;
    --cr-telegram: #229ed9;
}

body {
    background: var(--cr-background);
    color: var(--cr-text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    transition: color 0.2s ease;
}

a:hover {
    color: var(--cr-primary);
}


/* Crackrequest Modern - initial design */
body,
.site,
.site-content,
#content {
background-color: #f8fafc !important;
color: #172033;
}

a {
color: #2563eb;
}

a {
color: #1d4ed8;
}

/* Clean white content cards */
article,
.widget,
.sidebar .widget,
.post-item {
background-color: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Modernize the header */
.site-title a {
color: #ffffff;
}

/* Softer navigation */
.navbar-wp {
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Improve typography and readability */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #1e293b;
}

.entry-title,
.entry-title a,
.post-title,
.post-title a {
    color: #172033 !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.entry-content,
.entry-summary,
.post-content,
.widget,
.widget p {
    color: #475569;
    line-height: 1.8;
}

.widget-title,
.widget-title a {
    color: #172033 !important;
    font-weight: 700;
}

.site-title a {
    color: #ffffff !important;
}

.navbar-wp .navbar-nav > li > a {
    font-weight: 600;
}

a {
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
}

/* =========================================
   CRACKREQUEST MODERN - HOMEPAGE LAYOUT
   ========================================= */

.cr-home {
    --cr-navy: #101d31;
    --cr-navy-light: #192b45;
    --cr-red: #ff304b;
    --cr-blue: #1685ff;
    --cr-green: #10c878;
    color: #14243d;
    background: #f3f7fc;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.cr-home *,
.cr-home *::before,
.cr-home *::after {
    box-sizing: border-box;
}

.cr-home a {
    text-decoration: none;
}

.cr-container {
    width: min(1284px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header */
.cr-header {
    background: linear-gradient(110deg, #101b2b, #14243a);
    color: #fff;
    border-bottom: 1px solid #273a52;
}

.cr-header-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cr-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff !important;
    flex-shrink: 0;
}

.cr-brand-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 40px;
    color: #fff;
    background: var(--cr-red);
    font-weight: 900;
    font-size: 14px;
    border-radius: 10px 10px 14px 14px;
    clip-path: polygon(50% 0, 100% 18%, 95% 72%, 50% 100%, 5% 72%, 0 18%);
}

.cr-brand-text strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.6px;
}

.cr-brand-text strong span {
    color: var(--cr-red);
}

.cr-brand-text small {
    display: block;
    color: #c4cfde;
    font-size: 10px;
    line-height: 1.4;
}

.cr-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: 4px;
}

.cr-nav a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #e7edf6 !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.cr-nav a:hover,
.cr-nav a.active {
    color: #ff5065 !important;
    border-bottom-color: var(--cr-red);
}

.cr-header-search {
    display: flex;
    align-items: center;
    height: 36px;
    width: 205px;
    background: #293a50;
    border: 1px solid #34465c;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cr-header-search input {
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    outline: none;
    font-size: 12px;
}

.cr-header-search input::placeholder {
    color: #b7c3d2;
}

.cr-header-search button {
    height: 100%;
    padding: 0 11px;
    background: transparent;
    color: #fff;
    border: 0;
    cursor: pointer;
}

/* Main area */
.cr-main {
    padding-top: 10px;
    padding-bottom: 40px;
}

/* Hero banner */
.cr-hero {
    min-height: 180px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    color: #fff;
    background:
        radial-gradient(ellipse at 70% 35%, rgba(0, 112, 255, .55), transparent 43%),
        linear-gradient(110deg, #101c31 0%, #082e60 60%, #101b2d 100%);
    border: 1px solid #244a77;
    box-shadow: 0 5px 16px rgba(14, 35, 64, .12);
}

.cr-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: 17%;
    top: -190px;
    border: 1px solid rgba(82, 171, 255, .24);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(82, 171, 255, .05),
                0 0 0 75px rgba(82, 171, 255, .04);
    pointer-events: none;
}

.cr-hero-copy {
    position: relative;
    z-index: 1;
}

.cr-hero h1 {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.22;
    letter-spacing: -.8px;
    font-weight: 800;
}

.cr-hero h1 span {
    color: #ff4057;
}

.cr-hero p {
    margin: 0 0 14px;
    color: #e5edf9;
    font-size: 14px;
}

.cr-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-benefits span {
    padding: 5px 10px;
    background: rgba(0, 0, 0, .22);
    color: #f4f8ff;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.cr-hero-trust {
    z-index: 1;
    min-width: 170px;
    padding: 16px 20px;
    text-align: center;
    border: 1px solid rgba(67, 165, 255, .17);
    border-radius: 22px;
    background: rgba(0, 38, 79, .7);
    color: #dceaff;
}

.cr-hero-trust strong,
.cr-hero-trust span {
    display: block;
    font-size: 12px;
}

.cr-hero-trust b {
    display: inline-block;
    color: #fff;
    font-size: 25px;
}

/* Two-column content */
.cr-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    margin-top: 18px;
    align-items: start;
}

.cr-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
}

.cr-section-heading h2 {
    margin: 0;
    color: #14243d;
    font-size: 22px;
    font-weight: 800;
}

.cr-section-heading > a {
    color: var(--cr-red);
    font-size: 12px;
    font-weight: 700;
}

/* Software cards */
.cr-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cr-software-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(17, 38, 68, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.cr-software-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(17, 38, 68, .11);
}

.cr-card-image {
    height: 116px;
    margin: 10px 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #07192e, #07508a);
    border-radius: 7px;
}

.cr-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cr-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 90%;
    padding: 4px 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    background: var(--cr-red);
    border-radius: 6px 0 6px 0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.cr-no-image {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.cr-card-body {
    padding: 8px 11px 11px;
}

.cr-card-body h3 {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.cr-card-body h3 a {
    color: #14243d;
}

.cr-card-body h3 a:hover {
    color: #126ee8;
}

.cr-card-category {
    margin-bottom: 5px;
    color: #687a92;
    font-size: 10px;
}

.cr-card-body p {
    min-height: 42px;
    margin: 0 0 9px;
    overflow: hidden;
    color: #52627a;
    font-size: 10.5px;
    line-height: 1.55;
}

/* ============================================
   CRACKREQUEST MODERN — COMPLETED HOMEPAGE CSS
   Shared by front-page.php and category.php
   ============================================ */

body.cr-custom-homepage {
    margin: 0 !important;
    padding: 0 !important;
    background: #f3f7fc !important;
}
body.cr-custom-homepage .cr-home {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #f3f7fc;
}
body.cr-custom-homepage .cr-home .cr-container {
    width: min(1284px, calc(100% - 32px));
    max-width: 1284px;
    margin-inline: auto;
}
body.cr-custom-homepage .cr-home .cr-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}
body.cr-custom-homepage .cr-home .cr-software,
body.cr-custom-homepage .cr-home .cr-sidebar {
    display: block;
    min-width: 0;
    width: 100%;
    float: none;
}
body.cr-custom-homepage .cr-home .cr-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
body.cr-custom-homepage .cr-home article.cr-software-card {
    display: flex;
    flex-direction: column;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 11px;
    box-shadow: 0 3px 12px rgba(17, 38, 68, .06);
}
body.cr-custom-homepage .cr-home .cr-card-image {
    display: flex;
    flex-shrink: 0;
    height: 142px;
    width: auto;
    margin: 10px 10px 0;
    padding: 0;
}
body.cr-custom-homepage .cr-home .cr-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
}
body.cr-custom-homepage .cr-home .cr-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 12px 13px 14px;
}
body.cr-custom-homepage .cr-home .cr-card-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.38;
    overflow-wrap: anywhere;
}
body.cr-custom-homepage .cr-home .cr-card-body h3 a {
    color: #14243d;
}
body.cr-custom-homepage .cr-home .cr-card-category {
    margin: 0 0 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}
body.cr-custom-homepage .cr-home .cr-card-body p {
    min-height: 0;
    margin: 0 0 15px;
    color: #52627a;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body.cr-custom-homepage .cr-home .cr-order-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding: 0;
}
body.cr-custom-homepage .cr-home .cr-order-buttons a {
    display: inline-flex;
    flex: 1 1 100px;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 7px;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    transition: filter .2s ease, transform .2s ease;
}
body.cr-custom-homepage .cr-home .cr-order-buttons a:hover {
    filter: brightness(.93);
    transform: translateY(-1px);
}
body.cr-custom-homepage .cr-home .cr-order-buttons a.cr-whatsapp {
    background: #16a34a !important;
}
body.cr-custom-homepage .cr-home .cr-order-buttons a.cr-telegram {
    background: #229ed9 !important;
}

/* Sidebar cards: override headings and widgets from Newsup */
body.cr-custom-homepage .cr-home .cr-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
body.cr-custom-homepage .cr-home .cr-sidebar .cr-side-box {
    display: block;
    width: 100%;
    margin: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 11px;
    box-shadow: 0 3px 12px rgba(17, 38, 68, .05);
}
body.cr-custom-homepage .cr-home .cr-side-box h3 {
    margin: 0 0 14px;
    color: #14243d !important;
    font-size: 17px !important;
    font-weight: 800;
    line-height: 1.35;
}
body.cr-custom-homepage .cr-home .cr-side-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}
body.cr-custom-homepage .cr-home .cr-side-box input[type="search"] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 10px 12px;
    margin: 0;
    color: #14243d;
    background: #fff !important;
    border: 1px solid #d8e2ef;
    border-radius: 7px;
    font-size: 12px;
    box-shadow: none;
}
body.cr-custom-homepage .cr-home .cr-side-box button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 36px;
    padding: 9px 20px;
    margin: 0;
    background: #2563eb !important;
    color: #fff !important;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
body.cr-custom-homepage .cr-home .cr-category-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
body.cr-custom-homepage .cr-home .cr-category-list li {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eef2f7;
}
body.cr-custom-homepage .cr-home .cr-category-list li:last-child {
    border-bottom: 0;
}
body.cr-custom-homepage .cr-home .cr-category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 1px;
    color: #31435c;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
body.cr-custom-homepage .cr-home .cr-category-list li a:hover {
    color: #2563eb;
}
body.cr-custom-homepage .cr-home .cr-category-list li b {
    padding: 3px 7px;
    background: #edf4ff;
    border-radius: 6px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
}
body.cr-custom-homepage .cr-home .cr-view-categories,
body.cr-custom-homepage .cr-home .cr-learn-more {
    display: inline-block;
    margin-top: 13px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
}
body.cr-custom-homepage .cr-home .cr-years-box p {
    margin: 0;
    color: #52627a;
    font-size: 12px;
    line-height: 1.75;
}

/* Why choose us */
body.cr-custom-homepage .cr-home .cr-why {
    display: block;
    clear: both;
    width: 100%;
    margin: 25px 0 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 11px;
}
body.cr-custom-homepage .cr-home .cr-why h2 {
    margin: 0 0 16px;
    color: #14243d;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}
body.cr-custom-homepage .cr-home .cr-why > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
body.cr-custom-homepage .cr-home .cr-why > div > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 11px 12px;
    color: #253c59;
    background: #f3f7fc;
    border: 1px solid #e8eef6;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

/* Floating social links are outside .cr-home in both PHP templates */
body.cr-custom-homepage .cr-floating-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 9999;
}
body.cr-custom-homepage .cr-floating-contact a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff !important;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .2);
}
body.cr-custom-homepage .cr-float-whatsapp { background: #16a34a; }
body.cr-custom-homepage .cr-float-telegram { background: #229ed9; }

/* Category archive description and pagination */
body.cr-custom-homepage .cr-home .cr-category-description {
    margin: 0 0 15px;
    color: #52627a;
    font-size: 13px;
}
body.cr-custom-homepage .cr-home .cr-pagination {
    margin-top: 22px;
}
body.cr-custom-homepage .cr-home .cr-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
body.cr-custom-homepage .cr-home .cr-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 12px;
    color: #2563eb;
    background: #fff;
    border: 1px solid #d8e2ef;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
body.cr-custom-homepage .cr-home .cr-pagination .page-numbers.current {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
}

/* Responsive design */
@media (max-width: 1100px) {
    body.cr-custom-homepage .cr-home .cr-header-inner {
        gap: 12px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    body.cr-custom-homepage .cr-home .cr-nav a { padding-inline: 8px; }
    body.cr-custom-homepage .cr-home .cr-content-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
    }
    body.cr-custom-homepage .cr-home .cr-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.cr-custom-homepage .cr-home .cr-why > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    body.cr-custom-homepage .cr-home .cr-header-inner {
        justify-content: center;
    }
    body.cr-custom-homepage .cr-home .cr-brand {
        margin-right: auto;
    }
    body.cr-custom-homepage .cr-home .cr-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    body.cr-custom-homepage .cr-home .cr-nav a {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 11px;
    }
    body.cr-custom-homepage .cr-home .cr-header-search {
        margin-left: auto;
        width: min(205px, 45vw);
    }
    body.cr-custom-homepage .cr-home .cr-content-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    body.cr-custom-homepage .cr-home .cr-hero {
        padding: 22px 20px;
        flex-wrap: wrap;
    }
    body.cr-custom-homepage .cr-home .cr-hero-trust { min-width: 150px; }
    body.cr-custom-homepage .cr-home .cr-why > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    body.cr-custom-homepage .cr-home .cr-container {
        width: calc(100% - 24px);
    }
    body.cr-custom-homepage .cr-home .cr-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    body.cr-custom-homepage .cr-home .cr-card-image { height: 175px; }
    body.cr-custom-homepage .cr-home .cr-hero h1 { font-size: 24px; }
    body.cr-custom-homepage .cr-home .cr-hero-trust {
        min-width: 0;
        padding: 10px 16px;
    }
    body.cr-custom-homepage .cr-home .cr-why > div {
        grid-template-columns: minmax(0, 1fr);
    }
    body.cr-custom-homepage .cr-floating-contact {
        right: 12px;
        bottom: 14px;
    }
}


/* =====================================
   CRACKREQUEST - CENTERED PAGE FIX
   ===================================== */

body.cr-custom-homepage {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

body.cr-custom-homepage .cr-home {
    width: 100% !important;
    margin: 0 !important;
}

body.cr-custom-homepage .cr-container {
    width: calc(100% - 40px) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* Keep header full screen, content centered */
body.cr-custom-homepage .cr-header {
    width: 100% !important;
}

/* Center main content and hero */
body.cr-custom-homepage .cr-main {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Smaller screens */
@media (max-width: 700px) {
    body.cr-custom-homepage .cr-container {
        width: calc(100% - 24px) !important;
    }

    body.cr-custom-homepage .cr-header-inner {
        flex-wrap: wrap;
    }
}

/* Wider homepage layout */

@media (min-width: 1101px) {
    body.cr-custom-homepage .cr-content-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
    }

    body.cr-custom-homepage .cr-card-grid {
        gap: 16px;
    }

    body.cr-custom-homepage .cr-order-buttons {
        flex-direction: row;
        gap: 8px;
    }
}

/* Center homepage on large monitors */

body.cr-custom-homepage .cr-home {
    width: 100% !important;
    max-width: none !important;
}

body.cr-custom-homepage .cr-header-inner,
body.cr-custom-homepage main.cr-main {
    width: calc(100% - 40px) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    position: relative;
}

@media (max-width: 700px) {
    body.cr-custom-homepage .cr-header-inner,
    body.cr-custom-homepage main.cr-main {
        width: calc(100% - 24px) !important;
    }
}


/* Fix header search text alignment */

.cr-custom-homepage .cr-header-search input[type="search"] {
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.cr-custom-homepage .cr-header-search button {
    height: 100% !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Crackrequest Modern — single post page only. Append to child theme style.css */
body.cr-single-page .cr-single-main { padding-top: 24px; }
body.cr-single-page .cr-single-column { min-width: 0; }
body.cr-single-page .cr-post-detail,
body.cr-single-page .cr-related-posts,
body.cr-single-page .cr-comments-panel {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(17,38,68,.05);
    margin: 0 0 20px;
    padding: 26px;
    min-width: 0;
}
body.cr-single-page .cr-post-topline { display: flex; gap: 10px; color: #64748b; font-size: 12px; margin-bottom: 12px; }
body.cr-single-page .cr-post-title { font-size: clamp(25px, 2.6vw, 36px); font-weight: 800; line-height: 1.22; color: #14243d; margin: 0 0 10px; overflow-wrap: anywhere; }
body.cr-single-page .cr-post-meta { display: flex; flex-wrap: wrap; gap: 9px; color: #64748b; font-size: 12px; margin-bottom: 24px; }
body.cr-single-page .cr-post-content { color: #26364a; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
body.cr-single-page .cr-post-content p { margin: 0 0 18px; }
body.cr-single-page .cr-post-content h2,
body.cr-single-page .cr-post-content h3 { color: #14243d; line-height: 1.3; margin: 24px 0 12px; }
body.cr-single-page .cr-post-content img,
body.cr-single-page .cr-post-content video,
body.cr-single-page .cr-post-content iframe { max-width: 100%; height: auto; }
body.cr-single-page .cr-post-content .wp-block-image img { display: block; }
body.cr-single-page .cr-post-content figure { max-width: 100%; }
body.cr-single-page .cr-post-content a { color: #2563eb; }
body.cr-single-page .cr-post-order { background: #f3f7fc; border: 1px solid #e4ebf5; border-radius: 10px; padding: 20px; margin-top: 28px; }
body.cr-single-page .cr-post-order h2 { margin: 0 0 5px; font-size: 20px; color: #14243d; }
body.cr-single-page .cr-post-order p { margin: 0 0 15px; color: #52627a; }
body.cr-single-page .cr-post-order .cr-order-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
body.cr-single-page .cr-post-order .cr-order-buttons a { flex: 1 1 160px; text-align: center; padding: 12px 16px; border-radius: 7px; color: white !important; font-weight: 700; }
body.cr-single-page .cr-post-order .cr-whatsapp { background: #16a34a; }
body.cr-single-page .cr-post-order .cr-telegram { background: #229ed9; }
body.cr-single-page .cr-post-neighbors { display: flex; gap: 18px; justify-content: space-between; margin-top: 20px; font-weight: 700; }
body.cr-single-page .cr-post-neighbors > div { max-width: 48%; overflow-wrap: anywhere; }
body.cr-single-page .cr-related-posts h2 { font-size: 20px; margin: 0 0 18px; color: #14243d; }
body.cr-single-page .cr-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
body.cr-single-page .cr-related-item { display: block; color: #14243d; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
body.cr-single-page .cr-related-item img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; border-radius: 7px; display: block; margin-bottom: 8px; }
body.cr-single-page .cr-related-no-image { display: grid; place-items: center; aspect-ratio: 16/9; background: #edf2f9; border-radius: 7px; }
body.cr-single-page .cr-comments-panel h2,
body.cr-single-page .cr-comments-panel h3 { color: #14243d; font-size: 20px; }
body.cr-single-page .cr-comments-panel textarea,
body.cr-single-page .cr-comments-panel input:not([type="submit"]) { max-width: 100%; width: 100%; padding: 10px; border: 1px solid #d8e2ef; border-radius: 7px; background: #fff; }
body.cr-single-page .cr-comments-panel input[type="submit"] { background: #2563eb; color: white; border: 0; border-radius: 6px; padding: 10px 18px; }
@media (max-width: 700px) {
    body.cr-single-page .cr-post-detail,
    body.cr-single-page .cr-related-posts,
    body.cr-single-page .cr-comments-panel { padding: 16px; }
    body.cr-single-page .cr-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 400px) { body.cr-single-page .cr-related-grid { grid-template-columns: 1fr; } }

/* Product-style introductory area: add after the earlier single CSS */
body.cr-single-page .cr-product-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin-bottom: 28px;
}
body.cr-single-page .cr-product-visual,
body.cr-single-page .cr-product-summary { min-width: 0; }
body.cr-single-page .cr-product-visual { background: #f3f7fc; border: 1px solid #e3eaf2; border-radius: 10px; overflow: hidden; }
body.cr-single-page .cr-product-image { display: block; width: 100%; height: auto; max-height: 430px; object-fit: contain; }
body.cr-single-page .cr-product-placeholder { display: grid; place-items: center; min-height: 245px; color: #64748b; font-weight: 700; }
body.cr-single-page .cr-product-summary .cr-post-title { font-size: clamp(25px, 2.2vw, 32px); }
body.cr-single-page .cr-product-summary .cr-post-meta { margin-bottom: 14px; }
body.cr-single-page .cr-product-summary-text { margin: 0 0 15px; color: #52627a; font-size: 14px; line-height: 1.7; }
body.cr-single-page .cr-post-order-top { margin: 0; padding: 16px; }
body.cr-single-page .cr-post-order-top h2 { font-size: 17px; }
body.cr-single-page .cr-post-order-top p { margin-bottom: 12px; }
body.cr-single-page .cr-post-order-top .cr-order-buttons { flex-direction: column; gap: 9px; }
body.cr-single-page .cr-post-order-top .cr-order-buttons a { flex: 0 0 auto; display: block; width: 100%; }
body.cr-single-page .cr-description-heading { color: #14243d; font-size: 22px; margin: 12px 0 20px; padding-bottom: 10px; border-bottom: 1px solid #e3eaf2; }
@media (max-width: 800px) {
    body.cr-single-page .cr-product-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    body.cr-single-page .cr-product-image { max-height: 340px; }
}


/* Hide floating WhatsApp and Telegram buttons
   across our redesigned pages */

body .cr-floating-contact {
    display: none !important;
}

/* Crackrequest Modern: standard WordPress pages */
.cr-static-page .cr-page-column { min-width: 0; }
.cr-static-page .cr-page-panel {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 11px;
    box-shadow: 0 3px 12px rgba(17, 38, 68, .05);
    padding: clamp(18px, 2.6vw, 32px);
    overflow-wrap: anywhere;
}
.cr-static-page .cr-page-crumbs { font-size: 12px; color: #64748b; margin-bottom: 12px; }
.cr-static-page .cr-page-crumbs a { color: #2563eb; }
.cr-static-page .cr-page-crumbs span { margin: 0 6px; }
.cr-static-page .cr-page-title {
    color: #14243d;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px;
}
.cr-static-page .cr-page-content { color: #263850; font-size: 15px; line-height: 1.8; }
.cr-static-page .cr-page-content p { margin: 0 0 16px; }
.cr-static-page .cr-page-content h2,
.cr-static-page .cr-page-content h3 { color: #14243d; margin: 24px 0 12px; line-height: 1.35; }
.cr-static-page .cr-page-content img { max-width: 100%; height: auto; }
.cr-static-page .cr-page-content iframe { max-width: 100%; }
.cr-static-page .cr-page-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.cr-static-page .cr-page-content textarea,
.cr-static-page .cr-page-content select {
    max-width: 100%; border: 1px solid #d9e3ee; border-radius: 6px; padding: 10px;
}
.cr-static-page .cr-page-content input[type="submit"],
.cr-static-page .cr-page-content button[type="submit"] {
    border: 0; border-radius: 6px; background: #2563eb; color: white;
    padding: 10px 20px; cursor: pointer;
}
@media (max-width: 700px) {
    .cr-static-page .cr-page-panel { padding: 18px; }
}


/* ==========================================
   CRACKREQUEST MODERN - SOFTWARE REQUEST FORM
   Forminator Form ID: 2030
   ========================================== */

#forminator-module-2030 {
    max-width: 760px;
    margin: 10px auto 30px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(17, 38, 68, 0.06);
    font-family: Arial, Helvetica, sans-serif;
}

/* Form rows */
#forminator-module-2030 .forminator-row {
    margin-bottom: 20px !important;
}

/* Field labels */
#forminator-module-2030 .forminator-label {
    display: block;
    margin-bottom: 9px !important;
    color: #14243d !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Input fields */
#forminator-module-2030 input.forminator-input,
#forminator-module-2030 textarea.forminator-textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 13px 15px !important;
    margin: 0 !important;
    border: 1px solid #dce5f0 !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    color: #14243d !important;
    box-shadow: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

/* Message box */
#forminator-module-2030 textarea.forminator-textarea {
    min-height: 150px !important;
    resize: vertical;
}

/* Placeholder text */
#forminator-module-2030 input::placeholder,
#forminator-module-2030 textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

/* Focus state */
#forminator-module-2030 input.forminator-input:focus,
#forminator-module-2030 textarea.forminator-textarea:focus {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12) !important;
    background: #ffffff !important;
}

/* Submit button */
#forminator-module-2030 .forminator-button-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 13px 24px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background .2s, transform .2s;
}

/* Submit hover */
#forminator-module-2030 .forminator-button-submit:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
}

/* Field counter */
#forminator-module-2030 .forminator-description {
    color: #64748b !important;
    font-size: 12px !important;
}

/* Mobile */
@media (max-width: 700px) {
    #forminator-module-2030 {
        padding: 18px;
        max-width: 100%;
        border-radius: 12px;
    }
}

/* Crackrequest Modern - search result page styling */
.cr-search-page .cr-search-title {
    margin: 0;
    color: #14243d;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    line-height: 1.35;
}
.cr-search-page .cr-search-count {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
}
.cr-search-page .cr-search-empty {
    padding: 30px;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    background: #fff;
}
.cr-search-page .cr-search-empty h2 { margin-top: 0; }
.cr-search-page .cr-search-pagination { margin: 24px 0; }
.cr-search-page .cr-search-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.cr-search-page .cr-search-pagination .page-numbers {
    display: inline-block;
    padding: 9px 13px;
    border: 1px solid #dce5f0;
    border-radius: 7px;
    background: #fff;
    color: #14243d;
    text-decoration: none;
}
.cr-search-page .cr-search-pagination .page-numbers.current {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}


/* =====================================
   CRACKREQUEST - MOBILE HOMEPAGE POLISH
   ===================================== */

@media (max-width: 700px) {

    /* More compact header */
    body.cr-custom-homepage .cr-header-inner {
        gap: 8px !important;
        padding-top: 10px;
        padding-bottom: 8px;
    }

    body.cr-custom-homepage .cr-brand-text strong {
        font-size: 18px;
    }

    body.cr-custom-homepage .cr-header-search {
        height: 38px;
        width: 100%;
        max-width: none;
    }

    body.cr-custom-homepage .cr-nav {
        width: 100%;
        justify-content: center;
        gap: 0;
    }

    body.cr-custom-homepage .cr-nav a {
        padding: 10px 8px;
        font-size: 11px;
    }

    /* Compact hero banner */
    body.cr-custom-homepage .cr-hero {
        padding: 22px 18px !important;
        min-height: 0 !important;
        gap: 14px !important;
    }

    body.cr-custom-homepage .cr-hero h1 {
        font-size: 25px !important;
    }

    body.cr-custom-homepage .cr-hero p {
        font-size: 13px;
    }

    body.cr-custom-homepage .cr-hero-trust {
        min-width: 0;
        width: fit-content;
        padding: 10px 18px;
        border-radius: 12px;
    }

    body.cr-custom-homepage .cr-hero-trust b {
        font-size: 21px;
    }

    /* Single-column cards */
    body.cr-custom-homepage .cr-card-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
/* Hide trust counter on mobile only */
@media (max-width: 700px) {
    body.cr-custom-homepage .cr-hero-trust {
        display: none !important;
    }
}

/* =========================================
   CRACKREQUEST - MOBILE SINGLE POST FIX
   ========================================= */

@media (max-width: 700px) {

    /* Product section */
    body.cr-single-page .cr-product-intro {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    /* Display title and order buttons first */
    body.cr-single-page .cr-product-summary {
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Display software image second */
    body.cr-single-page .cr-product-visual {
        order: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.cr-single-page .cr-product-image {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 320px !important;
        object-fit: contain !important;
    }

    /* Better title size */
    body.cr-single-page .cr-post-title {
        font-size: 25px !important;
        line-height: 1.3 !important;
        overflow-wrap: anywhere;
    }

    /* More compact article text */
    body.cr-single-page .cr-post-content {
        font-size: 15px !important;
        line-height: 1.75 !important;
        overflow-wrap: anywhere;
    }

    body.cr-single-page .cr-post-content h1,
    body.cr-single-page .cr-post-content h2 {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    body.cr-single-page .cr-post-content h3 {
        font-size: 19px !important;
        line-height: 1.4 !important;
    }

    body.cr-single-page .cr-post-content p,
    body.cr-single-page .cr-post-content li {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    body.cr-single-page .cr-post-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Order buttons */
    body.cr-single-page .cr-post-order-top .cr-order-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    body.cr-single-page .cr-post-order-top .cr-order-buttons a {
        width: 100% !important;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* Compact headings on mobile information pages */

@media (max-width: 700px) {
    body.cr-custom-homepage .cr-page-content h2 {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }
}

