* {
margin: 0;
padding: 0;
--greylight: #868686;
--greymid: #717171;
--greydark: #5D5D5D;
--whitelight:#fff;
--whitemid:#F4F4F4;
--whitedark:#F5F5F5;
--aquamid:#73C2C9;
--aqualight:#8BCFD1;
--orange:#FF9953;
--pink:#FF8BE4;
--green:#98C788;
--goldmid: #988957;
--goldlight: #BCAB71;
--blue:#73C2C9;
--deepbluemid:#1D2B39;
--deepbluelight:#26505D;
--blackdark: #161616;
--blackmid: #383838;
--blacklight: #AFAFAF;
--yellowmid: #F3DE80;
--burntmid: #83693A;
--burntlight: #CC9F4E;
--addydisplay: none;

}


@font-face {
  font-family: 'Bebas';
  src: url('/fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Sora-L';
  src: url('/fonts/Sora-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Sora-B';
  src: url('/fonts/Sora-Bold.ttf') format('truetype');
}


body {
font-family: 'Sora-L', sans-serif;
font-size:14px;
overflow-x: hidden;
font-synthesis: none;
}

body.nudity-off .home_image_feed_thumb[data-nudity="1"] .home_image_feed_thumb_inner {
  filter: blur(5px);
}

body.nudity-off .home_image_feed_thumb[data-nudity="1"] .nudity_overlay {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

.bottomfix {
  position:relative;
  display:block;
  width:100vw;
  height:20px;
}


strong,
b {
    font-family: 'Sora-B', sans-serif;
    font-weight: normal; /* prevent fake bold stacking */
}

#bio-editor .ql-editor u {
    text-decoration: underline;
}

#bio-editor .ql-editor strong {
    font-family: 'Sora-B', sans-serif;
    font-weight: normal;
}

.bio-wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 90%;
}

.bio-wrapper .ql-toolbar,
.bio-wrapper .ql-container {
    border: none !important;
    background: #fff;
}

.bio-wrapper .ql-toolbar button {
    color: var(--greydark);
}

