/*
Theme Name: Il Castello - Twenty Fourteen Child
Template: twentyfourteen
Version: 1.1.0
Description: Tema figlio per la ricerca a fisarmonica del Coro Il Castello.
*/
body.search .castello-search-page{max-width:850px;margin:0 auto;padding:28px 24px 45px}
body.search .castello-search-page .page-title{margin:0 0 12px;font-size:28px;text-transform:none}
body.search .castello-search-count{color:#666;margin-bottom:22px}
body.search details.castello-result{background:#fff;border:1px solid #ddd;border-radius:8px;margin:0 0 10px;overflow:hidden}
body.search .castello-result summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 17px;cursor:pointer;list-style:none}
body.search .castello-result summary::-webkit-details-marker{display:none}
body.search .castello-result summary::after{content:'+';font-size:23px;color:#278122}
body.search .castello-result[open] summary::after{content:'−'}
body.search .castello-result-title{display:block;color:#278122;font-size:18px;font-weight:600;line-height:1.4}
body.search .castello-result-date{display:block;color:#777;font-size:12px;margin-top:4px}
body.search .castello-result-body{padding:16px;border-top:1px solid #eee}
body.search .castello-result-body::after{content:'';display:table;clear:both}
body.search .castello-thumb{float:left;max-width:190px;margin:0 16px 8px 0}
body.search .castello-thumb img{height:auto;width:100%;border-radius:5px}
body.search .castello-result-body p{margin:0 0 12px}
body.search .castello-read-more{color:#278122;font-weight:600}
@media(max-width:600px){body.search .castello-search-page{padding:20px 14px}body.search .castello-thumb{float:none;max-width:100%;margin-bottom:12px}}

/* Accordion automatico per Gutenberg: stesso aspetto della ricerca. */
.castello-home-accordion{max-width:850px;margin:0 auto 24px}
.castello-home-accordion details.castello-result{background:#fff;border:1px solid #ddd;border-radius:8px;margin:0 0 10px;overflow:hidden}
.castello-home-accordion .castello-result summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 17px;cursor:pointer;list-style:none}
.castello-home-accordion .castello-result summary::-webkit-details-marker{display:none}
.castello-home-accordion .castello-result summary::after{content:'+';font-size:23px;color:#278122;flex-shrink:0}
.castello-home-accordion .castello-result[open] summary::after{content:'−'}
.castello-home-accordion .castello-result-title{display:block;color:#278122;font-size:18px;font-weight:600;line-height:1.4}
.castello-home-accordion .castello-result-date{display:block;color:#777;font-size:12px;margin-top:4px}
.castello-home-accordion .castello-result-body{padding:16px;border-top:1px solid #eee}
.castello-home-accordion .castello-result-body::after{content:'';display:table;clear:both}
.castello-home-accordion .castello-thumb{float:left;max-width:190px;margin:0 16px 8px 0}
.castello-home-accordion .castello-thumb img{height:auto;width:100%;border-radius:5px}
.castello-home-accordion .castello-result-body p{margin:0 0 12px}
.castello-home-accordion .castello-read-more{color:#278122;font-weight:600}
@media(max-width:600px){.castello-home-accordion .castello-thumb{float:none;max-width:100%;margin-bottom:12px}}
