/*
Theme Name: Hello Elementor
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin.
Author: Elementor Team
Author URI: https://elementor.com/
Version: 3.4.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor
Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* === Employee Login Form Styles === */
.hoa-login-wrapper {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.hoa-login-wrapper label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.hoa-login-wrapper input[type="text"],
.hoa-login-wrapper input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.hoa-login-wrapper input[type="submit"] {
  background-color: #0f6b7c;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.hoa-login-wrapper input[type="submit"]:hover { background-color: #0c5563; }
.hoa-login-wrapper .hoa-error {
  background: #ffe0e0;
  color: #b30000;
  border: 1px solid #ffb3b3;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 14px;
}
.hoa-login-wrapper input:focus {
  outline: none;
  border-color: #0f6b7c;
  box-shadow: 0 0 0 2px rgba(15, 107, 124, 0.2);
}
@media screen and (max-width: 600px) {
  .hoa-login-wrapper { margin: 20px; padding: 20px; }
}

/* === HOA Action Buttons === */
.hoa-action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.hoa-action-buttons form { display: inline; }

/* === HR Applicants Layout === */
.hoa-container { display: flex; max-width: 1300px; margin: 40px auto; padding: 30px 20px; gap: 20px; font-family: sans-serif; }
.hoa-sidebar { width: 200px; padding-top: 20px; }
.hoa-nav-link { display: inline-block; background: #0f6b7c; color: #fff; padding: 8px 15px; border-radius: 5px; text-decoration: none; font-size: 14px; }
.hoa-main-content { flex: 1; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.05); }

/* Applicants Table */
.hoa-table-wrapper { overflow-x: auto; border: 1px solid #eee; border-radius: 8px; }
.hoa-table { width: 100%; border-collapse: collapse; }
.hoa-table th, .hoa-table td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.hoa-table th { background: #f9f9f9; font-weight: 600; color: #333; }
.hoa-table tr:hover { background-color: #fcfcfc; }

/* Modal */
.hoa-modal { position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); }
.hoa-modal-content { background-color: #fff; margin: 5% auto; padding: 30px; width: 90%; max-width: 500px; border-radius: 10px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2); font-family: sans-serif; }
.hoa-close { position: absolute; top: 15px; right: 20px; font-size: 22px; font-weight: bold; color: #888; cursor: pointer; }
.hoa-close:hover { color: #000; }

/* Job Application Form */
.hoa-job-application { max-width: 1000px; margin: 40px auto; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); font-family: sans-serif; }
.hoa-job-application h1 { text-align: center; padding: 20px; background: #0f6b7c; color: #fff; margin: 0; font-size: 22px; font-weight: 600; }
.hoa-job-application h2 { background: #0f6b7c; color: #fff; padding: 12px 18px; margin: 0; font-size: 18px; font-weight: 600; }
.hoa-section { padding: 20px; border-bottom: 1px solid #eee; background: #fafafa; }

/* === Employee Dashboard === */
.employee-dashboard { display: flex; min-height: 100vh; background: #f9f9f9; font-family: Arial, sans-serif; }

/* Sidebar */
.employee-sidebar { width: 220px; background: #0f6b7c !important; color: #fff !important; padding: 20px 15px; position: relative; }
.employee-sidebar .logo { font-size: 18px; font-weight: bold; margin-bottom: 20px; color: #fff; }
.employee-sidebar nav ul { list-style: none !important; margin: 0; padding: 0; }
.employee-sidebar nav ul li { margin: 15px 0; }
.employee-sidebar nav ul li a { display: block; color: #fff !important; text-decoration: none !important; padding: 8px 12px; border-radius: 6px; transition: background 0.2s; }
.employee-sidebar nav ul li a:hover { background: rgba(255,255,255,0.2); }
.employee-sidebar .badge { background: #ff4d4d; color: #fff; font-size: 11px; border-radius: 10px; padding: 2px 6px; margin-left: 6px; }

/* Top Bar */
.employee-topbar { background: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
.employee-topbar .search-box input { padding: 8px 12px; width: 250px; border: 1px solid #ddd; border-radius: 6px; }
.employee-topbar .profile { display: flex; align-items: center; gap: 15px; }
.employee-topbar .logout-btn { background: #0f6b7c; color: #fff; padding: 6px 12px; border-radius: 6px; text-decoration: none; }

/* Main Area */
.employee-main { flex: 1; display: flex; flex-direction: column; }
.employee-content { padding: 20px; }
.employee-content h2 { margin-bottom: 20px; }

/* Cards */
.cards-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cards-grid .card { background: #fff !important; border-radius: 10px; padding: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); text-decoration: none !important; color: #333 !important; transition: transform 0.2s, box-shadow 0.2s; }
.cards-grid .card:hover { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cards-grid .card h3 { font-size: 16px; margin-bottom: 6px; color: #0f6b7c; }
.cards-grid .card p { font-size: 13px; color: #666; margin: 0; }

/* === EMPLOYEE DASHBOARD RESPONSIVE STYLES === */

/* Sidebar behaviour */
.employee-sidebar {
  width: 240px;
  transition: width 0.3s ease, opacity 0.3s ease;
  background-color: #0f6b7c;
  color: white;
  padding: 20px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 1000;
}

.employee-sidebar.collapsed {
  width: 70px;
  overflow: hidden;
}

.sidebar-toggle {
  display: block;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  margin-bottom: 20px;
}

.employee-main {
  margin-left: 240px;
  transition: margin-left 0.3s ease;
}

.employee-sidebar.collapsed + .employee-main {
  margin-left: 70px;
}

/* Chiclet grid */
.chiclets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.chiclet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border-radius: 15px;
  padding: 20px;
  text-decoration: none;
  color: #0f6b7c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chiclet:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.chiclet img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.chiclet span {
  font-weight: 600;
  text-align: center;
}

/* ====== Responsive Breakpoints ====== */

/* Tablet (≤ 992 px) */
@media (max-width: 992px) {
  .employee-sidebar {
    position: fixed;
    height: 100vh;
    transform: translateX(-100%);
    width: 240px;
    transition: transform 0.3s ease;
  }
  .employee-sidebar.open {
    transform: translateX(0);
  }
  .employee-main {
    margin-left: 0;
  }
  .sidebar-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: #0f6b7c;
    border-radius: 5px;
    padding: 5px 10px;
  }
}

/* Mobile (≤ 768 px) */
@media (max-width: 768px) {
  .employee-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box input {
    width: 100%;
    margin-top: 10px;
  }

  .chiclets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .chiclet {
    padding: 15px;
  }

  .chiclet img {
    width: 45px;
    height: 45px;
  }
}

/* Small phones (≤ 480 px) */
@media (max-width: 480px) {
  .chiclets-grid {
    grid-template-columns: 1fr;
  }
  .chiclet {
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
  }
  .chiclet img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }
  .chiclet span {
    font-size: 14px;
  }
}

/* ===== HR Documents: force sidebar to match HR Dashboard =====
   Scoped to this page template only to avoid side-effects. */
.page-template-page-hr-documents .hoa-dashboard-wrap {
  display: flex;
  min-height: 100vh;
  background: #f8fafc;
}

/* Sidebar container */
.page-template-page-hr-documents .hoa-sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 16px 16px 24px;
}

/* Sidebar header + hamburger */
.page-template-page-hr-documents .hoa-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-template-page-hr-documents .hoa-sidebar-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Title */
.page-template-page-hr-documents .hoa-sidebar h3 {
  margin: 0;
  font-size: 18px;
  color: #0f6b7c;
  font-weight: 700;
}

/* Nav list (remove bullets & spacing) */
.page-template-page-hr-documents .hoa-nav ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0 0;
}
.page-template-page-hr-documents .hoa-nav ul li {
  margin: 6px 0;
}

/* Links styled like HR Dashboard */
.page-template-page-hr-documents .hoa-nav ul li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #333333;            /* override pink theme links */
  font-weight: 500;
  transition: background .2s, color .2s;
}
.page-template-page-hr-documents .hoa-nav ul li a:hover,
.page-template-page-hr-documents .hoa-nav ul li.active a {
  background: #0f6b7c;
  color: #ffffff;
}

/* Main area spacing consistent with dashboard */
.page-template-page-hr-documents .hoa-main {
  flex: 1;
  padding: 24px;
}

/* Mobile sidebar (same slide-in behavior) */
@media (max-width: 900px) {
  .page-template-page-hr-documents .hoa-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100%;
    z-index: 20;
    box-shadow: 2px 0 6px rgba(0,0,0,.08);
    transition: left .25s ease;
  }
  .page-template-page-hr-documents .hoa-sidebar.open { left: 0; }
  .page-template-page-hr-documents .hoa-main { padding: 20px; }
}

/* Match HR Documents sidebar with HR Dashboard look */
.page-template-page-hr-documents .hoa-sidebar {
  background-color: #0f6b7c !important;
  color: #ffffff;
}

.page-template-page-hr-documents .hoa-sidebar h3,
.page-template-page-hr-documents .hoa-sidebar a {
  color: #ffffff !important;
}

.page-template-page-hr-documents .hoa-sidebar a:hover,
.page-template-page-hr-documents .hoa-sidebar li.active a {
  background-color: #0d5d6c;
  color: #ffffff !important;
}

.page-template-page-hr-documents .hoa-sidebar {
  min-height: 100vh;
}

/* ------------------------------
   HR ATTENDANCE PAGE STYLE FIX
   ------------------------------ */

/* Match HR Dashboard sidebar color */
.hoa-dashboard-wrap {
  display: flex;
  background-color: #f8f8f8;
  min-height: 100vh;
}

/* Sidebar style identical to HR Dashboard */
.hoa-sidebar {
  width: 240px;
  background-color: #f4f4f4; /* same as HR Dashboard */
  border-right: 1px solid #ddd;
  padding: 20px 15px;
}

.hoa-sidebar h3 {
  font-size: 1.2rem;
  color: #0f6b7c;
  margin-bottom: 20px;
}

.hoa-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hoa-nav ul li {
  margin-bottom: 10px;
}

.hoa-nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  transition: all 0.2s ease;
}

.hoa-nav ul li a:hover {
  background-color: #0f6b7c;
  color: #fff;
}

.hoa-nav ul li.active a {
  background-color: #0f6b7c;
  color: #fff;
}

/* Main content alignment */
.hoa-main {
  flex: 1;
  background-color: #fff;
  padding: 40px;
}

.hoa-header h1 {
  font-size: 1.8rem;
  color: #0f6b7c;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Buttons */
.hoa-tools-row .button,
.hoa-modal-footer .button {
  background-color: #0f6b7c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hoa-tools-row .button:hover,
.hoa-modal-footer .button:hover {
  background-color: #09515d;
}

/* Danger button */
.button.danger {
  background-color: #f8d7da;
  color: #a94442;
  border: 1px solid #f5c6cb;
}

/* Inputs */
.hoa-tools-row input[type="text"],
.hoa-tools-row input[type="date"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  height: 36px;
  font-size: 14px;
}

/* Table style */
.hoa-table-wrapper {
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.hoa-table {
  width: 100%;
  border-collapse: collapse;
}

.hoa-table th {
  background-color: #0f6b7c;
  color: #fff;
  text-align: left;
  padding: 10px;
  font-weight: 500;
}

.hoa-table td {
  padding: 10px;
  border-bottom: 1px solid #eaeaea;
}

.hoa-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Pagination */
#hoa-pagination {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#hoa-pagination .button {
  background-color: #0f6b7c;
  color: #fff;
}

#hoa-pagination .button:hover {
  background-color: #09515d;
}

/* Modal alignment */
.hoa-modal-dialog {
  border-radius: 10px;
  max-width: 500px;
  background: #fff;
  padding: 0;
}

.hoa-modal-header {
  background: #0f6b7c;
  color: #fff;
  padding: 12px 16px;
}

.hoa-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hoa-modal-footer {
  background: #f7f7f7;
  padding: 10px 16px;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .hoa-dashboard-wrap {
    flex-direction: column;
  }

  .hoa-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .hoa-main {
    padding: 20px;
  }

  .hoa-tools-row {
    flex-direction: column;
  }
}

.hoa-announcement-list { margin-top: 20px; }
.hoa-announcement {
  background: #f7f9fa;
  border-left: 4px solid #0f6b7c;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
}
.hoa-announcement h3 { color: #0f6b7c; margin: 0 0 5px; }
.hoa-announcement small { color: #666; }

/* === Scroll Down Text + Arrow (Mobile Only) === */
@media (max-width: 768px) {

    .hoa-scroll-hint {
        position: fixed;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 99999;
        opacity: 1;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .hoa-scroll-text {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 5px;
        text-shadow: 
            0 0 6px rgba(0,0,0,0.8),
            0 0 12px rgba(0,0,0,0.6);
    }

    .hoa-scroll-down-arrow {
        font-size: 48px;
        font-weight: 900;
        color: #ffffff;
        text-shadow: 
            0 0 6px rgba(0,0,0,0.9),
            0 0 12px rgba(0,0,0,0.7);
        animation: hoaArrowBounce 1.3s infinite ease-in-out;
        display: block;
    }

    @keyframes hoaArrowBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(15px); }
    }

    /* Hidden state */
    .hoa-scroll-hidden {
        opacity: 0;
    }
}

.hoa-music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0f6b7c;
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: background 0.3s ease;
    user-select: none;
}
.hoa-music-btn:hover {
    background: #084b58;
}

/* ======================================================
   EMPLOYEE DOCUMENTS PAGE UI UPGRADE
   ====================================================== */

.hoa-dashboard-main h1,
.hoa-documents-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #0f6b7c;
    font-weight: 600;
}

.hoa-documents-section {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Upload Form */
.hoa-upload-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.hoa-upload-form input[type="text"],
.hoa-upload-form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.hoa-upload-form button.hoa-btn.primary {
    background: #0f6b7c;
    border: none;
    color: #fff!important;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.hoa-upload-form button.hoa-btn.primary:hover {
    background: #0d5f6f;
}

/* Table styling */
.hoa-doc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.hoa-doc-table th {
    background: #0f6b7c;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: left;
}

.hoa-doc-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* File icon */
.hoa-file-icon {
    width: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.hoa-documents-section table a {
    color: #0f6b7c;
    font-weight: 600;
}

.hoa-documents-section table a:hover {
    text-decoration: underline;
}

/* Success / error messages */
.hoa-alert-success {
    padding: 12px;
    background: #e5f7ed;
    border-left: 4px solid #31a86c;
    margin-bottom: 15px;
    border-radius: 5px;
}

.hoa-alert-error {
    padding: 12px;
    background: #fdeaea;
    border-left: 4px solid #d9534f;
    margin-bottom: 15px;
    border-radius: 5px;
}

/* Force consistent row height */
.hoa-bookings-table tr {
    height: 60px !important;
}

/* Center all cell content vertically */
.hoa-bookings-table td {
    vertical-align: middle !important;
}

/* Fix time input height */
.hoa-bookings-table input[type="time"] {
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

/* Ensure Actions column is centered properly */
.hoa-bookings-table td:last-child {
    text-align: center !important;
}

/* Align button perfectly */
.hoa-bookings-table .assign-btn,
.hoa-bookings-table .finish-btn {
    height: 36px !important;
    line-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* FORCE booking table action button alignment */
.hoa-bookings-table td,
.hoa-bookings-table th {
    vertical-align: middle !important;
}

/* Force the Actions column to center contents perfectly */
.hoa-bookings-table td:last-child {
    vertical-align: middle !important;
    text-align: center !important;
}

/* Force correct button sizing */
.hoa-bookings-table .assign-btn,
.hoa-bookings-table .finish-btn {
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
}

.hoa-post-wrap{
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.hoa-post-title{
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 10px;
  color:#0f6b7c;
}

.hoa-post-meta{
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  display:flex;
  gap:10px;
  justify-content:center;
}

.hoa-post-featured img{
  width:100%;
  height:auto;
  border-radius: 12px;
  margin: 10px 0 30px;
}

.hoa-post-content{
  font-size: 18px;
  line-height: 1.8;
  color:#222;
}

.hoa-post-content p{
  margin-bottom: 18px;
}

.hoa-related{
  margin-top: 70px;
}

.hoa-related-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.hoa-related-card{
  border:1px solid #e6e6e6;
  border-radius: 12px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  background:#fff;
  transition: .2s ease;
}

.hoa-related-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.hoa-related-card img{
  width:100%;
  height:180px;
  object-fit: cover;
}

.hoa-related-card h4{
  padding: 14px;
  font-size: 16px;
  margin:0;
}

/* Fix "more posts" heading visibility */
.hoa-related h3,
.more-posts,
.more-posts-title {
    color: #000 !important;
    font-weight: 600;
}

/* Force "more posts" area text to be readable */
.single-post aside,
.single-post aside * ,
.single-post .widget,
.single-post .widget * ,
.single-post .sidebar,
.single-post .sidebar * {
  color: #111 !important;
  opacity: 1 !important;
}

/* Make the heading specifically bold/darker */
.single-post aside h1,
.single-post aside h2,
.single-post aside h3,
.single-post aside h4,
.single-post aside .widget-title,
.single-post aside .widgettitle {
  color: #111 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Force readability for the "More posts" block inside Elementor single post */
body.single-post .elementor-location-single,
body.single-post .elementor-location-single * {
  opacity: 1 !important;
}

/* Headings like "more posts:" */
body.single-post .elementor-location-single h1,
body.single-post .elementor-location-single h2,
body.single-post .elementor-location-single h3,
body.single-post .elementor-location-single h4,
body.single-post .elementor-location-single .elementor-heading-title {
  color: #111 !important;
  font-weight: 700 !important;
}

/* Meta text (date / comments) */
body.single-post .elementor-location-single .elementor-post-info,
body.single-post .elementor-location-single .elementor-post-info *,
body.single-post .elementor-location-single .elementor-post__meta-data,
body.single-post .elementor-location-single .elementor-post__meta-data * {
  color: #444 !important;
}

/* Links inside that area (Hello World / Read More) */
body.single-post .elementor-location-single a {
  color: #0f6b7c !important;
}

body.single-post .elementor-location-single a:hover {
  color: #084b58 !important;
}