/* ==========================================================
   BuddySocial v10.06
   GUEST HOME TEXT COLOR / CONTRAST ONLY
   No layout, sizing, background or structure changes.
   ========================================================== */

/* Main guest/home text */
body[data-page="home"]{
  color:#26384b !important;
}

body[data-page="home"] :is(
  .classic-home-box,
  .classic-home-box p,
  .classic-home-box li,
  .classic-home-box td,
  .classic-home-box th,
  .classic-home-box label,
  .classic-home-box div,
  .classic-home-box span
){
  color:#314b60;
}

/* Keep headings strongly readable */
body[data-page="home"] :is(
  h1,h2,h3,h4,h5,h6,
  .classic-home-box b,
  .classic-home-box strong
){
  color:#244f70;
}

/* Blue title bars: force readable title colors */
body[data-page="home"] .classic-home-title{
  color:#214e70 !important;
}

body[data-page="home"] .classic-home-title > span,
body[data-page="home"] .classic-home-title b,
body[data-page="home"] .classic-home-title strong{
  color:#214e70 !important;
}

body[data-page="home"] .classic-home-title small{
  color:#526f84 !important;
  opacity:1 !important;
}

/* Generic muted/small text was too pale in several boxes */
body[data-page="home"] :is(
  small,
  .muted,
  .meta,
  .subtext,
  .hint,
  .description,
  .feed-meta,
  .post-meta,
  .friend-meta,
  .photo-meta
){
  color:#5f7485 !important;
  opacity:1 !important;
}

/* Links */
body[data-page="home"] a:not(.blue-btn):not(.orange-btn):not(.primary-btn):not(.accent-btn){
  color:#245f91 !important;
}

body[data-page="home"] a:not(.blue-btn):not(.orange-btn):not(.primary-btn):not(.accent-btn):hover{
  color:#17486f !important;
}

/* Feature cards added in v10.05 */
body[data-page="home"] .guest-home-feature-grid>div{
  color:#314b60 !important;
}

body[data-page="home"] .guest-home-feature-grid b{
  color:#225879 !important;
}

body[data-page="home"] .guest-home-feature-grid p{
  color:#526d80 !important;
  opacity:1 !important;
}

/* Quickstart strip */
body[data-page="home"] .guest-home-quickstart{
  color:#6a4a00 !important;
}

body[data-page="home"] .guest-home-quickstart b{
  color:#6d4700 !important;
}

body[data-page="home"] .guest-home-quickstart span{
  color:#755d2f !important;
  opacity:1 !important;
}

/* Privacy cards */
body[data-page="home"] .guest-home-privacy-row>span{
  color:#2c5878 !important;
}

body[data-page="home"] .guest-home-privacy-row b{
  color:#214e70 !important;
}

body[data-page="home"] .guest-home-privacy-row small{
  color:#5e7485 !important;
  opacity:1 !important;
}

/* News / announcement / birthday warm blocks */
body[data-page="home"] :is(
  .home-news-box,
  .announcement-box,
  .birthday-box,
  .requests-box
) :is(p,span,small,li){
  color:#5f4d2a !important;
}

body[data-page="home"] :is(
  .home-news-box,
  .announcement-box,
  .birthday-box,
  .requests-box
) :is(b,strong,h2,h3,h4){
  color:#6c4800 !important;
}

/* Feed/posts */
body[data-page="home"] :is(
  .home-post,
  .feed-post,
  .classic-feed-item,
  .post-card
){
  color:#30495d !important;
}

body[data-page="home"] :is(
  .home-post,
  .feed-post,
  .classic-feed-item,
  .post-card
) :is(p,span,li){
  color:#405b6f !important;
}

body[data-page="home"] :is(
  .home-post,
  .feed-post,
  .classic-feed-item,
  .post-card
) :is(b,strong,.post-author,.feed-author){
  color:#245a80 !important;
}

/* Friends/member cards */
body[data-page="home"] :is(
  .friend-card,
  .mini-person,
  .member-card,
  .home-friend-card
) :is(span,p,small){
  color:#526b7e !important;
}

body[data-page="home"] :is(
  .friend-card,
  .mini-person,
  .member-card,
  .home-friend-card
) :is(b,strong,a){
  color:#245c84 !important;
}

/* Media / photo text */
body[data-page="home"] :is(
  .hyves-media-box,
  .photo-card,
  .video-card,
  .album-card
) :is(p,span,small){
  color:#556f82 !important;
}

body[data-page="home"] :is(
  .hyves-media-box,
  .photo-card,
  .video-card,
  .album-card
) :is(b,strong,a){
  color:#255d86 !important;
}

/* Form text and placeholders */
body[data-page="home"] :is(input,textarea,select){
  color:#26384b !important;
}

body[data-page="home"] :is(input,textarea)::placeholder{
  color:#708392 !important;
  opacity:1 !important;
}

/* Buttons: force readable text */
body[data-page="home"] :is(
  .blue-btn,
  .primary-btn
){
  color:#fff !important;
  text-shadow:0 1px rgba(0,0,0,.18) !important;
}

body[data-page="home"] :is(
  .orange-btn,
  .accent-btn
){
  color:#fff !important;
  text-shadow:0 1px rgba(0,0,0,.18) !important;
}

/* Secondary/light buttons */
body[data-page="home"] :is(
  .gray-btn,
  .light-btn,
  .secondary-btn
){
  color:#2f5570 !important;
}

/* Footer text on home */
body[data-page="home"] .retro-footer,
body[data-page="home"] .retro-footer :is(p,span,small,li){
  color:#5a7081 !important;
}

body[data-page="home"] .retro-footer a{
  color:#2b638b !important;
}

/* Status / badges / counters */
body[data-page="home"] :is(
  .badge,
  .nav-badge,
  .status-badge,
  .count-badge
){
  opacity:1 !important;
}

/* Do not alter menu colors restored in v9.96 */
body[data-page="home"] .retro-nav,
body[data-page="home"] .retro-nav *{
  /* menu styling remains controlled by existing menu restore layer */
}

/* Do not touch chat */
#friend-chat,
.friend-chat-window{
  color:revert;
}
