/*
Theme Name: Print and Read Design Templates
Theme URI: https://printandread.com
Description: Print and Read child theme with page templates converted from the approved frontend HTML. Requires Hello Elementor and Print and Read Core.
Author: Wisitech
Template: hello-elementor
Version: 1.1.0
Text Domain: printandread
*/

/*
 * Elementor helper classes. Add them under Advanced > CSS Classes.
 *   pr-eyebrow       small uppercase label above headings
 *   pr-serif-accent  italic serif word with marigold underline (wrap a word in <span class="pr-serif-accent">)
 *   pr-card          white card with border and radius
 *   pr-card--dark    navy card
 *   pr-chip          small grey tag
 *   pr-stage-chip    outlined pill used in the "Where is your manuscript today?" strip
 *   pr-pills         on a Form widget: style every radio / checkbox field as pills
 *   pr-check-list    list with green ticks (Text Editor or Icon List)
 *   pr-mobile-bar    sticky bottom CTA bar, shown on phones only
 */

body { background: #FFFFFF; color: var(--pr-body, #3A4256); font-family: 'Inter', system-ui, sans-serif; }

.pr-eyebrow,
.pr-eyebrow .elementor-heading-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: .16em !important;
  text-transform: uppercase; color: var(--pr-blue, #2443D6);
}
.pr-eyebrow--light .elementor-heading-title { color: #FFB627; }

.pr-serif-accent {
  font-family: 'Literata', Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.01em;
  box-shadow: inset 0 -0.2em 0 #FFB627;
}

.pr-card { background: #fff; border: 1px solid #E3E6EE; border-radius: 18px; }
.pr-card--dark { background: #101A33; border-radius: 18px; color: #C5CBDB; }

.pr-chip {
  display: inline-block; padding: 5px 12px; border-radius: 8px; background: #F5F6FA;
  font-size: 14px; font-weight: 500; color: #101A33; margin: 0 6px 6px 0;
}

.pr-stage-chip .elementor-button {
  border: 1.5px solid #CBD1DF !important; background: #fff !important; color: #101A33 !important;
  border-radius: 999px !important; min-height: 46px; font-weight: 600;
}
.pr-stage-chip .elementor-button:hover { border-color: #2443D6 !important; color: #2443D6 !important; }

.pr-check-list ul { list-style: none; margin: 0; padding: 0; }
.pr-check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.pr-check-list li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8A5F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Elementor form styling to match the design */
.elementor-form .elementor-field-group .elementor-field-textual,
.elementor-form .elementor-field-group select {
  min-height: 50px; border: 1px solid #CBD1DF; border-radius: 10px; font-size: 16px; color: #101A33;
}
.elementor-form .elementor-field-textual:focus { border-color: #2443D6; outline: 3px solid rgba(36,67,214,.3); outline-offset: 1px; }
.elementor-form .elementor-field-label { font-weight: 600; font-size: 14px; color: #101A33; }
.elementor-form .elementor-button { min-height: 58px; border-radius: 999px; font-weight: 700; font-size: 17px; }

/*
 * Tap-friendly pills for the "stage" and "interests" fields.
 * Elementor form fields have no per-field CSS class option, but every field group gets
 * the class elementor-field-group-<Field ID>, so these selectors work automatically as long
 * as the Field IDs are "stage" and "interests". Add "pr-pills" to the whole Form widget
 * (Advanced > CSS Classes) to style any other radio or checkbox field the same way.
 */
:is(.elementor-field-group-stage, .elementor-field-group-interests, .pr-pills .elementor-field-type-radio, .pr-pills .elementor-field-type-checkbox) .elementor-field-subgroup { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.elementor-field-group-stage, .elementor-field-group-interests, .pr-pills .elementor-field-type-radio, .pr-pills .elementor-field-type-checkbox) .elementor-field-option { margin: 0 !important; position: relative; }
:is(.elementor-field-group-stage, .elementor-field-group-interests, .pr-pills .elementor-field-type-radio, .pr-pills .elementor-field-type-checkbox) .elementor-field-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
:is(.elementor-field-group-stage, .elementor-field-group-interests, .pr-pills .elementor-field-type-radio, .pr-pills .elementor-field-type-checkbox) .elementor-field-option label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; margin: 0;
  border: 1.5px solid #CBD1DF; border-radius: 999px; background: #fff; color: #101A33;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
:is(.elementor-field-group-stage, .elementor-field-group-interests, .pr-pills .elementor-field-type-radio, .pr-pills .elementor-field-type-checkbox) .elementor-field-option input:checked + label { background: #2443D6; border-color: #2443D6; color: #fff; font-weight: 600; }
:is(.elementor-field-group-stage, .elementor-field-group-interests, .pr-pills .elementor-field-type-radio, .pr-pills .elementor-field-type-checkbox) .elementor-field-option input:focus-visible + label { outline: 3px solid rgba(36,67,214,.45); outline-offset: 2px; }

/* Mobile sticky CTA */
.pr-mobile-bar { display: none; }
@media (max-width: 767px) {
  .pr-mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    background: #fff; border-top: 1px solid #E3E6EE; box-shadow: 0 -8px 24px rgba(16,26,51,.10);
  }
  /* Only pages that actually show the bar get the extra space (not the ad landing page). */
  body:has(.pr-mobile-bar) { padding-bottom: 76px; }
}
