/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* ========== Style cho CPT Phản Ánh ========== */
.phan-anh-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.phan-anh-title {
  font-size: 28px;
  font-weight: 700;
  color: #2a4d8f;
  border-bottom: 3px solid #2a4d8f;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.phan-anh-content {
  font-size: 16px;
  margin-bottom: 25px;
  color: #333;
}

.phan-anh-meta h3,
.phan-anh-files h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #444;
  border-left: 5px solid #2a4d8f;
  padding-left: 10px;
}

.phan-anh-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phan-anh-meta li {
  padding: 8px 12px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 10px;
}

.phan-anh-meta li strong {
  color: #2a4d8f;
}

.phan-anh-files img {
  border-radius: 6px;
  transition: transform 0.2s ease-in-out;
}

.phan-anh-files img:hover {
  transform: scale(1.05);
}

.phan-anh-files ul {
  list-style: disc;
  padding-left: 20px;
}

.phan-anh-files li {
  margin-bottom: 8px;
}

/* ================== Dropdown lọc trạng thái ================== */
.phan-anh-filter {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phan-anh-filter label {
    font-weight: 600;
    color: #2a4d8f;
    font-size: 14px;
}

.phan-anh-filter select {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.phan-anh-filter select:hover,
.phan-anh-filter select:focus {
    border-color: #2a4d8f;
    outline: none;
}

/* ================== Badge trạng thái ================== */
.phan-anh-item span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* ================== Hover card phản ánh ================== */
.phan-anh-list .phan-anh-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}

/* ================== Pagination ================== */
.phan-anh-pagination a {
    padding: 8px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #2a4d8f;
    transition: all 0.2s ease-in-out;
}

.phan-anh-pagination a:hover {
    background: #2a4d8f;
    color: #fff;
    border-color: #2a4d8f;
}

.phan-anh-pagination .current {
    background: #2a4d8f;
    color: #fff;
    border-color: #2a4d8f;
}

/* ================== Responsive Mobile (dưới 768px) ================== */
@media only screen and (max-width: 768px) {
    .phan-anh-archive {
        padding: 15px;
        margin: 20px auto;
    }

    .phan-anh-list .phan-anh-item {
        padding: 12px;
        font-size: 14px;
    }

    .phan-anh-list .phan-anh-item h2 {
        font-size: 18px;
    }

    .phan-anh-meta p,
    .phan-anh-item p {
        font-size: 13px;
    }

    .phan-anh-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .phan-anh-filter select {
        width: 100%;
    }

    .phan-anh-files img {
        max-width: 100%;
        height: auto;
    }

    .phan-anh-pagination a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

