/*
Theme Name: UNMODERATED
Theme URI: https://unmoderated.uk
Author: UNMODERATED
Description: Custom WooCommerce theme for UNMODERATED.
Version: 1.2
Text Domain: unmoderated
*/

:root {
    --um-paper: #e8e0cf;
    --um-paper-light: #f2ebdd;
    --um-paper-dark: #d4c7af;
    --um-black: #101010;
    --um-red: #c51f1f;
    --um-white: #f8f4ea;
    --um-grey: #6e675c;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--um-paper);
    color: var(--um-black);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    z-index: 9999;
    background:
        radial-gradient(circle at 12% 18%, rgba(0,0,0,.06) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 63%, rgba(0,0,0,.045) 0 1px, transparent 1.5px),
        linear-gradient(90deg, rgba(90,72,42,.025), transparent 35%, rgba(90,72,42,.025));
    background-size: 11px 13px, 17px 19px, 100% 100%;
    mix-blend-mode: multiply;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.um-site {
    min-height: 100vh;
}

/* =========================================
   TOP BAR
   ========================================= */

.um-topbar {
    background: #090909;
    color: var(--um-white);
    min-height: 44px;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.um-red-mark {
    color: var(--um-red);
}

/* =========================================
   HEADER
   ========================================= */

.um-header-main {
    position: relative;
    max-width: 1180px;
    height: 190px;
    margin: 0 auto;
    padding: 0 30px;
}

.um-brand {
    position: absolute;
    left: 30px;
    top: 18px;
    display: block;
    width: 640px;
    max-width: none;
    line-height: 0;
}

.um-logo {
    display: block;
    width: 100%;
    height: auto;
}

.um-nav {
    position: absolute;
    right: 30px;
    top: 63px;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.um-nav a:hover {
    color: var(--um-red);
}

/* =========================================
   MAIN
   ========================================= */

.um-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

/* =========================================
   HERO NEWSPAPER GRID
   ========================================= */

.um-hero {
    position: relative;
    display: grid;
    grid-template-columns: 165px minmax(330px, 1fr) 365px 190px;
    gap: 22px;
    min-height: 610px;
    padding: 38px 0 44px;
    border-top: 1px solid rgba(0,0,0,.25);
    border-bottom: 1px solid rgba(0,0,0,.25);
    overflow: hidden;
}

.um-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .28;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,.035) 0,
            rgba(0,0,0,.035) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 46px,
            rgba(45,35,20,.018) 47px,
            transparent 48px
        );
}

.um-hero::after {
    content: "CONFIDENTIAL REPORT  •  PUBLIC RECORD  •  UNMODERATED  •  ARCHIVE 07  •  DISCLOSURE";
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 3px;
    z-index: 0;
    color: rgba(0,0,0,.07);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    letter-spacing: 4px;
    white-space: nowrap;
    overflow: hidden;
}

/* SIDE COLUMNS */

.um-hero-side {
    position: relative;
    z-index: 2;
    padding-top: 26px;
}

.um-hero-left {
    border-right: 1px solid rgba(0,0,0,.13);
    padding-right: 16px;
}

.um-hero-right {
    border-left: 1px solid rgba(0,0,0,.13);
    padding-left: 16px;
}

.um-side-copy {
    margin-top: 28px;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .55px;
}

.um-side-copy strong {
    display: block;
}

.um-editor-title {
    margin-top: 38px;
}

/* STAMPS */

.um-stamp {
    display: inline-block;
    border: 4px solid var(--um-red);
    color: var(--um-red);
    padding: 8px 13px 6px;
    font-size: 20px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: 1px;
    transform: rotate(-5deg);
    background: rgba(232,224,207,.58);
    box-shadow: 0 0 0 1px rgba(197,31,31,.08);
}

.um-content-blocked {
    margin: 4px 0 6px;
    font-size: 20px;
    transform: rotate(5deg);
}

.um-classified {
    margin: 0 0 2px;
    transform: rotate(-6deg);
}

.um-stamp-small {
    position: static;
    font-size: 17px;
    line-height: 1.1;
    transform: rotate(-4deg);
}

/* =========================================
   HAND-DRAWN REDACTION MARKERS
   ========================================= */

.um-marker-stack {
    margin-top: 15px;
}

.um-marker-stack-small {
    margin-top: 25px;
}

