/*
 Theme Name:   One Page Express Child
 Theme URI:    https://truefalsehosting.rs
 Description:  Child tema za One Page Express
 Author:       True-False Hosting
 Author URI:   https://truefalsehosting.rs
 Template:     one-page-express
 Version:      1.0.0
 Text Domain:  one-page-express-child
*/

.contact-formcol {
    width: 100%;
}

/* ===========================
   GLOBAL FONT
   (do not force text color)
   =========================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div {
    font-family: "Century Gothic", sans-serif;
    color: var(--mj-gray) !important;
}

/* ===========================
   COLOR VARIABLES
   =========================== */
:root {
    --mj-green: #67813c;
    --mj-gray: #9c958d;
    --mj-beige: #f2dbc4;
}

/* ===========================
   TYPOGRAPHY SCALE
   =========================== */

/* Body text */
body,
p,
li {
    font-size: 18px;
    line-height: 1.6;
}

/* Small text */
small {
    font-size: 14px;
    line-height: 1.5;
}

/* H1 — glavni hero naslov */
h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

/* H2 — sekcijski naslovi */
h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
}

/* H3 — podnaslovi */
h3 {
    font-size: 26px;
    line-height: 1.35;
    font-weight: 600;
}

/* H4 — manje naslovne jedinice */
h4 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
}

/* H5 */
h5 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

/* H6 */
h6 {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 20px;
    }
}


/* ===========================
   ONE PAGE EXPRESS BUTTONS
   Target .button and variations
   =========================== */

/* Base buttons */
.button,
a.button,
.button.blue,
.button.big,
.button.blue.big,
.blog-section .button,
.contact-section .button,
.dynamic-color .button,
.white-text .button,
input[type="submit"],
input[type="button"],
button,
.wp-block-button__link {
    background-color: var(--mj-green) !important;
    border-color: var(--mj-green) !important;
    color: #fff !important;
    /* button text for contrast */
    padding: 12px 28px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.25s ease-in-out !important;
}

.button span {
    color: #fff !important;
}

/* Hover state */
.button:hover,
a.button:hover,
.button.blue:hover,
.button.big:hover,
.button.blue.big:hover,
.blog-section .button:hover,
.contact-section .button:hover,
.dynamic-color .button:hover,
.white-text .button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.wp-block-button__link:hover {
    background-color: var(--mj-beige) !important;
    border-color: var(--mj-beige) !important;
    color: #000 !important;
}

/* Focus/active for accessibility */
.button:focus,
.button:active,
a.button:focus,
a.button:active,
input[type="submit"]:focus,
input[type="submit"]:active,
input[type="button"]:focus,
input[type="button"]:active,
button:focus,
button:active,
.wp-block-button__link:focus,
.wp-block-button__link:active {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(103, 129, 60, 0.4) !important;
}

/* ===========================
   LINKS
   (leave theme logic, just base color)
   =========================== */

a {
    color: var(--mj-green) !important;
    text-decoration: none;
}

a:hover {
    color: var(--mj-gray);
}

/* ===========================
   HEADINGS IN SECTIONS
   (optional, can be tweaked)
   =========================== */

/* Main section titles */
.about-big-images-section h2,
.team-large-square-section h2,
.content-left-image-section h2,
.content-right-image-section h2,
.blog-section h2,
.contact-section h2 {
    color: var(--mj-green);
}

/* Subheadings */
.features-coloured-icon-boxes-section h3,
.content-left-image-section h3,
.content-right-image-section h3 {
    color: var(--mj-gray);
}

/* Icons */
.fa,
.cp-icon,
.team-large-square-membericon {
    color: var(--mj-green) !important;
}

.post-content,
.team-large-square-membercard {
    border-color: var(--mj-green);
}

.header-top a,
.header-top.fixto-fixed a {
    color: #fff !important;
}

.header-top.fixto-fixed {
    background-color: var(--mj-green) !important;
    color: #fff !important;
}

.miris-contact-wrap {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 24px 0
}

.miris-contact-left,
.miris-contact-right {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06)
}

.miris-contact-left {
    flex: 1 1 420px;
    padding: 24px
}

.miris-contact-right {
    flex: 1 1 380px;
    padding: 24px
}

.miris-contact-right h4 {
    margin: 0 0 12px;
    font-weight: 600
}

.miris-ci-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0
}

.miris-ci-ico {
    width: 20px;
    line-height: 1.2;
    opacity: .75
}

.miris-ci-val a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 0, 0, .2)
}

.miris-ci-val a:hover {
    border-bottom-color: transparent
}

.miris-map {
    margin-top: 14px;
    border-radius: 6px;
    overflow: hidden
}

/* responsive */
@media (max-width: 768px) {
    .miris-contact-wrap {
        gap: 16px
    }

    .miris-contact-left,
    .miris-contact-right {
        flex: 1 1 100%;
        padding: 18px
    }
}

.custom-logo-link {
    padding: 10px;
}

.custom-logo-link img {
    max-height: 60px;
}

.header-content h1,
.header-content p,
.contact-textcol h2,
.contact-textcol p {
    color: #fff !important;
}

.contact-textcol {
    padding-bottom: 50px;
}

/* ===========================
   BLOG GRID – equal height cards
   =========================== */

/* Make row a flex container */
.post-list-item-thumb img {
    height: 250px;
    object-fit: cover;
}

.blog-postcol p {
    min-height: 270px;
}

.blog-postcol .post-content {
    display: flex;
    flex-direction: column;
}

.blog-postcol {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-postcol p {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-postcol p .button {
    margin-top: auto !important;
    align-self: center;
    position: static !important;
}