:root {
  --presento-red: #e03a3c;
  --presento-dark: #111111;
  --presento-muted: #6c757d;
  --presento-border: #e9ecef;
  --presento-bg-soft: #f8f9fa;
}

.presento-sidebar {
  background: #fff;
  border: 1px solid var(--presento-border);
  border-radius: 8px;
}

.presento-sidebar-title {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--presento-dark);
  border-bottom: 1px solid var(--presento-border);
  position: relative;
}

.presento-sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--presento-red);
}

.presento-parent {
  border: 0;
  font-weight: 600;
  padding: 12px 16px;
  color: var(--presento-dark);
  transition: all 0.2s ease;
}

.presento-parent:hover {
  background: var(--presento-bg-soft);
}

.presento-child {
  border: 0;
  padding: 10px 16px 10px 42px;
  font-size: 0.95rem;
  color: var(--presento-muted);
  transition: all 0.2s ease;
}

.presento-child:hover {
  background: var(--presento-bg-soft);
  color: var(--presento-red);
}

/* Active link */
.presento-child.active {
  background: rgba(224, 58, 60, 0.1);
  color: var(--presento-red);
  font-weight: 700;
  position: relative;
}

.presento-child.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--presento-red);
}

/* Chevron animation */
.ps-chevron {
  color: var(--presento-muted);
  transition: transform 0.2s ease;
}

.presento-parent[aria-expanded="true"] .ps-chevron {
  transform: rotate(180deg);
}

.sidebar-logo {
    max-width: 120px;
    height: auto;
    opacity: 0.85;
    transition: all 0.25s ease;
}

.sidebar-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}


/* Newsletter */
.ts-newsletter {
    background: #be0002;
    position: relative;
    min-height: 115px;
    padding: 15px 50px 0 50px;
    width: 100%;
}

@media (max-width: 767px) {
    .ts-newsletter {
        padding-top: 20px;
        padding-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .ts-newsletter {
        padding: 30px 5px 15px 5px;
        min-height: auto;
        text-align: center;
    }
}

.newsletter-form input {
    background: #fff;
    /* background: none; */
    font-size: 12px;
    height: 45px;
    border: 1px solid #ffb600;
}

/* editorial board */
.editorial-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.editorial-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.editorial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.editorial-card-image {
    width: 100%;
    height: 280px;
    background: #f5f5f5;
    overflow: hidden;
}

.editorial-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.editorial-card-body {
    padding: 20px;
}

.editorial-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.editorial-position {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 14px;
}

.editorial-detail {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.editorial-detail strong {
    color: #222;
}

.editorial-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.editorial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* circle */
    object-fit: cover;
    border: 4px solid #f1f1f1;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 24px;
}

.editorial-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.editorial-card:hover {
    transform: translateY(-5px);
}

/* Responsive (important 👇) */
@media (max-width: 992px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

/* drag and drop css   */
.editorial-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.card-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.drag-handle {
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.4;
}

.sortable-chosen {
    transform: rotate(1deg);
}

.sortable-drag {
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}