p,
.wp-block-paragraph,
.entry-content p,
.post-content p,
.site-content p,
article p,
.wp-block-post-content p {
    text-align: justify !important;
}
.sharedaddy,
.sd-sharing,
.sd-block,
.sd-social-official,
.jp-relatedposts-i2,
div.sharedaddy {
    display: none !important;
}

/* Sezioni in prima pagina: nasconde la data */
.tag-sezioni .entry-meta{display:none !important;}

/* Logo nitido: file grande mostrato a 100px */
.custom-logo{width:100px !important;height:auto !important;}

/* === Prima pagina: foto più bassa, fascia Benvenuti centrata, menu scuro trasparente === */
/* Del riquadro Benvenuti del tema resta solo il link «Leggi tutto», sotto il testo */
.home .featured-page-highlight{float:none !important;width:auto !important;height:auto !important;margin:0 auto !important;padding:0 !important;text-align:center;}
.home .featured-page-highlight article{position:static !important;width:auto !important;height:auto !important;background:transparent !important;border:0 !important;padding:0 !important;}
.home .featured-page-highlight .entry-title, .home .featured-page-highlight .sharedaddy{display:none !important;}
.home .featured-page-highlight .entry-summary{padding:0 !important;}
.home .featured-page-highlight .entry-summary p{font-size:0 !important;margin:0 !important;text-align:center !important;}
.home .featured-page-highlight .entry-summary p .more-link{font-size:17px !important;color:#c9a44c !important;font-weight:bold;letter-spacing:.5px;}
.home .featured-content-header-wrap{display:block !important;width:auto !important;height:auto !important;}
.home .featured-content-header{float:none !important;width:auto !important;max-width:760px;margin:0 auto 6px !important;text-align:center;}
.home .featured-content-title:after{content:"";display:block;width:60px;height:1px;background:#b08d4a;margin:16px auto 0;}
.home .featured-content-description, .home .featured-content-description p{text-align:center !important;color:#d8d0c2 !important;font-size:18px;line-height:1.7;}
.home .featured-content-description .sharedaddy{display:none !important;}
.home .featured-content-description p{margin-bottom:0 !important;}
@media (min-width: 960px){
 .home #masthead{min-height:62vh !important;height:auto !important;}
 .home .featured-content-header-wrap{padding-top:44px !important;padding-bottom:36px !important;}
 .main-navigation ul.menu{background:linear-gradient(rgba(20,16,12,.50),rgba(20,16,12,.40)) !important;border:1px solid rgba(201,164,76,.55) !important;border-radius:6px !important;-webkit-backdrop-filter:none;backdrop-filter:none;}
 .main-navigation ul.menu > li > a{color:#fff !important;text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 10px rgba(0,0,0,.45);}
 .main-navigation ul.menu > li > a .menu-item-description{color:#f6efe0 !important;font-size:15px !important;line-height:1.5 !important;text-shadow:0 1px 2px rgba(0,0,0,1),0 0 8px rgba(0,0,0,.7);}
 .main-navigation ul.menu > li > .dropdown-toggle{color:#c9a44c !important;border-color:#c9a44c !important;background:transparent !important;}
 /* Pagine interne: la foto in alto è schiarita, quindi barra scura piena per leggere bene */
 body:not(.home) .main-navigation ul.menu{background:rgba(34,29,24,.92) !important;border:1px solid rgba(201,164,76,.6) !important;}
 body:not(.home) .main-navigation ul.menu > li > a, body:not(.home) .main-navigation ul.menu > li > a .menu-item-description{text-shadow:none !important;}
 body:not(.home) .main-navigation ul.menu > li > a .menu-item-description{color:#d8d0c2 !important;}
}

.home .featured-content-header-wrap{display:none !important;}


/* Telefono */
@media (max-width:959px){
.site-header .header-wrap{padding:16px 104px 14px 16px !important;display:flex !important;align-items:center;gap:12px;flex-wrap:nowrap;}
.site-header .custom-logo-link{flex:0 0 auto;margin:0 !important;}
.site-header .custom-logo{width:58px !important;height:auto;}
.site-header .site-branding{flex:1 1 auto;margin:0 !important;padding:0 !important;}
.site-title{font-size:17px !important;line-height:1.25 !important;letter-spacing:2px !important;margin:0 !important;text-align:left !important;}
.site-title a{text-align:left !important;}
.site-description{font-size:13px !important;line-height:1.4 !important;margin:4px 0 0 !important;text-align:left !important;}
.home .site-header{background:linear-gradient(rgba(20,16,12,.25),rgba(20,16,12,.55)),url(https://pantocratore.com/wp-content/uploads/2024/03/cropped-immagini-monastero-0928-copia-1.jpg) center 60%/cover !important;}
.home .site-title a,.home .site-description{color:#fff !important;text-shadow:0 1px 4px rgba(0,0,0,.8);}
.home .site-header .header-wrap{padding-bottom:70px !important;}
.main-navigation .menu-toggle{margin:0 18px 12px !important;}
.home #masthead{min-height:0 !important;}
#featured-content .featured-content-inner{display:grid !important;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px !important;}
#featured-content article{width:auto !important;float:none !important;margin:0 !important;padding:0 !important;min-height:0 !important;height:auto !important;}
#featured-content article .post-thumbnail{margin:0 !important;padding:0 !important;}
#featured-content article .post-thumbnail img{width:100% !important;height:auto !important;display:block;}
#featured-content article .entry-title{font-size:12px !important;line-height:1.25 !important;letter-spacing:.5px !important;margin:6px 0 0 !important;padding:0 !important;text-align:center;}
#featured-content article .entry-summary,#featured-content article .entry-meta{display:none !important;}
#featured-content{padding:0 !important;}
.pnt-mobile-cal{margin:14px 12px 14px !important;padding:0 !important;}
.pnt-mobile-cal .widget-title{font-size:15px !important;margin:0 0 8px !important;}
}
@media (max-width:959px){.pnt-oggi .po-santi,.pnt-oggi .po-mob{text-align:left !important;}}
@media (max-width:959px){
#main article.card{margin:0 12px 10px !important;height:auto !important;min-height:0 !important;width:auto !important;max-width:none !important;float:none !important;padding:0 !important;}
#main.site-main{padding:12px 0 !important;margin:0 !important;}
#main article.card .entry-header{display:grid !important;grid-template-columns:1fr 84px;grid-template-areas:"meta thumb" "title thumb";align-items:start;gap:2px 12px;height:auto !important;min-height:0 !important;padding:10px 12px !important;}
#main article.card .entry-header .entry-meta{grid-area:meta;margin:0 !important;padding:0 !important;border:0 !important;font-size:11px !important;}
#main article.card .entry-header .entry-title{grid-area:title;font-size:17px !important;line-height:1.3 !important;margin:0 !important;padding:0 !important;}
#main article.card .entry-header .post-thumbnail{grid-area:thumb;width:84px !important;height:84px !important;min-height:0 !important;margin:0 !important;border-radius:3px;background-size:cover !important;background-position:center !important;-webkit-mask-image:none !important;mask-image:none !important;}
#main article.card .entry-header .post-thumbnail:before,#main article.card .entry-header .post-thumbnail:after{display:none !important;}
#main article.card .entry-content{display:none !important;}
}
@media (max-width:959px){.home #main.site-main:before{content:"Ultimi articoli";display:block;margin:6px 14px 12px;font-family:"Playfair Display SC",serif;font-size:15px;letter-spacing:2px;text-transform:uppercase;color:#333;}}

/* ===== Fascia sezioni in home e data degli articoli (dic. 2026) ===== */
body #featured-content{padding:34px 0 !important;}
body #featured-content article,body #featured-content article *{border:0 !important;box-shadow:none !important;}
body #featured-content article:before,body #featured-content article:after,body #featured-content .featured-content-inner:before,body #featured-content .featured-content-inner:after{display:none !important;}
body #featured-content .entry-meta{display:none !important;}
body #featured-content .featured-content-inner{display:grid !important;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1200px;margin:0 auto;padding:0 20px;box-sizing:border-box;}
body #featured-content article{width:auto !important;float:none !important;margin:0 !important;padding:0 !important;position:relative;overflow:hidden;border-radius:4px;}
body #featured-content .post-thumbnail{margin:0 !important;padding:0 !important;overflow:hidden;}
body #featured-content .post-thumbnail img{display:block;width:100% !important;height:100% !important;object-fit:cover;transition:transform .4s,filter .4s;}
/* Fascia sezioni: schede compatte */
body #featured-content article{background:#2b2620;border:1px solid rgba(201,164,76,.35) !important;transition:border-color .25s,transform .25s;}
body #featured-content article:hover{border-color:#c9a44c !important;transform:translateY(-2px);}
body #featured-content .post-thumbnail{height:190px;}
body #featured-content .post-thumbnail img{transform:none;object-position:center 40%;}
body #featured-content article:hover .post-thumbnail img{transform:scale(1.05);}
body #featured-content .entry-title{font-size:19px !important;letter-spacing:2px !important;line-height:1.3 !important;margin:16px 18px 6px !important;text-align:left !important;}
body #featured-content .entry-title a{color:#f3ead6 !important;}
body #featured-content .entry-summary{margin:0 18px 16px !important;padding:0 !important;}
body #featured-content .entry-summary p{font-size:15px !important;line-height:1.5 !important;color:#cfc6b6 !important;text-align:left !important;margin:0 0 8px !important;}
body #featured-content .entry-summary:after{content:"Entra \2192";font-size:14px;font-weight:bold;letter-spacing:.5px;color:#c9a44c;}
body #featured-content .entry-title a:after{content:"";position:absolute;inset:0;}

/* foto intere (non ritagliate a quadrato) e inquadratura per ciascuna */
body #post-7656 .post-thumbnail img{object-position:center 70% !important;}
body #post-7657 .post-thumbnail img{object-position:center 55% !important;}
body #post-7658 .post-thumbnail img{object-position:center 25% !important;}
body #featured-content .post-thumbnail{height:220px;}
@media (max-width:800px){
 body #featured-content .featured-content-inner{grid-template-columns:1fr;gap:12px;}
 body #featured-content .post-thumbnail{height:160px;}
}

body #featured-content .post-thumbnail a{display:block !important;height:100% !important;}
body #featured-content .entry-summary{display:block !important;}
/* Telefono: elenco compatto */
@media (max-width:800px){
 body #featured-content{padding:20px 0 !important;}
 body #featured-content .featured-content-inner{padding:0 14px;}
 
 body #featured-content .featured-content-inner{gap:10px;}
 body #featured-content article{display:grid !important;grid-template-columns:104px 1fr;align-items:center;min-height:96px;}
 body #featured-content .post-thumbnail{height:100%;min-height:96px;grid-row:1 / span 2;}
 body #featured-content .entry-title{font-size:16px !important;letter-spacing:1.5px !important;margin:12px 12px 2px !important;align-self:end;}
 body #featured-content .entry-summary{margin:0 12px 12px !important;align-self:start;}
 body #featured-content .entry-summary p{font-size:14px !important;line-height:1.35 !important;margin:0 !important;}
 body #featured-content .entry-summary:after{display:none;}
 body #featured-content article:before{content:"\203A" !important;display:block !important;position:absolute !important;left:auto !important;right:12px !important;top:50% !important;bottom:auto !important;width:auto !important;height:auto !important;background:none !important;border:0 !important;box-shadow:none !important;transform:translateY(-50%);font-size:30px;line-height:1;color:#c9a44c;z-index:2;}
 body #featured-content .entry-title,body #featured-content .entry-summary{padding-right:22px !important;}
}

/* Articoli: data in una riga sottile sotto il titolo */
body.single .entry-header .entry-meta{display:flex !important;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-height:0 !important;height:auto !important;padding:0 var(--pmx,16px) 18px !important;margin:-6px 0 0 !important;border:0 !important;background:none !important;}
body.single .entry-header .entry-meta > *{border:0 !important;padding:0 !important;margin:0 !important;width:auto !important;height:auto !important;min-height:0 !important;flex:0 0 auto !important;background:none !important;}
body.single .entry-header .entry-meta:before,body.single .entry-header .entry-meta:after,body.single .entry-header .entry-meta > *:before,body.single .entry-header .entry-meta > *:after{display:none !important;}
body.single .entry-header .meta-sep{display:none !important;}
body.single .entry-header .posted-on{font-size:15px !important;letter-spacing:.6px;color:#c9a44c !important;text-decoration:none !important;text-transform:none !important;font-weight:normal !important;}
body.single .entry-header .posted-on time.updated:not(.published){display:none !important;}
body.single .entry-header .comments-link{font-size:15px !important;letter-spacing:.6px;color:#bdb4a4 !important;text-transform:none !important;font-weight:normal !important;text-decoration:none !important;}
body.single .entry-header .comments-link:hover{color:#fff !important;}
body.single .entry-header .comments-link:before{content:"\00B7";display:inline !important;margin-right:10px;color:#6b6255;}
body.single .entry-header .entry-meta{flex-direction:row !important;justify-content:flex-start !important;align-items:center !important;}
body.single .entry-header .entry-meta > *{display:inline-block !important;text-align:left !important;line-height:1.4 !important;}
body.single .entry-header .posted-on time{display:inline !important;}
body.single .entry-header{flex-direction:column !important;flex-wrap:nowrap !important;}
body.single .entry-header .entry-title{order:1;width:100% !important;max-width:none !important;flex:0 0 auto !important;}
body.single .entry-header .entry-meta{order:2;width:100% !important;max-width:none !important;flex:0 0 auto !important;top:0 !important;}
body.single .entry-header .comments-link{display:none !important;}


/* ===== Foto in evidenza: fascia panoramica (articoli) ===== */
.wp-singular article:has(> .post-thumbnail) > .post-thumbnail{height:380px;overflow:hidden;}
.wp-singular article:has(> .post-thumbnail) > .post-thumbnail a{display:block;height:100%;}
.wp-singular article:has(> .post-thumbnail) > .post-thumbnail img{display:block;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover;object-position:center 40%;}
@media (max-width:800px){.wp-singular article:has(> .post-thumbnail) > .post-thumbnail{height:auto;aspect-ratio:1.9;max-height:220px;}}

/* ===== Elenchi «Ultime notizie» a schede ===== */
.entry-content ul.wp-block-latest-posts{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:10px 0 24px !important;padding:0 !important;list-style:none !important;}
.entry-content ul.wp-block-latest-posts > li{--c:#ce4639;display:flex !important;flex-direction:column;border:1px solid var(--c);border-radius:6px;overflow:hidden;background:#fff;margin:0 !important;width:auto !important;position:relative;transition:box-shadow .2s,transform .2s;}
.entry-content ul.wp-block-latest-posts > li:nth-child(3n+2){--c:#26866d;}
.entry-content ul.wp-block-latest-posts > li:nth-child(3n+3){--c:#6b4c9a;}
.entry-content ul.wp-block-latest-posts > li:hover{box-shadow:0 6px 16px rgba(0,0,0,.12);transform:translateY(-2px);}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__post-date{order:0;display:block;margin:0 !important;padding:10px 16px !important;font-size:12px !important;letter-spacing:1.5px;text-transform:uppercase;font-weight:bold;color:var(--c) !important;border-bottom:1px solid var(--c);}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__post-title{order:1;display:block;padding:14px 16px 12px !important;font-size:20px !important;line-height:1.25 !important;font-weight:bold;color:var(--c) !important;text-decoration:none !important;}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__post-title:after{content:"";position:absolute;inset:0;z-index:2;}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__featured-image{order:2;margin:auto 0 0 !important;position:relative;aspect-ratio:1.6;overflow:hidden;}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__featured-image img{display:block;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover;object-position:center 35%;}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__featured-image:before{content:"";position:absolute;inset:0;background:linear-gradient(#fff 0%,rgba(255,255,255,0) 40%);z-index:1;}
.entry-content ul.wp-block-latest-posts .wp-block-latest-posts__post-excerpt{display:none !important;}
@media (max-width:600px){.entry-content ul.wp-block-latest-posts{grid-template-columns:1fr;}}