@charset "UTF-8";
/*
Theme Name: Once Child
Theme URI: https://codesupply.co/themes/once/
Description: Once Child Theme
Author: Code Supply Co.
Author URI: https://codesupply.co/
Template: once
Version: 1.0.0
*/

h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6,
.entry-title .meta-category,
.entry-title .meta-category a{font-family: "Zen Kaku Gothic New", sans-serif !important}

.entry-title-style .title-wrap:first-line,
.entry-header .post-header-inner .entry-title:first-line,
.archive-full .entry-title:first-line,
.comment-author .fn:first-line,
.cs-post-carousel .cs-carousel-title:first-line,
.cs-subscription .cs-subscription-title:first-line,
.post-author .title-author:first-line,
.cs-widget-author .cs-author-title:first-line,
.cs-mm-post .entry-title:first-line,
.footer-subscribe .pk-title:first-line,
.pk-subscribe-form-wrap .pk-font-heading:first-line,
.pk-font-heading:first-line,
.post-subscribe .pk-title:first-line,
.pk-alt-instagram-title .pk-alt-title:first-line,
.pk-inline-posts-container .pk-title:first-line{font-family: "Zen Kaku Gothic New", sans-serif !important}

.entry-title .title-wrap,
.post-header-inner .entry-title,
.comment-author .fn,
blockquote,
.cs-post-carousel .cs-carousel-title,
.cs-subscription .cs-subscription-title,
.cs-widget-author .cs-author-title,
.post-author .title-author,
.entry-content {font-family: "Zen Kaku Gothic New", sans-serif !important}

.navbar-nav > li > a, .cs-mega-menu-child > a, .widget_archive li, .widget_categories li, .widget_meta li a, .widget_nav_menu .menu > li > a, .widget_pages .page_item a {
    font-family: "Zen Kaku Gothic New", sans-serif !important}

.entry-excerpt, .post-excerpt, .pk-alt-instagram-desc {
    font-family: "Zen Kaku Gothic New", sans-serif !important;
    font-size: 0.875rem !important;
}

.navbar-nav > li > a, .cs-mega-menu-child > a, .widget_archive li, .widget_categories li, .widget_meta li a, .widget_nav_menu .menu > li > a, .widget_pages .page_item a {
    text-transform: none !important;
}

img{border-radius:8px;overflow:hidden}
img.no-radius,
.logo img,
.site-logo img,
.woocommerce img.attachment-shop_catalog,
.woocommerce img.attachment-shop_single{border-radius:0}

.avatar,
.comment-author img,
.author-avatar img{border-radius:50%}

img:hover{opacity:.95}

.site-info .footer-nav-menu .navbar-nav {
        display: block !important;
}

.site-info .footer-nav-menu .menu-item {
        margin-top: 0 !important;
}

.pk-alert-warning {
    display: none !important;
}

.title-block, .pk-font-block {
    text-transform: none !important;
}


button, .button, input[type="button"], input[type="reset"], input[type="submit"], .cs-font-primary, .no-comments, .text-action, .archive-wrap .more-link, .share-total, .nav-links, .comment-reply-link, .post-sidebar-tags a, .meta-category a, .read-more, .entry-more a, .navigation.pagination .nav-links > span, .navigation.pagination .nav-links > a, .subcategories .cs-nav-link, .cs-social-accounts .cs-social-label, .post-prev-next .link-label a, .author-social-accounts .author-social-label {
    text-transform: none !important;
}

.pk-widget-posts .pk-current-number,
.pk-widget-posts .pk-post-info .pk-post-meta,
.navbar-follow .navbar-follow-btn,
.pk-scroll-to-top,
.pk-widget-posts .pk-post-data .post-meta,
.offcanvas h2,
.post-comments-show,
.navigation.pagination {display:none!important}

.pk-widget-posts .pk-post-info{margin-top:0!important}

.post-author .authors-default .author-social-accounts {
    display: none !important;}

.post-meta {
    display: none !important;
} 

.post-prev-next .link-label a.link-arrow {
    display: none !important;
}

/* layout for subscription section (как было) */
.section-subscription .cs-container{display:flex;flex-wrap:wrap;align-items:flex-start}
.section-subscription .cs-subscription-title{flex:0 0 100%;margin:0 0 30px;text-align:left}
.section-subscription h4{flex:0 0 33.333%;margin:0;padding-right:40px;box-sizing:border-box}
.section-subscription .contact-form{flex:0 0 66.666%;box-sizing:border-box}

/* ===== CF7 styles applied to ALL CF7 forms (тот же дизайн, что был в section-subscription) ===== */
.wpcf7 form.wpcf7-form{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.wpcf7 form.wpcf7-form>p{display:contents}
.wpcf7 form.wpcf7-form br{display:none}

.wpcf7 form.wpcf7-form .wpcf7-form-control-wrap,
.wpcf7 form.wpcf7-form input.wpcf7-submit{flex:1 1 0;min-width:180px}

.wpcf7 form.wpcf7-form input[type="text"],
.wpcf7 form.wpcf7-form input[type="tel"],
.wpcf7 form.wpcf7-form input[type="email"],
.wpcf7 form.wpcf7-form input[type="url"],
.wpcf7 form.wpcf7-form input[type="number"]{
  width:100%;
  background:transparent;
  border:none;
  border-bottom:1px solid #ccc;
  padding:10px 0;
  font-size:16px;
  outline:none;
  box-sizing:border-box;
}

.wpcf7 form.wpcf7-form input:focus{border-bottom-color:#000}

.wpcf7 form.wpcf7-form input.wpcf7-submit{
  padding:10px 0;
  font-size:16px;
  font-weight:700;
  color:#000;
  cursor:pointer;
  white-space:nowrap;
  margin-left:0;
  background:transparent;
  border:none;
}

.wpcf7 form.wpcf7-form input.wpcf7-submit:hover:not(:disabled){color:#666}
.wpcf7 form.wpcf7-form input.wpcf7-submit:disabled{color:#999;cursor:not-allowed}

/* acceptance/checkbox full width */
.wpcf7 form.wpcf7-form .wpcf7-acceptance,
.wpcf7 form.wpcf7-form .wpcf7-form-control-wrap[data-name*="acceptance"]{flex:0 0 100%}

.wpcf7 .wpcf7-list-item-label{font-size:14px;color:#666}
.wpcf7 .wpcf7-spinner{display:none}

/* mobile (тот же принцип, но для всех форм) */
@media (max-width:768px){
  .section-subscription h4,
  .section-subscription .contact-form{flex:0 0 100%}

  .wpcf7 form.wpcf7-form{flex-direction:column;align-items:stretch}
  .wpcf7 form.wpcf7-form .wpcf7-form-control-wrap,
  .wpcf7 form.wpcf7-form input.wpcf7-submit{flex:0 0 auto;width:100%;min-width:0}
  .wpcf7 form.wpcf7-form input.wpcf7-submit{text-align:center}
}

/* CF7: светло-коричневый фон + скругление */
.wpcf7 form.wpcf7-form{
    background:#F3ECE4;          /* светло-коричневый */
    border-radius:16px;          /* скругление */
    padding:24px;                /* воздух внутри */
    box-sizing:border-box;
}
