/* BODY AND MARGIN */

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

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

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

.categories-meta span {
  flex: 1;
}

/* === CATEGORY ITEM LAYOUT OVERRIDE === 
.categories-container .categories-item:last-child {
  flex: 1 1 calc(16.66% - 20px);
  max-width: calc(16.66% - 20px);
}
  */

/* === CATEGORY ITEM HOVER EFFECT === */
.categories-item:hover img {
  border-radius: 10px;
}

/* === RESPONSIVE: TABLETS & SMALLER === */

/* Tablets: 3 items per row */
@media screen and (max-width: 1024px) {
  .categories-item {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .categories-container {
    padding-left: 20px;
    padding-right: 20px;
    gap: 15px;
  }

  .categories-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .categories-item:hover {
    transform: none;
  }

  .categories-container .categories-item:last-child {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  #categories-heading {
    padding-top: 50px;
  }
}
/* === 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);
  }
}

/* === HOVER EFFECTS === */
.grid-item:hover img {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.featured-index-item:hover {
  z-index: 100;
}

.featured-index-item:hover img {
  border-radius: 10px;
}

/* .featured-index-item:hover .featured-index-title {
}*/

.featured-index-item:hover .featured-index-description {
  opacity: 1;
  pointer-events: auto;
  display: block;
  font-size: 16px;
  padding: 10px;
}

/* === TRANSITIONS === */
.featured-index-description {
  transition: opacity 0.3s ease-in-out;
}

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

.featured-index-meta span {
  flex: 1;
}

.featured-index-container .featured-index-item:last-child {
  flex: 1 1 calc(20% - 20px);
  max-width: calc(20% - 20px);
}

.featured-index-item:last-child {
  border-radius: 10px;
  overflow: hidden;
}

.featured-index-title:last-child {
  border-radius: 10px !important;
}

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

/* === RESPONSIVE: TABLETS & SMALLER === */
@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
  }

  .grid-item {
    width: 50%;
    margin: 0 auto;
    height: auto;
    text-align: center;
  }

  .grid-item img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
  }

  .grid-item:hover img {
    transform: none;
    box-shadow: none;
  }

  .featured-index-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
  }

  .featured-index-item {
    width: 100%;
    max-width: 100%;
    flex: none;
    height: auto;
    margin: 0;
    border-radius: 10px !important;
    overflow: hidden;
  }

  .featured-index-item:hover {
    transform: none;
    width: 100%;
    max-width: 100vw;
    height: auto;
  }

  .featured-index-container .featured-index-item:last-child {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .featured-index-title {
    font-size: clamp(16px, 5vw, 22px);
    line-height: 1.4;
  }

  .featured-index-description {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.5;
  }
}

/* === 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;
}

/* === CATEGORY BUTTON STYLING === */
.sidebar .category-buttons a.btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-family: "Gochi Hand", "Poppins", sans-serif;
  font-weight: 500;
  font-size: large;
  color: white;
  text-align: center;
  background-color: darkred; /* Default color */
  transition: background-color 0.3s ease;
}

.sidebar .category-buttons a.stories {
  background-color: darkslateblue;
}
.sidebar .category-buttons a.travels {
  background-color: darkslategrey;
}
.sidebar .category-buttons a.mindset {
  background-color: darkolivegreen;
}
.sidebar .category-buttons a.tech {
  background-color: darkgoldenrod;
}
.sidebar .category-buttons a.digital {
  background-color: darkblue;
}
.sidebar .category-buttons a.podcast {
  background-color: brown;
}

/* === SEARCH BOX === */
.search-box input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  word-break: break-word;
}

/* === TAGS === */
.tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags .tag-list span {
  background-color: darkolivegreen;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  word-break: break-word;
}

/* === CATEGORY LIST === */
.category-list {
  list-style: none;
  padding-left: 0;
}

.post-category {
  font-weight: bold;
  color: darkred;
  margin: 6px 0;
  font-size: 1.1em;
  text-transform: uppercase;
  text-decoration: underline;
  font-family: "Gochi Hand", cursive;
  letter-spacing: 0.2rem;
  background-color: rgba(255, 255, 255, 0.692);
  padding: 6px 12px;
  border-radius: 30px;
  display: inline-block;
}

.post-category:hover {
  color: darkgoldenrod;
}

/* === 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;
  }

  .blog-post,
  .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;
  }

  .post-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: darkred;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  text-decoration: underline;
}

.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 wavePop {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  25% {
    transform: translateX(-50%) translateY(-10px) rotate(-5deg);
  }
  50% {
    transform: translateX(-50%) translateY(-15px) rotate(5deg);
  }
  75% {
    transform: translateX(-50%) translateY(-10px) rotate(-3deg);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* === 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 === */
.post-card-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,
.cta-button:hover {
  color: white;
  background-color: blue;
  border-radius: 30px;
  padding: 2px 10px;
}

.grid-item:hover img,
.categories-item:hover img,
.post-item:hover img,
.post-card-item:hover img,
.fe-grid-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

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

/* === TRANSITIONS === */
.post-card-heading a,
.social-link,
.search-bar button,
.subscribe-form button,
.contact-form button,
.donate-button,
.hire-me-button,
.cta-button,
.post-card-item,
.post-card-item img,
.categories-item img,
.post-item img,
.grid-item img,
.fe-grid-item img,
.featured-index-item,
.featured-index-item img,
.featured-index-title,
.services-item,
.services-item img,
.services-title,
.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) {
  .post-card-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    width: 100%;
  }

  .post-card-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 screen and (max-width: 480px) {
  .post-card-item {
    width: 100%;
    max-width: 100%;
  }

  .fe-grid-container {
    padding: 20px 4vw;
  }

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

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