/* MIJEN PHOTO 1.3.0 — gallery and profile layout correction.
   This stylesheet intentionally loads AFTER main.css: the original V1.2
   includes several contradictory media and column rules. */
:root{--mj-topbar-height:70px;--mj-header-sidebar:272px}
.mj-v13{font-family:Manrope,Arial,sans-serif}
.mj-v13 .mj-source-header{z-index:230}
.mj-v13 .mj-source-sidebar .mj-rail-categories a.active{background:#eff0f1;color:#16181a;font-weight:800}
/* Header navigation: WordPress header menu, taxonomy dropdown, search. */
.mj-topbar{position:sticky;top:0;margin-left:var(--mj-header-sidebar);z-index:190;width:calc(100% - var(--mj-header-sidebar));min-width:0;height:var(--mj-topbar-height);background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid #e9e9ea}
.admin-bar .mj-topbar{top:32px}
.mj-topbar-inner{width:100%;height:100%;padding:0 clamp(16px,2vw,32px);display:flex;align-items:center;gap:clamp(15px,2vw,30px);min-width:0}
.mj-topbar-links{display:flex;align-items:center;gap:clamp(10px,1.5vw,24px);flex:0 0 auto;height:100%;min-width:0}
.mj-topbar-link,.mj-nav-dropdown>summary,.mj-header-wp-menu>li>a{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.4;font-weight:750;color:#35383d;white-space:nowrap;cursor:pointer;list-style:none;padding:13px 0}
.mj-topbar-link:hover,.mj-topbar-link.is-current,.mj-nav-dropdown>summary:hover,.mj-nav-dropdown[data-category-current] summary{color:#0a0b0d}
.mj-nav-dropdown{height:100%;display:flex;align-items:center;position:relative;min-width:0}
.mj-nav-dropdown>summary::-webkit-details-marker{display:none}
.mj-dropdown-chevron{font-size:15px;color:#858b93;transition:transform .15s}
.mj-nav-dropdown[open] .mj-dropdown-chevron{transform:rotate(180deg)}
.mj-nav-dropdown-panel{position:absolute;top:calc(100% - 4px);left:-14px;z-index:250;width:248px;max-height:min(65vh,520px);overflow-y:auto;background:white;border:1px solid #e9ebed;border-radius:13px;padding:9px;box-shadow:0 15px 42px #17212c1d;display:grid;gap:1px}
.mj-nav-dropdown-panel a{padding:9px 11px;border-radius:8px;font-size:12px;line-height:1.5;color:#35383d;font-weight:650;white-space:normal}
.mj-nav-dropdown-panel a:hover,.mj-nav-dropdown-panel a.active{background:#f1f2f3;color:#101214}
.mj-header-wp-menu,.mj-header-wp-menu .sub-menu{list-style:none;margin:0;padding:0}
.mj-header-wp-menu{display:flex;gap:18px;align-items:center}
.mj-header-wp-menu>li{position:relative}
.mj-header-wp-menu .menu-item-has-children>a::after{content:'+';padding-left:4px;font-size:15px}
.mj-header-wp-menu .sub-menu{position:absolute;z-index:251;min-width:210px;left:-12px;top:calc(100% - 2px);background:white;padding:9px;border-radius:12px;border:1px solid #ededee;box-shadow:0 14px 30px #151a221c;display:none}
.mj-header-wp-menu .sub-menu:before{content:'';position:absolute;left:0;right:0;top:-10px;height:11px}
.mj-header-wp-menu li:hover>.sub-menu,.mj-header-wp-menu li:focus-within>.sub-menu{display:grid}
.mj-header-wp-menu .sub-menu li a{display:block;padding:9px 11px;border-radius:7px;font-weight:650;font-size:12px}
.mj-header-wp-menu .sub-menu li a:hover{background:#f2f2f3}
.mj-topbar-search{height:40px;flex:1 1 250px;min-width:140px;max-width:560px;margin-left:auto;display:flex;align-items:center;background:#f6f6f7;border:1px solid #e9e9eb;border-radius:11px;padding:0 5px 0 13px;gap:9px}
.mj-topbar-search:focus-within{border-color:#8d939a;background:white;box-shadow:0 0 0 3px #0c172009}
.mj-topbar-search svg{flex-shrink:0;color:#757b81}
.mj-topbar-search input{flex:1;min-width:0;width:100%;border:0!important;outline:0!important;box-shadow:none!important;font-size:12px;color:#1d2024;background:transparent!important;padding:5px 0}
.mj-topbar-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.mj-topbar-search button{background:#222528;color:white;border:0;border-radius:8px;padding:8px 13px;font-size:11px;font-weight:800;white-space:nowrap}
.mj-topbar-search button:hover{background:#444}
.mj-topbar-account{display:flex;align-items:center;gap:12px;flex:0 0 auto;white-space:nowrap}
.mj-topbar-account>a:first-child{font-size:23px;line-height:1;color:#272b2e}
.mj-topbar-signin{font-weight:750;font-size:11px;padding:9px 12px;border:1px solid #dedfe2;border-radius:9px}
/* The sidebar width and header offset must always agree. */
@media(min-width:1131px){.mj-v13 .mj-source-header{width:272px}.mj-v13 .mj-source-content,.mj-v13 .mj-source-footer{margin-left:272px}.mj-v13 .mj-rail-dock{left:calc(272px + (100% - 272px)/2)}}
@media(max-width:1130px) and (min-width:971px){:root{--mj-header-sidebar:228px}.mj-v13 .mj-source-header{width:228px}.mj-v13 .mj-source-content,.mj-v13 .mj-source-footer{margin-left:228px}}
@media(max-width:970px) and (min-width:761px){:root{--mj-header-sidebar:210px}.mj-v13 .mj-source-header{width:210px}.mj-v13 .mj-source-content,.mj-v13 .mj-source-footer{margin-left:210px}}
/* Shared five-column card grid. DOM order follows rows, never CSS columns. */
.mj-v13 .mj-concept-grid,.mj-v13 .mj-profile-albums-grid,.mj-v13 .mj-collection-page .mj-masonry{
 display:grid!important;grid-template-columns:repeat(var(--mj-cols,5),minmax(0,1fr));gap:15px 12px;
 columns:auto!important;column-count:auto!important;column-gap:12px;align-items:start;line-height:normal;
}
.mj-v13 .mj-concept-grid .mj-concept-card,.mj-v13 .mj-profile-albums-grid .mj-concept-card,.mj-v13 .mj-collection-page .mj-concept-card{min-width:0;width:100%;max-width:100%;margin:0;break-inside:auto;display:flex;flex-direction:column;align-self:start;overflow:visible}
.mj-v13 .mj-concept-grid .mj-concept-cover,.mj-v13 .mj-profile-albums-grid .mj-concept-cover{min-height:0;max-width:100%;width:100%;border-radius:12px;position:relative;aspect-ratio:4/5;display:block;overflow:hidden;background:#eee}
.mj-v13 .mj-concept-grid .mj-concept-cover>img,.mj-v13 .mj-profile-albums-grid .mj-concept-cover>img{width:100%;height:100%;min-height:0;aspect-ratio:4/5;object-fit:cover;display:block}
.mj-v13 .mj-concept-grid .mj-concept-cover .mj-no-image,.mj-v13 .mj-profile-albums-grid .mj-concept-cover .mj-no-image{height:100%;width:100%;min-height:0}
.mj-v13 .mj-concept-grid .mj-concept-line,.mj-v13 .mj-profile-albums-grid .mj-concept-line{min-width:0;max-width:100%;display:flex;flex-wrap:wrap;align-items:center;row-gap:3px;position:relative;line-height:1.4}
.mj-v13 .mj-concept-line a{min-width:0;max-width:100%;font-size:11px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mj-v13 .mj-concept-grid .mj-concept-line>a{flex:1 1 100%}
.mj-v13 .mj-concept-grid .mj-concept-line>.mj-save-card{top:-43px;right:8px}
.mj-v13 .mj-profile-albums-grid .mj-concept-line>.mj-save-card{top:-43px;right:8px}
.mj-v13 .mj-collection-page .mj-concept-line>.mj-save-card{top:-43px;right:8px}
.mj-v13 .mj-results-meta{margin:6px 0 16px}
.mj-v13 .mj-front{padding-top:12px}
.mj-v13.home .mj-front{padding-top:12px}
.mj-v13 .mj-archive{padding-top:22px}
.mj-v13 .mj-concept-heading{margin:0 0 21px}
.mj-v13 .mj-concept-heading h1{font-size:clamp(26px,2.7vw,39px);line-height:1.18}
.mj-v13 .mj-concept-heading p{font-size:12px}
.mj-v13 .mj-filter-bar{flex-wrap:wrap;row-gap:9px}
.mj-v13 .mj-cat-scroll{min-width:0;flex:1}
.mj-v13 .mj-pagination{margin-top:35px}
/* Profile layout: isolated class names so V1.2 styles cannot break it. */
.mj-v13 .mj-creator-page{width:min(calc(100% - 38px),1250px);max-width:100%;margin:20px auto 85px;color:#202225;min-width:0}
.mj-v13 .mj-creator-page *, .mj-v13 .mj-creator-page *::before,.mj-v13 .mj-creator-page *::after{box-sizing:border-box}
.mj-v13 .mj-creator-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:#85898e;margin:0 0 14px}
.mj-v13 .mj-creator-breadcrumb a:hover{color:#222}
.mj-v13 .mj-creator-profile{border:1px solid #e9e9ed;border-radius:14px;background:#fff;min-width:0;overflow:hidden}
.mj-v13 .mj-creator-cover{height:clamp(220px,26vw,355px);max-width:100%;overflow:hidden;background:#e5e7e8;position:relative}
.mj-v13 .mj-creator-cover>img{display:block;height:100%;width:100%;object-fit:cover;max-width:100%}
.mj-v13 .mj-creator-cover-placeholder{width:100%;height:100%;display:flex;align-items:flex-end;justify-content:flex-end;padding:28px;overflow:hidden;background:linear-gradient(115deg,#f1f2f3,#d1d6da 45%,#b9c1c6 100%)}
.mj-v13 .mj-creator-cover-placeholder span{font-weight:800;font-size:clamp(38px,6vw,90px);white-space:nowrap;letter-spacing:-.07em;color:#ffffff80}
.mj-v13 .mj-creator-identity{display:grid;grid-template-columns:138px minmax(0,1fr) auto;gap:20px;align-items:end;padding:0 25px 22px;min-width:0;max-width:100%;position:relative}
.mj-v13 .mj-creator-avatar{width:138px;height:138px;margin-top:-49px;border:5px solid white;border-radius:50%;background:#f1f1f1;display:grid;place-items:center;overflow:hidden;box-shadow:0 3px 16px #00000016;align-self:start;position:relative;z-index:2}
.mj-v13 .mj-creator-avatar img{height:100%;width:100%;object-fit:cover;border-radius:50%}
.mj-v13 .mj-creator-avatar-placeholder{font-size:50px;color:#777}
.mj-v13 .mj-creator-identity-text{min-width:0;padding-top:19px}
.mj-v13 .mj-creator-pretitle{font-size:10px;color:#858990;letter-spacing:.13em;font-weight:800;margin-bottom:6px}
.mj-v13 .mj-creator-pretitle span{padding:0 4px;color:#adb1b7}
.mj-v13 .mj-creator-identity-text h1{font-size:clamp(24px,3vw,37px);line-height:1.12;letter-spacing:-.048em;margin:0 0 9px;overflow-wrap:anywhere}
.mj-v13 .mj-creator-identity-text>p{font-size:12px;color:#62686e;line-height:1.65;margin:0 0 10px;max-width:580px}
.mj-v13 .mj-creator-stats{display:flex;flex-wrap:wrap;align-items:center;gap:7px 17px;font-size:11px;font-weight:550;color:#686c72}
.mj-v13 .mj-creator-stats strong{color:#252525}
.mj-v13 .mj-creator-rating{display:inline-flex;margin-top:5px;font-size:11px}
.mj-v13 .mj-creator-actions{min-width:0;display:flex;align-items:center;justify-content:end;flex-wrap:wrap;gap:8px;padding-bottom:6px}
.mj-v13 .mj-creator-actions .mj-button{font-size:11px;border-radius:10px;min-height:40px;padding:10px 13px}
.mj-v13 .mj-creator-tabs{position:relative;top:auto;display:flex;align-items:center;overflow-x:auto;gap:27px;white-space:nowrap;min-width:0;padding:0 25px;border:0;border-top:1px solid #eee;box-shadow:none;scrollbar-width:thin}
.mj-v13 .mj-creator-tabs a{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#697078;line-height:1.3;font-weight:750;white-space:nowrap;flex:0 0 auto;padding:17px 0;border-bottom:2px solid transparent;text-decoration:none}
.mj-v13 .mj-creator-tabs a.active,.mj-v13 .mj-creator-tabs a:hover{color:#17191b;border-color:#1c1c1c}
.mj-v13 .mj-creator-tabs a span{font-size:10px;color:#92969b}
.mj-v13 .mj-creator-layout{display:grid;grid-template-columns:minmax(240px,295px) minmax(0,1fr);align-items:start;gap:18px;margin-top:19px;width:100%;min-width:0}
.mj-v13 .mj-creator-sidebar{display:grid;gap:15px;min-width:0;max-width:100%}
.mj-v13 .mj-creator-content,.mj-v13 .mj-creator-content .mj-tab-panel{min-width:0;max-width:100%;width:100%}
.mj-v13 .mj-creator-content .mj-tab-panel[hidden]{display:none!important}
.mj-v13 .mj-creator-panel,.mj-v13 .mj-creator-post{min-width:0;width:100%;max-width:100%;background:#fff;border:1px solid #e9e9ed;border-radius:13px;padding:20px;overflow:hidden;overflow-wrap:anywhere;box-shadow:none}
.mj-v13 .mj-creator-panel h2{font-size:16px;margin:0 0 13px;letter-spacing:-.03em}
.mj-v13 .mj-creator-panel h3{font-size:14px;margin:23px 0 9px}
.mj-v13 .mj-creator-sidebar-desc,.mj-v13 .mj-creator-panel p{font-size:12px;line-height:1.83;color:#585e65}
.mj-v13 .mj-creator-sidebar-desc{margin-bottom:13px}
.mj-v13 .mj-creator-more{font-size:11px;font-weight:800;text-decoration:none}
.mj-v13 .mj-creator-pills{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}
.mj-v13 .mj-creator-pills a,.mj-v13 .mj-creator-pills span{font-size:10px;border-radius:7px;background:#f3f4f5;color:#3c4145;padding:7px 9px;font-weight:650}
.mj-v13 .mj-creator-check{margin:9px 0!important;font-size:11px!important;color:#585e65!important}
.mj-v13 .mj-creator-price strong{font-size:19px;line-height:1.3;letter-spacing:-.035em;overflow-wrap:anywhere;display:block;color:#222}
.mj-v13 .mj-creator-price p{margin:8px 0 0!important;font-size:11px!important}
.mj-v13 .mj-creator-section-title{display:flex;justify-content:space-between;gap:14px;align-items:end;margin:0 0 15px}
.mj-v13 .mj-creator-section-title span{font-size:9px;color:#8d9198;letter-spacing:.13em;font-weight:800}
.mj-v13 .mj-creator-section-title h2{font-size:23px;letter-spacing:-.045em;margin:5px 0 0}
.mj-v13 .mj-creator-section-title small{font-size:11px;color:#81858a}
.mj-v13 .mj-creator-post{margin-bottom:16px;padding:18px 19px 15px}
.mj-v13 .mj-creator-post-author{display:flex;align-items:center;gap:10px;margin-bottom:13px;min-width:0}
.mj-v13 .mj-creator-post-author>div{display:grid;gap:3px;min-width:0}
.mj-v13 .mj-creator-post-author strong{font-size:12px;line-height:1.4}
.mj-v13 .mj-creator-post-author div>span{font-size:10px;color:#858b92}
.mj-v13 .mj-creator-post-avatar{height:37px;width:37px;border-radius:50%;overflow:hidden;background:#f4f5f5;display:grid;place-items:center;flex:0 0 37px}
.mj-v13 .mj-creator-post-avatar img{width:100%;height:100%;object-fit:cover}
.mj-v13 .mj-creator-post h3{font-size:19px;line-height:1.3;letter-spacing:-.03em;margin:0 0 7px}
.mj-v13 .mj-creator-post-excerpt{font-size:12px;color:#616770;line-height:1.7;margin-bottom:12px;overflow-wrap:anywhere}
.mj-v13 .mj-creator-post-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;overflow:hidden;border-radius:10px;max-width:100%;width:100%}
.mj-v13 .mj-creator-post-photos button{display:block;min-width:0;border:0;margin:0;padding:0;aspect-ratio:1/1;overflow:hidden;background:#e8ebed;line-height:0}
.mj-v13 .mj-creator-post-photos img{width:100%;height:100%;object-fit:cover;display:block;max-width:100%}
.mj-v13 .mj-creator-post-photos button:only-child{grid-column:1/-1;aspect-ratio:16/10}
.mj-v13 .mj-creator-post-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;font-size:11px;color:#727780}
.mj-v13 .mj-creator-post-bottom .mj-button{font-size:10px;min-height:32px;padding:6px 12px}
.mj-v13 .mj-profile-albums-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mj-v13 .mj-creator-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mj-v13 .mj-creator-video{position:relative;aspect-ratio:16/9;background:#eee;overflow:hidden;border-radius:9px}
.mj-v13 .mj-creator-video iframe{width:100%;height:100%;position:absolute;inset:0;max-width:100%;border:0}
.mj-v13 .mj-creator-contacts>div{display:grid;grid-template-columns:minmax(100px,145px) minmax(0,1fr);gap:12px;border-bottom:1px solid #eee;padding:13px 0}
.mj-v13 .mj-creator-contacts strong{font-size:12px}
.mj-v13 .mj-creator-contacts a{font-size:12px;overflow-wrap:anywhere}
.mj-v13 .mj-creator-disclaimer{font-size:11px;color:#777;margin-top:15px}
.mj-v13 .mj-creator-page .mj-reviews{margin:0;border-radius:12px;min-width:0}
/* Breakpoints keep five cards per FULL desktop row and preserve two on phones. */
@media(max-width:1380px){.mj-topbar-inner{gap:12px}.mj-header-wp-menu{gap:9px}.mj-v13 .mj-creator-identity{grid-template-columns:115px minmax(0,1fr);gap:14px}.mj-v13 .mj-creator-avatar{width:115px;height:115px}.mj-v13 .mj-creator-actions{grid-column:2;justify-content:start;padding-top:0}}
@media(max-width:1120px){.mj-topbar-links{gap:13px}.mj-header-wp-menu{display:none}.mj-v13 .mj-concept-grid,.mj-v13 .mj-collection-page .mj-masonry{grid-template-columns:repeat(4,minmax(0,1fr))}.mj-v13 .mj-creator-layout{grid-template-columns:235px minmax(0,1fr)}.mj-v13 .mj-profile-albums-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:970px){.mj-topbar-inner{padding:0 13px}.mj-topbar-links{gap:11px}.mj-topbar-signin{display:none}.mj-v13 .mj-concept-grid,.mj-v13 .mj-collection-page .mj-masonry{grid-template-columns:repeat(3,minmax(0,1fr))}.mj-v13 .mj-creator-layout{grid-template-columns:minmax(0,1fr)}.mj-v13 .mj-creator-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.mj-v13 .mj-creator-panel{padding:14px}.mj-v13 .mj-creator-actions{grid-column:auto}}
@media(max-width:760px){
 :root{--mj-header-sidebar:0px;--mj-topbar-height:56px}
 .mj-topbar{margin-left:0;width:100%;top:58px;height:56px;z-index:175}
 .admin-bar .mj-topbar{top:104px}
 .mj-v13 .mj-source-header{width:100%;height:58px}
 .mj-v13 .mj-source-content,.mj-v13 .mj-source-footer{margin-left:0}
 .mj-v13 .mj-source-content{padding-top:58px}
 .mj-topbar-inner{padding:0 12px;gap:8px}
 .mj-topbar-links{gap:9px;max-width:47%;overflow:visible}
 .mj-topbar-link{font-size:11px}
 .mj-topbar-links>.mj-topbar-link:nth-of-type(1){display:none}
 .mj-nav-dropdown>summary{font-size:11px}
 .mj-nav-dropdown-panel{left:-15px;top:calc(100% + 1px);width:min(260px,calc(100vw - 24px))}
 .mj-topbar-search{min-width:80px;height:35px;padding-left:8px;gap:5px;flex:1 1 90px}
 .mj-topbar-search input{font-size:11px}
 .mj-topbar-search button{font-size:0;padding:8px 10px}
 .mj-topbar-search button::after{content:'↵';font-size:15px}
 .mj-topbar-account{display:none}
 .mj-v13 .mj-front,.mj-v13 .mj-archive{padding-top:12px}
 .mj-v13 .mj-concept-grid,.mj-v13 .mj-collection-page .mj-masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px}
 .mj-v13 .mj-creator-page{width:calc(100% - 20px);margin-top:12px}
 .mj-v13 .mj-creator-cover{height:190px}
 .mj-v13 .mj-creator-identity{padding:0 13px 13px;grid-template-columns:90px minmax(0,1fr);gap:8px 13px;align-items:center}
 .mj-v13 .mj-creator-avatar{width:90px;height:90px;margin-top:-34px;border-width:4px;grid-row:1}
 .mj-v13 .mj-creator-identity-text{padding-top:10px}
 .mj-v13 .mj-creator-identity-text h1{font-size:23px}
 .mj-v13 .mj-creator-actions{grid-column:1/-1;justify-content:start;padding:0}
 .mj-v13 .mj-creator-tabs{padding:0 13px;gap:21px}
 .mj-v13 .mj-creator-tabs a{font-size:11px;padding:13px 0}
 .mj-v13 .mj-creator-sidebar{grid-template-columns:1fr}
 .mj-v13 .mj-creator-content .mj-creator-section-title h2{font-size:20px}
 .mj-v13 .mj-profile-albums-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:410px){
 .mj-v13 .mj-topbar-link{font-size:10px}
 .mj-v13 .mj-creator-cover{height:156px}
 .mj-v13 .mj-creator-identity{grid-template-columns:70px minmax(0,1fr);gap:8px}
 .mj-v13 .mj-creator-avatar{width:72px;height:72px;margin-top:-24px}
 .mj-v13 .mj-creator-identity-text h1{font-size:21px}
 .mj-v13 .mj-creator-stats{font-size:10px;gap:5px 10px}
 .mj-v13 .mj-creator-identity-text>p{font-size:11px}
 .mj-v13 .mj-creator-videos{grid-template-columns:1fr}
 .mj-v13 .mj-creator-post{padding:12px}
}
/* Phone header: keep categories clear and give search the whole second row. */
@media(max-width:760px){
 .mj-topbar{height:96px}
 .mj-topbar-inner{height:96px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:34px 40px;gap:5px;align-content:center;padding:5px 12px}
 .mj-topbar-links{max-width:100%;width:100%;min-width:0;gap:20px;justify-content:start;overflow:visible}
 .mj-topbar-search{width:100%;max-width:none;min-width:0;height:40px;margin:0;padding-left:12px}
 .mj-topbar-search input{font-size:12px}
 .mj-topbar-search button{font-size:11px;padding:8px 12px}
 .mj-topbar-search button::after{content:none}
 .mj-v13 .mj-source-content{padding-top:58px}
}