.bio-wrapper .ql-toolbar button:hover {
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.bio-wrapper .ql-toolbar button.ql-active {
    background: rgba(0,0,0,0.1);
    border-radius: 8px;
}

.bio-wrapper .ql-editor {
    font-family: 'Sora-R', sans-serif;
    font-size: 16px;
    padding: 12px;
    min-height: 120px;
}

.bio-wrapper .ql-editor,
.bio-wrapper .ql-editor p,
.bio-wrapper .ql-editor span {
    color: var(--greydark) !important;
    opacity: 1 !important;
}

.bio-wrapper .ql-editor.ql-blank::before {
    color: var(--greydark);
    opacity: 0.4;
}

.bio-wrapper .ql-editor ul {
    padding-left: 18px;
    margin: 8px 0;
}

.bio-wrapper .ql-editor li {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.bio-wrapper .ql-editor li::marker {
    font-size: 0.8em;
}

a {
    text-decoration:none;
    padding:0px;
    margin:0px;
}

h3 {
    font-size: 56px;
    font-family: 'Bebas', sans-serif;
    line-height:.9;
}

h2 {
    font-size: 30px;
    font-family: 'Bebas', sans-serif;
    line-height:.9;
}

h1 {
    font-size: 24px;
    font-family: 'Bebas', sans-serif;
    line-height:.9;
}

p {
  font-size: 14px;
  margin:8px 13px 8px 13px;
}

.divider {
    position:relative;
    display:block;
    width:340px;
    max-width:100%;
    height:2px;
    margin:15px 0px 15px 0px;
    opacity:.3;
}

ul {
    font-size: 14px;
    list-style-position: outside;
    padding-left:40px;
}

.overlay {
  position:fixed;
  display:none;
  height:100vh;
  width:100vw;
  z-index:120;
  backdrop-filter: blur(3px) saturate(0.3);
  -webkit-backdrop-filter: blur(3px) saturate(0.3);
  pointer-events: auto;
}

.overlay::before {
  content: "";
  position: absolute;
  inset: 0;

  background: var(--overlay-color); /* use ANY theme color */
  opacity: 0.7;

  pointer-events: none;
}

.modal_open {
  overflow:hidden;
}

.content {
    position:relative;
    display:block;
    width:100vw;
    height:fit-content;
    z-index:1;
}

.column_half {
  position:relative;
  display:inline-block;
  vertical-align:top;
  margin-bottom:10px;
  padding:30px 20px 0px 0px;
  width:46%;
  height:fit-content;
}

.column_left {
  padding-left:15px;
}

.menu_portsicleicon_closed{
  position:fixed;
  display:block;
  right: -2px;
  top:10px;
  transform:scale(1);
  cursor:pointer;
  z-index:85001;
  -webkit-transition: right .3s ease;
	-ms-transition: right .3s ease;
	transition: right .3s ease;
}

.menu_portsicleicon_closed:hover{
  transform:scale(1.2);
  -webkit-transition: transform .2s ease;
	-ms-transition: transform .2s ease;
	transition: transform .2s ease;
}

.menu_portsicleicon_open{
  position:fixed;
  display:block;
  right:97px;
  top:10px;
  transform:scale(1);
  z-index:85001;
  -webkit-transition: right .3s ease;
	-ms-transition: right .3s ease;
	transition: right .3s ease;
}


.menu_title_closed {
  position:fixed;
  display:block;
  text-align:right;
  top:80px;
  right:-360px;
  padding:15px 30px 15px 30px;
  border-radius: 50px 0px 0px 50px;
  z-index:85000;
  -webkit-box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
  -webkit-transition: right .3s ease;
	-ms-transition: right .3s ease;
	transition: right .3s ease;
}

.menu_title_open {
  position:fixed;
  display:block;
  text-align:right;
  top:80px;
  right:0px;
  padding:15px 30px 15px 30px;
  border-radius: 50px 0px 0px 50px;
  z-index:85000;
  -webkit-box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
  -webkit-transition: right .3s ease;
	-ms-transition: right .3s ease;
	transition: right .3s ease;
}

.menu_box_open {
  position:fixed;
  display:block;
  width:163px;
  right:-20px;
  top:0px;
  z-index:20000;
  -webkit-transition: right .3s ease;
	-ms-transition: right .3s ease;
	transition: right .3s ease;
}

.menu_box_closed {
  position:fixed;
  display:block;
  width:163px;
  right:-200px;
  top:0px;
  z-index:20000;
  -webkit-transition: right .3s ease;
	-ms-transition: right .3s ease;
	transition: right .3s ease;
}

.menu_box_top {
  position:relative;
  display:block;
  width:100%;
  height:186px;
}

.menu_box_middle {
  position:relative;
  display: block;
  text-align:right;
  width:100%;
}

.menu_box_bottom {
  position:relative;
  display:block;
  width:100%;
  height:60px;
}

.menu_item_box{
  position:relative;
  display:block;
  width:100%;
  height: 42px;
  text-align: left;
}

.menu_item{
  position:relative;
  font-family: 'Sora-B', sans-serif;
  font-size:14px;
  width: fit-content;
  border-radius:20px;
  padding:8px 12px 8px 12px;
  cursor:pointer;
  margin-left:10px;
}

.menu_item:hover{
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

.menu_closebutton {
  position:fixed;
  display:none;
  top:18px;
  right:50px;
  padding:8px 10px 9px 10px;
  border-radius:50%;
  cursor:pointer;
  -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .65);
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .65);
  z-index:85002;
}

.footer {
  position:fixed;
  display:block;
  height:197px;
  width:360px;
  text-align:center;
  font-family: 'Sera-R', sans-serif;
  font-size:10px;
  z-index:5000;
}

.footer_item{
  position:relative;
  display:inline-block;
  font-family: 'Sora-B', sans-serif;
  font-size:12px;
  width: fit-content;
  border-radius:20px;
  padding:8px 12px 8px 12px;
  cursor:pointer;
  margin:2px;
}

.footer_item:hover{
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

.footer_open {
  right:30px;
  transform:translateX(0%);
  bottom:-100px;
  -webkit-transition: bottom .3s ease;
	-ms-transition: bottom .3s ease;
	transition: bottom .3s ease;
}

.footer_closed {
  right:30px;
  transform:translateX(0%);
  bottom:-199px;
  -webkit-transition: bottom .3s ease;
	-ms-transition: bottom .3s ease;
	transition: bottom .3s ease;
}

.special_box {
  position:fixed;
  display:none;
  right:155px;
  top:190px;
  width:270px;
  height:360px;
  border-radius:20px;
  text-align:right;
  -webkit-border-radius:20px;
  z-index:500;
}

.featured_info {
    position:absolute;
    display:block;
    left:30px;
    bottom:90px;
    width:fit-content;
    height:fit-content;
    background-color:var(--orange);
    padding:12px 22px 12px 12px;
    width:fit-content;
    max-width:300px;
    border-radius: 50px;
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
    box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

.featured_avatar {
    position:relative;
    display:inline-block;
    height:48px;
    width:48px;
    border-radius:50%;
    vertical-align:top;
    background-size:cover;
    margin-right:8px;
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
    box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

.featured_link {
  display: flex;              /* keeps layout identical */
  align-items: center;
  text-decoration: none;
  color: var(--greydark);
}

.featured_text {
  display: inline-block;
}

.featured_background_box {
  position:relative;
  display:block;
  width:100vw;
  height:45vh;
  z-index:98;
  top:0px;
  left:0px;
  background-size:cover;
  background-position:center;
}

.featured_background_box_cover {
  position:absolute;
  display:block;
  bottom:0px;
  width:100%;
  height:60px;
  border-radius: 0px 60px 0px 0px;
  -webkit-border-radius: 0px 60px 0px 0px;
}

.featured_background_box_cover_radius {
  position:absolute;
  display:block;
  bottom:60px;
  left:0px;
  width:60px;
  height:60px;
  background-size:100%;
}

.home_image_feed_box {
    position:relative;
    display:block;
    transform:translateY(-65px);
    width:100% !important;
    height:fit-content;
    border-radius: 0px 60px 40px 0px;
    -webkit-border-radius: 0px 60px 40px 0px;
    z-index:99;
    overflow:hidden;
    font-family:'Bebas',sans-serif;
    font-size:32px;
}

.home_left_column {
    z-index:99;
    transform:translateY(-65px);
  }

.home_image_feed_thumb_box {
  position:relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 8px;  /* back on */
  gap: 6px;
  width:94%;
  overflow:hidden;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home_image_feed_thumb_box {
  mask-image: linear-gradient(to bottom, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent);
}

.port-page .home_image_feed_thumb_box {
  mask-image: none;
  -webkit-mask-image: none;
}

.home_image_feed_thumb {
  position: relative;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s ease;
  cursor:pointer;
}

.home_image_feed_thumb_inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;   /* ← this is the missing piece */
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease;
}

.home_image_feed_thumb:hover .home_image_feed_thumb_inner {
  transform: scale(1.2);
}


.nudity_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);

  display: flex;              /* force our own layout */
  flex-direction: column;     /* 🔥 stack vertically */
  align-items: center;        /* center horizontally */
  justify-content: center;    /* center vertically */

  text-align: center;
  color: white;

}

/* X icon */
.nudity_overlay i {
  color: var(--orange);
  font-size: 20px;
}

/* Text */
.nudity_overlay div {
  font-family: 'Sora-R', sans-serif;
  font-size: 10px;
  color: white;
  padding: 0px 6px 0px 6px;
}

.pager-wrapper {
  position:relative;
  display: block;
  left:50%;
  width:fit-content;
  transform:translateX(-50%);
  margin: 10px;
}

.pager-btn {
  width: 48px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 50%;

  display: inline-block;

  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor:pointer;
}

.pager-btn:hover {
  background: rgba(0,0,0,0.85);
}

.pager-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/*image modal */
.image-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
z-index: 90001;
}

.image-modal.active {
opacity: 1;
pointer-events: auto;
}

/* centered container */
.image-modal-body {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: grid;
gap: 16px;
max-width: 98vw;
max-height: 98vh;
}

/* portrait = side-by-side */
.image-modal-body.portrait {
  grid-template-columns: 1fr auto;
  align-items: start;
}

/* landscape = stacked */
.image-modal-body.landscape {
grid-template-columns: 1fr;
}

/* image wrapper */
.image-modal-image {
position: relative;
}

/* image fills available space properly */
.image-modal-image img {
display: block;
width: auto;
height: auto;
max-width: 74vw;
max-height: 85vh;
object-fit: contain;
border-radius: 20px;
-webkit-border-radius: 20px;
-webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
cursor:pointer;
}

/* meta container */
.image-modal-meta {
display: flex;
padding: 10px;
border-radius: 20px;
-webkit-border-radius: 20px;
}

/* portrait meta (this was the main fix) */
.image-modal-body.portrait .image-modal-meta {
flex-direction: column;
max-width: min(300px, 25vw);
height: fit-content;
}

/* landscape meta */
.image-modal-body.landscape .image-modal-meta {
align-items: center;
gap: 16px;
width: fit-content;
height:fit-content;
}

/* user row */
.image-modal-user {
display: flex;
align-items: center;
gap: 8px;
font-size:24px;
text-decoration: none;
}

.image-modal-user img {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
-webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

/* description */
.image-modal-description {
font-size: 14px;
line-height: 1.4;
margin-top: 10px;
min-width: 150px;
max-width: 100%;
}

/* landscape override */
.image-modal-body.landscape .image-modal-description {
margin-top: 0;
}

/* close button */
.image-modal-inner {
position: relative;
}

.image-modal-close {
position: absolute;
top: -46px;
left: 0;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
-webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}



.avatar {
  position:relative;
  display:block;
  width:120px;
  height:120px;
  left:10px;
  top:10px;
  z-index:105;
  border-radius:50%;
  background-size:cover;
  background-position:center;
  -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

.avatar_container {
  position:relative;
  display:block;
  z-index:104;
  height:140px;
  width:fit-content;
  top:calc(45vh - 110px);
}

.avatar_profile_block {
  position:relative;
  display:inline-block;
  width:650px;
  height:100%;
  border-radius: 70px 50px 0px 0px;
}

.avatar_profile_block_cornerright {
  position:absolute;
  display:block;
  height:40px;
  width:40px;
  left:650px;
  bottom:0px;
}

.avatar_profile_block_info {
  position:relative;
  display:inline-block;
  vertical-align:top;
  margin-top:18px;
  width:500px;
  overflow:visible;
}

.avatar_profile_block_buttons {
  margin-top:6px;
}

.avatar_profile_button {
    position:relative;
    display:inline-block;
    padding:8px 8px 8px 8px;
    border-radius: 50%;
    margin-right:2px;
    cursor:pointer;
}

.avatar_profile_button:hover {
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

.bio_surround {
  margin-top:20px;
}

.tooltip {
    position:relative;
    z-index:1000;
}

/* The tooltip bubble */
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-90%) translateY(5px);

  font-family: 'Sera-R', sans-serif;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
  
}

/* Show on hover */
.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-90%) translateY(0);
}

