/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


html body {background:initial; padding:50px 30px; margin:20px auto 100px auto; max-width:890px; font-family: 'Helvetica', 'Arial', sans-serif!important;
    color: #444444;
    font-size: 12pt;
    }
html body h1,
html body h2,
html body h3,
html body h4 {font-family: 'Helvetica', 'Arial', sans-serif!important;}

footer.wp-block-template-part {display:none}
body:before {content:""; display:block; background-image:url(https://safmcertifikacia.sk/wp-content/uploads/2025/09/safm-certifikacia.gif); width:100px; height:100px; background-size:contain; background-repeat:no-repeat; margin:20px auto;}
#footer {display:none}
header.wp-block-template-part {display:none}

/* === MIQ buttons (scoped to quiz UI) =================== */
:root {
  --miq-green: rgb(158, 197, 57);      /* #9ec539 */
  --miq-green-strong: rgb(140, 175, 50);
  --miq-green-outline: rgba(158, 197, 57, .15);
  --miq-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.miq-nav .button,
.miq-box .button,
.miq-nav .button-primary,
.miq-box .button-primary {
  appearance: none;
  border-radius: 9999px;          /* pill */
  padding: .6rem 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid var(--miq-green);
  background: #fff;
  color: var(--miq-green);
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .06s ease;
}

/* Solid primary (Start / Submit) */
.miq-nav .button-primary,
.miq-box .button-primary {
  background: var(--miq-green);
  color: #fff;
  border-color: var(--miq-green);
  box-shadow: var(--miq-shadow);
}

.miq-nav .button:hover,
.miq-box .button:hover {
  background: var(--miq-green-outline);
}

.miq-nav .button-primary:hover,
.miq-box .button-primary:hover {
  background: var(--miq-green-strong);
  border-color: var(--miq-green-strong);
}

.miq-nav .button:active,
.miq-box .button:active {
  transform: translateY(1px);
}

/* Focus ring (keyboard & a11y) */
.miq-nav .button:focus-visible,
.miq-box .button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--miq-green) 60%, white);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 6px color-mix(in srgb, var(--miq-green) 35%, white);
}

/* Disabled */
.miq-nav .button[disabled],
.miq-box .button[disabled] {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.1);
  background: #f8f8f8;
  color: color-mix(in srgb, var(--miq-green) 55%, #777);
  border-color: color-mix(in srgb, var(--miq-green) 45%, #bbb);
}

/* Make the main action stand out a bit more in nav group */
.miq-nav {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.miq-nav #miq-submit {
  margin-left: auto; /* pushes submit to the right if you like */
}

/* Optional: lighten buttons inside the “Začať kvíz” box layout */
.miq-box .miq-actions {
  display: flex;
  gap: .5rem;
}
.miq-box h3 {
  margin-bottom: .5rem;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .miq-nav .button,
  .miq-box .button { transition: none; }
}


.miq-timer span { color: var(--miq-green);}