.p-on {
  display: revert!important;
}

.p-off {
  display: none!important;
}

.switchlink span {display: block;}



/****************************************
Member Profile custom design 
*****************************************/

.shop-items-container{margin:10px 0}
.shop-category-row{margin-bottom:15px;padding:10px;}
.shop-category-title{font-weight:bold;margin-bottom:8px;padding-bottom:5px;border-bottom:1px solid var(--accent1);}
.shop-items-row{display:flex;flex-wrap:wrap;gap:8px}
.shop-item-icon{position:relative;display:inline-block;cursor:help}
.shop-item-icon img{max-width:40px;max-height:40px;}
.shop-item-tooltip{visibility:hidden;width:250px;background:var(--body-bg-color);color:var(--text-color);border-radius:6px;padding:10px;position:absolute;z-index:9999;bottom:125%;left:50%;margin-left:-125px;opacity:0;transition:opacity 0.3s;box-shadow:0 2px 8px rgba(0,0,0,0.3)}
.shop-item-tooltip::after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--body-bg-color) transparent transparent transparent}
.shop-item-icon:hover .shop-item-tooltip{visibility:visible;opacity:1}
.shop-item-name{font-weight:bold;margin-bottom:5px}
.shop-item-desc{font-size:12px;color:var(--text-color);}

/* Awards Tables Styling - Sleek & Transparent */
.store-items .tborder {
    background: transparent;
    border: none;
}

.store-items table .thead {
    background: transparent;
    font-size: 10px;
    font-weight: normal;
    padding: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--accent1);
}

.store-items table .thead strong {
    font-weight: normal;
}

.store-items .trow1 {
    background: transparent;
    border: none;
}

/* Hide the text/date row, keep only image row */
.store-items tbody tr:has(.float_right) {
    display: none !important;
}

/* Make tbody display as flex grid */
.store-items tbody {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px 0 !important;
}

/* Make image rows inline */
.store-items tbody tr {
    display: inline-block !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
}

.store-items tbody td {
    display: inline-block !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 0 !important;
}

.store-items tbody td img {
    font-size: 14px !important;
}

/* Individual Member Profile Sections - No padding/margins by default */
.member-profile-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: var(--text-color);
    position: relative;
}

/* Section Content Wrapper - No padding/margins by default */
.member-profile-section .section-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
}

/* Section 1 - Full width for banner */
.member-profile-section.section-1 .section-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Section Headers */
.member-profile-section .section-content h2 {
    font-family: var(--font-header);
    color: var(--accent1);
    font-size: 2.5em;
    margin: 20px 0;
}

/* Section Paragraphs */
.member-profile-section .section-content p {
    font-family: var(--font-read);
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.6;
    margin: 15px 0;
}

/* Alternating Background Colors */
.member-profile-section:nth-child(odd) {
    background-color: var(--block-dark);
}

.member-profile-section:nth-child(even) {
    background-color: var(--block-med);
}

/* Individual Section Styling with Accent Borders */
.member-profile-section.section-1 { border-left: 5px solid var(--accent1); }
.member-profile-section.section-2 { border-left: 5px solid var(--accent2); }
.member-profile-section.section-3 { border-left: 5px solid var(--accent1); }
.member-profile-section.section-4 { border-left: 5px solid var(--accent2); }
.member-profile-section.section-5 { border-left: 5px solid var(--accent1); }
.member-profile-section.section-6 { border-left: 5px solid var(--accent2); }
.member-profile-section.section-7 { border-left: 5px solid var(--accent1); }
.member-profile-section.section-8 { border-left: 5px solid var(--accent2); }
.member-profile-section.section-9 { border-left: 5px solid var(--accent1); }
.member-profile-section.section-10 { border-left: 5px solid var(--accent2); }

/* Profile Header Banner Container */
.profile-header-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 350px;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    padding: 0;
    border: none;
}

/* Banner Background Image */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
}