.button1 {
    position:relative;
    display:block;
    font-size:16px;
    padding: 8px 12px 8px 12px;
    border-radius: 20px;
    cursor:pointer;
}

.button1:hover {
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
    box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, .45);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"]):not([type="color"]),
textarea,
select {
  padding:5px 10px;
  border-radius:10px;
  box-shadow:none;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
  font-size:16px !important;
}


input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"]):not([type="color"]):focus,
textarea:focus,
select:focus {
  -webkit-appearance:none;
  appearance:none;
  box-shadow:none;
  outline:none;
}

.welcome_container {
    position:relative;
    display:block;
    left:0px;
    top:0px;
    height:fit-content;
    width:fit-content;
    z-index:99;
}

.welcome_box {
    position:relative;
    display:block;
    left:0px;
    top:0px;
    height:fit-content;
    width:fit-content;
    max-width:300px;
    padding: 17px 18px 13px 12px;
    border-radius: 0px 40px 40px 0px;
}

.theme-picker{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:10px;
}

.theme-option{
    width:70px;
    height:70px;
    cursor:pointer;
    border:4px solid transparent;
    border-radius:50%;
    transition:0.2s;
}

.theme-option:hover {
    -webkit-box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .65);
    box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .65);
}

.theme-option.active{
    border:4px solid var(--orange);
}

