/*
Theme Name: PrajuritToto
Theme URI:
Description: Custom WordPress child theme berbasis BlankSlate untuk website prediksi togel.
Author: PrajuritToto
Author URI:https://prajurittoto.pro/
Template: blankslate
Version: 1.0.0
Text Domain: prajurittoto
*/

/* =========================================================
   PRAJURITTOTO - GLOBAL STYLE
   ---------------------------------------------------------
   CSS pada file ini hanya untuk:
   - Reset dasar
   - Variabel warna global
   - Container global
   - Typography dasar
   - Helper umum

   CSS Header       -> header.php
   CSS Footer       -> footer.php
   CSS Homepage     -> front-page.php
   CSS Single Post  -> single.php
   CSS Page         -> page.php
   CSS Category     -> category.php
   CSS komponen     -> file komponennya masing-masing
========================================================= */


/* =========================================================
   1. GLOBAL COLOR VARIABLES
========================================================= */

:root {

    /* MAROON */
    --pt-maroon-50: #f9e7e9;
    --pt-maroon-100: #efc4c9;
    --pt-maroon-200: #df8d97;
    --pt-maroon-300: #ce5966;

    --pt-maroon-light: #a51c2d;
    --pt-maroon: #7b0f1d;
    --pt-maroon-dark: #510812;
    --pt-maroon-deep: #2a0308;
    --pt-maroon-black: #150103;

    /* BACKGROUND */
    --pt-background: #100204;
    --pt-background-secondary: #190307;
    --pt-background-box: #23050a;

    /* BORDER */
    --pt-border: #a8192a;
    --pt-border-light: #cc293b;

    /* GOLD / YELLOW */
    --pt-gold: #ffd21a;
    --pt-gold-light: #ffe66a;
    --pt-gold-dark: #cda000;

    /* TEXT */
    --pt-white: #ffffff;
    --pt-text: #f5f5f5;
    --pt-text-muted: #c8c8c8;
    --pt-text-dark: #181818;

    /* BLACK */
    --pt-black: #000000;
    --pt-black-soft: #090909;

    /* SHADOW */
    --pt-shadow:
        0 4px 14px rgba(0, 0, 0, 0.40);

    --pt-shadow-maroon:
        0 0 15px rgba(123, 15, 29, 0.30);

    /* RADIUS */
    --pt-radius-small: 6px;
    --pt-radius: 10px;
    --pt-radius-large: 15px;

    /* WIDTH */
    --pt-container: 1200px;

    /* TRANSITION */
    --pt-transition: 0.25s ease;
}


/* =========================================================
   2. HTML / BODY
========================================================= */

html {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(123, 15, 29, 0.14) 0%,
            rgba(16, 2, 4, 0) 420px
        ),
        var(--pt-background);

    color: var(--pt-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    overflow-x: hidden;
}


/* =========================================================
   3. BASIC RESET
========================================================= */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}


/* =========================================================
   4. HTML5 DISPLAY
========================================================= */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
    display: block;
}


/* =========================================================
   5. IMAGES / MEDIA
========================================================= */

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

picture {
    display: block;
}

svg {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}


/* =========================================================
   6. LINKS
========================================================= */

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--pt-transition),
        background var(--pt-transition),
        border-color var(--pt-transition),
        opacity var(--pt-transition),
        transform var(--pt-transition);
}

a:hover,
a:focus {
    text-decoration: none;
}


/* =========================================================
   7. LISTS
========================================================= */

ul,
ol {
    margin: 0;
    padding: 0;
}

nav ul,
nav ol {
    list-style: none;
}


/* =========================================================
   8. HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--pt-white);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 17px;
}

h6 {
    font-size: 15px;
}


/* =========================================================
   9. PARAGRAPH
========================================================= */

p {
    margin-bottom: 15px;
}

p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   10. FORM ELEMENTS
========================================================= */

button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
}

button {
    cursor: pointer;
}

input,
textarea,
select {
    max-width: 100%;
}

textarea {
    resize: vertical;
}


/* =========================================================
   11. TABLE
========================================================= */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}


/* =========================================================
   12. WORDPRESS ALIGNMENT
========================================================= */

.alignleft {
    float: left;
    margin: 0 20px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    color: var(--pt-text-muted);
    font-size: 13px;
    margin-top: 7px;
    text-align: center;
}


/* =========================================================
   13. SCREEN READER TEXT
========================================================= */

.screen-reader-text {
    position: absolute !important;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}

.screen-reader-text:focus {
    display: block;

    width: auto;
    height: auto;

    top: 5px;
    left: 5px;

    padding: 12px 16px;

    clip: auto !important;

    background: var(--pt-white);
    color: var(--pt-black);

    font-size: 14px;
    font-weight: 700;

    z-index: 999999;
}


/* =========================================================
   14. GLOBAL CONTAINER
========================================================= */

.pt-container {
    width: calc(100% - 30px);
    max-width: var(--pt-container);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   15. GLOBAL SECTION
========================================================= */

.pt-section {
    width: 100%;
    margin: 20px 0;
}


/* =========================================================
   16. GLOBAL CARD
========================================================= */

.pt-card {
    position: relative;

    background:
        linear-gradient(
            180deg,
            rgba(75, 7, 17, 0.90) 0%,
            rgba(31, 3, 8, 0.96) 100%
        );

    border: 1px solid var(--pt-border);

    border-radius: var(--pt-radius-large);

    box-shadow:
        inset 0 0 20px rgba(123, 15, 29, 0.16),
        var(--pt-shadow);

    overflow: hidden;
}


/* =========================================================
   17. GLOBAL MAROON GRADIENT
========================================================= */

.pt-maroon-gradient {
    background:
        linear-gradient(
            180deg,
            var(--pt-maroon-light) 0%,
            var(--pt-maroon) 48%,
            var(--pt-maroon-dark) 100%
        );
}


/* =========================================================
   18. GLOBAL GOLD TEXT
========================================================= */

.pt-gold {
    color: var(--pt-gold);
}


/* =========================================================
   19. CLEARFIX
========================================================= */

.pt-clearfix::before,
.pt-clearfix::after {
    content: "";
    display: table;
}

.pt-clearfix::after {
    clear: both;
}


/* =========================================================
   20. SELECTION
========================================================= */

::selection {
    background: var(--pt-maroon-light);
    color: var(--pt-white);
}


/* =========================================================
   21. SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: var(--pt-maroon-black);
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            var(--pt-maroon-light),
            var(--pt-maroon-dark)
        );

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pt-maroon-light);
}


/* =========================================================
   22. RESPONSIVE GLOBAL
========================================================= */

@media (max-width: 1024px) {

    :root {
        --pt-container: 960px;
    }

}


@media (max-width: 768px) {

    body {
        font-size: 14px;
    }

    .pt-container {
        width: calc(100% - 20px);
    }

    .pt-section {
        margin: 15px 0;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }

}


@media (max-width: 480px) {

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

}