/* BODY AND MARGIN */

.centered-p {
  text-align: center;
  font-size: 20px;
}

.larger-letters {
  font-size: 20px;
}

.centered-h3 {
  position: relative;
  text-align: center;
  font-size: 22px;
  padding: 30px 30px 60px 30px;
  font-weight: 500;
  color: #3a3a3a;
  letter-spacing: 0.5px;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #e5e5e5; /* full‑width divider */
  padding-top: 40px; /* spacing below the line */
}


/* === POST ITEM HOVER EFFECT === */
.post-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

/* === RESPONSIVE: MEDIUM SCREENS === */
@media (max-width: 900px) {
  .post-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}


/* === RESPONSIVE: SMALL SCREENS === */
@media (max-width: 600px) {
  .post-item {
    flex: 1 1 100%;
    max-width: 100%;
    height: 200px;
  }
}


/* === HOVER EFFECTS === */
.social-link:hover,
.social-link-wa:hover {
  color: darkred;
}

.social-icons .social-link i:hover,
.social-icons-wa .social-link-wa i:hover {
  transform: scale(1.2);
}

/* === TRANSITIONS === */
.social-icons .social-link i,
.social-icons-wa .social-link-wa i,
.social-link-wa {
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.linkedin-divider {
  transition: background-color 0.3s ease;
}

/* === SOCIAL ICON STYLING === */
.social-icons .social-link i {
  font-size: 50px;
}

.social-icons-wa .social-link-wa i {
  font-size: 100px;
}

.social-link-wa {
  font-size: 25px;
  color: darkolivegreen;
}

/* === WHATSAPP CONTACT SECTION === */
.social-icons-wa {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
}

.contact-container-wa {
  margin-top: 90px;
}

.contact-text-wa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
  width: 100%;
  margin-bottom: 100px;
}

.contact-icons-wa {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  font-size: 30px;
}