.special_message_modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    width: 360px;
    height: fit-content;
    z-index: 90001;
    border-radius: 20px;

    justify-content: center;
    align-items: center;

    -webkit-box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
    box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
}

.special_message_modal_content {
    max-width: 600px;
    width: 90%;
    padding: 20px;
    position: relative;
}

.special_message_modal_close {
    position: absolute;
    top: 12px;
    right: 14px;
    cursor: pointer;
    font-size: 24px;
}

.special_message_overlay {
  position:fixed;
  display:none;
  height:100vh;
  width:100vw;
  opacity:.7;
  z-index:90000;
  pointer-events: none;
  backdrop-filter: blur(3px) saturate(0.3);
  -webkit-backdrop-filter: blur(3px) saturate(0.3);
}

.read_more_msg {
    padding:5px 7px 6px 7px;
    border-radius: 50%;
}

.profile_hero_box {
    position:relative;
    display:block;
    width:100vw;
    height:45vh;
    z-index:98;
    top:0px;
    left:0px;
    background-size:cover;
    background-position:center;
    border-radius: 0px 0px 100px 0px;
    -webkit-border-radius: 0px 0px 100px 0px;
}

.image_grid {
    position: relative;
    width: 100%;
    font-size: 0; /* removes inline-block spacing */
}

