/*
Theme Name: Pizza Ido
Author: LM Studio
Text Domain: pizza-ido
*/

/* WP adds width/height attributes; let the layout CSS (aspect-ratio) size images */
img{height:auto}

/* Logos in "accepted" row (images come from Site Settings) */
.brand-logos img{height:24px;width:auto}

/* Social icons are full badges (image) */
.soc img{width:44px;height:44px;border-radius:50%;display:block}

/* Text paragraphs inside the menu highlight boxes (textarea → <p>) */
.menu-box-text{display:flex;flex-direction:column;gap:inherit}
.box-green .menu-box-text p{color:#1F3A2B;line-height:1.6}
.box-dark .menu-box-text p{color:#E9E4DC;line-height:1.6}

/* Lead / prose wrappers that hold editor HTML */
.lead p+p{margin-top:10px}
.editor-content{display:flex;flex-direction:column;gap:16px}
.editor-content h2{font-size:22px}
.editor-content ul{padding-inline-start:20px;display:flex;flex-direction:column;gap:6px}
.editor-content a{text-decoration:underline}
.editor-content mark{background:#FFF1B8;padding:0 2px}

/* Contact Form 7 inside the events form */
#lead .wpcf7-form{display:flex;flex-direction:column;gap:14px}
#lead .wpcf7-form-control-wrap{display:block}
.field .wpcf7-form-control-wrap input,.field .wpcf7-form-control-wrap textarea{width:100%;box-sizing:border-box}
.form-legend{font-size:14px;color:var(--body)}
.wpcf7-radio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.wpcf7-radio .wpcf7-list-item{margin:0}
.wpcf7-radio label{display:flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;border:1px solid #8A8279;border-radius:12px;cursor:pointer}
.wpcf7-radio input{width:20px;height:20px;accent-color:var(--red);flex:none}
.check .wpcf7-list-item{margin:0}
.check label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.check a{text-decoration:underline}
.wpcf7-not-valid{border-color:#B3261E!important;border-width:2px!important}
.wpcf7-not-valid-tip{color:#B3261E;font-size:14px;margin-top:4px;display:block}
.wpcf7 form .wpcf7-response-output{margin:0;border-radius:12px;padding:12px 14px;font-size:15px}
.wpcf7 .wpcf7-form.invalid .wpcf7-response-output,.wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output,.wpcf7 .wpcf7-form.failed .wpcf7-response-output{border-color:#B3261E;color:#B3261E;background:#FDECEA}
.wpcf7 .wpcf7-form.sent .wpcf7-response-output{border-color:var(--green);color:var(--green);background:var(--green-soft)}
.wpcf7-spinner{margin:0 8px}

/* Admin bar offset for sticky header */
@media (min-width:601px){body.admin-bar .site-header{top:var(--wp-admin--admin-bar--height,32px)}}
