/*

Theme Name:   SMU
Description:  Stephen Marshall (Urbanism) theme for 2026
Version:      0.0.5
Text Domain:  smu
menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-2372
*/
/* drastix */
/* div, * { border: 1px solid red; box-sizing: border-box; } */
html { overflow-x:hidden; }
/* .fix::after { content: ""; clear: both; display: table; } */

a { text-decoration:none; }
a:hover { color:#cc3; }

body { margin:0; font-family: Arial, Helvetica, sans-serif; }
body.home-page, body.projects, body.page { background-repeat:no-repeat; background-position: center 25%; background-size: cover; background-attachment: fixed !important; overflow-x: hidden; }
#content { margin: 0 10px; }
#content.category { margin:0 -6px; }
.catbox { display:flex; justify-content: space-between; flex-wrap: wrap; }
.catbox::after { content: ''; flex: auto; max-width: 30%; margin-bottom: 30px; }
.page-content { margin: 0 auto; }
.page-content p:first-of-type { margin-top:0; }

.postbox { width:32%; position:relative; margin-bottom: 30px; }
.postbox img { width:100%; height:auto; display: block; }
.postbox a { display: block; }
.postbox-inner { position:absolute; bottom:0; left:0; right: 0; background:rgba(255,255,255,0.85); }
.postbox-inner a { color:#333; padding:5px; }
.nav { padding: 30px 0; clear: left; }
#heading { display: inline-block; width: 100%; margin-top:10px; }
.pagetitle { font-size: 28px; font-weight: normal; margin: 6px 0 25px 50px; color:#888; float:left; width:90%; }
.pagetitle.home { color: #cc3; float:left; width:auto; }
.pagetitle a:first-of-type { color: #cc3; }
.pagetitle a { color: #cc3; }
.pagenav { margin: 5px 25px 0 20px; float: right; }
.pagenav.home { float:right; margin: 5px 25px 25px 0; width: initial; }
.menunav { display: none; }
.break { display:none; }
.pagebox a, a[href^="tel:"] { color:#993; text-decoration:none; }
.slash { color: #aaa; }

/* projects */
.catlist { display: inline-block; margin-bottom:150px; }
.catlist h2 { font-size: 16px; color: #cc3; }
.catlist-item { padding:5px 0; cursor: pointer; }
.catlist-thumb { visibility:hidden; opacity:0; position:fixed; right:10%; bottom:30%; margin:auto; transition: all 0.75s; }
.catlist-item:hover .catlist-thumb { visibility:visible; opacity:1; }
.catlist-title a { text-decoration:none; color:#888; }
.catlist-title a:hover { color:#cc3; }

/* menu */
#menubtn { position:absolute; left:10px; top:15px; width: 30px; height: 30px; }
#menubtn.active .dashicons.dashicons-info { color: #ccc; }
.dashicons.dashicons-info { color: #cc3; font-size: 34px; cursor: pointer; }
.menu-container { position:fixed; left: -290px; top:100px; width: 280px; padding: 1px 0 0 0; transition: left .5s; z-index:1000; }
.menu-container.shown { left: 10px; overflow-y: auto; height: 100%; }
.menu-menu-box-container { background:rgba(255,255,255,0.9); border-radius: 10px; }
#menu-menu-box { padding: 0; list-style: none; }
#menu-menu-box li { margin-top: -1px; }
#menu-menu-box li a { padding: 5px; display:block; color:#333; }
#menu-menu-box li a:hover { color:#000; }
.current-menu-item a, .current_page_item a, .menu-item-object-category.current-post-ancestor.current-menu-parent a { color:#000; }

.pagebox { margin-bottom: 100px; padding:0 5px 5px; background:rgba(255,255,255,0.9); color:#222; border-radius:0 10px 10px 0; }

.home-page .menu-container, .home-page .menu-container.shown { padding: 10px 0 10px 10px; background: rgba(0,0,0,0.2); color: #fff; border-radius: 3px; height:auto; }
.projects .menu-container, .projects .menu-container.shown { background:rgba(255,255,255,0.9); height:auto; border-radius: 3px; }

/* meteor slides */
.meteor-slides { margin:0 auto !important; float:none;  height: 85vh !important;  width:100% !important; }
.meteor-buttons { list-style:none; bottom: -40px; }
.meteor-slides .mslide { margin:0 auto !important; }

/* nu slides */
.project-slides { text-align: center; /* display: flex; flex-wrap: wrap; height: 90vh; align-items: center; */ }
#slidenav { margin:0 auto 10px auto; color: #888; height:20px; align-self:flex-start; } 
#homeslider { padding: 0; margin:0; width: 100%; height: 100%; }
#homeslider li { list-style: none; position: relative; width: 100%; height: auto; bottom: 0; right:0; }
.slidebg { text-align: center; display: flex; align-items: center; justify-content: center; height: 88vh; }
#homeslider li img { width: auto; min-width: 0; min-height: 80vh; max-height: 80vh; }
#project-pager { margin: 10px auto 0 auto; align-self:flex-end; }
#prev, #next { cursor: pointer; }
#project-pager a { opacity: 0.35; }
#project-pager a.cycle-pager-active { opacity: 1; }


/* Responsive */
@media screen and ( max-width:1280px ){
    .break { display:block }
    /* .slidebg { height: 75vh;} */
   .pagenav { position: fixed; top: 10px; right: 10px; }
   #homeslider li img { max-width: 100%; height: auto; max-height: 80vh; min-height:auto; }
   #slidenav { position: fixed; bottom: 20px; right: 20px; background: rgba(0,0,0,0.4); color: #fff; padding: 6px 8px; border-radius: 5px; z-index: 1000; }
}
@media screen and ( max-width:1024px ){
    .pagenav { position: fixed; top: 13px; right: 10px; }
    .catlist-thumb { right:10px; max-width:300px; }
    .catlist-thumb img { width: 100%; height: auto; }
    .catlist { margin-bottom: 450px; }
}
@media screen and ( max-width:960px ){
    .pagetitle { font-size:21px; margin-top: 45px; margin-left:14px; }
    .pagenav { top: 14px; }
    .break { display:block }
}
@media screen and ( max-width:768px ){
    .catlist-thumb { bottom:10px; }
}
@media screen and ( max-width:640px ){
    
    .pagenav { top: 14px; }
}
@media screen and ( max-width:480px ){
    #content.category { margin: 0 10px; }
    .pagenav a { color: #fff; }
    #slidenav { right:auto; left:10px; bottom: 20px; margin: 0; font-size: 16px; }
    body.home-page #slidenav { right:auto; bottom: 20px; }
    h2.pagetitle.all-projects a { color: #fff; font-size: 16px; }
    .catlist-thumb { left: 10px; }
    .slidebg { height:78vh; }
    /* .home-page  */
    .pagenav, .pagenav.home { font-size: 16px; position:fixed; float:none; margin:0; bottom: 20px; top: auto; background: rgba(0,0,0,0.4); padding: 6px 8px; border-radius: 5px; right: 10px; left: auto; z-index: 1000; }
    .menunav { display: block; width: 100%; margin: 10px 0; }
    .pagebox .pagetitle.menunav a { color: #333; }
}
@media screen and ( max-width:360px ){

}
@media screen and ( max-width:340px ){
    /* .home-page  */
    .pagenav { bottom: 80px; }
}
