/* Bognár Stúdió Gutenberg homepage — reuse the established 2026 design. */
.bs-editor-home{box-sizing:border-box;width:100%;max-width:none}
.bs-editor-home *{box-sizing:border-box}
.bs-editor-home > .wp-block-group__inner-container{width:100%;max-width:none}
.bs-editor-home .bs-home-intro{margin:4px 0 34px}
.bs-editor-home .bs-home-intro > .wp-block-group__inner-container{display:block}
.bs-editor-home .bs-home-photo{max-width:520px!important;margin:24px auto 4px}
.bs-editor-home .bs-home-photo img{display:block;width:100%;height:auto}
.bs-editor-home .bs-service-grid.wp-block-group{display:block!important;width:100%;max-width:none}
.bs-editor-home .bs-service-grid > .wp-block-group__inner-container{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;
  width:100%!important;max-width:none!important;
}
.bs-editor-home .bs-service-card{width:100%;max-width:none;min-width:0;margin:0}
.bs-editor-home .bs-service-card > .wp-block-group__inner-container{display:block}
.bs-editor-home .bs-service-card h3{margin-top:0!important}
.bs-editor-home .bs-service-card p:last-child{margin-bottom:0}
.bs-editor-home .bs-home-cta{margin:34px 0}
.bs-editor-home .bs-home-cta > .wp-block-group__inner-container{display:block}
.bs-editor-home .bs-faq{display:block}
.bs-editor-home .bs-faq > .wp-block-group__inner-container{display:block}
.bs-editor-home .bs-faq details.wp-block-details{padding:15px 0;border-bottom:1px solid var(--bs-line,#e5e0d8)}
.bs-editor-home .bs-faq details.wp-block-details summary{font-weight:700;color:var(--bs-ink,#172126)}
.bs-editor-home .bs-faq details.wp-block-details p{margin:12px 0 0}
.bs-editor-home .bs-preferred-source.wp-block-group{display:block!important;width:100%;max-width:none}
.bs-editor-home .bs-preferred-source > .wp-block-group__inner-container{
  display:flex!important;align-items:center;justify-content:space-between;gap:22px;
  width:100%!important;max-width:none!important;
}
.bs-editor-home .bs-preferred-copy{flex:1 1 auto;min-width:0}
.bs-editor-home .bs-preferred-copy > .wp-block-group__inner-container{display:block}
.bs-editor-home .bs-preferred-copy h3{font-family:Georgia,"Times New Roman",serif;font-size:18px!important;font-weight:700;line-height:1.35;margin:0 0 4px;color:var(--bs-ink,#172126)}
.bs-editor-home .bs-preferred-copy p{font-size:15px;color:var(--bs-muted,#5f6b70);line-height:1.5;margin:0}
.bs-editor-home .bs-preferred-source .wp-block-buttons{margin:0;flex:0 0 auto}
.bs-editor-home .bs-preferred-source .bs-preferred-trigger{
  display:inline-flex;align-items:center;width:max-content;max-width:100%;gap:0;
  border:1px solid #c9cdd1;border-radius:24px;background:#fff;
  padding:10px 16px;min-height:44px;cursor:pointer;
}
.bs-editor-home .bs-preferred-source .bs-preferred-trigger .wp-block-button__link{
  background:transparent!important;color:#202124!important;padding:0!important;
  margin:0!important;display:inline-flex;gap:9px;align-items:center;
  font-size:14px!important;font-weight:600!important;white-space:nowrap;
  border:0!important;box-shadow:none!important;text-decoration:none!important;
}
.bs-editor-home .bs-preferred-source .bs-preferred-trigger .wp-block-button__link::before{
  content:"G";font-size:18px;font-weight:800;color:#4285f4;
  display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
}
@media(max-width:768px){
 .bs-editor-home .bs-service-grid>.wp-block-group__inner-container{grid-template-columns:1fr;gap:14px}
 .bs-editor-home .bs-preferred-source>.wp-block-group__inner-container{flex-direction:column;align-items:flex-start}
 .bs-editor-home .bs-preferred-source .bs-preferred-trigger .wp-block-button__link{white-space:normal}
}
/* Gutenberg canvas, including the iframe editor and nested block wrappers.
   No rule below changes public page width. */
.editor-styles-wrapper:has(.bs-editor-home),
.editor-styles-wrapper:has(.bs-editor-home) .is-root-container{
  --wp--style--global--content-size:1050px;
  --wp--style--global--wide-size:1050px;
}
.editor-styles-wrapper .is-root-container>.bs-editor-home,
.editor-styles-wrapper .is-root-container>.block-editor-block-list__block:has(.bs-editor-home){
  box-sizing:border-box!important;
  width:calc(100% - 30px)!important;
  max-width:1050px!important;margin-inline:auto!important;
}
.editor-styles-wrapper .bs-editor-home,
.editor-styles-wrapper .bs-editor-home>.wp-block-group__inner-container,
.editor-styles-wrapper .bs-editor-home>.block-editor-inner-blocks,
.editor-styles-wrapper .bs-editor-home .block-editor-inner-blocks>.block-editor-block-list__layout{
  width:100%!important;max-width:none!important;min-width:0;
}
.editor-styles-wrapper .bs-editor-home .block-editor-block-list__block,
.editor-styles-wrapper .bs-editor-home .wp-block-group{
  max-width:none!important;min-width:0;
}
.editor-styles-wrapper .bs-editor-home .bs-service-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;
}
.editor-styles-wrapper .bs-editor-home .bs-home-intro{background:#f4f0e8;padding:24px 26px;border-left:4px solid #8f321f}
.editor-styles-wrapper .bs-editor-home .bs-service-card{border:1px solid #e5e0d8;border-radius:12px;background:#fbfaf7;padding:22px}
.editor-styles-wrapper .bs-editor-home .bs-home-cta{padding:24px 26px;background:#fffaf4;border:1px solid #d9cfc3}
.editor-styles-wrapper .bs-editor-home h2,.editor-styles-wrapper .bs-editor-home h3{color:#172126;line-height:1.25}
.editor-styles-wrapper .bs-editor-home p{color:#283337;line-height:1.65}
.editor-styles-wrapper .bs-editor-home .bs-preferred-source>.block-editor-inner-blocks>.block-editor-block-list__layout{
  display:block!important;width:100%!important;
}
.editor-styles-wrapper .bs-editor-home .bs-preferred-copy,
.editor-styles-wrapper .bs-editor-home .bs-preferred-copy .block-editor-block-list__block{
  width:100%!important;max-width:none!important;word-break:normal!important;
}
.editor-styles-wrapper .bs-editor-home .bs-preferred-source .wp-block-buttons{margin-top:14px}
@media(max-width:768px){
 .editor-styles-wrapper .bs-editor-home .bs-service-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr}
}

/* Editorial preview polish: only WordPress's editing canvas, never visitors.
   The earlier full-width block rule unintentionally overrides the original
   520px width of the home photograph. */
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home .block-editor-block-list__block.bs-home-photo,
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home .wp-block-image.bs-home-photo,
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home figure.bs-home-photo {
  display:block!important;
  box-sizing:border-box!important;
  width: min(100%, 520px)!important;
  max-width:520px!important;
  min-width:0!important;
  margin:24px auto 4px!important;
  float:none!important;
}
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home .bs-home-photo img {
  display:block!important;
  width:100%!important;
  max-width:520px!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}

/* Bring the edit-mode type closer to the live Ashe design, without changing
   the roomy canvas established for comfortable editing. */
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home,
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home p,
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home li,
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home summary {
  font-family:"Trebuchet MS",Verdana,Arial,sans-serif!important;
  font-size:18px!important;
  line-height:1.72!important;
  color:#283337;
}
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home .bs-kicker {
  font-size:16px!important;
}
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home h2 {
  font-family:"Trebuchet MS",Verdana,Arial,sans-serif!important;
  font-size:clamp(27px,2.3vw,34px)!important;
  line-height:1.24!important;
  font-weight:700;
}
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home h3:not(.bs-preferred-copy h3) {
  font-family:"Trebuchet MS",Verdana,Arial,sans-serif!important;
  font-size:clamp(22px,1.8vw,27px)!important;
  line-height:1.3!important;
  font-weight:700;
}
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home .bs-preferred-copy p {
  font-size:15px!important;
}
.editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home .bs-preferred-source .wp-block-button__link {
  font-size:14px!important;
}
.editor-styles-wrapper:has(.bs-editor-home) .editor-post-title__input,
.editor-styles-wrapper:has(.bs-editor-home) .edit-post-visual-editor__post-title-wrapper h1,
.editor-styles-wrapper:has(.bs-editor-home) h1.wp-block-post-title {
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(34px,3.35vw,44px)!important;
  font-weight:400!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
  color:#172126!important;
}
@media(max-width:768px){
 .editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home p,
 .editor-styles-wrapper:has(.bs-editor-home) .bs-editor-home li {font-size:16px!important}
 .editor-styles-wrapper:has(.bs-editor-home) .editor-post-title__input {font-size:30px!important}
}