.image-item {
    position: relative;
    display: inline-block;
    width: 20%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.image-bg {
    position: absolute;
    inset: 0;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    transition: transform 0.3s ease;
}

.image-item:hover .image-bg {
    transform: scale(1.1);
}

.image-item::after {
    content: "";
    position: absolute;
    inset: 0;

    background-color: rgba(0,0,0,0);
    transition: background-color 0.2s ease;
}

.image-actions {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2;
    border-radius:0px 0px 0px 10px;
    height:90%;
    -webkit-box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
    box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
}

.image-actions a {
    position:relative;
    display:block;
    text-align:center;
    text-decoration: none;
    font-size: 18px;
}

.image_button {
    position:relative;
    display:block;
    width:24px;
    height:24px;
    border-radius:50%;
    margin-top:4px;
}

.image_message_modal {
    position:fixed;
    display:none;
    left:50%;
    top:50%;
    width:340px;
    transform:translate(-50%,-50%);
    z-index:30000;
    border-radius: 20px;
    -webkit-box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
    box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, .45);
}

.image_message_modal_close {
    position:absolute;
    display:block;
    right:5px;
    top:5px;
    width:fit-content;
    cursor:pointer;
}

.image-modal-buttons {
    margin-top: 15px;
    text-align: right;
}

.image-modal-buttons button {
    margin-left: 10px;
}

.blinking {
    animation: blinkFade 1s infinite !important;
}

@keyframes blinkFade {
    0%   { opacity: 1; }
    50%  { opacity: 0.3; }
    100% { opacity: 1; }
}

.faq-item {
    border-bottom: 1px solid var(--greylight);
    padding: 10px 0;
}

.faq-question {
    cursor: pointer;
    font-weight: 500;
    color: var(--greydark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question i {
    transition: transform 0.2s ease;
    color: var(--aquamid);
}

/* key changes here */
.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.25s ease;
    color: var(--greydark);
    padding-left: 24px;
}

/* icon rotation when open */
.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.video-wrapper {
  position: relative;
  width: 95%;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;

  border-radius:20px;
  -webkit-border-radius:20px;
}

.og_badge {
  position: absolute;
  left:2px;
  bottom:-8px;
  display: inline-block;
}

.og_badge svg {
  display: block;
  width: 30px;   /* adjust size */
  height: auto;
  filter: drop-shadow(0px 3px 4px rgba(0,0,0,0.7));
}

.og_badge svg path,
.og_badge svg ellipse {
  stroke-width: 4;
}

.og_badge_text {
  position: absolute;
  left: 50%;
   /* anchor at the top of the badge */

  transform: translate(-50%, -50%) rotate(-90deg);
  /*          center X   push down a bit */

  font-size: 12px;
  font-family: 'Sora-B', sans-serif;

  pointer-events: none;
  white-space: nowrap;
}

.new-ports {
  display: flex;
  flex-wrap: wrap;      /* 🔑 allows wrapping */
  gap: 6px;            /* spacing between items */
  margin: 12px 0px 20px 10px;
}

.new-port-item {
  display: flex;
  align-items: center;
  gap: 2px;
    width:fit-content;
  text-decoration: none;
  padding: 4px 18px 4px 4px;
  border-radius: 40px;

  transition: background 0.2s ease, transform 0.2s ease;
}

.new-port-item:hover {
  transform: translateX(3px);
}

.new-port-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
    margin-right:6px;
  background-size: cover;
  background-position: center;

  flex-shrink: 0;

  box-shadow: 0px 3px 6px rgba(0,0,0,.35);
  transition: transform 0.2s ease;
}

.new-port-item:hover .new-port-avatar {
  transform: scale(1.05);
}

.new-port-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.new-port-name {
  font-family: 'Bebas', sans-serif;
  font-size: 24px;
  line-height: .6;
  margin-top:6px;
}

.new-port-roles {
  font-size: 12px;
  margin-top: 1px;
}

