/*
Theme Name: Literature Child Theme
Theme URI: https://literature.axiomthemes.com/
Description: Literature is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AxiomThemes
Author URI: https://axiomthemes.com/
Version: 1.3.0
Tested up to: 6.9
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: literature
Template: literature
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
@font-face {
    font-family: 'QiprokoTrial';
    src: url('fonts/QiprokoTrial.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.qiproko h1 {
    font-family: 'QiprokoTrial', sans-serif !important;
}

.qiproko h2 {
    font-family: 'QiprokoTrial', sans-serif !important;
}

.qiporko-button a {
    font-family: 'QiprokoTrial', sans-serif !important;
}

#qiporko-text-1, #qiporko-text-2 {
    font-family: 'QiprokoTrial', sans-serif !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
}

.qiporko-title h2 {
    font-family: 'QiprokoTrial', sans-serif !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
}

.qiporko-title h2 span#highlighted {
    color: #902722 !important;
}

.qiproko-font {
    font-family: 'QiprokoTrial', sans-serif !important;
	hyphens: none !important;
    -webkit-hyphens: none !important;
}

.qiproko-font-footer {
    font-family: 'QiprokoTrial', sans-serif !important;
	hyphens: none !important;
    -webkit-hyphens: none !important;
}

.qiproko-btn {
    font-family: 'QiprokoTrial', sans-serif !important;
}

.qiporko-title-2 h2 {
    font-family: 'QiprokoTrial', sans-serif !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
}

.qiporko-title-2 h2 span#highlighted {
    color: #3b4c28 !important;
}

/* OVERRIDE HEADER BG ON SCROLL*/
body.trx_addons_page_scrolled .elementor-19 .elementor-element.elementor-element-2b8364b.sc_layouts_row_fixed_on {
    background-color: #0000008f !important;
    border: none !important;
}


/*
* Contact Form Styles
*/


:root{
  --sg-primary:      #1b4d4a;   /* dark teal — focus states           */
  --sg-accent:       #ff6b5f;   /* coral — button, matches "Buy" CTAs */
  --sg-accent-hover: #e8544a;
  --sg-bg-card:      #faf7f2;   /* warm off-white card background     */
  --sg-border:       #e3ddd2;
  --sg-text:         #2c2c2c;
  --sg-text-muted:   #7a746a;
  --sg-radius:       10px;
  --sg-font-body:    inherit;   /* inherits theme's body font by default */
}

/* 2) Card wrapper around the whole form */
.wpcf7-form{
  max-width: 640px;
  margin: 0 auto;
  padding: 40px clamp(24px, 5vw, 48px);
  background: var(--sg-bg-card);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  font-family: var(--sg-font-body);
  color: var(--sg-text);

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 3) Row layout — two columns by default, one column when --single */
.sg-form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sg-form-row--single{
  grid-template-columns: 1fr;
}

.sg-form-group{
  display: flex;
  flex-direction: column;
}

/* 4) Labels */
.sg-form-group label{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-text-muted);
  margin-bottom: 8px;
}

/* 5) Inputs, selects, textarea */
.sg-form-group input[type="text"],
.sg-form-group input[type="email"],
.sg-form-group select,
.sg-form-group textarea{
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--sg-font-body);
  color: var(--sg-text);
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.sg-form-group textarea{
  min-height: 130px;
  resize: vertical;
}

.sg-form-group select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a746a' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.sg-form-group input:focus,
.sg-form-group select:focus,
.sg-form-group textarea:focus{
  outline: none;
  border-color: var(--sg-primary);
  box-shadow: 0 0 0 3px rgba(27,77,74,0.12);
}

/* 6) Submit row / button — pill style to match the "Buy Printed Book" CTAs */
.sg-submit-row{
  display: flex;
}

.sg-submit-row input[type="submit"]{
  font-family: 'QiprokoTrial', sans-serif !important;
  padding: 14px 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.sg-submit-row input[type="submit"]:hover{
  transform: translateY(-1px);
}

.sg-submit-row input[type="submit"]:disabled{
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 7) Validation / response messages */
.sg-form-group .wpcf7-not-valid-tip{
  font-size: 12px;
  color: #c0392b;
  margin-top: 6px;
}

.sg-form-group .wpcf7-not-valid{
  border-color: #c0392b !important;
}

.wpcf7-response-output{
  margin: 0 !important;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
}

form.sent .wpcf7-response-output{
  border-color: #2e7d32 !important;
  background: #eef7ee;
  color: #2e7d32;
}

form.failed .wpcf7-response-output,
form.aborted .wpcf7-response-output{
  border-color: #c0392b !important;
  background: #fdecea;
  color: #c0392b;
}

/* 8) Loader spinner position cleanup */
.sg-submit-row .wpcf7-spinner{
  margin-left: 12px;
}

/* 9) Mobile — stack two-column rows into one column */
@media (max-width: 640px){
  .wpcf7-form{
    padding: 28px 20px;
    gap: 16px;
  }
  .sg-form-row{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sg-submit-row input[type="submit"]{
    width: 100%;
    text-align: center;
  }
}

/* Hide Google reCaptcha logo */

.grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
}





