/*
 Theme Name:   Apoling Solutions Theme
 Theme URI:    https://www.apoling.com/
 Description:  Apoling Solutions Theme
 Author:       Apoling Solutions
 Author URI:   https://www.apoling.com/
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* 
---------------------------Social Icons----------------------------------- */
.site-footer-wrap .social-button:hover {
  text-decoration: none;
  transform: scale(1.2);
}
.site-footer-wrap .social-button {
  position: relative;
  backdrop-filter: blur(2px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), inset 0 4px 20px rgba(255, 255, 255, 0.3);
}
.site-footer-wrap .social-button::after {
content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 58, 23, 0.15);
  border-radius: 2rem;
  z-index: -1;
  filter: blur(1px) drop-shadow(5px 4px 6px black) brightness(115%);
}

/* Pages Layout
---------------------------Pages and Posts---------------------------------- */
.entry-hero-container-inner .entry-header {
  min-height: 10px;
  display: flex;
  align-items: inherit;
  text-align: left;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 0;
}
.entry-hero.page-hero-section .entry-header {
  min-height: 10px;
}
.entry-hero-container-inner {
  background: -moz-radial-gradient(circle, #49A501, #416119);
}

.entry-header.page-title.title-align-inherit.title-tablet-align-inherit.title-mobile-align-inherit h1 {
  color: white;
  font-family: 'Droid Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
}

/* ---------------------------Fonts---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Droid Sans', Arial, sans-serif;
  font-weight: 400;
  color: #479307;
}

/* ---------------------------Posts Hero---------------------------------- */
.entry-header.post-archive-title.title-align-inherit.title-tablet-align-inherit.title-mobile-align-inherit H1 {
  color: white;
  font-family: 'Droid Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
}
.hero-section-overlay {
  box-shadow: 0px 10px 5px 0px #a49b9b2e;
}
/* ---------------------------Posts Layout---------------------------------- */
.wp-site-blocks .post-thumbnail {
  display: block;
  height: 0;
  padding-bottom: 35%;
  overflow: hidden;
  position: relative;
}
.entry-title {
  font-family: 'Droid Sans', Arial, sans-serif;
  font-weight: 400;
  color: #479307;
  font-size: 26px;
}
.entry-list-item {
  box-shadow: 10px 10px 60px 0px rgba(0, 0, 0, 0.2);
}
/* ---------------------------Header---------------------------------- */
.site-top-header-wrap .site-header-row-container-inner {
 box-shadow: 0px 15px 10px 0px #a49b9b2e;
}
.top-bar-icon {
  width: 1.3rem;
  height: auto;
  display: inline-flex;
  margin-right: 2px;
  vertical-align: middle;
}
/* ---------------------------Footer---------------------------------- */
.site-footer-middle-section-2.site-footer-section.footer-section-inner-items-1 {
  text-align: center;
  margin: 0px auto;
}

/* ---------------------------Home Page Styles---------------------------------- */
.apoling-top-link {
  border-radius: 11px 11px 11px 11px;
  border: 1px dashed currentColor;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-color: var(--global-palette10);
  padding: .3em .7em;
}

/* ---------------------------rule---------------------------------- */

/* Top bar: Contact Us / Call Us with icons */
.header-html-inner .apl-top-contact{display:inline-flex;align-items:center;gap:1.4em;flex-wrap:wrap}
.apl-ic{display:inline-flex;align-items:center;gap:.45em;text-decoration:none;white-space:nowrap}
.apl-ic::before{content:"";flex:0 0 auto;width:1.05em;height:1.05em;background-color:currentColor;-webkit-mask:var(--apl-ic) center/contain no-repeat;mask:var(--apl-ic) center/contain no-repeat}
.apl-ic-mail{--apl-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5.5A1.5 1.5 0 0 1 3.5 4h17A1.5 1.5 0 0 1 22 5.5v13a1.5 1.5 0 0 1-1.5 1.5h-17A1.5 1.5 0 0 1 2 18.5v-13Zm2.2.5L12 11.6 19.8 6H4.2ZM20 7.9l-7.4 5.3a1 1 0 0 1-1.2 0L4 7.9V18h16V7.9Z'/%3E%3C/svg%3E")}
.apl-ic-phone{--apl-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8Z'/%3E%3C/svg%3E")}

/* Mobile header: Free Quote - phone - Contact Us in one row */
#mobile-header .site-header-main-section-left{flex:1 1 auto;min-width:0}
#mobile-header .site-header-main-section-left .mobile-html,#mobile-header .site-header-main-section-left .mobile-html-inner,#mobile-header .site-header-main-section-left .mobile-html-inner p{width:100%;margin:0}
.apl-mob-row{display:flex;align-items:center;width:100%}
.apl-mob-row .apl-mob-phone{margin:0 auto;padding:0 6px;white-space:nowrap;font-weight:700;font-size:19px;line-height:1.2;text-decoration:none}
@media (max-width:400px){.apl-mob-row .apl-mob-phone{font-size:17px}}
@media (max-width:360px){.apl-mob-row .apl-mob-phone{font-size:15px;padding:0 3px}}

/* Mobile header: outlined phone icon in a circle (apl-tel-circle) */
#mobile-header .social-button[href^="tel:"]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-right:6px;padding:0;border:1.5px solid currentColor;border-radius:50%;background:transparent!important;color:#fff!important}
#mobile-header .social-button[href^="tel:"] svg,#mobile-header .social-button[href^="tel:"] .kadence-svg-iconset{display:none}
#mobile-header .social-button[href^="tel:"]::before{content:"";width:20px;height:20px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 3.8h2.9l1.5 3.9-1.9 1.4a11.5 11.5 0 0 0 5.2 5.2l1.4-1.9 3.9 1.5v2.9a1.9 1.9 0 0 1-2 1.9A15.6 15.6 0 0 1 3.3 5.8a1.9 1.9 0 0 1 1.9-2Z'/%3E%3Cpath d='M14.2 3.3a6.6 6.6 0 0 1 6.5 6.5'/%3E%3Cpath d='M14.2 6.6a3.3 3.3 0 0 1 3.2 3.2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 3.8h2.9l1.5 3.9-1.9 1.4a11.5 11.5 0 0 0 5.2 5.2l1.4-1.9 3.9 1.5v2.9a1.9 1.9 0 0 1-2 1.9A15.6 15.6 0 0 1 3.3 5.8a1.9 1.9 0 0 1 1.9-2Z'/%3E%3Cpath d='M14.2 3.3a6.6 6.6 0 0 1 6.5 6.5'/%3E%3Cpath d='M14.2 6.6a3.3 3.3 0 0 1 3.2 3.2'/%3E%3C/svg%3E") center/contain no-repeat}
#mobile-header .social-button[href^="tel:"]:hover,#mobile-header .social-button[href^="tel:"]:focus,#mobile-header .social-button[href^="tel:"]:active{background:transparent!important;box-shadow:none!important;opacity:.85}
/* apl-footer-narrow: footer columns width like the old site (960px) */
.site-middle-footer-wrap .site-container{max-width:1008px}/* apl-footer-compact: lower footer height */
.site-middle-footer-wrap .site-middle-footer-inner-wrap{padding-top:18px;padding-bottom:18px}
.site-middle-footer-wrap .widget_block > p:empty,.site-middle-footer-wrap .widget_block > p:has(+ .apl-fc),.site-middle-footer-wrap .widget_block > p:has(+ .apl-fs),.site-middle-footer-wrap .widget_block > p:has(+ .apl-fm){display:none}
.site-middle-footer-wrap .apl-fc-title,.site-middle-footer-wrap .apl-fs-title{margin-bottom:10px}
.site-middle-footer-wrap .apl-fc-tabs{margin-bottom:10px}/* apl-footer-compact2 */
.site-middle-footer-wrap .site-middle-footer-inner-wrap{padding-top:10px;padding-bottom:10px}
.site-middle-footer-wrap .apl-fc-title,.site-middle-footer-wrap .apl-fs-title,.site-middle-footer-wrap .apl-fc-tabs{margin-bottom:8px}
.site-middle-footer-wrap .apl-fc-panel{font-size:15px;line-height:1.45}
.site-middle-footer-wrap .apl-fc-panel h4{margin:0 0 2px}
.site-middle-footer-wrap .apl-fc-panel p{margin:0}/* apl-footer-center: columns grouped in the middle of the footer, equal gaps */
@media (min-width:768px){
.site-middle-footer-wrap .site-footer-row{grid-template-columns:repeat(3,auto)!important;justify-content:center;column-gap:90px}
.site-middle-footer-wrap .apl-fc{width:260px;text-align:left}
.site-middle-footer-wrap .apl-fc-tabs{justify-content:flex-start}
.site-middle-footer-wrap .apl-fs,.site-middle-footer-wrap .apl-fm{text-align:center}
.site-middle-footer-wrap .apl-fs-list,.site-middle-footer-wrap .apl-fm-list{justify-content:center}
}/* apl-footer-bottom-line: same width as the columns above */
.site-bottom-footer-wrap .site-container{max-width:1008px!important;margin-left:auto;margin-right:auto}
.site-bottom-footer-wrap .site-footer-row{align-items:center}/* apl-paragraph-spacing: tighter text on pages */
.entry-content p{margin-bottom:10px}
.entry-content h2,.entry-content h3{margin-top:14px;margin-bottom:14px}
.entry-content ul,.entry-content ol{margin-bottom:10px}/* apl-related-compact: Similar Posts block lower */
.entry-related .entry-related-inner-content{padding-top:24px;padding-bottom:24px}
.entry-related .entry-related-title{margin-bottom:14px}
.entry-related .entry-related-carousel{margin-bottom:10px}
.entry-related .entry-content-wrap{padding:14px 18px}
.entry-related .entry-header{margin-bottom:0}
.entry-related .entry-title{font-size:18px;line-height:1.35}
.entry-related .entry-meta{margin:6px 0 0}
.entry-related .entry-summary{margin:0}
.entry-related{margin-top:30px}/* apl-single-post-head: no category label above the post title, less space before text */
.single-post .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-taxonomies{display:none}
.single-post .content-area article.single-entry > .entry-content-wrap > .entry-header{margin-bottom:0}
.single-post .content-area .single-content{margin-top:12px}
.single-post .content-area .single-content > :first-child{margin-top:0}/* apl-mobile-title-strip: on phones/tablets the green header and the green title strip merged - make the strip light */
@media (max-width:1024px){
.entry-hero-container-inner,.apl-post-strip .entry-hero-container-inner{background:#f3f8ee!important;border-bottom:1px solid #dfe9d5;box-shadow:inset 0 6px 8px -6px rgba(0,0,0,.18)}
.entry-hero .entry-header h1,.entry-header.page-title.title-align-inherit.title-tablet-align-inherit.title-mobile-align-inherit h1{color:#3f7d12!important;padding:10px 0}
.apl-post-strip .apl-ps-name,.apl-post-strip .apl-ps-news,.apl-post-strip .apl-ps-news:visited{color:#3f7d12!important}
.apl-post-strip .apl-ps-row{min-height:46px}
}/* apl-dl-no-orange: Kadence paints every <button> orange on hover/focus/active - keep doc library buttons in their own colors */
.apl-dl button{-webkit-tap-highlight-color:transparent;box-shadow:none!important}
.apl-dl .apl-dl-tab:hover,.apl-dl .apl-dl-tab:focus,.apl-dl .apl-dl-tab:active{background:#f7faf4;color:#479307}
.apl-dl .apl-dl-tab.is-on,.apl-dl .apl-dl-tab.is-on:hover,.apl-dl .apl-dl-tab.is-on:focus,.apl-dl .apl-dl-tab.is-on:active{background:#479307;color:#fff}
.apl-dl .apl-dl-arr:hover,.apl-dl .apl-dl-arr:focus,.apl-dl .apl-dl-arr:active{background:#fff;color:#479307}
.apl-dl .apl-dl-zoom:hover,.apl-dl .apl-dl-zoom:focus,.apl-dl .apl-dl-zoom:active{background:#fff}
.apl-dl-box button:hover,.apl-dl-box button:focus,.apl-dl-box button:active{background:transparent;color:inherit}
@media (hover:none){.apl-dl .apl-dl-tab:not(.is-on):hover{background:#fff;color:#555}}/* apl-dl-caption-size: larger document captions */
.apl-dl .apl-dl-card figcaption{font-size:16px;font-weight:600;line-height:1.35;color:#333}
.apl-dl .apl-dl-card figcaption a{font-weight:600}
@media (max-width:860px){.apl-dl .apl-dl-card figcaption{font-size:17px;padding:12px 14px;min-height:0}}/* apl-dl-caption-design: designer captions + tighter top spacing on Documents We Legalize */
.apl-dl .apl-dl-card figcaption{position:relative;padding:16px 14px 12px!important;font-size:15px;font-weight:600;letter-spacing:.02em;line-height:1.35;color:#2f3a28}
.apl-dl .apl-dl-card figcaption:before{content:"";position:absolute;left:14px;top:8px;width:26px;height:2px;background:#479307;border-radius:2px;transition:width .25s}
.apl-dl .apl-dl-card:hover figcaption:before{width:44px}
.apl-dl .apl-dl-card figcaption a{color:#479307;text-decoration:none;font-weight:600}
.apl-dl .apl-dl-card figcaption a:hover{color:#ff763b}
@media (max-width:860px){.apl-dl .apl-dl-card figcaption{font-size:16px;padding:18px 16px 14px!important}.apl-dl .apl-dl-card figcaption:before{left:16px;top:9px}}
.page-id-4938 .content-area{margin-top:6px}
.page-id-4938 .entry-content-wrap{padding-top:14px}
.page-id-4938 .apl-dl{margin-top:0}
@media (max-width:767px){.page-id-4938 .entry-content-wrap{padding-top:12px}}/* apl-dl-caption-font: Playfair Display for document names, no arrows */
.apl-dl .apl-dl-card figcaption,.apl-dl .apl-dl-card figcaption a{font-family:'Merriweather',Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:0}
.apl-dl .apl-dl-card figcaption{font-size:15px;line-height:1.4}
@media (max-width:860px){.apl-dl .apl-dl-card figcaption{font-size:16px}}/* apl-dl-desktop-fix: side menu was pushed down 110px (relative + top), more space after the link */
@media (min-width:861px){.apl-dl .apl-dl-navwrap{position:sticky;top:110px}.apl-dl .apl-dl-more{margin-top:26px}}
.page-id-4938 .apl-dl{margin-bottom:0;padding-bottom:70px}
@media (max-width:860px){.apl-dl .apl-dl-navwrap{position:relative;top:auto}.page-id-4938 .apl-dl{padding-bottom:50px}}/* apl-offers-page: Online Specials cards */
.apl-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1100px;margin:0 auto 60px}
.apl-offers>p,.apl-offers>br{display:none}
.apl-offer{display:flex;flex-direction:column;background:#fff;border:1px solid #e6ebe1;border-top:3px solid #479307;border-radius:6px;overflow:hidden;transition:box-shadow .25s,transform .25s}
.apl-offer:hover{box-shadow:0 10px 26px rgba(40,70,20,.12);transform:translateY(-3px)}
.apl-offer-img{display:flex;align-items:center;justify-content:center;height:190px;background:#f6f9f3;padding:14px;margin:0}
.apl-offer-img a,.apl-offer-img p{display:contents}
.apl-offer-img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.apl-offer-body{padding:18px 22px 22px;flex:1 1 auto}
.entry-content .apl-offer-title{margin:0 0 10px!important;font-size:16px;line-height:1.35;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#479307}
.apl-offer-body p{margin:0;font-size:15px;line-height:1.55;color:#444}
.page-id-4766 .content-area{margin-top:6px}.page-id-4766 .entry-content-wrap{padding-top:24px}
@media (max-width:1024px){.apl-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media (max-width:640px){.apl-offers{grid-template-columns:minmax(0,1fr);gap:18px}.apl-offer-img{height:170px}.page-id-4766 .entry-content-wrap{padding-top:14px}}/* apl-ap-page: Appointment page intro + registration box */
.apl-ap-top{max-width:900px;margin:0 auto 22px}
.entry-content .apl-ap-intro{text-align:center;font-size:17px;color:#444;margin:0 0 20px}
.apl-ap-reg{display:flex;align-items:center;gap:24px;padding:20px 26px;background:#fff7ec;border-left:4px solid #ff763b}
.apl-ap-reg-t{flex:1 1 auto}
.entry-content .apl-ap-reg-t p{margin:0 0 6px;font-size:15px}
.entry-content .apl-ap-reg-t p:last-child{margin:0}
.entry-content a.apl-ap-reg-btn{flex:0 0 auto;display:inline-block;padding:13px 26px;background:#ff763b;color:#fff;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
.entry-content a.apl-ap-reg-btn:hover{background:#479307;color:#fff}
.page-id-9143 .content-area{margin-top:6px}.page-id-9143 .entry-content-wrap{padding-top:24px}
@media (max-width:720px){.apl-ap-reg{flex-direction:column;align-items:stretch;padding:18px}.entry-content a.apl-ap-reg-btn{text-align:center}}/* apl-old-site-fonts: fonts as on the old site - Trebuchet MS for menus/body, Droid Sans for headings, page text and footer */
body{font-family:"Trebuchet MS",TrebuchetMS,"Helvetica Neue",Helvetica,Arial,sans-serif}
h1,h2,h3,h4,h5,h6,.entry-title,.entry-content,.entry-content p,.entry-content li,.entry-content td,.site-footer,.apl-ap,.apl-qf{font-family:"Droid Sans",Arial,sans-serif}

/* apl-flags-grid: country flags on Embassy Legalization for countries */
.apl-flags-wrap{margin:30px 0 36px}
.apl-flags-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.apl-flags-search{position:relative;display:flex;align-items:center;flex:0 1 340px;margin:0}
.apl-flags-search svg{position:absolute;left:14px;color:#6b8f5e;pointer-events:none}
.apl-flags-search input{width:100%;height:46px;padding:0 16px 0 42px!important;border:1px solid #d5e3cc!important;border-radius:999px!important;background:#f6faf3!important;font-size:15px;color:#2e3b2a;box-shadow:none!important;transition:border-color .2s,background .2s,box-shadow .2s}
.apl-flags-search input:focus{outline:0;border-color:#5b8f3c!important;background:#fff!important;box-shadow:0 0 0 4px rgba(91,143,60,.15)!important}
.apl-flags-count{font-size:14px;color:#6b7a66;letter-spacing:.02em}
.apl-flags-count b{color:#2e5a2c;font-size:16px}
.apl-flags{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px}
.apl-flag{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 12px 14px;background:#fff;border:1px solid #e6eee0;border-radius:14px;box-shadow:0 1px 2px rgba(28,52,22,.05),0 4px 14px rgba(28,52,22,.06);text-align:center;color:#2e3b2a;text-decoration:none!important;transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,border-color .25s}
.apl-flag[hidden]{display:none}
.apl-flag-img{display:block;width:100%;border-radius:8px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);background:#f2f2f2}
.apl-flag-img img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin:0;transition:transform .4s cubic-bezier(.22,1,.36,1)}
.apl-flag-name{font-family:"Droid Sans","Open Sans",Arial,sans-serif;font-size:14.5px;font-weight:700;line-height:1.25;color:#24331f}
.apl-flag-more{margin-top:-4px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#f04705}
.apl-flag-more:after{content:" \2192"}
.apl-flag:hover,.apl-flag:focus-visible{transform:translateY(-4px);border-color:#b9d4a6;box-shadow:0 2px 4px rgba(28,52,22,.06),0 14px 28px rgba(28,52,22,.12)}
.apl-flag:hover .apl-flag-img img{transform:scale(1.06)}
.apl-flag.is-link{border-color:#f6c9b2}
.apl-flag.is-link:hover{border-color:#f04705}
.apl-flag:focus-visible{outline:3px solid rgba(91,143,60,.45);outline-offset:2px}
.apl-flags-none{margin:18px 0 0;padding:14px 18px;border-radius:12px;background:#f6faf3;color:#3d4d37}
@media (max-width:600px){.apl-flags{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.apl-flag{padding:10px 8px 12px;border-radius:12px}.apl-flag-name{font-size:13.5px}.apl-flags-search{flex-basis:100%}}
@media (prefers-reduced-motion:reduce){.apl-flag,.apl-flag-img img{transition:none}}


/* apl-wp-gallery: classic [gallery] grids in posts */
.entry-content .gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0!important}
.entry-content .gallery.gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.entry-content .gallery.gallery-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.entry-content .gallery br{display:none}
.entry-content .gallery .gallery-item{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
.entry-content .gallery .gallery-icon{margin:0}
.entry-content .gallery .gallery-icon a{display:block;overflow:hidden;border-radius:12px;box-shadow:0 2px 10px rgba(28,52,22,.12)}
.entry-content .gallery img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;border:0!important;margin:0!important;transition:transform .45s cubic-bezier(.22,1,.36,1),filter .3s}
.entry-content .gallery .gallery-icon a:hover img{transform:scale(1.06);filter:brightness(1.05)}
.entry-content .gallery .gallery-caption{margin-top:6px;font-size:13px;color:#5a6a55}
@media (max-width:600px){.entry-content .gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}}


/* apl-mobile-text: on phones floated pictures go above the text, and justified text becomes left-aligned (no big gaps) */
@media (max-width:600px){
.entry-content img.alignright,.entry-content img.alignleft,.entry-content .wp-caption.alignright,.entry-content .wp-caption.alignleft,.entry-content figure.alignright,.entry-content figure.alignleft{float:none!important;display:block;margin:0 auto 18px!important;max-width:100%!important;height:auto}
.entry-content p,.entry-content li{text-align:left!important}
}
