/*
Theme Name: OceanWP Child Theme - Famous Biography
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme child theme for Famous Biography website. Features custom post types, dynamic fallback images, and flexible layout options.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 2.0.1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oceanwp-child
*/

/* Parent stylesheet is loaded from functions.php; do NOT use @import here */

/* ================== DESIGN SYSTEM VARIABLES ================== */
:root {
  --primary-color: #F32C89;
  --secondary-color: #0B1354;
  --accent-gradient: linear-gradient(135deg, #a617be, #f32c89);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  
  /* Typography Scale */
  --font-size-h1: 32px;
  --font-size-h2: 24px;
  --font-size-h3: 20px;
  --font-size-h4: 18px;
  --font-size-body: 16px;
  --font-size-small: 14px;
}
body {
  overflow-x: hidden;
  overflow: hidden;
}
.clb-nm-tl span i {
  color: #000;
}
a {
  color: #F32C89;
  font-weight: 700;
  text-decoration: none !important;
}
a:hover {
  color: #0B1354;
}
a:focus {
  outline: none !important;
}
p {
  font-size: 16px;
  color: #000;
}
/*----margin bottom 0 Start----*/
h2 {
  font-size: 24px;
}
h2, h3, h4,
.clb-shrt-bio .quick-facts,
#block-7 {
  margin-bottom: 0px;
}
.home .page-header-title {
  display: none;
}
/*----margin bottom 0 End----*/
/*----All Color Start----*/
.blog-entry.post .blog-entry-header .entry-title a:hover,
.single-page-article h2,
.trail-item.trail-end a span,
.centered-page-header .page-header-title,
.scg-nyc-digits-type,
#block-8 ul li a:hover::before,
.rld-pst-hdng a,
.rld-clb-tl:hover,
.rld-clb-prfn a:hover {
  color: #F32C89 !important;
}
/*----All Color End----*/
#site-logo #site-logo-inner a:hover img {
  opacity: 1;
}
#content-wrap {
  background-color: #fff;
  padding: 30px 15px !important;
  margin-top: 15px;
  margin-bottom: 15px;
}
.archive .content-area {
  width: 100%;
  padding-right: 0px;
  border-right: 0px;
}
.page-numbers a, 
.page-numbers span:not(.elementor-screen-only), .page-links span{
    min-width: 30px !important;
    line-height: 30px !important;
}
/*------search icon--------*/
#searchform-header-replace{
	top: 10px;
}
#searchform-header-replace-close{
	margin-top: -30px;
}
#searchform-header-replace input {
  color: #000 !important;
  background-color: #fff !important;
  height: 70% !important;
  font-size: 18px !important;
  border: 2px solid #000 !important;
  padding-left: 15px;
}
#wp-block-search__input-1 {
  margin-right: 5px;
}
.blog-entry.grid-entry .blog-entry-inner {
   background-color: #f32c8917;
   border: none;
   border-radius: 4px;
   box-shadow: 2px 0px 15px rgb(0 0 0 / 10%);
   transition: 0.9s;
}
.blog-entry.grid-entry .blog-entry-inner:hover {
  transform: translateY(-5px);
}
.blog-entry.grid-entry .blog-entry-inner:hover .overlay {
  opacity: 1;
}
/*-----main body----*/
#site-header,
#footer-bottom{
    background: linear-gradient(to left,#a617be,#f32c89,#f32c89,#f32c89,#f32c89,#a617be);
}
.blog-entry-inner .thumbnail img {
  height: 250px;
  object-fit: cover;
  object-position: top;
}
.page-numbers .page-numbers.current{
	color:#fff !important;
}
.oceanwp-pagination {
  padding-top: 30px;
}
.blog-entry.grid-entry .blog-entry-header .entry-title {
  font-size: 16px !important;
  text-align: center !important;
}
/*-----display none Start---------*/
.single-post .page-header-title,
.category .page-header-title,
.single-post .site-content article .thumbnail,
.c-thm-shw:hover::before,
.archive #right-sidebar,
.scg-nyc-sep {
  display: none !important;
}
/*-----display none End---------*/
#blog-entries article {
  padding: 0px 5px 10px 5px !important;
}
.short-pro-title p {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
/*------custom archive page desing------*/
.single-page-article #archive-pg {
  padding-bottom: 0px;
  margin-bottom: 50px;
}
#archive-pg {
  background-color: #FDE9F3;
}
.catgr-title {
  color: #0B1354 !important;
  font-size: 32px;
  margin-bottom: 16px !important;
}
.c-thm-shw img {
  transition: 0.9s;
  border-radius: unset !important;
  height: 180px;
  width: -moz-available;
  object-fit: cover;
  width: -webkit-fill-available;
  display: block;
}

/* Ensure placeholder images fill the container properly */
.c-thm-shw img[src*="data:image/svg+xml"] {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #f8f9fa;
}
.c-thm-shw:hover img {
  transform: scale(1.3);
}
.c-thm-shw {
  overflow: hidden;
  position: relative;
  height: 180px;
  display: block;
}
/* ================== SECTION HEADINGS ENHANCEMENT ================== */
.single-page-article h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: var(--spacing-md);
  line-height: 1.3;
}

.single-page-article h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* ================== BIOGRAPHY SECTION ENHANCEMENT ================== */
.clb-bio-dec {
  background: #fafbfc;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  box-shadow: var(--shadow-md);
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--primary-color);
  transition: box-shadow 0.3s ease;
}

.clb-bio-dec:hover {
  box-shadow: var(--shadow-lg);
}