.um-marker {
    display: block;
    position: relative;
    height: 13px;
    margin: 7px 0;
    background: #0c0c0c;
    transform-origin: left center;
    filter: contrast(1.08);
    clip-path: polygon(
        1% 22%,
        5% 7%,
        13% 14%,
        19% 3%,
        31% 11%,
        45% 4%,
        58% 14%,
        68% 7%,
        80% 16%,
        91% 5%,
        99% 19%,
        98% 76%,
        92% 93%,
        80% 84%,
        69% 97%,
        57% 87%,
        46% 96%,
        34% 86%,
        24% 96%,
        13% 85%,
        4% 94%,
        0 73%
    );
}

.um-marker::after {
    content: "";
    position: absolute;
    inset: 3px -2px -2px 3px;
    background: rgba(0,0,0,.8);
    z-index: -1;
    transform: rotate(.7deg);
    clip-path: polygon(
        0 18%, 8% 5%, 22% 12%, 37% 2%, 53% 14%, 67% 4%,
        81% 13%, 100% 7%, 98% 83%, 87% 94%, 70% 86%,
        55% 98%, 39% 87%, 22% 96%, 7% 88%, 0 76%
    );
}

.w100 { width: 100%; }
.w98  { width: 98%; }
.w96  { width: 96%; }
.w95  { width: 95%; }
.w94  { width: 94%; }
.w92  { width: 92%; }
.w91  { width: 91%; }
.w88  { width: 88%; }
.w84  { width: 84%; }
.w78  { width: 78%; }
.w76  { width: 76%; }
.w74  { width: 74%; }
.w71  { width: 71%; }
.w70  { width: 70%; }
.w64  { width: 64%; }

.r1 { transform: rotate(-1.2deg); }
.r2 { transform: rotate(.8deg); }
.r3 { transform: rotate(-.4deg); }
.r4 { transform: rotate(1.25deg); }
.r5 { transform: rotate(-.8deg); }
.r6 { transform: rotate(.35deg); }

/* =========================================
   HERO HEADLINE
   ========================================= */

.um-hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 32px;
}

.um-breaking {
    margin: 0 0 13px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.um-hero-copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 69px);
    line-height: .93;
    letter-spacing: -2.3px;
    text-transform: uppercase;
}

.um-redacted-main {
    width: 100%;
    max-width: 430px;
    margin: 28px 0 20px;
}

.um-redacted-main .um-marker {
    height: 15px;
    margin: 9px 0;
}

.um-button {
    display: inline-block;
    position: relative;
    z-index: 2;
    background: var(--um-black);
    color: var(--um-white);
    padding: 15px 23px;
    border: 1px solid var(--um-black);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.um-button:hover {
    background: var(--um-red);
    border-color: var(--um-red);
}

/* =========================================
   FEATURE PRODUCT PAPER
   ========================================= */

.um-feature-wrap {
    position: relative;
    z-index: 2;
    align-self: center;
    width: 100%;
    padding: 12px 10px 8px;
}

.um-feature-sheet {
    position: relative;
    min-height: 480px;
    padding: 16px;
    background:
        linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.04)),
        #dfd3bb;
    border: 9px solid #d7c5a4;
    box-shadow:
        0 8px 14px rgba(45,35,21,.18),
        2px 2px 0 rgba(255,255,255,.35) inset,
        -2px -2px 0 rgba(71,54,31,.08) inset;
    transform: rotate(.5deg);
}

.um-feature-sheet::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(72,55,31,.14);
    pointer-events: none;
}

.um-feature-sheet::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 30%, rgba(0,0,0,.08) 0 1px, transparent 1.5px),
        radial-gradient(circle at 70% 72%, rgba(0,0,0,.06) 0 1px, transparent 1.5px);
    background-size: 15px 17px, 21px 19px;
}

.um-feature-link,
.um-feature-placeholder {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 430px;
    align-items: center;
    justify-content: center;
}

.um-feature-image {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    filter: saturate(.9) contrast(1.02);
}

.um-feature-placeholder {
    background: rgba(255,255,255,.07);
}

.um-tape {
    position: absolute;
    top: -3px;
    left: 50%;
    z-index: 5;
    width: 135px;
    height: 38px;
    background: rgba(210,190,153,.62);
    transform: translateX(-50%) rotate(-1.5deg);
    clip-path: polygon(5% 8%, 95% 0, 100% 87%, 4% 100%, 0 18%);
    box-shadow: 0 1px 1px rgba(0,0,0,.06);
}