/* === LINKEDIN CONTACT SECTION === */
.linkedin-divider {
  background-color: rgba(225, 225, 225, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding: 70px 0;
  margin: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.linkedin-badge-wrapper {
  width: 100%;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === BADGE BASE (EMPTY PLACEHOLDER) === 
.badge-base {
  /* Add styles if needed */

/* === SIDEBAR STYLING === */
.sidebar {
  flex: 1 1 280px;
  max-width: 100%;
  padding: 20px;
  border-radius: 10px;
  align-self: flex-start;
  background-color: rgba(199, 199, 199, 0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.sidebar .widget,
.sidebar .newest-posts li {
  margin-bottom: 30px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: black;
  word-break: break-word;
}

.sidebar a,
.sidebar .category-buttons a.btn,
.sidebar .newest-posts a {
  color: rgb(8, 8, 58);
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  display: inline-block;
  line-height: 1.4;
  max-width: 100%;
}

.sidebar .category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sidebar .newest-posts ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}


/* === SEPARATOR === */
.separator {
  text-align: center;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 50px 0;
}

/* === DIVIDER === */
.divider {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 50px 0;
}

/* === POST QUOTE === */
.post-quote {
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  border-left: 4px solid #ccc;
  padding-left: 1em;
  margin: 1.5em 0;
}

/* === POST IMAGE CONTAINER === */
.post-image-container {
  width: 100%;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.inpost-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* === SOCIAL SHARE ICONS === */
.social-share,
.social-share-pages {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 70px 0;
}

.social-share a,
.social-share-pages a {
  color: darkgoldenrod;
}

.social-share a:hover,
.social-share-pages a:hover {
  color: darkred;
  animation: vibrate 0.3s linear;
}

.social-share-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.social-share-divider {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 1024px) and (orientation: landscape) {
  .social-share {
    gap: 15px;
    margin: 30px 0;
  }

  .social-share a i {
    font-size: 40px;
  }

  .content-wrapper {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
  }

  .blog-post {
    flex: 2 1 65%;
    max-width: 70%;
  }

  .sidebar {
    flex: 1 1 30%;
    max-width: 35%;
  }
}

@media (max-width: 768px) {
  .post-title-fullwidth {
    font-size: 60px;
    margin-top: 70px;
    margin-bottom: 50px;
  }

  .blog-subtitle {
    font-size: 30px !important;
  }

  .social-share,
  .social-share-pages {
    gap: 15px;
    margin: 30px 0;
  }

  .social-share a i,
  .social-share-pages a i {
    font-size: 30px;
  }

  .social-share-title {
    font-size: 24px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .podcast-episode,
  .sidebar {
    flex: 1 1 100%;
    max-width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .post-title-fullwidth {
    font-size: 40px;
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .blog-subtitle {
    font-size: 24px !important;
  }

  .social-share,
  .social-share-pages {
    gap: 15px;
    margin: 20px 0;
  }

  .social-share a i,
  .social-share-pages a i {
    font-size: 30px;
  }

  .social-share-title {
    font-size: 20px;
  }

  .episode-meta {
    font-size: 0.8rem;
  }

  .content-wrapper {
    gap: 20px;
  }
}

/* === ANIMATION === */
@keyframes vibrate {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-4px);
  }
  20% {
    transform: translateX(4px);
  }
  30% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  50% {
    transform: translateX(-4px);
  }
  60% {
    transform: translateX(4px);
  }
  70% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
  90% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}

/* === SERVICES META === */
.services-meta {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.services-meta span {
  flex: 1;
}

.services-container .services-link:last-child {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

/* === SERVICES HOVER EFFECTS === */
.services-link:hover .services-item {
  z-index: 100;
}

.services-link:hover .services-item img {
  border-radius: 15px;
}

.services-link:hover .services-title {
  display: none;
}

.services-description {
  display: none;
  color: black;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 5px;
  box-sizing: border-box;
  transition: opacity 0.3s ease-in-out;
}

.services-link:hover .services-description {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

/* === HIGHLIGHT TOOLTIP === */
.highlight {
  color: darkblue;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  text-decoration: underline;
}

.about-page .highlight {
  all: unset;
}

.highlight::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  background-color: darkgoldenrod;
  color: #fff;
  padding: 20px;
  border-radius: 30px;
  font-size: 25px;
  font-family: "Gochi Hand", "Poppins", sans-serif;
  white-space: normal;
  width: fit-content;
  min-width: 300px;
  max-width: 700px;
  word-wrap: break-word;
  text-align: center;
  display: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow-wrap: break-word;
}

.highlight:hover::after {
  display: inline-block;
  opacity: 1;
  animation: wavePop 0.6s ease-in-out;
}

/* === TOOLTIP ANIMATION === */
@keyframes simplePop {
  0% {
    transform: translateX(-50%) translateY(-5px);
    opacity: 0;
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.highlight:hover::after {
  display: inline-block;
  opacity: 1;
  animation: simplePop 0.3s ease-out;
}

/* === SEARCH BAR HOVER === */
.search-bar button:hover {
  background-color: darkgoldenrod;
}

/* === RESPONSIVE: SERVICES SECTION === */
@media screen and (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    max-width: 100%;
  }

  .services-container > .services-link {
    flex: none;
    width: 90%;
    max-width: 400px;
  }

  .services-link:hover .services-item {
    transform: none;
  }

  .services-item h2,
  .services-item p {
    max-width: 90%;
    text-align: center;
  }

  .services-container .services-link:last-child {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  .services-container {
    align-items: center;
    padding: 0 15px;
    max-width: 100%;
  }

  .services-container > .services-link {
    flex: none;
    width: 60%;
    max-width: 400px;
  }

  .services-link:hover .services-item {
    transform: none;
  }

  .services-container .services-link:last-child {
    width: 60%;
    max-width: 60%;
    flex: none;
  }
}

/* === RESPONSIVE: HERO CATEGORY SECTION === */
@media screen and (max-width: 768px) {
  .hero-category-content {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    padding: 20px;
  }

  .hero-category-content h1 {
    font-size: 2em;
  }

  .hero-category-content p {
    font-size: 1.2em;
  }

  .hero-category-content .search-bar {
    width: 100%;
    margin-top: 15px;
  }
}

@media screen and (max-width: 480px) {
  .hero-category-content h1 {
    font-size: 1.5em;
  }

  .hero-category-content p {
    font-size: 1em;
  }

  .hero-category-content .search-bar {
    width: 100%;
    margin-top: 10px;
  }
}

/* === HOVER EFFECTS === */
.episode-heading a:hover,
.social-link:hover,
.search-bar button:hover,
.subscription-widget button:hover,
.subscribe-form button:hover,
.contact-form button:hover,
.donate-button:hover,
.hire-me-button:hover {
  color: white;
  background-color: blue;
  border-radius: 30px;
  padding: 2px 10px;
}


.episode-item:hover img,

  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.episode-item:hover {
  transform: scale(1.05);
}

/* === TRANSITIONS === */
.episode-heading a,
.social-link,
.subscribe-form button,
.contact-form button,
.donate-button,
.hire-me-button,
.cta-button,
.episode-item,
.episode-item img,
.post-item img,
.subscription-divider {
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}

/* === BOX SHADOWS === */
.post-cta,
.post-image,
.services-item,
.paragraph-divider,
.letter-container,
.letter-inner {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.subscription-divider {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.letter-inner {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* === RESPONSIVE: MEDIUM SCREENS === */
@media screen and (max-width: 768px) {
  .episode-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    width: 100%;
  }

  .episode-item {
    width: 70%;
    max-width: 70%;
    flex-grow: 0;
    margin: 0 auto;
  }

  .fe-grid-container {
    grid-template-columns: 1fr;
    padding: 40px 5vw;
  }

  .fe-grid-item img {
    height: 150px;
  }

  .hero-content .search-bar {
    width: 100%;
    max-width: 450px;
    margin-top: 20px;
  }

  .front-sections-headings {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
  }
}

/* === RESPONSIVE: SMALL SCREENS === */

@media (max-width: 1024px) {
  .episode-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .episode-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .episode-item {
    width: 100%;
    max-width: 100%;
  }

}

#subscription-message {
  transition: opacity 0.5s ease;
  opacity: 0;
  visibility: hidden;
}
