/* ==================================================================
   Astrologer in Plano — Blog listing + Blog details
   Loaded AFTER style.css and responsive.css, so it only adds.
   The existing theme files are never modified. Every class here is
   prefixed pl_ to avoid clashes.
   ================================================================== */

.pl_blog_section {
    background: linear-gradient(180deg, #0a0416 0%, #1a0a3c 100%);
    padding: 70px 0 80px;
    position: relative;
    z-index: 1;
}

.pl_blog_section .container {
    max-width: 1200px;
}

.pl_filter_note {
    text-align: center;
    color: #d4c5f0;
    margin-bottom: 38px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

.pl_filter_note strong { color: #fff; }

.pl_filter_note a {
    color: #f5c518;
    text-decoration: underline;
}

/* ---------- shared button ---------- */
.pl_btn {
    display: inline-block;
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    color: #fff !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all .3s ease;
}

.pl_btn:hover {
    background: linear-gradient(135deg, #f5c518, #ffd966);
    color: #1a0a3c !important;
    text-decoration: none;
}

/* ---------- grid ---------- */
.pl_blog_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* ---------- card ---------- */
.pl_card {
    background: rgba(45, 17, 103, 0.35);
    border: 1px solid rgba(232, 103, 10, 0.22);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .35s ease;
}

.pl_card:hover {
    border-color: rgba(245, 197, 24, 0.55);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.pl_card_thumb {
    display: block;
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #1a0a3c;
}

.pl_card_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

.pl_card:hover .pl_card_thumb img {
    transform: scale(1.08);
}

.pl_card_cat {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 3px;
    line-height: 1.5;
}

.pl_card_body {
    padding: 22px 24px 0;
    flex: 1 1 auto;
}

.pl_card_meta {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
}

.pl_card_meta li {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #9b8cc4;
    line-height: 1.6;
}

.pl_card_meta li i {
    color: #f5c518;
    margin-right: 6px;
}

.pl_card_title {
    font-family: 'Cinzel', serif;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 12px;
}

.pl_card_title a {
    color: #ffffff;
    text-decoration: none;
    transition: color .3s ease;
}

.pl_card_title a:hover {
    color: #f5c518;
    text-decoration: none;
}

.pl_card_excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
    color: #d4c5f0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl_card_foot {
    margin: 20px 24px 0;
    padding: 15px 0 20px;
    border-top: 1px solid rgba(232, 103, 10, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pl_read_more {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.pl_read_more i {
    margin-left: 8px;
    transition: margin .3s ease;
}

.pl_read_more:hover {
    color: #f5c518;
    text-decoration: none;
}

.pl_read_more:hover i { margin-left: 13px; }

.pl_card_comments {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #f5c518;
}

.pl_card_comments i { margin-right: 6px; }

/* ---------- pagination ---------- */
.pl_pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.pl_pagination a,
.pl_pagination span {
    min-width: 45px;
    height: 45px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 103, 10, 0.3);
    border-radius: 5px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
}

.pl_pagination a:hover,
.pl_pagination .pl_active {
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* ==================================================================
   Blog details
   ================================================================== */

.pl_detail_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}

.pl_article {
    background: rgba(45, 17, 103, 0.35);
    border: 1px solid rgba(232, 103, 10, 0.22);
    border-radius: 10px;
    overflow: hidden;
}

.pl_article_hero {
    height: 400px;
    background: #1a0a3c;
}

.pl_article_hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pl_article_inner {
    padding: 32px 38px 42px;
}

.pl_article_meta {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px;
}

.pl_article_meta li {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #9b8cc4;
    line-height: 1.6;
}

.pl_article_meta li i {
    color: #f5c518;
    margin-right: 7px;
}

.pl_article_meta li a {
    color: #9b8cc4;
    text-decoration: none;
}

.pl_article_meta li a:hover { color: #f5c518; }

.pl_article_title {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 22px;
}

.pl_article_body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #d4c5f0;
}

.pl_article_body p {
    font-size: 16px;
    line-height: 1.9;
    color: #d4c5f0;
    margin: 0 0 18px;
}

.pl_article_body h2 {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    line-height: 1.35;
    color: #f5c518;
    font-weight: 700;
    margin: 34px 0 14px;
}

.pl_article_body h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    margin: 26px 0 12px;
}

.pl_article_body ul,
.pl_article_body ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.pl_article_body ul li {
    list-style: disc;
    margin-bottom: 10px;
    color: #d4c5f0;
    line-height: 1.85;
}

.pl_article_body ol li {
    list-style: decimal;
    margin-bottom: 10px;
    color: #d4c5f0;
    line-height: 1.85;
}

.pl_article_body strong { color: #ffffff; }

.pl_article_body a {
    color: #f5c518;
    font-weight: 600;
    text-decoration: underline;
}

.pl_article_body blockquote {
    margin: 26px 0;
    padding: 20px 26px;
    background: rgba(245, 197, 24, 0.07);
    border-left: 4px solid #e8670a;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* tags */
.pl_tags {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(232, 103, 10, 0.18);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pl_tags strong,
.pl_share strong {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.pl_tag {
    padding: 7px 16px;
    background: rgba(26, 10, 60, 0.7);
    border: 1px solid rgba(232, 103, 10, 0.25);
    border-radius: 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #d4c5f0;
    text-decoration: none;
    transition: all .3s ease;
}

.pl_tag:hover {
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    border-color: transparent;
    color: #fff;
    text-decoration: none;
}

/* share */
.pl_share {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pl_share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(26, 10, 60, 0.7);
    border: 1px solid rgba(232, 103, 10, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
}

.pl_share a:hover {
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    border-color: transparent;
    color: #fff;
}

/* prev / next */
.pl_postnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 26px;
}

.pl_postnav a {
    background: rgba(45, 17, 103, 0.35);
    border: 1px solid rgba(232, 103, 10, 0.22);
    border-radius: 8px;
    padding: 18px 22px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.55;
    text-decoration: none;
    display: block;
    transition: all .3s ease;
}

.pl_postnav a:hover {
    border-color: #f5c518;
    color: #f5c518;
    text-decoration: none;
}

.pl_postnav small {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f5c518;
    font-weight: 400;
    margin-bottom: 7px;
}

.pl_postnav .pl_next { text-align: right; }

/* ---------- sidebar ---------- */
.pl_sidebar { position: sticky; top: 20px; }

.pl_widget {
    background: rgba(45, 17, 103, 0.35);
    border: 1px solid rgba(232, 103, 10, 0.22);
    border-radius: 10px;
    padding: 26px 24px;
    margin-bottom: 26px;
}

.pl_widget_title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
    padding-bottom: 13px;
    border-bottom: 2px solid #e8670a;
}

.pl_search { position: relative; }

.pl_search input {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(232, 103, 10, 0.25);
    border-radius: 5px;
    padding: 0 54px 0 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #fff;
    background: rgba(10, 4, 22, 0.7);
    outline: none;
}

.pl_search input::placeholder { color: #9b8cc4; }
.pl_search input:focus { border-color: #f5c518; }

.pl_search button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    color: #fff;
    cursor: pointer;
}

.pl_cat_list { list-style: none; padding: 0; margin: 0; }

.pl_cat_list li + li {
    border-top: 1px solid rgba(232, 103, 10, 0.15);
}

.pl_cat_list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #d4c5f0;
    text-decoration: none;
    transition: color .3s ease;
}

.pl_cat_list a:hover { color: #f5c518; text-decoration: none; }

.pl_cat_list span {
    font-size: 12px;
    background: rgba(10, 4, 22, 0.8);
    border-radius: 20px;
    padding: 3px 12px;
    color: #9b8cc4;
}

.pl_recent { list-style: none; padding: 0; margin: 0; }

.pl_recent li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
}

.pl_recent li + li {
    border-top: 1px solid rgba(232, 103, 10, 0.15);
}

.pl_recent li > a {
    flex: 0 0 auto;
    width: 78px;
    height: 62px;
    border-radius: 5px;
    overflow: hidden;
}

.pl_recent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pl_recent h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 14.5px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 5px;
}

.pl_recent h4 a {
    color: #ffffff;
    text-decoration: none;
}

.pl_recent h4 a:hover { color: #f5c518; }

.pl_recent time {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #f5c518;
}

/* sidebar CTA */
.pl_cta {
    background: linear-gradient(150deg, #4a1fa8, #2d1167);
    border: 1px solid rgba(245, 197, 24, 0.3);
    border-radius: 10px;
    padding: 30px 24px;
    text-align: center;
}

.pl_cta h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: #f5c518;
    margin: 0 0 10px;
}

.pl_cta p {
    font-family: 'Roboto', sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: #d4c5f0;
    margin: 0 0 18px;
}

.pl_cta_btn,
.pl_cta_alt {
    display: block;
    border-radius: 40px;
    padding: 13px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
}

.pl_cta_btn {
    background: linear-gradient(135deg, #e8670a, #ff8c00);
    color: #fff !important;
    margin-bottom: 10px;
}

.pl_cta_btn:hover {
    background: linear-gradient(135deg, #f5c518, #ffd966);
    color: #1a0a3c !important;
    text-decoration: none;
}

.pl_cta_alt {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff !important;
}

.pl_cta_alt:hover {
    background: #fff;
    color: #2d1167 !important;
    text-decoration: none;
}

.pl_cta_btn i,
.pl_cta_alt i { margin-right: 8px; }

/* ---------- related ---------- */
.pl_related { margin-top: 60px; }

.pl_related_head {
    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(232, 103, 10, 0.2);
}

/* ---------- empty state ---------- */
.pl_empty {
    text-align: center;
    padding: 70px 30px;
    background: rgba(45, 17, 103, 0.35);
    border: 1px solid rgba(232, 103, 10, 0.22);
    border-radius: 10px;
}

.pl_empty h2 {
    font-family: 'Cinzel', serif;
    color: #f5c518;
    margin: 0 0 10px;
}

.pl_empty p {
    font-family: 'Roboto', sans-serif;
    color: #d4c5f0;
    margin: 0 0 22px;
}

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 1199px) {
    .pl_article_title { font-size: 30px; }
    .pl_article_hero { height: 340px; }
}

@media (max-width: 991px) {
    .pl_detail_wrap { grid-template-columns: 1fr; }
    .pl_sidebar { position: static; margin-top: 40px; }
    .pl_blog_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl_blog_section { padding: 55px 0 65px; }
    .pl_article_inner { padding: 28px 26px 36px; }
}

@media (max-width: 767px) {
    .pl_blog_section { padding: 45px 0 55px; }
    .pl_blog_grid { grid-template-columns: 1fr; gap: 26px; }
    .pl_card_thumb { height: 205px; }
    .pl_article_hero { height: 215px; }
    .pl_article_title { font-size: 24px; }
    .pl_article_inner { padding: 24px 20px 32px; }
    .pl_article_body,
    .pl_article_body p { font-size: 15px; }
    .pl_article_body h2 { font-size: 21px; }
    .pl_postnav { grid-template-columns: 1fr; }
    .pl_postnav .pl_next { text-align: left; }
    .pl_related_head { font-size: 24px; }
}