.activity-feed {
  display: flex;
  flex-wrap: wrap;      /* 🔑 allows wrapping */
  gap: 6px;            /* spacing between items */
  margin: 12px 0px 20px 10px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 2px;
    width:fit-content;
  text-decoration: none;
  padding: 4px 18px 4px 4px;
  border-radius: 40px;

  transition: background 0.2s ease, transform 0.2s ease;
}

.activity-item:hover {
  transform: translateX(3px);
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right:6px;
  background-size: cover;
  background-position: center;

  flex-shrink: 0;

  box-shadow: 0px 3px 6px rgba(0,0,0,.35);
  transition: transform 0.2s ease;
}

.activity-text {
  font-family: 'Sora-R', sans-serif;
  font-size: 12px;
  line-height: .8;
}

.favorites-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    align-items: start;
    width:90vw;
}

.favorite-item {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    padding: 6px;
    position: relative;
    height:fit-content;
    box-shadow: 0px 2px 12px rgba(0,0,0,.45);
}

.favorite-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.favorite-main {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.favorite-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.favorite-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 6px;
    flex-shrink: 0;
    box-shadow: 0px 3px 6px rgba(0,0,0,.35);
}

.favorite-text {
    font-family: 'Sora-R', sans-serif;
    font-size: 12px;
    line-height: .8;
}

.favorite-text h1 {
    margin: 0;
}

.favorite-activity-toggle {
    cursor: pointer;
    text-align:center;
    border-radius:50%;
}

.favorite-activity-toggle:hover {
    box-shadow: 0px 2px 8px rgba(0,0,0,.35);
}

.favorite-delete {
    margin-right: 8px;
    cursor: pointer;
    border-radius:50%;
    padding:8px;
}

.favorite-delete:hover {
    box-shadow: 0px 2px 8px rgba(0,0,0,.35);
}

.favorite-activity-drawer {
    display: none;
    margin-left: 40px;
}

.favorite-activity-inner {
    display: inline-block;
    padding: 2px 0px;
    border-radius: 12px;
}

.favorite-activity-row {
    width: fit-content;
    padding: 2px 0px;
    font-size: 13px;
    font-family: 'Sora-R', sans-serif;
}

/* =========================
   MODAL
========================= */

.favorite-modal {
    position: fixed;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.95);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .2s ease,
        transform .2s ease;
    
    z-index: 9999;
}

.favorite-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.favorite-modal-inner {
    box-shadow: 0px 4px 6px rgba(0,0,0,.65);
    padding: 12px;
    border-radius: 18px;
    width: 260px;
    text-align: center;
}

.favorite-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.favorite-message {
    border-radius:50%;
    transition:box-shadow .18s ease;
}

.favorite-message:hover {
    box-shadow:0px 2px 8px rgba(0,0,0,.35);
    cursor:pointer;
}

.favorite-actions {
    display:flex;
    align-items:center;
    gap:8px;
}

.message-activity-drawer {
    display: none;
    margin-left: 5px;
    margin-right:5px;
    margin-top:10px;
}

.message-reply {
    margin-top: 12px;
}

.message-reply-text {
    width: 100%;
    min-height: 70px;
    resize: vertical;
    margin-bottom: 10px;
    border:none;
    outline:none;
    font-family:'Sora-R',sans-serif;
    font-size:13px !important;
}

.message-thread {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 12px;
    border-radius: 20px;
    line-height: 1;
    word-break: break-word;
    font-size:13px;
}

.my-message {
    align-self: flex-end;
}

.their-message {
    align-self: flex-start;
}

.my-message,
.their-message {
    text-align: left !important;
}

.show-older-messages {
    margin-bottom: 12px;
    align-self: center;
    box-shadow: none !important;
    font-size:10px;
}