/* Left Side Overlay - 50% width with blur and brightness */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) brightness(1);
    -webkit-backdrop-filter: blur(10px) brightness(1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

/* Character Name */
.character-name {
    font-family: var(--font-title);
    font-size: 4em;
    letter-spacing: 5px;
    color: var(--text-color);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.group-display {    font-family: var(--font-header);
    font-size:1.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}

/* Character Logo Container */
.character-logo {
    width: 135px;
    height: 135px;
    border-radius: 50%;
}

.character-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	 opacity: 0.7;
}

/* Bottom Content Area */
.profile-content-bottom {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Navigation Indicators - Outside the scroll area */
.section-nav-indicators {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.nav-indicator .nav-arrow {
    font-size: 1.2em;
    color: var(--accent1);
}

.nav-indicator .nav-label {
    font-family: var(--font-read);
    font-size: 0.85em;
    color: var(--text-color-muted);
    text-align: center;
    min-width: 100px;
    max-width: 150px;
    word-wrap: break-word;
}

.nav-above {
    align-items: center;
}

.nav-below {
    align-items: center;
}
/* Profile Split Container - 50/50 Layout */
.profile-split-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 40px;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Left Side: Stats Column */
.profile-left-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Right Side: Text Column */
.profile-right-text {
    flex: 1;
    display: block;
    text-align: justify;
    white-space: pre-line; /* ADD THIS */
}

/* GIF Container */
.profile-gif-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.profile-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Basic Stats Container */
.basic-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

/* Individual Stat Item */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 calc(33.333% - 10px);
    min-width: 120px;
}

.stat-label {
    font-family: var(--font-header);
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-value {
    font-family: var(--font-read);
    font-size: 0.9em;
    color: var(--text-color-muted);
    text-align: center;
}

/* Percentage Stats Container */
.percentage-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

/* Individual Percentage Stat */
.percentage-stat {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Percentage Bar Container */
.percentage-bar-container {
    width: 100%;
    height: 10px;
    background-color: var(--block-med);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--accent2);
}

/* Percentage Bar Fill */
.percentage-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
    transition: width 0.5s ease;
}

/* Percentage Label */
.percentage-label {
    font-family: var(--font-read);
    font-size: 0.85em;
    color: var(--text-color-muted);
    text-align: center;
}

/* Right Side Text Styling */
.profile-right-text p {
    font-family: var(--font-read);
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    margin: 0;
}


/* Section 2 - Full width for image grid */
.member-profile-section.section-2 .section-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Image Grid Container - 3 columns x 2 rows with large gaps */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

/* Individual Grid Image */
.grid-image {
    position: relative;
    width: 100%;
    height: 100%;
	max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Hover effect */
.grid-image img:hover {
    transform: scale(1.05);
}


/* Section 3 - Full width content */
.member-profile-section.section-3 .section-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Story Split Container */
.story-split-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    padding: 60px 40px;
    box-sizing: border-box;
}

/* Left Side: Timeline */
.story-left-timeline {
    flex: 0 0 400px;
    display: block; /* CHANGE FROM flex */
    font-family: var(--font-read);
    font-size: 1.2em;
    color: var(--text-color);
    text-align: left;
    white-space: pre-line; /* ADD THIS */
}


/* Story Title */
.story-title {
    font-family: var(--font-header);
    font-size: 3.5em;
    color: var(--text-color);
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em;
}



/* Story Content Area */
.story-content-area {
    display: block; /* CHANGE FROM flex */
    white-space: pre-line; /* ADD THIS */
}

.story-content-area p {
    font-family: var(--font-read);
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    margin: 0;
}

/* Support for MyCode lists in story content */
.story-content-area ul,
.story-content-area ol {
    font-family: var(--font-read);
    color: var(--text-color);
    line-height: 1.8;
    text-align: left;
    padding-left: 30px;
}

.story-content-area li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 968px) {
    .story-split-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .story-left-timeline {
        flex: 1;
    }
    
    .story-title {
        font-size: 2.5em;
    }
}

/* Section 4 - Full width content */
.member-profile-section.section-4 .section-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* About Container */
.about-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    padding: 60px 40px;
    box-sizing: border-box;
    align-items: flex-start;
}

