/*
Theme Name: SprayArt
Theme URI: https://sprayart.ro/
Description: Child theme of Twenty Twenty-Five recreating the original Kora look for SprayArt (Roboto/Merriweather, Kora header, footer, blog and portfolio styling).
Author: SprayArt
Template: twentytwentyfive
Version: 1.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: sprayart
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
a { transition: color .3s, border-color .3s, padding .3s; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Header ---------- */
.sa-header { background: #fff; box-shadow: 0 1px 0 #eee; position: relative; z-index: 50; }
.sa-header-inner { min-height: 110px; padding: 0 15px; max-width: 1170px; margin: 0 auto !important; box-sizing: border-box; }
.sa-logo { margin: 0; line-height: 0; }
.sa-logo img { width: 145px; height: 50px; display: block; }
.sa-nav .wp-block-navigation-item__content { font-family: Roboto, sans-serif; font-size: 14px; line-height: 20px; text-transform: uppercase; color: #101010; padding: 15px 0 !important; border-bottom: 2px solid transparent; text-decoration: none; }
.sa-nav .wp-block-navigation-item__content:hover,
.sa-nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: #000; }
.sa-nav.wp-block-navigation { gap: 0; }
.sa-nav .wp-block-navigation__container { gap: 0 !important; }
.sa-nav .wp-block-navigation-item { padding: 0 15px; }
.sa-nav .wp-block-navigation__responsive-container-open svg,
.sa-nav .wp-block-navigation__responsive-container-close svg { width: 24px; height: 24px; }

@media (max-width: 767px) {
  .sa-header-inner { flex-direction: column; justify-content: center !important; padding: 20px 15px 10px; min-height: 0; gap: 12px; }
  .sa-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 60px 30px; }
  .sa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { padding: 0; }
  .sa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 16px; padding: 10px 0 !important; }
}