@media (max-width: 900px) {
  body {
    font-size:12px;
  }
  
  h3 {
    font-size:40px;
  }
  
  .column_half {
    padding:20px 15px 0px 0px;
    width:46%;
  }

  .column_left {
    padding-left:15px;
  }

  .menu_portsicleicon_open{
    transform:scale(1);
  }

  .menu_portsicleicon_closed{
    transform:scale(1);
    -webkit-transition: transform .2s ease;
    -ms-transition: transform .2s ease;
    transition: transform .2s ease;
    }

  .footer_open {
    right:30px;
    transform:translateX(0%);
    bottom:-100px;
  }

  .footer_closed {
    right:30px;
    transform:translateX(0%);
    bottom:-240px;
  }

  .featured_background_box {
    height:38vh;
  }

  .profile_hero_box {
    height:32vh;
    border-radius: 0px 0px 50px 0px;
    -webkit-border-radius: 0px 0px 50px 0px;
  }

  .avatar {
    width:80px;
    height:80px;
    left:7px;
    top:7px;
  }

  .avatar_container {
    height:100px;
    top:calc(32vh - 92px);
  }

  .avatar_profile_block {
    position:relative;
    display:inline-block;
    width:350px;
    height:100%;
    border-radius: 45px 50px 0px 0px;
  }

  .avatar_profile_block_cornerright {
    display:block;
    height:40px;
    width:40px;
    left:350px;
    bottom:0px;
  }

  .avatar_profile_block_info {
    margin-top:12px;
    width:220px;
  }

  .avatar_profile_block_buttons {
    margin-top:6px;
  }

  .bio_surround {
    margin-top:20px;
  }

  .image-item {
    width: 33%;
  }
  .home_image_feed_thumb_box {
    grid-template-columns: repeat(3, 1fr);
  }

  .home_image_feed_box {
    transform:translateY(-45px);
    border-radius: 0px 60px 40px 0px;
    -webkit-border-radius: 0px 60px 40px 20px;
  }

  .home_left_column {
    transform:translateY(-45px);
  }

  .image-modal-body.portrait {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .image-modal-image img {
    max-width: 75vw;
    max-height: 70vh;
    }

  .image-modal-body.portrait .image-modal-meta {
    flex-direction: column;
    max-width: min(300px, 25vw);
    height: fit-content;
    }

    .image-modal-user {
    font-size:22px;
    }

    .og_badge svg {
        width: 20px;   /* adjust size */
    }

    .og_badge_text {
        font-size: 10px;
        }

    .favorites-feed {
        grid-template-columns: repeat(2, 1fr);
        width:90vw;
    }

}

@media (max-width: 596px) {
  .column_half {
    padding:0px 10px 0px 10px;
    width:96%;
  }

  .column_left {
    padding-left:10px;
  }

  .menu_portsicleicon_open{
    transform:scale(1);
  }

  .menu_portsicleicon_closed{
    transform:scale(1);
    -webkit-transition: transform .2s ease;
    -ms-transition: transform .2s ease;
    transition: transform .2s ease;
  }

  .footer_open {
    left:50vw;
    transform:translateX(-50%);
    bottom:-120px;
  }

  .footer_closed {
    left:50vw;
    transform:translateX(-50%);
    bottom:-199px;
  }

  .featured_background_box {
    height:50vh;
  }

  .profile_hero_box {
    height:50vh;
    border-radius: 0px 0px 0px 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
  }

  .avatar {
    width:60px;
    height:60px;
    left:7px;
    top:7px;
  }

  .avatar_container {
    height:100px;
    top:calc(45vh - 40px);
    width:100vw;
  }

  .avatar_profile_block {
    position:relative;
    display:inline-block;
    width:100%;
    height:100%;
    border-radius: 37px 50px 0px 0px;
  }

  .avatar_profile_block_cornerright {
    display:none;
  }

  .avatar_profile_block_info {
    margin-top:12px;
    width:300px;
  }

  .avatar_profile_block_buttons {
    margin-top:6px;
  }

  .bio_surround {
    margin-top:55px;
  }

  .home_image_feed_thumb_box {
    grid-template-columns: repeat(3, 1fr);
  }

  .home_image_feed_box {
    transform:translateY(-0px);
    border-radius: 0px 60px 40px 0px;
    -webkit-border-radius: 0px 60px 40px 0px;
  }

  .home_left_column {
    transform:translateY(-40px);
  }

  .image-modal-body.portrait {
    grid-template-columns: 1fr;
  }
  .image-modal-image img {
    max-width: 90vw;
    max-height: 65vh;
    }

  /* make meta behave like landscape */
  .image-modal-body.portrait .image-modal-meta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: none;   /* 🔥 THIS is the fix */
    width: 95%;
  }

  /* keep avatar + username grouped */
  .image-modal-user {
    flex-shrink: 0;
  }

  /* push description beside it */
  .image-modal-description {
    margin-top: 0;
    max-width: none;
    flex: 1;
  }

  .og_badge svg {
        width: 15px;   /* adjust size */
    }

    .og_badge_text {
        font-size: 6px;
        }

    .favorites-feed {
        grid-template-columns: repeat(1, 1fr);
        width:80vw;
    }

}