.clb-bio-dec h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.clb-bio-dec p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: var(--spacing-sm);
}
/*-----table desing--------*/
/* ================== QUICK FACTS ENHANCEMENTS ================== */
.quick-facts {
  background: white;
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.quick-facts:hover {
  box-shadow: var(--shadow-md);
}

.quick-facts-header {
  background: var(--accent-gradient);
  padding: var(--spacing-sm);
  text-align: center;
}

.quick-facts-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.quick-facts-content {
  padding: 0;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-row:hover {
  background-color: #f8f9ff;
  transform: translateX(2px);
}

.fact-row:nth-child(2n) {
  background-color: #fafafa;
}

.fact-row:nth-child(2n):hover {
  background-color: #f8f9ff;
}

.fact-label {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  flex-basis: 40%;
}

.fact-value {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  flex-basis: 60%;
  text-align: right;
}

.fact-value a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.fact-value a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Mobile responsive for Quick Facts */
@media only screen and (max-width: 684px) {
  .fact-row {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-sm);
  }
  
  .fact-label {
    flex-basis: 100%;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 15px;
  }
  
  .fact-value {
    flex-basis: 100%;
    text-align: left;
    color: #666;
    font-size: 15px;
  }
}

/* Extra small mobile for Quick Facts */
@media only screen and (max-width: 480px) {
  .quick-facts-header h3 {
    font-size: 16px;
  }
  
  .fact-label {
    font-size: 14px;
  }
  
  .fact-value {
    font-size: 14px;
  }
}

/* Legacy table styles for other tables */
table {
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
}

table tr td:first-child {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  flex-basis: 40% !important;
  padding: var(--spacing-sm);
}

table tr td:last-child {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  flex-basis: 60%;
  padding: var(--spacing-sm);
}

table tbody tr {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

table tbody tr:last-child {
  border-bottom: none;
}

table tr td p {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

table tbody tr:nth-child(2n) {
  background-color: #fafafa;
}

table th, 
table td {
  border-bottom: none;
}

.clb-bio-dtls p {
  border: 1px solid #e1e1e1;
}

.informaton-details-table {
  flex-basis: 100% !important;
}

/* ================== DETAILED INFORMATION CATEGORIES ================== */
.clb-dtl-tbl {
  margin: var(--spacing-lg) 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
}

.clb-dtl-tbl:hover {
  box-shadow: var(--shadow-lg);
}

.clb-dtl-tbl h2 {
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.detail-category {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.3s ease;
}

.detail-category:hover {
  box-shadow: var(--shadow-md);
}

.detail-category h3 {
  background: var(--accent-gradient);
  color: white;
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-category-content {
  padding: var(--spacing-md);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #f5f5f5;
  transition: background-color 0.3s ease;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item:hover {
  background-color: #f8f9ff;
  padding-left: var(--spacing-sm);
  border-radius: var(--radius-sm);
}

.detail-label {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 15px;
  flex-basis: 40%;
}

.detail-value {
  color: #333;
  font-size: 15px;
  flex-basis: 60%;
  text-align: right;
}

/* Mobile responsive for detail categories */
@media only screen and (max-width: 768px) {
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-sm) 0;
  }
  
  .detail-label {
    flex-basis: 100%;
    margin-bottom: 4px;
    font-weight: 700;
  }
  
  .detail-value {
    flex-basis: 100%;
    text-align: left;
    color: #666;
  }
}

table tbody tr:hover {
  background-color: #f8f9ff;
  transform: translateX(2px);
  transition: all 0.3s ease;
}
/*----single page-------*/
.centered-page-header .page-header-title {
  font-weight: 700;
}
.celbs-img-bio .clbs-thml{
  flex-basis: 40% !important;
}
.celbs-img-bio .clb-shrt-bio {
  flex-basis: 57% !important;
}
.celbs-img-bio {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  align-items: end;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
}

/* Mobile-first responsive layout */
@media only screen and (max-width: 1023px) {
  .celbs-img-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .clbs-thml {
    order: 2;
    width: 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .clb-shrt-bio {
    order: 3;
    width: 100%;
  }
}

.celbs-img-bio:hover {
  box-shadow: var(--shadow-lg);
}

/* ================== CELEBRITY IMAGE ENHANCEMENTS ================== */
.celebrity-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.celebrity-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.clbs-thml img,
.celebrity-image {
  height: 400px;
  object-fit: cover;
  object-position: top center;
  width: 100% !important;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.celebrity-image-container:hover .clbs-thml img,
.celebrity-image-container:hover .celebrity-image {
  transform: scale(1.05);
}
.clb-nm-tl img {
  width: 18px;
  position: relative;
  top: -4px;
  right: -5px;
  cursor: pointer;
}
/* ================== SOCIAL MEDIA ICONS ================== */
.celebs-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
  width: 100%;
}

/* Enhanced responsive social icons */
@media only screen and (max-width: 1024px) {
  .celebs-social {
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    justify-content: center;
  }
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
  color: white;
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Social icon with placeholder link */
.social-icon[href="#"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.social-icon[href="#"]:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.fb-icon {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.fb-icon:hover {
  background: linear-gradient(135deg, #1565c0, #1976d2);
}

.x-icon {
  background: linear-gradient(135deg, #000000, #333333);
}

.x-icon:hover {
  background: linear-gradient(135deg, #333333, #555555);
}

.instagram-icon {
  background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.instagram-icon:hover {
  background: linear-gradient(135deg, #c13584, #e4405f, #fd1d1d);
}

.youtube-icon {
  background: linear-gradient(135deg, #ff0000, #ff4444);
}

.youtube-icon:hover {
  background: linear-gradient(135deg, #cc0000, #ff0000);
}

.tiktok-icon {
  background: linear-gradient(135deg, #000000, #ff0050);
}

.tiktok-icon:hover {
  background: linear-gradient(135deg, #ff0050, #ff4081);
}

/* ================== TYPOGRAPHY ENHANCEMENTS ================== */
.clb-nm-tl h1 {
  color: var(--secondary-color);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 1.2;
}
.clb-nm-tl {
  text-align: center;
}

/* ================== RESPONSIVE TITLE POSITIONING ================== */
/* Mobile title - always visible on mobile */
.mobile-title {
  display: block;
  order: 1;
  width: 100%;
  margin-bottom: var(--spacing-md);
}

/* Desktop title - hidden on mobile, visible on desktop */
.desktop-title {
  display: none;
}

/* Show desktop title on larger screens */
@media only screen and (min-width: 1024px) {
  .mobile-title {
    display: none;
  }
  
  .desktop-title {
    display: block;
  }
}
.trail-item.trail-end a span {
  color: #0B1354 !important;
  cursor: auto;
}
/* ================== QUICK FACTS TABLE ENHANCEMENTS ================== */
.shrt-pr-tl {
  color: #fff;
  background: var(--accent-gradient);
  font-size: 18px;
  font-weight: 600;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.clb-tbl-tl{
  color: #fff;
  background-color: #0B1354;
  font-size: 18px;
  font-weight: 600;
  line-height:20px;
}
.clb-bio-dtls{
  margin-bottom:40px;
}
.clb-bio-dtls h2,
.clb-bio-dtls h3{
  color: #fff;
  background-color: #0B1354;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 25px;
  padding: 10px;
}
.clb-bio-dtls h2:hover,
.clb-bio-dtls h2:hover,
.clb-tbl-tl:hover {
  background-color: #F32C89;
}
.clb-bio-dtls p {
  padding: 15px;
}
.clb-bio-dec h2 {
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 10px;
  margin-bottom: 15px;
  position: relative;
}
.clb-bio-dec h2::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 2px;
  background-color: #F32C89;
  bottom: -1px;
}
.lwptoc.lwptoc-autoWidth {
  margin-bottom: 30px;
}
.widget-area.sidebar-primary {
  padding-left: 15px;
}
/*-------tooltip desing-----------*/
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #000;
  color: #71767B;
  text-align: left;
  border-radius: 6px;
  padding: 10px 15px;
  position: absolute;
  z-index: 1;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 15px, rgba(255, 255, 255, 0.15) 0px 0px 3px 1px;
  font-size: 18px;
  top: 20px;
  left: 0;
}
.verified-profile {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.vpf-img {
  margin-right: 10px;
  position: relative !important;
  top: -1px !important;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}
/*---------sidebar post by profession-------*/
.Sidebar-Posts .rld-pst-cl {
  flex-basis: 50%;
}
/*----------birthday time counter-----*/
.cuntdwn-tmr{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  border-radius: 8px;
  background-color: #F1F1F1;
  padding-top: 15px;
  padding-bottom: 5px;
}
#scg-nyc-wrapper {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}
.scg-nyc-digits-wrapper {
  display: inline-block;
  vertical-align: bottom;
  padding: 5px 10px 5px 10px;
}
.scg-nyc-digit {
  color: #0B1354;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px 10px;
  font-size: 28px;
  font-weight: 600;
  margin-bottom:5px;
}
#scg-clock-days {
  line-height: normal;
  text-align: center;
}
.scg-nyc-digits-type {
  font-size: 16px;
  font-weight: 600;
}
.birtday-countdown-timer .message {
  color: #0B1354;
  padding-bottom: 5px;
}
.scg-nyc-sep {
  position: relative;
  top: -6px;
}
 #scg-nyc-msg {
  color: #0B1354;
  padding-top: 10px;
}
.cuntdwn-tmr h3 {
  margin-bottom: 10px;
}
/*--------content show-----*/
.lwptoc_i {
  background-color: #F1F1F1 !important;
  border-radius: 8px;
  padding: 14px 18px 10px !important;
}
.lwptoc_items-visible {
  padding-bottom: 10px;
}
.lwptoc_title {
  font-size: 18px;
  font-weight: 700;
}
.lwptoc_itemWrap {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
}
.lwptoc_itemWrap > div {
  flex-basis: 50%;
}
/*------sidebar-------*/
.wd-title-ext-color {
  color: #0B1354;
}
.blog-entry.grid-entry .blog-entry-header {
  margin: 10px 0px 0px 0px !important;
}
.theme-select::after {
  color: #F32C89;
  line-height: 40px;
  height: 40px;
  font-size: 15px;
  border-left: 1px solid #F32C89;
}
.theme-select {
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  border: 1px solid #0B1354 !important;
}
/*------related post---------*/
.rld-pst-cl{
  flex-basis: 16.66%;
}
#clbRltdPst .rld-pst-cl {
    flex-basis: 25%;
  }
.rltd-pst-wrap {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  margin-top: 5px;
}
.rlt-pst-wrp {
  margin: 10px;
  position:relative;
  box-shadow: 0px 4px 20px 0px rgba(0, 55.00000000000003, 100.00000000000001, 0.1);
  border-radius: 4px;
}

.rld-clb-tl {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px !important;
  display: block;
  line-height: 18px;
}
.rld-clb-prfn a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
/* ================== RELATED SECTIONS CARD LAYOUT ================== */
.dt-rld-pst{
  margin-bottom: var(--spacing-lg);
  position: relative;
  margin-top: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
}

.dt-rld-pst:hover {
  box-shadow: var(--shadow-lg);
}

.d-rld-hdng{
  padding-bottom: var(--spacing-sm);
  padding-left: 0;
  padding-right: 0;
  margin-bottom: var(--spacing-md);
}

.rld-pst-hdng h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
  padding-bottom: var(--spacing-sm);
  position: relative;
  border-bottom: 2px solid var(--primary-color);
}

.rld-pst-hdng h3 a:hover {
  color: var(--primary-color) !important;
}

.rld-pst-hdng a {
  font-size: 24px;
  color: var(--secondary-color);
  text-decoration: none;
}

.rld-pst-hdng a:hover{
  color: var(--primary-color);
}

/* ================== RELATED CARDS STYLING ================== */
.rld-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  margin-bottom: var(--spacing-md);
}

.rld-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.rld-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.rld-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rld-card:hover img {
  transform: scale(1.05);
}

.rld-card h4 {
  padding: var(--spacing-sm);
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.4;
}

.rld-card p {
  padding: 0 var(--spacing-sm) var(--spacing-sm);
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
} 
.c-thm-shw::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0px;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.8) 90%, rgba(0, 0, 0, 0.8) 100%) !important;
  z-index: 0;
}
.c-rltd-desc {
  padding: 10px 10px 5px 10px;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.clb-bio-dtls span {
  font-weight: 600;
  font-size: 18px;
  padding-bottom: 15px;
}
/*--------responsive--------*/
@media only screen and (max-width: 1400px) {
  .celbs-img-bio .clb-shrt-bio {
    flex-basis: 57% !important;
  }
  .clb-nm-tl h1 {
    font-size: 24px !important;
  }
}
@media only screen and (max-width: 1280px) {
  .lwptoc_itemWrap > div {
    flex-basis: 100%;
  }
  .content-area {
    padding-right: 15px;
  }
  .Sidebar-Posts .rlt-pst-wrp {
    margin: 5px;
  }
}
@media only screen and (max-width: 1080px) {
  .clbs-thml img {
    height: 380px;
    object-position: center;
  }
  .rld-pst-cl {
    flex-basis: 20% !important;
  }
  #clbRltdPst .rld-pst-cl {
    flex-basis: 25% !important;
  }
  .Sidebar-Posts .rld-pst-cl {
    flex-basis: 50% !important;
  }
}
/* ================== TABLET RESPONSIVENESS ================== */
@media only screen and (max-width: 1024px) {
  #blog-entries .blog-entry {
    width: 33.33% !important;
  }
  .content-area,
  .widget-area {
    width: 100%;
  }
  .content-area {
    padding-right: 0px;
    border-right-width: 0px;
  }
  
  /* Hero section tablet adjustments */
  .celbs-img-bio {
    gap: var(--spacing-md);
  }
  
  .celbs-img-bio .clbs-thml {
    flex-basis: 48% !important;
  }
  
  .celbs-img-bio .clb-shrt-bio {
    flex-basis: 49% !important;
  }
  
  .clb-shrt-bio {
    margin-top: 30px;
  }
  
  #block-5 .widgettitle {
    padding-bottom: 15px;
  }
  .oceanwp-recent-posts li {
    flex-basis: 49%;
  }
  .oceanwp-recent-posts {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  .rltd-pst-wrap {
    display: flex;
    flex-flow: wrap;
  }
  .rld-pst-cl,
  .Sidebar-Posts .rld-pst-cl {
    flex-basis: 25% !important;
  }
  .Sidebar-Posts .rlt-pst-wrp {
    margin: 10px;
  }
  .clbs-thmlimg {
    height: 600px;
  }
  
  /* Enhanced tablet social icons */
  .celebs-social {
    gap: var(--spacing-xs);
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* ================== TABLET MEDIUM (1012px and below) ================== */
@media only screen and (max-width: 1012px) {
  /* Hero section adjustments for medium tablets */
  .celbs-img-bio {
    gap: var(--spacing-sm);
  }
  
  .celbs-img-bio .clbs-thml {
    flex-basis: 45% !important;
  }
  
  .celbs-img-bio .clb-shrt-bio {
    flex-basis: 52% !important;
  }
  
  .clb-nm-tl h1 {
    font-size: 26px;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }
  
  .clbs-thml img,
  .celebrity-image {
    height: 350px;
  }
  
  .celebrity-image-container {
    min-height: 350px;
  }
  
  /* Social icons tablet medium */
  .celebs-social {
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  /* Quick Facts tablet medium adjustments */
  .fact-label {
    font-size: 15px;
  }
  
  .fact-value {
    font-size: 15px;
  }
  
  .quick-facts-header h3 {
    font-size: 17px;
  }
  
  /* Section containers tablet medium adjustments */
  .celbs-img-bio {
    padding: var(--spacing-md);
  }
  
  .clb-bio-dec {
    padding: var(--spacing-md);
  }
  
  .clb-dtl-tbl {
    padding: var(--spacing-md);
  }
  
  .dt-rld-pst {
    padding: var(--spacing-md);
  }
}

/* ================== TABLET SMALL (900px and below) ================== */
@media only screen and (max-width: 900px) {
  /* Hero section starts stacking on smaller tablets */
  .celbs-img-bio {
    flex-direction: column !important;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
  }
  
  .celbs-img-bio .clbs-thml {
    flex: none !important;
    width: 100% !important;
  }
  
  .celbs-img-bio .clb-shrt-bio {
    flex: none !important;
    width: 100% !important;
  }
  
  .clb-nm-tl h1 {
    font-size: 28px;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }
  
  .clbs-thml img,
  .celebrity-image {
    height: 400px;
  }
  
  /* Social icons tablet */
  .celebs-social {
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  
  /* Related sections tablet layout */
  .rld-pst-cl,
  .Sidebar-Posts .rld-pst-cl {
    flex-basis: 33.33% !important;
  }
  
  .Sidebar-Posts .rlt-pst-wrp {
    margin: 8px;
  }
}
@media only screen and (max-width: 959px) {
  #right-sidebar-inner {
    padding-top: 35px !important;
  }
  .rld-pst-cl {
    flex-basis: 33.33% !important;
  }
}
/* ================== MOBILE LARGE (767px and below) ================== */
@media only screen and (max-width: 767px) {
  .content-area {
    margin-bottom: 0px !important;
  }
  
  /* Hero section mobile - additional padding and smaller text */
  .celbs-img-bio {
    padding: var(--spacing-md);
  }
  
  .clb-nm-tl h1 {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.5px;
  }
  
  .clbs-thml img {
    height: 400px;
  }
  
  /* Social icons mobile optimization */
  .celebs-social {
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    justify-content: center;
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  
  /* Typography mobile adjustments */
  .single-page-article h2 {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
  }
  
  .rld-pst-hdng a {
    font-size: 20px;
  }
  
  /* Biography section mobile */
  .clb-bio-dec {
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
  }
  
  .clb-bio-dec p {
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* Detail categories mobile */
  .detail-category {
    margin-bottom: var(--spacing-sm);
  }
  
  /* Detailed information container mobile */
  .clb-dtl-tbl {
    padding: var(--spacing-md);
  }
  
  .detail-category h3 {
    font-size: 16px;
    padding: var(--spacing-sm);
  }
  
  .detail-category-content {
    padding: var(--spacing-sm);
  }
  
  .detail-item {
    padding: var(--spacing-xs) 0;
  }
  
  .detail-label {
    font-size: 14px;
  }
  
  .detail-value {
    font-size: 14px;
  }
  
  /* Related sections mobile */
  .rld-pst-cl,
  .Sidebar-Posts .rld-pst-cl {
    flex-basis: 50% !important;
  }
  
  /* Related sections container mobile */
  .dt-rld-pst {
    padding: var(--spacing-md);
  }
  
  .rld-card {
    margin-bottom: var(--spacing-sm);
  }
  
  .rld-card h4 {
    font-size: 16px;
    padding: var(--spacing-xs);
  }
  
  .rld-card p {
    font-size: 13px;
    padding: 0 var(--spacing-xs) var(--spacing-xs);
  }
  
  .oceanwp-recent-posts li {
    flex-basis: 100%;
  }
  .catgr-title {
    font-size: 24px;
  }
}
@media only screen and (max-width: 700px) {
  #blog-entries .blog-entry {
    width: 50% !important;
  }
}
/* ================== MOBILE MEDIUM (684px and below) ================== */
@media only screen and (max-width: 684px) {
  /* Hero section adjustments for medium mobile */
  .celbs-img-bio {
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }
  
  .clb-nm-tl h1 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0.3px;
  }
  
  .clbs-thml img,
  .celebrity-image {
    height: 350px;
  }
  
  .celebrity-image-container {
    min-height: 350px;
  }
  
  /* Social icons smaller mobile */
  .celebs-social {
    gap: 6px;
    margin-top: var(--spacing-xs);
    justify-content: center;
  }
  
  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
  
  /* Mobile table improvements */
  table tbody tr {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-sm);
  }
  
  table tr td:first-child,
  table tr td:last-child {
    flex-basis: 100%;
    padding: var(--spacing-xs) 0;
  }
  
  table tr td:first-child {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
    font-size: 14px;
  }
  
  table tr td:last-child {
    font-size: 14px;
  }
  
  /* Typography mobile adjustments */
  .single-page-article h2 {
    font-size: 22px;
    margin-bottom: var(--spacing-xs);
  }
  
  /* Biography mobile */
  .clb-bio-dec {
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
  }
  
  .clb-bio-dec p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* Detail categories mobile */
  .detail-category h3 {
    font-size: 15px;
    padding: var(--spacing-xs);
  }
  
  .detail-category-content {
    padding: var(--spacing-xs);
  }
  
  .detail-item {
    padding: 6px 0;
  }
  
  .detail-label {
    font-size: 13px;
  }
  
  .detail-value {
    font-size: 13px;
  }
  
  /* Related sections mobile */
  .rld-pst-cl,
  .Sidebar-Posts .rld-pst-cl,
  #clbRltdPst .rld-pst-cl {
    flex-basis: 50% !important;
  }
  
  .rld-card h4 {
    font-size: 15px;
  }
  
  .rld-card p {
    font-size: 12px;
  }
  
  .scg-nyc-digit {
    font-size: 20px;
  }
}
/* ================== MOBILE SMALL (480px and below) ================== */
@media only screen and (max-width: 480px) {
  /* Content wrapper mobile */
  #content-wrap {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    padding: 15px 8px !important;
  }
  
  /* Hero section small mobile */
  .clb-nm-tl h1 {
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: var(--spacing-xs);
  }
  
  .clbs-thml img {
    height: 300px;
  }
  
  /* Social icons small mobile */
  .celebs-social {
    gap: 4px;
    margin-top: var(--spacing-xs);
    flex-wrap: wrap;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  
  /* Typography small mobile */
  .single-page-article h2 {
    font-size: 20px;
    margin-bottom: var(--spacing-xs);
  }
  
  .rld-pst-hdng a {
    font-size: 18px;
  }
  
  /* Biography small mobile */
  .clb-bio-dec {
    padding: var(--spacing-xs);
    margin: var(--spacing-xs) 0;
  }
  
  .clb-bio-dec p {
    font-size: 13px;
    line-height: 1.4;
  }
  
  /* Detail categories small mobile */
  .detail-category {
    margin-bottom: var(--spacing-xs);
  }
  
  .detail-category h3 {
    font-size: 14px;
    padding: var(--spacing-xs);
  }
  
  .detail-category-content {
    padding: var(--spacing-xs);
  }
  
  .detail-item {
    padding: 4px 0;
  }
  
  .detail-label {
    font-size: 12px;
  }
  
  .detail-value {
    font-size: 12px;
  }
  
  /* Related sections small mobile */
  .rld-pst-cl,
  .Sidebar-Posts .rld-pst-cl {
    flex-basis: 100% !important;
  }
  
  .rld-card {
    margin-bottom: var(--spacing-xs);
  }
  
  .rld-card h4 {
    font-size: 14px;
    padding: var(--spacing-xs);
  }
  
  .rld-card p {
    font-size: 11px;
    padding: 0 var(--spacing-xs) var(--spacing-xs);
  }
  
  /* Blog entries small mobile */
  .blog-entry-inner .thumbnail img {
    height: 200px;
  }
  
  .rld-pst-hdng h2 {
    font-size: 20px !important;
  }
  
  .rld-clb-tl {
    font-size: 14px;
  }
  
  .rld-clb-prfn a {
    font-size: 13px;
  }
  
  .clb-tbl-tl {
    font-size: 15px !important;
  }
}
@media only screen and (max-width: 420px) {
  .scg-nyc-digits-type {
    font-size: 15px;
  }
}
/* ================== MOBILE EXTRA SMALL (400px and below) ================== */
@media only screen and (max-width: 400px) {
  /* Content wrapper extra small mobile */
  #content-wrap {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 10px 5px !important;
  }
  
  /* Hero section container extra small mobile */
  .celbs-img-bio {
    padding: var(--spacing-sm);
  }
  
  /* Detailed information container extra small mobile */
  .clb-dtl-tbl {
    padding: var(--spacing-sm);
  }
  
  /* Related sections container extra small mobile */
  .dt-rld-pst {
    padding: var(--spacing-sm);
  }
  
  /* Hero section extra small mobile */
  .clb-nm-tl h1 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 6px;
    padding: 0 5px;
  }
  
  .clbs-thml img {
    height: 280px;
  }
  
  /* Social icons extra small mobile */
  .celebs-social {
    gap: 3px;
    margin-top: 6px;
    flex-wrap: wrap;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
  
  /* Typography extra small mobile */
  .single-page-article h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .rld-pst-hdng a {
    font-size: 16px;
  }
  
  /* Biography extra small mobile */
  .clb-bio-dec {
    padding: 6px;
    margin: 6px 0;
  }
  
  .clb-bio-dec p {
    font-size: 12px;
    line-height: 1.3;
  }
  
  /* Detail categories extra small mobile */
  .detail-category {
    margin-bottom: 6px;
  }
  
  .detail-category h3 {
    font-size: 13px;
    padding: 6px;
  }
  
  .detail-category-content {
    padding: 6px;
  }
  
  .detail-item {
    padding: 3px 0;
  }
  
  .detail-label {
    font-size: 11px;
  }
  
  .detail-value {
    font-size: 11px;
  }
  
  /* Related sections extra small mobile */
  .rld-pst-cl,
  .Sidebar-Posts .rld-pst-cl {
    flex-basis: 100% !important;
  }
  
  .rld-card {
    margin-bottom: 6px;
  }
  
  .rld-card h4 {
    font-size: 13px;
    padding: 6px;
  }
  
  .rld-card p {
    font-size: 10px;
    padding: 0 6px 6px;
  }
  
  /* Blog entries extra small mobile */
  #blog-entries article:nth-child(2n+1) {
    padding: 0px 3px 3px 0px !important;
  }
  #blog-entries article:nth-child(2n) {
    padding: 0px 0px 3px 3px !important;
  }
  
  .blog-entry-inner .thumbnail img {
    height: 180px;
  }
  
  /* Table improvements extra small mobile */
  table tbody tr {
    flex-flow: inherit;
    padding: 6px;
  }
  
  table tr td:first-child,
  table tr td:last-child {
    font-size: 12px;
  }
  
  /* Sidebar extra small mobile */
  .single .entry-content,
  #right-sidebar-inner {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  #right-sidebar-inner {
    padding-top: 20px !important;
    padding-bottom: 5px;
    margin-bottom: 20px;
  }
  
  .scg-nyc-digits-wrapper {
    padding: 5px 5px 5px 5px;
  }
  
  .rlt-pst-wrp {
    margin: 3px !important;
  }
}
/* ================== MOBILE TINY (350px and below) ================== */
@media only screen and (max-width: 350px) {
  /* Content wrapper tiny mobile */
  #content-wrap {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 8px 3px !important;
  }
  
  /* Hero section tiny mobile */
  .clb-nm-tl h1 {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 4px;
    padding: 0 2px;
  }
  
  .clbs-thml img {
    height: 250px;
  }
  
  /* Social icons tiny mobile */
  .celebs-social {
    gap: 2px;
    margin-top: 4px;
    flex-wrap: wrap;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  
  /* Typography tiny mobile */
  .single-page-article h2 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .rld-pst-hdng a {
    font-size: 14px;
  }
  
  /* Biography tiny mobile */
  .clb-bio-dec {
    padding: 4px;
    margin: 4px 0;
  }
  
  .clb-bio-dec p {
    font-size: 11px;
    line-height: 1.2;
  }
  
  /* Detail categories tiny mobile */
  .detail-category {
    margin-bottom: 4px;
  }
  
  .detail-category h3 {
    font-size: 12px;
    padding: 4px;
  }
  
  .detail-category-content {
    padding: 4px;
  }
  
  .detail-item {
    padding: 2px 0;
  }
  
  .detail-label {
    font-size: 10px;
  }
  
  .detail-value {
    font-size: 10px;
  }
  
  /* Related sections tiny mobile */
  .rld-pst-cl {
    flex-basis: 100% !important;
  }
  
  .rld-card {
    margin-bottom: 4px;
  }
  
  .rld-card h4 {
    font-size: 12px;
    padding: 4px;
  }
  
  .rld-card p {
    font-size: 9px;
    padding: 0 4px 4px;
  }
  
  /* Blog entries tiny mobile */
  #blog-entries .blog-entry {
    width: 100% !important;
  }
  
  .blog-entry-inner .thumbnail img {
    height: 150px;
  }
  
  /* Countdown timer tiny mobile */
  .scg-nyc-digit {
    padding: 8px 4px;
    font-size: 16px;
  }
  
  .scg-nyc-digits-type {
    font-size: 11px;
  }
  
  .trail-item.trail-end a span {
    font-size: 12px;
  }
}

/* ================== NEW STYLES FOR REDESIGN ================== */

/* ================== TYPOGRAPHY SYSTEM ================== */

/* H1 - Main Page Title */
h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
  position: relative;
}

/* H2 - Section Headers (Biography, Detailed Information, etc.) */
h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
  position: relative;
  padding-bottom: var(--spacing-xs);
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
  width: auto;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* H3 - Subsection Headers (Sidebar sections, Biography subheadings) */
h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-xs);
  color: var(--secondary-color);
  position: relative;
  padding-left: var(--spacing-sm);
}

h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* H4 - Card Titles and Small Headers */
h4 {
  font-size: var(--font-size-h4);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: var(--spacing-xs);
  color: var(--secondary-color);
  position: relative;
}

/* Special H2 styling for Biography section */
.clb-bio-dec h2 {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

/* Special H2 styling for Detailed Information */
.clb-dtl-tbl h2 {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

/* Special H3 styling for Sidebar sections */
.sidebar-section h3 {
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.sidebar-section h3::before {
  display: none; /* Remove the accent bar for sidebar headers */
}

/* Special H4 styling for Related Person Cards */
.related-person-card h4 {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
  padding: var(--spacing-xs);
  text-align: center;
  transition: color 0.3s ease;
}

.related-person-card:hover h4 {
  color: var(--primary-color);
}

/* Special H4 styling for Quick Facts */
.quick-facts-header h3 {
  background: var(--accent-gradient);
  color: white;
  padding: var(--spacing-sm);
  margin: 0;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.quick-facts-header h3::before {
  display: none; /* Remove the accent bar for quick facts header */
}

p {
  font-size: var(--font-size-body);
  line-height: 1.6;
}

/* Detailed Information Table Styling */
.detailed-info-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.detailed-info-table tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.detailed-info-table tr:hover {
  background-color: #f8f9fa;
}

.detailed-info-table tr:last-child {
  border-bottom: none;
}

.detailed-info-table .detail-label {
  padding: var(--spacing-sm);
  font-weight: 600;
  color: var(--secondary-color);
  background-color: #f8f9fa;
  width: 40%;
  vertical-align: top;
}

.detailed-info-table .detail-value {
  padding: var(--spacing-sm);
  color: #333;
  width: 60%;
  vertical-align: top;
}

/* Sidebar Styling */
.people-sidebar {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border: 1px solid #e0e0e0;
}

.sidebar-section {
  margin-bottom: var(--spacing-lg);
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--primary-color);
}

.related-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-sm);
}

.related-person-card {
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e0e0e0;
}

.related-person-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.related-person-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-person-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.related-person-card h4 {
  font-size: var(--font-size-small);
  font-weight: 600;
  padding: var(--spacing-xs);
  margin: 0;
  color: var(--secondary-color);
  line-height: 1.3;
}

.related-person-card p {
  font-size: 12px;
  color: #666;
  padding: 0 var(--spacing-xs) var(--spacing-xs);
  margin: 0;
  line-height: 1.2;
  display: none; /* Hide profession text since it's now in the section title */
}

/* Redesigned Social Media Icons - Flat, Minimal Style */
.celebs-social {
  display: flex;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Facebook - Flat Blue */
.social-icon.fb-icon {
  color: #1877F2;
  border-color: #1877F2;
}

.social-icon.fb-icon:hover {
  background: #1877F2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

/* Twitter/X - Flat Black */
.social-icon.x-icon {
  color: #000000;
  border-color: #000000;
}

.social-icon.x-icon:hover {
  background: #000000;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Instagram - Flat Gradient */
.social-icon.instagram-icon {
  color: #E4405F;
  border-color: #E4405F;
}

.social-icon.instagram-icon:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(225, 48, 108, 0.3);
}

/* YouTube - Flat Red */
.social-icon.youtube-icon {
  color: #FF0000;
  border-color: #FF0000;
}

.social-icon.youtube-icon:hover {
  background: #FF0000;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

/* TikTok - Flat Black */
.social-icon.tiktok-icon {
  color: #000000;
  border-color: #000000;
}

.social-icon.tiktok-icon:hover {
  background: #000000;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Placeholder links styling */
.social-icon[href="#"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.social-icon[href="#"]:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive Design for New Elements */
@media only screen and (max-width: 1012px) {
  .people-sidebar {
    padding: var(--spacing-md);
  }
  
  .related-people {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .related-person-card img {
    height: 100px;
  }
  
  .detailed-info-table .detail-label,
  .detailed-info-table .detail-value {
    padding: var(--spacing-xs);
    font-size: var(--font-size-small);
  }
}

/* ================== TABLET MEDIUM (900px and below) - NEW BREAKPOINT ================== */
@media only screen and (max-width: 900px) {
  /* Sidebar adjustments for medium tablets */
  .people-sidebar {
    padding: var(--spacing-sm);
  }
  
  .related-people {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: var(--spacing-xs);
  }
  
  .related-person-card img {
    height: 90px;
  }
  
  .sidebar-section h3 {
    font-size: var(--font-size-h4);
  }
  
  /* Detailed table adjustments */
  .detailed-info-table .detail-label,
  .detailed-info-table .detail-value {
    padding: 8px 6px;
    font-size: 14px;
  }
  
  .detailed-info-table .detail-label {
    width: 35%;
  }
  
  .detailed-info-table .detail-value {
    width: 65%;
  }
  
  /* Typography adjustments for medium tablets */
  h2 {
    font-size: 22px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  .sidebar-section h3 {
    font-size: 13px;
    padding: 8px var(--spacing-xs);
  }
}

/* ================== TABLET SMALL (768px and below) - NEW BREAKPOINT ================== */
@media only screen and (max-width: 768px) {
  /* Sidebar adjustments for small tablets */
  .people-sidebar {
    padding: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }
  
  .related-people {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-xs);
  }
  
  .related-person-card img {
    height: 85px;
  }
  
  .sidebar-section h3 {
    font-size: var(--font-size-h4);
    margin-bottom: var(--spacing-xs);
  }
  
  .related-person-card h4 {
    font-size: 12px;
    padding: var(--spacing-xs);
  }
  
  /* Detailed table mobile adjustments */
  .detailed-info-table {
    font-size: var(--font-size-small);
  }
  
  .detailed-info-table .detail-label,
  .detailed-info-table .detail-value {
    padding: 8px 6px;
    font-size: 13px;
  }
  
  .detailed-info-table .detail-label {
    width: 35%;
    font-size: 12px;
  }
  
  .detailed-info-table .detail-value {
    width: 65%;
    font-size: 13px;
  }
  
  /* Typography adjustments for small tablets */
  h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 16px;
  }
  
  h4 {
    font-size: 15px;
  }
}

@media only screen and (max-width: 684px) {
  .people-sidebar {
    padding: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }
  
  .sidebar-section h3 {
    font-size: var(--font-size-h4);
  }
  
  .related-people {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-xs);
  }
  
  .related-person-card img {
    height: 80px;
  }
  
  .related-person-card h4 {
    font-size: 11px;
    padding: 6px;
  }
  
  .related-person-card p {
    font-size: 10px;
    padding: 0 6px 6px;
    display: none; /* Hide profession text since it's now in the section title */
  }
  
  .detailed-info-table {
    font-size: var(--font-size-small);
  }
  
  .detailed-info-table .detail-label,
  .detailed-info-table .detail-value {
    padding: 8px 6px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  /* Typography adjustments for medium mobile */
  h2 {
    font-size: 18px;
    padding-bottom: 6px;
  }
  
  h3 {
    font-size: 15px;
    padding-left: 12px;
  }
  
  h4 {
    font-size: 14px;
  }
  
  .sidebar-section h3 {
    font-size: 12px;
    padding: 6px 8px;
  }
  
  .related-person-card h4 {
    font-size: 11px;
  }
}

@media only screen and (max-width: 480px) {
  .people-sidebar {
    padding: var(--spacing-xs);
  }
  
  .related-people {
    grid-template-columns: 1fr 1fr;
  }
  
  .detailed-info-table .detail-label {
    width: 35%;
  }
  
  .detailed-info-table .detail-value {
    width: 65%;
  }
  
  /* Typography adjustments for small mobile */
  h2 {
    font-size: 16px;
    padding-bottom: 4px;
  }
  
  h3 {
    font-size: 14px;
    padding-left: 10px;
  }
  
  h4 {
    font-size: 13px;
  }
  
  .sidebar-section h3 {
    font-size: 11px;
    padding: 4px 6px;
  }
  
  .related-person-card h4 {
    font-size: 10px;
  }
}

/* ================== SIDEBAR REMOVAL FOR ARCHIVES & HOMEPAGE ================== */

/* Hide sidebar on archive pages and homepage */
.home #right-sidebar,
.archive #right-sidebar,
.tax-profession #right-sidebar,
.tax-birthplace #right-sidebar,
.tax-birthday #right-sidebar,
.tax-birth_year #right-sidebar,
.tax-age #right-sidebar,
.tax-birth_sign #right-sidebar,
.post-type-archive-people #right-sidebar {
    display: none !important;
}

/* Make content area full width on archive pages and homepage */
.home .content-area,
.archive .content-area,
.tax-profession .content-area,
.tax-birthplace .content-area,
.tax-birthday .content-area,
.tax-birth_year .content-area,
.tax-age .content-area,
.tax-birth_sign .content-area,
.post-type-archive-people .content-area {
    width: 100% !important;
    padding-right: 0px !important;
    border-right: 0px !important;
}

/* Hide sidebar on all custom page templates */
.page-template-child-page-template #right-sidebar,
.page-template-template-birthday-horoscope #right-sidebar,
.page-template-custom-top-profession #right-sidebar,
.page-template-custom-top-country #right-sidebar,
.page-template-taxonomy-country-by-profession #right-sidebar,
.page-template-taxonomy-country-by-state #right-sidebar,
.page-template-template-country-profesion #right-sidebar,
.page-template-parent-page-template #right-sidebar,
.page-template-page-no-sidebar #right-sidebar {
    display: none !important;
}

/* Make content full width on custom page templates without sidebar */
.page-template-child-page-template .content-area,
.page-template-template-birthday-horoscope .content-area,
.page-template-custom-top-profession .content-area,
.page-template-custom-top-country .content-area,
.page-template-taxonomy-country-by-profession .content-area,
.page-template-taxonomy-country-by-state .content-area,
.page-template-template-country-profesion .content-area,
.page-template-parent-page-template .content-area,
.page-template-page-no-sidebar .content-area {
    width: 100% !important;
    padding-right: 0px !important;
    border-right: 0px !important;
}