/* Left Side: Title and Avatar */
.about-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Section Title */
.about-title {
    font-family: var(--font-header);
    font-size: 3em;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

/* Avatar Container */
.about-avatar {
    width: 250px;
	height: 400px
    aspect-ratio: 1 / 1;
    border-radius: 50% 50% 0 0 ;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Side: Text Content */
.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
	margin-top: 5em;
}

/* About Text Content Area */
.about-text-content {
    font-family: var(--font-read);
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
	    white-space: pre-line; /* ADD THIS */
}

/* Support for multiple paragraphs in content variable */
.about-text-content p {
    margin: 0 0 20px 0;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

/* Support for MyCode formatting in content */
.about-text-content ul,
.about-text-content ol {
    padding-left: 30px;
    margin: 15px 0;
}

.about-text-content li {
    margin-bottom: 10px;
}

.about-text-content strong {
    color: var(--accent1);
}

.about-text-content em {
    color: var(--text-color-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    
    .about-left {
        flex: 1;
        align-items: center;
    }
    
    .about-title {
        text-align: center;
    }
    
    .about-avatar {
        max-width: 350px;
    }
}


/* Section 5 - Full width content */
.member-profile-section.section-5 .section-content {
    max-width: 100%;
    width: 100%;
    padding: 40px;
    margin: 0;
    box-sizing: border-box;
}

/* Thread tracker container styling (if needed) */
.section-5-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



/* Section 6 - Full width content */
.member-profile-section.section-6 .section-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Footer Info Bar - Top Section */
.footer-info-bar {
    display: flex;
    flex-wrap: wrap; /* REQUIRED so the full-width div forces a new line */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--body-bg-color);
    padding: 30px 40px;
    gap: 40px;
    box-sizing: border-box;
    border-bottom: 2px solid var(--accent1);
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.footer-triggers {
    flex: 2;
}

.footer-dates {
    margin-left: auto;
    align-items: flex-end;
}

.footer-label {
    font-family: var(--font-header);
    font-size: 1.3em;
    color: var(--text-color);
    line-height: 1.2;
}

.footer-value {
    font-family: var(--font-read);
    font-size: 0.9em;
    color: var(--text-color-muted);
    line-height: 1.4;
}

.footer-triggers .footer-value {
    max-width: 400px;
    text-align: justify;
}

.footer-dates .footer-value {
    text-align: right;
}

.footer-full-width {
    flex-basis: 100%;
    width: 100%;
    border: 2px solid var(--accent1);
    padding: 10px;          
margin: 0 10px 10px 10px;
    box-sizing: border-box;
	    text-align: left;
}


.footer-full-width-label {
 flex-basis: 100%;
    width: 100%; 
    font-family: var(--font-header);
    font-size: 1.3em;
    color: var(--text-color);
    line-height: 1.2;
		    text-align: left;
}

/* Modern Section Styling */
.modern-section-title {
    font-family: var(--font-header);
    font-size: 1.5em;
    color: var(--text-color);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent2);
}


/* Two Column Layout */
.profile-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.profile-col-left,
.profile-col-right {
    background-color: var(--body-bg-color);
    padding: 30px;
    border-radius: 6px;
}

/* Relationships */
.relationships-modern {
}

.relationships-grid {
    display: grid;
    gap: 15px;
}

.relationship-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--block-med);
    padding: 1em;
    border-radius: 5px;
}

.relationship-avatar {
    flex-shrink: 0;
}

.relationship-avatar img {
	width: 100px!important;
height: 100px!important;
	object-fit:cover;
    border-radius: 5%;
}

.relationship-note {
    flex: 1;
    font-family: var(--font-read);
    color: var(--text-color);
    font-size: 1.2em;
}

/* Signature */
.signature-modern {
    height: 100%;
}

.signature-content {
    background-color: var(--block-dark);
    padding: 20px;
    border-radius: 4px;
    font-family: var(--font-read);
    color: var(--text-color);
    line-height: 1.6;
}

/* Options Two Column */
.options-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
	background: var(--block-dark);
}

/* Moderator Options Modern Styling */
.mod-options-modern {
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 15px;
}

.mod-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* IP Information */
.mod-ip-info {
    background: var(--block-med);
    padding: 1em;
    border-radius: 5px;
}

.ip-line {
    margin: 5px 0;
    font-size: 1em;
}

.ip-label {
    color: var(--accent2);
    font-weight: 600;
    margin-right: 8px;
}


.mod-actions-container {
    display: contents;
}

.mod-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
}


.mod-action-btn {
    background: var(--block-med);
    padding: 1em;
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    display: block;
    transition: all 0.2s ease;
	flex-grow: 1;
}

.mod-action-btn:hover {
    background: var(--block-lighter);
    color: var(--text-color);
}

/* Mod Notes Section */
.mod-notes {
    background: var(--block-med);
    padding: 1em;
    border-radius: 5px;
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
}

.notes-link {
    margin-top: 10px;
}

