/*
Theme Name: GourmetWishlist
Theme URI: 
Author: Your Name
Author URI: 
Description: 食べたいグルメを投稿するWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gourmet-wishlist
*/

/* ===== リセットCSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, div, p,
  h1, h2, h3, h4, h5, h6,
  dl, dt, dd, ul, ol, li,
  pre, form, input, textarea, select, iframe {
    margin: 0;
    padding: 0;
  }
  
  img {
    border: 0;
    max-width: 100%;
    height: auto;
  }
  
  ul, li {
    list-style: none;
  }
  
  a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  a:hover {
    color: #C1272D;
  }
  
  body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #F7F7F0;
  }
  
  .cl:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
  }
  
  /* ===== 共通スタイル ===== */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .clr0 {
    clear: both;
    height: 0;
    font-size: 0;
    line-height: 0;
  }
  
  /* ===== ヘッダー ===== */
  #header {
    background-color: #FFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .header-left h1 {
    font-size: 28px;
    font-weight: bold;
  }
  
  .header-left h1 a {
    color: #C1272D;
    text-decoration: none;
  }
  
  .header-right {
    display: flex;
    align-items: center;
  }
  
  .main-nav ul {
    display: flex;
    gap: 30px;
  }
  
  .main-nav li a {
    font-weight: bold;
    font-size: 16px;
    position: relative;
  }
  
  .main-nav li a:hover,
  .main-nav li a.active {
    color: #C1272D;
  }
  
  .main-nav li a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #C1272D;
    transition: width 0.3s ease;
  }
  
  .main-nav li a:hover:after,
  .main-nav li a.active:after {
    width: 100%;
  }
  
  .post-btn {
    background-color: #C1272D;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    margin-left: 20px;
    transition: all 0.3s ease;
  }
  
  .post-btn:hover {
    background-color: #A01F24;
    transform: translateY(-2px);
  }
  
  /* ===== メインビジュアル ===== */
  #mainVisual {
    position: relative;
    height: 500px;
    overflow: hidden;
  }
  
  .slideshow {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
  }
  
  .slide-caption h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .slide-caption p {
    font-size: 18px;
    max-width: 600px;
  }
  
  .slide-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .slide-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .slide-dot.active {
    background-color: white;
    transform: scale(1.2);
  }
  
  /* ===== トピック情報 ===== */
  .topinfo {
    background-color: #FFF;
    padding: 15px 0;
    margin: 30px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
  }
  
  .topinfo h3 {
    background-color: #C1272D;
    color: white;
    display: inline-block;
    padding: 8px 15px;
    margin-right: 20px;
    border-radius: 0 20px 20px 0;
    font-size: 16px;
  }
  
  .ticker {
    display: inline-block;
    padding: 8px 0;
    width: calc(100% - 150px);
    overflow: hidden;
    vertical-align: middle;
  }
  
  .ticker ul {
    display: block;
    overflow: hidden;
  }
  
  .ticker li {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* ===== メインコンテンツ ===== */
  .main-contents {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  .post-filters {
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  .post-filters h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
  }
  
  .filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    background-color: #C1272D;
    color: white;
  }
  
  .member-filters {
    display: flex;
    gap: 10px;
  }
  
  .member-btn {
    padding: 8px 16px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .member-btn:hover,
  .member-btn.active {
    background-color: #2C3A31;
    color: white;
  }
  
  /* ===== 投稿一覧 ===== */
  .posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .post-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  
  .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .post-item:hover .post-image img {
    transform: scale(1.05);
  }
  
  .status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    color: white;
  }
  
  .status-badge.pending {
    background-color: #C1272D;
  }
  
  .status-badge.completed {
    background-color: #2C3A31;
  }
  
  .post-content {
    padding: 20px;
  }
  
  .post-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
  }
  
  .post-excerpt {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
  }
  
  .read-more {
    color: #C1272D;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
  }
  
  .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
  }
  
  .read-more:hover i {
    transform: translateX(5px);
  }
  
  /* ===== ページネーション ===== */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
  }
  
  .pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    color: #333;
    border-radius: 50%;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .pagination a.active {
    background-color: #C1272D;
    color: white;
  }
  
  .pagination a:hover {
    background-color: #F0F0F0;
  }
  
  .pagination a.active:hover {
    background-color: #A01F24;
  }
  
  .pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
  }
  
  /* ===== フッター ===== */
  #footer {
    background-color: #000;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
  }
  
  .footer-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
  }
  
  .footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #C1272D;
  }
  
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .footer-nav-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #C1272D;
  }
  
  .footer-nav-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-nav-section ul li a {
    color: #CCC;
    transition: color 0.3s ease;
  }
  
  .footer-nav-section ul li a:hover {
    color: #C1272D;
  }
  
  .page-top {
    text-align: right;
  }
  
  .page-top a {
    display: inline-block;
    color: white;
    background-color: #C1272D;
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .page-top a:hover {
    background-color: #A01F24;
    transform: translateY(-3px);
  }
  
  .copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #888;
  }
  
  /* ===== パンくずリスト ===== */
  .breadcrumb {
    background-color: white;
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  .breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .breadcrumb li {
    font-size: 14px;
    color: #666;
  }
  
  .breadcrumb li:not(:last-child):after {
    content: ">";
    margin: 0 10px;
    color: #CCC;
  }
  
  .breadcrumb li:last-child {
    color: #C1272D;
    font-weight: bold;
  }
  
  /* ===== 投稿詳細ページ ===== */
  .post-detail-container {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
  }
  
  .post-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .post-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
  }
  
  .post-status.pending {
    background-color: #C1272D;
  }
  
  .post-status.completed {
    background-color: #2C3A31;
  }
  
  .post-status i {
    margin-right: 8px;
  }
  
  .post-title {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 16px;
    color: #666;
  }
  
  .post-meta-item i {
    margin-right: 8px;
    color: #C1272D;
  }
  
  .post-content-wrap {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  }
  
  .post-main-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .post-content-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .post-description h2,
  .post-body h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C1272D;
  }
  
  .info-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .info-table th,
  .info-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
  }
  
  .info-table th {
    width: 30%;
    text-align: left;
    font-weight: bold;
    color: #666;
  }
  
  .post-body h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #C1272D;
  }
  
  .wishlist-menu {
    margin-left: 20px;
  }
  
  .wishlist-menu li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
  }
  
  .wishlist-menu li:before {
    content: "•";
    color: #C1272D;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
  }
  
  .map-section {
    margin-bottom: 40px;
  }
  
  .map-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C1272D;
  }
  
  .google-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .status-update {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #F8F8F8;
    border-radius: 8px;
  }
  
  .status-update h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C1272D;
  }
  
  .status-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .status-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .status-btn i {
    margin-right: 8px;
  }
  
  .status-btn.pending {
    background-color: #F0F0F0;
    color: #333;
  }
  
  .status-btn.completed {
    background-color: #F0F0F0;
    color: #333;
  }
  
  .status-btn.pending.active {
    background-color: #C1272D;
    color: white;
  }
  
  .status-btn.completed.active {
    background-color: #2C3A31;
    color: white;
  }
  
  .completion-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }
  
  .completion-form h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .completion-form textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 16px;
  }
  
  .rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .rating p {
    margin-right: 15px;
  }
  
  .stars {
    display: flex;
    gap: 5px;
  }
  
  .stars i {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .stars i:hover,
  .stars i.active {
    color: #FFD700;
  }
  
  .submit-btn {
    background-color: #C1272D;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: #A01F24;
  }
  
  .related-posts {
    margin-top: 40px;
  }
  
  .related-posts h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C1272D;
  }
  
  .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .related-post-item {
    background-color: #F8F8F8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .related-post-img {
    position: relative;
    height: 150px;
    overflow: hidden;
  }
  
  .related-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .related-post-item:hover .related-post-img img {
    transform: scale(1.05);
  }
  
  .related-post-item h3 {
    padding: 15px 15px 5px;
    font-size: 16px;
  }
  
  .related-post-item .post-meta {
    padding: 0 15px 15px;
    justify-content: flex-start;
    gap: 10px;
    font-size: 14px;
  }
  
  /* ===== アーカイブページ ===== */
  .archive-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
  }
  
  .archive-header {
    margin-bottom: 30px;
  }
  
  .archive-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  .archive-header p {
    color: #666;
    font-size: 16px;
  }
  
  .archive-filters {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .filter-section {
    margin-bottom: 20px;
  }
  
  .filter-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
  }
  
  .genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .genre-tag {
    padding: 8px 15px;
    background-color: #F0F0F0;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .genre-tag:hover,
  .genre-tag.active {
    background-color: #C1272D;
    color: white;
  }
  
  .status-filters {
    display: flex;
    gap: 10px;
  }
  
  .status-filter-btn {
    padding: 8px 15px;
    background-color: #F0F0F0;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .status-filter-btn:hover,
  .status-filter-btn.active {
    background-color: #C1272D;
    color: white;
  }
  
  .sort-options {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .sort-options label {
    margin-right: 10px;
    font-weight: bold;
  }
  
  .sort-options select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
  }
  
  .archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .archive-post-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .archive-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  
  /* ===== WordPress 特有のスタイル ===== */
  .admin-bar #header {
    top: 32px;
  }
  
  @media screen and (max-width: 782px) {
    .admin-bar #header {
      top: 46px;
    }
  }
  
  /* ===== レスポンシブ対応 ===== */
  @media (max-width: 1024px) {
    .footer-contents {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .footer-nav {
      grid-template-columns: 1fr 1fr 1fr;
    }
    
    .page-top {
      text-align: center;
      margin-top: 20px;
    }
    
    .post-content-details {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .header-contents {
      flex-direction: column;
      height: auto;
      padding: 20px;
    }
    
    .header-left {
      margin-bottom: 20px;
    }
    
    .main-nav ul {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }
    
    .post-btn {
      margin-left: 0;
      margin-top: 15px;
    }
    
    #mainVisual {
      height: 400px;
    }
    
    .slide-caption h2 {
      font-size: 28px;
    }
    
    .slide-caption p {
      font-size: 16px;
    }
    
    .posts-container,
    .archive-posts-grid {
      grid-template-columns: 1fr;
    }
    
    .footer-nav {
      grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .header-contents {
      padding: 15px;
    }
    
    .header-left h1 {
      font-size: 24px;
    }
    
    #mainVisual {
      height: 300px;
    }
    
    .slide-caption h2 {
      font-size: 24px;
    }
    
    .slide-caption p {
      font-size: 14px;
    }
    
    .post-content-wrap {
      padding: 20px;
    }
    
    .post-header .post-title {
      font-size: 26px;
    }
  }

  /* 
 * 優先度表示のためのCSS
 * style.cssに追加する部分
 */

/* 優先度バッジのスタイル */
.priority-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  margin-right: 10px;
  white-space: nowrap;
}

