/* ===============================
   HEADING UNDERLINE
================================ */
.heading-underline h1,
.heading-underline h2,
.heading-underline h3,
.heading-underline h4,
.heading-underline h5,
.heading-underline h6,
h1.heading-underline,
h2.heading-underline,
h3.heading-underline,
h4.heading-underline,
h5.heading-underline,
h6.heading-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 0.35em;
}

.heading-underline h1::after,
.heading-underline h2::after,
.heading-underline h3::after,
.heading-underline h4::after,
.heading-underline h5::after,
.heading-underline h6::after,
h1.heading-underline::after,
h2.heading-underline::after,
h3.heading-underline::after,
h4.heading-underline::after,
h5.heading-underline::after,
h6.heading-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #009FE3;
}

/* ===============================
   TYPOGRAPHY OVERRIDE (TAILWIND)
================================ */

/* H1 (text-4xl) */
.text-4xl {
    font-size: 2.8rem !important;   /* ~45px */
    line-height: 1.2 !important;
}

/* H2 (text-2xl) */
.text-3xl {
    font-size: 2.8rem !important;   /* ~30px */
    line-height: 1.3 !important;
}

/* H2 (text-2xl) */
.text-2xl {
    font-size: 1.9rem !important;   /* ~30px */
    line-height: 1.3 !important;
}

.heading-underline {
	    font-size: 1.9rem !important;   /* ~30px */
    line-height: 1.3 !important;
	font-weight: 700;
}

/* H3 (text-lg) */
.text-lg {
    font-size: 1.6rem !important;   /* ~21px */
    line-height: 1.4 !important;
}

a:focus {
    outline: none;
    box-shadow: none;

}

input, select, textarea {
    border: 1px solid #d1d5db; /* svetlo siva */
    border-radius: 6px;
    padding: 8px 10px;
    background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}




/* ===============================
   DESKTOP SCALE
================================ */

@media (min-width: 768px) {

    h1 {
        font-size: 2.75rem;   /* ~44px */
    }

    h2 {
        font-size: 1.875rem;  /* ~30px */
    }

    h3 {
        font-size: 1.25rem;   /* ~20px */
    }
}

/* ===============================
   NAVIGATION
================================ */
.co-nav-item {
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.co-nav-item:hover {
    color: #6b7280;
}

.co-active,
.co-nav-item--active {
    color: var(--color-primary);
    font-weight: 600;
    border-color: var(--color-primary);
}

/* ===============================
   TABLE (NO ZEBRA)
================================ */
table tbody tr td {
    background-color: white !important;
}

table tbody tr:hover td {
    background-color: #f9fafb;
}

/* ===============================
   EDITOR (TinyMCE)
================================ */
.tox-tinymce {
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
}

.tox-toolbar,
.tox .tox-toolbar,
.tox .tox-toolbar__primary {
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.tox .tox-tbtn {
    background: transparent !important;
    border-radius: 6px !important;
}

.tox .tox-tbtn:hover {
    background: #e5e7eb !important;
}

.tox .tox-tbtn--enabled,
.tox .tox-tbtn--active {
    background: #e0e7ff !important;
}

.tox .tox-icon svg {
    fill: #374151 !important;
}

.tox-edit-area iframe {
    background: white !important;
}

.tox-tinymce:focus-within {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 1px var(--color-primary) !important;
}
