/* Advent of Indies: navy + gold */
:root{--mer-bg:#071820;--mer-surface:#102d3b;--mer-navy:#052c40;--mer-gold:#c19f2f;--mer-gold2:#fcb900;--mer-text:#f5f7fa;--mer-muted:#b7c7cf;--mer-line:rgba(255,255,255,.1)}
body{background:var(--mer-bg) !important;color:var(--mer-text)}
.mh-wrapper{background:transparent !important}
.mh-header{background:var(--mer-navy) !important;border-bottom:4px solid var(--mer-gold) !important}
.mh-header .logo-wrap img{background:#fff;border-radius:10px;padding:6px 14px}
.mh-header a,.mh-header .logo-title,.mh-header .logo-tagline{color:var(--mer-text) !important}
.main-nav,.main-nav ul,.mh-main-nav{background:var(--mer-gold) !important}
.main-nav a{color:var(--mer-navy) !important}
.main-nav li.current-menu-item>a{box-shadow:inset 0 -3px 0 var(--mer-navy);background:transparent !important}
.main-nav a:hover{background:rgba(5,44,64,.12) !important}

/* widget boxes */
.home-main-widget,.sb-widget,.post-wrapper,.mh-content>article,.page-wrapper,.comments-area{background:var(--mer-surface) !important;color:var(--mer-text);border:1px solid var(--mer-line);border-radius:10px;overflow:hidden}
.widget-title,.sb-widget h2,.sb-widget .wp-block-heading,.entry-category-title{background:var(--mer-gold) !important;color:var(--mer-navy) !important}
.sb-widget .wp-block-heading{display:inline-block;margin:0 0 12px !important;padding:8px 20px !important;font-size:14px !important;text-transform:uppercase;font-weight:700;letter-spacing:.03em}
.sb-widget a,.custom-posts-title a,.content-slide-title a,.wp-block-latest-posts__post-title{color:var(--mer-gold2) !important}
.sb-widget li{border-color:var(--mer-line) !important}
.custom-posts-excerpt,.sb-widget,.entry-content,.entry-content p,.entry-content li{color:var(--mer-text) !important}
.custom-posts-date,.entry-meta,.entry-meta a,.entry-meta span{color:var(--mer-muted) !important;background:transparent !important}
.entry-title,.page-title,.entry-content h2,.entry-content h3,.entry-content h4{color:var(--mer-text) !important}
.entry-content a{color:var(--mer-gold2) !important}
.content-slide-title{background:rgba(5,44,64,.92) !important}
.search-field{background:#fff !important;color:#111 !important}
.wp-calendar-table,.wp-calendar-table td,.wp-calendar-table th{color:var(--mer-text) !important;border-color:var(--mer-line) !important;background:transparent !important}
.wp-calendar-table thead th{background:var(--mer-navy) !important}
.entry-category a,.entry-meta-categories a{background:var(--mer-navy) !important;color:var(--mer-gold2) !important}

/* latest posts: cards instead of full article bodies */
.mer-lovah{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding:22px}
.mer-tibezi{display:flex;flex-direction:column;background:var(--mer-navy);border-radius:10px;overflow:hidden;border:1px solid var(--mer-line)}
.mer-toda{display:block;aspect-ratio:16/10;overflow:hidden}
.mer-toda img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.mer-tibezi:hover .mer-toda img{transform:scale(1.04)}
.mer-jasim{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.mer-mezefi{font-size:12px;color:var(--mer-muted);text-transform:uppercase;letter-spacing:.05em}
.mer-rojumo{margin:0 !important;font-size:18px !important;line-height:1.3 !important}
.mer-rojumo a{color:var(--mer-text) !important;text-decoration:none}
.mer-rojumo a:hover{color:var(--mer-gold2) !important}
.mer-supa{margin:0;color:var(--mer-muted);font-size:14px;line-height:1.55}
.mer-rojus{margin-top:auto;align-self:flex-start;background:var(--mer-gold);color:var(--mer-navy) !important;font-weight:700;padding:8px 16px;border-radius:6px;text-decoration:none;font-size:14px}
.mer-rojus:hover{background:var(--mer-gold2)}

.mh-footer{background:var(--mer-gold) !important;color:var(--mer-navy) !important}
.mh-footer a,.mh-footer .copyright{color:var(--mer-navy) !important}
.slicknav_menu{background:var(--mer-gold) !important}
.slicknav_menu .slicknav_btn{background:var(--mer-navy) !important}
.slicknav_nav a{color:var(--mer-navy) !important}
@media (max-width:767px){.mer-lovah{grid-template-columns:1fr;padding:14px;gap:14px}}
.mh-header .logo-wrap{padding:14px 0}
.wp-calendar-table tr{background:transparent !important}
.wp-calendar-table tbody tr:nth-child(odd){background:rgba(255,255,255,.04) !important}
.wp-calendar-table caption{color:var(--mer-text) !important}
.wp-calendar-table td a{color:var(--mer-gold2) !important;font-weight:700}
.custom-posts-item{background:var(--mer-navy) !important;border-radius:8px}
.custom-posts-thumb{background:transparent !important}
.search-form{background:transparent !important}

h1,h2,h3,h4,h5,.entry-title,.page-title{overflow-wrap:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto;text-wrap:balance}
@media (max-width:480px){html body:not(#_) h1{font-size:clamp(22px,6.8vw,28px);line-height:1.2}html body:not(#_) h2{font-size:clamp(19px,5.8vw,23px);line-height:1.25}html body:not(#_) h3{font-size:clamp(17px,5vw,20px);line-height:1.3}}
@media (max-width:480px){html body:not(#_) .content-slide-title,html body:not(#_) .content-slide-title a{font-size:17px;line-height:1.25}html body:not(#_) .custom-posts-title,html body:not(#_) .custom-posts-title a,html body:not(#_) .entry-title{font-size:18px;line-height:1.25}}
@media (max-width:480px){html body:not(#_) .content-list-title,html body:not(#_) .content-list-title a{font-size:18px;line-height:1.25}}
.archive-title,.page-title.archive-title{background:var(--mer-navy) !important;color:var(--mer-text) !important;border:1px solid var(--mer-line);border-radius:10px}
.cat-description,.cat-description span,.archive-description{background:var(--mer-surface) !important;color:var(--mer-muted) !important;border-radius:10px}
.cat-description p{color:var(--mer-muted) !important}
.content-list,.content-list-item,.content-list-header,.content-list-excerpt,.loop-wrap{background:var(--mer-surface) !important;color:var(--mer-text) !important}
.content-list-title a{color:var(--mer-gold2) !important}
.content-list-excerpt p{color:var(--mer-muted) !important}
.flex-direction-nav a{color:#fff !important}