.um-paperclip {
    position: absolute;
    top: 24px;
    left: 21px;
    z-index: 7;
    width: 27px;
    height: 86px;
    border: 4px solid #6e6b62;
    border-bottom-color: transparent;
    border-radius: 17px 17px 12px 12px;
    transform: rotate(4deg);
    opacity: .84;
}

.um-paperclip::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 6px;
    width: 10px;
    height: 61px;
    border: 3px solid #858078;
    border-bottom-color: transparent;
    border-radius: 10px 10px 8px 8px;
}

/* =========================================
   PRODUCTS
   ========================================= */

.um-products {
    padding: 55px 0 30px;
}

.um-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.um-section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    text-transform: uppercase;
}

.um-section-heading p {
    margin: 5px 0 0;
    font-size: 13px;
}

.um-section-heading > a {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* =========================================
   WOO PRODUCT GRID
   ========================================= */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    position: relative;
    padding: 12px;
    background: rgba(255,255,255,.25);
    border: 1px solid rgba(0,0,0,.25);
}

.woocommerce ul.products li.product::before {
    content: "CASE FILE";
    display: block;
    margin-bottom: 8px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.woocommerce ul.products li.product img {
    margin-bottom: 14px !important;
    background: #d7cfbf;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--um-black);
    font-size: 14px !important;
    font-weight: 900;
    line-height: 1.2;
}

.woocommerce ul.products li.product .price {
    color: var(--um-black) !important;
    font-size: 13px !important;
    font-weight: 900;
}

.woocommerce ul.products li.product .button {
    padding: 11px 12px;
    background: var(--um-black);
    color: var(--um-white);
    border-radius: 0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--um-red);
}

/* =========================================
   MANIFESTO
   ========================================= */

.um-manifesto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 55px;
    padding: 45px 0;
    border-top: 2px solid var(--um-black);
    border-bottom: 2px solid var(--um-black);
}

.um-manifesto h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    line-height: .95;
    text-transform: uppercase;
}

.um-manifesto-text {
    position: relative;
    padding-top: 10px;
}

.um-manifesto-text h3 {
    margin-top: 50px;
    font-size: 14px;
    letter-spacing: 1px;
}

.um-manifesto-text p {
    max-width: 460px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

/* =========================================
   GENERIC PAGE
   ========================================= */

.um-content {
    max-width: 980px;
    margin: 50px auto;
}

.um-page-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    text-transform: uppercase;
}

/* =========================================
   FOOTER
   ========================================= */

.um-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 40px;
    background: #090909;
    color: var(--um-white);
    font-size: 11px;
    letter-spacing: 1px;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1050px) {

    .um-header-main {
        height: auto;
        min-height: 180px;
        padding: 20px 18px;
    }

    .um-brand {
        position: static;
        width: 520px;
        max-width: 100%;
    }

    .um-nav {
        position: static;
        margin-top: 12px;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .um-hero {
        grid-template-columns: 135px minmax(300px, 1fr) 330px;
    }

    .um-hero-right {
        display: none;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 720px) {

    .um-topbar {
        padding: 10px 14px;
        gap: 10px;
        font-size: 9px;
        text-align: center;
    }

    .um-header-main {
        min-height: auto;
        padding: 18px;
    }

    .um-brand {
        width: 360px;
        max-width: 100%;
    }

    .um-nav {
        margin-top: 10px;
        gap: 13px;
        font-size: 10px;
    }

    .um-main {
        padding-left: 18px;
        padding-right: 18px;
    }

    .um-hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding: 30px 0 38px;
    }

    .um-hero-left,
    .um-hero-right {
        display: none;
    }

    .um-hero-copy {
        padding: 5px 4px 0;
    }

    .um-breaking {
        font-size: 10px;
    }

    .um-hero-copy h1 {
        font-size: clamp(42px, 14vw, 66px);
        line-height: .91;
    }

    .um-redacted-main {
        max-width: 330px;
    }

    .um-feature-wrap {
        max-width: 430px;
        margin: 0 auto;
        padding: 10px 6px;
    }

    .um-feature-sheet {
        min-height: 410px;
    }

    .um-feature-link,
    .um-feature-placeholder {
        min-height: 360px;
    }

    .um-feature-image {
        max-height: 360px;
    }

    .um-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .um-section-heading h2 {
        font-size: 34px;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .um-manifesto {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .um-manifesto h2 {
        font-size: 40px;
    }

    .um-footer {
        flex-direction: column;
        padding: 28px 20px;
    }
}