.notes-link a {
    color: var(--accent2);
    text-decoration: none;
    font-size: 13px;
    font-style: normal;
}

.notes-link a:hover {
    color: var(--accent1);
    text-decoration: underline;
}

/* Administrator Options Modern Styling */
.admin-options-modern {
    border-radius: 5px;
    padding:1em;
    margin-bottom: 15px;
}

.admin-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Make each admin link look like the mod action blocks */
.admin-link {
    background: var(--block-med);
    padding: 1em;
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    display: block;
    transition: all 0.2s ease;
}

.admin-link:hover {
    background: var(--block-lighter);
    color: var(--text-color);
}

.admin-link .link-icon {
    margin-right: 8px;
    font-size: 14px;
}

/* Profile Actions Row - Single row of buttons that stretch to fill width */
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2em;
}


.profile-action-btn {
    flex: 1 1 auto;
    padding: 1em;
    background: var(--block-dark);
    border-radius: 5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    white-space: normal;
    line-height: 1.4;
}

.profile-action-btn a{
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
}

.profile-action-btn:hover {
    background: var(--block-lighter);
    transform: translateY(-1px);
}

/* Remove old contact details styling */
.profile-actions-row {
    display: contents;
}

.contact-details-modern {
    display: contents;
}

/* Responsive */
@media (max-width: 968px) {
    .profile-two-col,
    .options-two-col {
        grid-template-columns: 1fr;
    }
}

/* Away Notice Styling */
.away-notice {
    background: var(--block-dark);
    border: 1px solid var(--accent1);
    border-left: 3px solid var(--accent2);
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
}

.away-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent1);
    text-align: center;
}

.away-title {
    margin: 0;
    font-size: 15px;
    color: var(--accent2);
    font-weight: 600;
}

.away-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.away-reason {
    font-style: italic;
    color: var(--text-color);
    font-size: 14px;
    text-align: center;
}

.away-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.away-separator {
    color: var(--accent1);
}

.away-since,
.away-returns {
    display: inline-block;
}

/* Attached Accounts - Modern Inline Design */
.profile-attached-accounts {
    background-color: var(--block-med);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.attached-header {
    background-color: var(--block-dark);
    padding: 15px 25px;
    border-bottom: 2px solid var(--accent1);
}

.attached-title {
    font-family: var(--font-header);
    font-size: 1.2em;
    color: var(--text-color);
    font-weight: 600;
}

.attached-content {
    padding: 25px;
}

.attached-accounts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}


.attached-accounts-list li img{
width: 100px;
	height: 100px;
	object-fit: cover;
	object-position: center center;
}

/* Style direct children of .attached-accounts-list */
.attached-accounts-list > * {
    display: inline-block;
    padding: 1em;
    background-color: var(--block-dark);
    border-radius: 5px;
    font-family: var(--font-read);
    font-size: 1em;
    transition: all 0.2s ease;
}