/* ---------- Footer ---------- */
.sa-footer { background: #f1f5f8; padding: 100px 15px 81px; }
.sa-footer .social-link, .sa-share { list-style: none; padding: 0; margin: 0 0 80px; text-align: center; }
.sa-footer .social-link li { display: inline-block; margin: 0 40px 0 0; }
.sa-footer .social-link li a, .sa-share li a { font-family: Merriweather, serif; font-size: 14px; line-height: 20px; font-style: italic; color: #292f33; padding-bottom: 5px; border-bottom: 1px solid transparent; text-decoration: none; }
.sa-footer .social-link li a:hover, .sa-share li a:hover { border-bottom-color: #292f33; }
@media (max-width: 767px) { .sa-footer .social-link { margin-bottom: 30px; } }

/* ---------- Kora helpers used in content ---------- */
.font-bold { font-weight: 700 !important; }
.margin-bottom-30 { margin-bottom: 30px !important; }
p.default, .sa-lead { font-size: 14px; line-height: 30px; font-style: italic; color: #8899a6; }
.sa-btn { display: inline-block; font-family: Merriweather, serif; font-size: 16px; line-height: 30px; font-weight: 100; font-style: italic; color: #292f33; text-decoration: none; padding: 0 0 5px; border-bottom: 1px solid transparent; }
.sa-btn:hover, .wp-block-read-more:hover { border-bottom-color: #292f33; }

/* ---------- Home intro ---------- */
.sa-home { padding: 0 0 100px; }
.sa-home h2.sa-title { font-size: 60px; line-height: 66px; margin: 20px 0 30px; text-align: center; }
.sa-home p.sa-intro { font-size: 16px; line-height: 30px; font-style: italic; color: #8899a6; text-align: center; margin: 0 0 45px; }
.sa-portfolio-page { padding: 100px 0; }
@media (max-width: 767px) { .sa-home h2.sa-title { font-size: 40px; line-height: 46px; } }

/* ---------- Contact ---------- */
.sa-contact { padding: 40px 0 150px; margin: 0 !important; gap: 30px !important; }
.sa-contact-left { max-width: 410px; margin: 0 15px 0 auto !important; }
.sa-contact h1 { font-size: 65px; line-height: 71.5px; margin: 20px 0 10px; }
.sa-contact h3 { font-size: 30px; line-height: 33px; margin: 20px 0 10px; }
.sa-contact h3.sa-form-title { margin-top: 50px; margin-bottom: 30px; }
.sa-contact .contact-info h6 { font-family: Roboto, sans-serif; font-size: 16px; line-height: 17.6px; font-weight: 700; margin: 30px 0 20px; color: #292f33; }
.sa-contact .contact-info ul { list-style: none; padding: 0; margin: 0 -15px; display: flex; flex-wrap: wrap; }
.sa-contact .contact-info li { font-family: Roboto, sans-serif; font-size: 14px; line-height: 28px; padding: 0 15px; width: 41.6667%; box-sizing: border-box; color: #333; }
.sa-contact-map { min-height: 600px; }
.sa-contact-map iframe { display: block; width: 100%; height: 100%; min-height: 947px; border: 0; }
@media (max-width: 781px) { .sa-contact-map iframe { min-height: 450px; } }
@media (max-width: 781px) {
  .sa-contact-left { max-width: none; margin: 0 !important; padding: 0 15px; }
  .sa-contact .contact-info li { width: 100%; }
}

/* Contact Form 7 – Kora look (form uses Bootstrap col-sm-* classes) */
.wpcf7 form { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.wpcf7 form > p { margin: 0; padding: 0 15px; box-sizing: border-box; width: 100%; }
.wpcf7 form > p.col-sm-6 { width: 50%; }
.wpcf7 form > p.pl-0 { padding-left: 15px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea { width: 100%; box-sizing: border-box; background: #f5f8fa; border: 0; border-bottom: 1px solid #f5f8fa; font-family: Merriweather, serif; font-style: italic; font-size: 14px; line-height: 30px; color: #000; margin: 0 0 20px; border-radius: 0; }
.wpcf7 input[type=text], .wpcf7 input[type=email] { height: 60px; padding: 0 20px; }
.wpcf7 textarea { height: 208px; padding: 10px 20px; font-size: 13px; color: #8899a6; margin: 0; resize: vertical; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #8899a6; opacity: 1; }
.wpcf7 form > p:last-of-type { text-align: right; }
.wpcf7 input[type=submit] { display: inline-block; z-index: 2; background: none; border: 0; border-bottom: 1px solid transparent; font-family: Merriweather, serif; font-style: italic; font-size: 14px; line-height: 30px; color: #000; margin: -60px 30px 20px 0; padding: 0; cursor: pointer; position: relative; top: -40px; }
.wpcf7 input[type=submit]:hover { border-bottom-color: #000; }
.wpcf7 .wpcf7-spinner { position: absolute; }
.wpcf7 .wpcf7-response-output { width: 100%; margin: 10px 15px; font-size: 13px; }
@media (max-width: 767px) { .wpcf7 form > p.col-sm-6 { width: 100%; } }

/* ---------- Blog list (Kora blog style 3) ---------- */
.sa-blog { padding: 100px 0 50px; }
.sa-blog .sa-post-row { margin-bottom: 50px !important; gap: 30px !important; }
.sa-blog .wp-block-post-featured-image img { width: 100%; height: auto; }
.sa-blog .wp-block-post-title { font-size: 30px; line-height: 46px; margin: 20px 0 !important; }
.sa-blog .wp-block-post-title a { color: #292f33; text-decoration: none; }
.sa-blog .sa-by, .sa-blog .wp-block-post-excerpt__excerpt { font-size: 14px; line-height: 30px; font-style: italic; color: #8899a6; margin: 0 0 20px; }
.sa-blog .sa-by .wp-block-post-author-name { color: #292f33; display: inline; }
.sa-blog .sa-by > * { display: inline; margin: 0; }
.sa-blog .wp-block-read-more { font-family: Merriweather, serif; font-size: 16px; line-height: 30px; font-weight: 100; font-style: italic; color: #292f33; text-decoration: none; padding: 0 0 5px; border-bottom: 1px solid transparent; margin-top: 20px; display: inline-block; }
.sa-blog .sa-links { gap: 70px !important; margin-top: 0; }
.sa-blog .sa-links .sa-btn { margin-top: 20px; }
.sa-blog .wp-block-query-pagination { margin-top: 30px; font-style: italic; }

/* ---------- Single post ---------- */
.sa-single { padding: 80px 0 100px; }
.sa-single .wp-block-post-title { font-size: 60px; line-height: 66px; margin: 20px 0 50px; }
.sa-single .wp-block-post-content { font-size: 14px; line-height: 30px; font-style: italic; color: #8899a6; }
.sa-single .wp-block-post-content p { margin: 0 0 10px; }
.sa-single .sa-post-nav { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 6px 0; margin-top: 30px !important; font-size: 12px !important; line-height: 20px; text-transform: uppercase; color: #8899a6; max-width: 722px; }
.sa-single .sa-post-nav * { font-size: 12px !important; }
.sa-single .wp-block-post-content, .sa-single .sa-post-nav { max-width: 722px; margin-left: max(0px, calc((100% - 1140px) / 2)) !important; margin-right: auto !important; }
.sa-single .sa-feat { margin: 0 auto 30px max(0px, calc((100% - 1140px) / 2)) !important; }
.sa-single .sa-feat img { width: auto !important; max-width: 100%; height: auto !important; }
.sa-single .sa-post-nav a { color: #8899a6; text-decoration: none; }
.sa-single .sa-meta { padding: 10px 15px 0; font-size: 13px; font-style: italic; color: #8899a6; line-height: 34px; }
.sa-single .sa-meta a { color: #8899a6; text-decoration: none; }
.sa-single .sa-meta .wp-block-post-author-name { color: #292f33; }
.sa-single h6.sa-share-title { font-size: 16px; text-transform: uppercase; margin: 30px 15px 10px; }
.sa-single .sa-share { text-align: left; margin: 0 15px; }
.sa-single .sa-share li { line-height: 32px; }
@media (max-width: 767px) { .sa-single .wp-block-post-title { font-size: 36px; line-height: 42px; } }

/* ---------- Single portfolio item ---------- */
.sa-portfolio-single { padding: 80px 0 100px; }
.sa-portfolio-single .wp-block-post-title { font-size: 60px; line-height: 66px; margin: 0 0 40px; }
.sa-portfolio-single .wp-block-post-terms { font-style: italic; color: #8899a6; font-size: 14px; margin-bottom: 30px; }
.sa-portfolio-single .wp-block-post-terms a { color: #8899a6; text-decoration: none; }
.sa-portfolio-single .wp-block-post-content { font-size: 14px; line-height: 30px; font-style: italic; color: #8899a6; }
.sa-single .sa-meta .wp-block-post-author-name::before { content: "By "; color: #8899a6; }
@media (max-width: 767px) { .sa-nav.wp-block-navigation { top: 0; } }

/* Classic [gallery] shortcode (WordPress' default gallery CSS is not printed for block themes) */
.gallery { display: flex; flex-wrap: wrap; margin: 0 auto 10px; }
.gallery .gallery-item { margin: 10px 0 0; text-align: center; box-sizing: border-box; }
.gallery .gallery-item img { border: 2px solid #cfcfcf; max-width: 100%; height: auto; display: inline-block; }
.gallery .gallery-caption { margin-left: 0; }
.gallery-columns-1 .gallery-item { width: 100%; } .gallery-columns-2 .gallery-item { width: 50%; } .gallery-columns-3 .gallery-item { width: 33.333%; }
.gallery-columns-4 .gallery-item { width: 25%; } .gallery-columns-5 .gallery-item { width: 20%; } .gallery-columns-6 .gallery-item { width: 16.666%; }
.gallery-columns-7 .gallery-item { width: 14.285%; } .gallery-columns-8 .gallery-item { width: 12.5%; } .gallery-columns-9 .gallery-item { width: 11.111%; }
@media (max-width: 600px) { .gallery .gallery-item { width: 50%; } }