.priority-badge.super-high {
  background-color: #FF0000;
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.4);
}

.priority-badge.high {
  background-color: #FF6B00;
  box-shadow: 0 2px 4px rgba(255, 107, 0, 0.4);
}

.priority-badge.medium {
  background-color: #FFBF00;
  color: #333;
  box-shadow: 0 2px 4px rgba(255, 191, 0, 0.4);
}

.priority-badge.normal {
  background-color: #4CAF50;
  box-shadow: 0 2px 4px rgba(76, 175, 80, 0.4);
}

.priority-badge.low {
  background-color: #9E9E9E;
  box-shadow: 0 2px 4px rgba(158, 158, 158, 0.4);
}

/* 優先度フィルターボタン */
.priority-filter-btn {
  padding: 8px 15px;
  background-color: #F0F0F0;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 5px;
  margin-bottom: 5px;
}

.priority-filter-btn:hover {
  background-color: #E0E0E0;
}

.priority-filter-btn.active.super-high {
  background-color: #FF0000;
  color: white;
}

.priority-filter-btn.active.high {
  background-color: #FF6B00;
  color: white;
}

.priority-filter-btn.active.medium {
  background-color: #FFBF00;
  color: #333;
}

.priority-filter-btn.active.normal {
  background-color: #4CAF50;
  color: white;
}

.priority-filter-btn.active.low {
  background-color: #9E9E9E;
  color: white;
}

/* 投稿メタ内の優先度表示 */
.post-meta .priority-badge {
  padding: 3px 8px;
  font-size: 10px;
  vertical-align: middle;
}

/* 優先度に応じた投稿カードの左ボーダー */
.post-item, .archive-post-item {
  border-left: 4px solid transparent;
}

.post-item[data-priority="super-high"], 
.archive-post-item[data-priority="super-high"] {
  border-left-color: #FF0000;
}

.post-item[data-priority="high"], 
.archive-post-item[data-priority="high"] {
  border-left-color: #FF6B00;
}

.post-item[data-priority="medium"], 
.archive-post-item[data-priority="medium"] {
  border-left-color: #FFBF00;
}

.post-item[data-priority="normal"], 
.archive-post-item[data-priority="normal"] {
  border-left-color: #4CAF50;
}

.post-item[data-priority="low"], 
.archive-post-item[data-priority="low"] {
  border-left-color: #9E9E9E;
}