.attached-accounts-list > *:hover {
    background-color: var(--block-lighter);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Style links inside the children */
.attached-accounts-list > * a {
    color: var(--accent1);
    text-decoration: none;
	display: block;
}

.attached-accounts-list > *:hover a {
    color: var(--text-color);
}

/* Hidden accounts notice */
.attached-content > div:last-child:not(.attached-accounts-list) {
    margin-top: 15px;
    font-family: var(--font-read);
    font-size: 0.9em;
    color: var(--text-color-muted);
    font-style: italic;
}


/****************************************
Conditional Profile Display - Writer vs Character
*****************************************/

/* Hide character-specific sections for writer usergroups (4, 3, 6, 15) */
.member-profiles-wrapper.usergroup-4 .profile-split-container,
.member-profiles-wrapper.usergroup-3 .profile-split-container,
.member-profiles-wrapper.usergroup-6 .profile-split-container,
.member-profiles-wrapper.usergroup-15 .profile-split-container {
    display: none !important;
}

.member-profiles-wrapper.usergroup-4 .section-3,
.member-profiles-wrapper.usergroup-3 .section-3,
.member-profiles-wrapper.usergroup-6 .section-3,
.member-profiles-wrapper.usergroup-15 .section-3 {
    display: none !important;
}

/* Hide faceclaim footer item for writers */
.member-profiles-wrapper.usergroup-4 .footer-faceclaim-item,
.member-profiles-wrapper.usergroup-3 .footer-faceclaim-item,
.member-profiles-wrapper.usergroup-6 .footer-faceclaim-item,
.member-profiles-wrapper.usergroup-15 .footer-faceclaim-item {
    display: none !important;
}

/* Show writer-specific content */
.member-profiles-wrapper.usergroup-4 .writer-about-content,
.member-profiles-wrapper.usergroup-3 .writer-about-content,
.member-profiles-wrapper.usergroup-6 .writer-about-content,
.member-profiles-wrapper.usergroup-15 .writer-about-content {
    display: block !important;
}

.member-profiles-wrapper.usergroup-4 .writer-about-title,
.member-profiles-wrapper.usergroup-3 .writer-about-title,
.member-profiles-wrapper.usergroup-6 .writer-about-title,
.member-profiles-wrapper.usergroup-15 .writer-about-title {
    display: block !important;
}

/* Hide character-specific content for writers */
.member-profiles-wrapper.usergroup-4 .character-about-content,
.member-profiles-wrapper.usergroup-3 .character-about-content,
.member-profiles-wrapper.usergroup-6 .character-about-content,
.member-profiles-wrapper.usergroup-15 .character-about-content,
.member-profiles-wrapper.usergroup-4 .character-about-title,
.member-profiles-wrapper.usergroup-3 .character-about-title,
.member-profiles-wrapper.usergroup-6 .character-about-title,
.member-profiles-wrapper.usergroup-15 .character-about-title {
    display: none !important;
}

/* Default: Hide writer content for everyone else */
.writer-about-content,
.writer-about-title {
    display: none;
}

/* Default: Show character content for everyone else */
.character-about-content,
.character-about-title {
    display: block;
}

/* ===================================
   MEMBER PROFILE - WANTED ADS SECTION
   =================================== */

.profile-wanted-ads-section {
    width: 100%;
    max-width: 100%;
    margin: 40px 0;
    background: var(--block-dark);
    border-radius: 8px;
    overflow: hidden;
}

.wanted-ads-header {
    background: var(--block-dark);
    padding: 25px;
    border-bottom: 3px solid var(--accent1);
    text-align: center;
}

.wanted-ads-title {
    font-family: var(--font-title);
    font-size: 2.5em;
    color: var(--accent1);
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wanted-ads-container {
    padding: 30px;
}

/* Wanted Ad Card */
.wanted-ad-card {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 30px;
    background: var(--block-med);
    border: 1px solid var(--accent2);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.wanted-ad-card:last-child {
    margin-bottom: 0;
}

.wanted-ad-card:hover {
    border-color: var(--accent1);
    box-shadow: 0 5px 20px rgba(222, 166, 99, 0.2);
}

/* Left Column - Faceclaim Image */
.wanted-ad-left {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.wanted-fc-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--accent2);
}

.wanted-fc-placeholder {
    width: 100%;
    height: 400px;
    background: var(--block-dark);
    border: 2px dashed var(--accent2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-muted);
    font-family: var(--font-read);
    font-style: italic;
}

/* Middle Column - Input Fields */
.wanted-ad-middle {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wanted-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wanted-field-label {
    font-family: var(--font-header);
    font-size: 0.85em;
    color: var(--text-color-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.wanted-field-value {
    padding: 10px 15px;
    background: var(--block-dark);
    border-bottom: 2px solid var(--accent2);
    color: var(--text-color);
    font-family: var(--font-read);
    font-size: 1em;
}

/* Right Column - Overview */
.wanted-ad-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wanted-ad-title {
    font-size: 1.8em;
    color: var(--accent1);
    margin: 0;
    font-family: var(--font-header);
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--accent2);
}

.wanted-ad-overview h4 {
    font-family: var(--font-header);
    font-size: 1em;
    color: var(--text-color-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.wanted-description {
    color: var(--text-color);
    font-family: var(--font-read);
    line-height: 1.8;
    font-size: 0.95em;
    text-align: justify;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .wanted-ad-card {
        grid-template-columns: 250px 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .wanted-ad-card {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .wanted-fc-image {
        max-height: 500px;
    }
    
    .wanted-ads-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .wanted-ads-title {
        font-size: 2em;
    }
    
    .wanted-ads-container {
        padding: 15px;
    }
    
    .wanted-ad-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .wanted-ads-title {
        font-size: 1.5em;
    }
    
    .wanted-ad-title {
        font-size: 1.4em;
    }
}
