/* =========================
   General Blog Styles
   ========================= */
.woa-single-blog {
    margin: 0 auto;
    font-family: "Inter", sans-serif;
    line-height: 1.8;
    color: #222;
    background-color: #fff;
}

/* =========================
   Back to Top
   ========================= */
.woa-back-link {
    padding: 1rem 0;
    margin: 0 20px;
    position: relative;
    z-index: 2;
}
.woa-back-link a {
    background-color: #fff;
    padding: 6px 12px;
    border: 1px solid #000;
    color: #0053a0;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.woa-back-link a:hover {
    background-color: #FFA934;
    color: #fff;
}
.woa-back-link svg {
    background-color: #0053a0;
    fill: none;
    stroke: #fff;
    padding: 5px;
    width: 22px;
    height: 22px;
    clip-path: circle(50%);
    transition: background-color 0.3s ease, stroke 0.3s ease;
}
.woa-back-link a:hover svg {
    background-color: #fff;
    stroke: #FFA934;
}

/* =========================
   Featured Image (with Top + Bottom Gradient)
   ========================= */
.woa-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.woa-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.woa-blog-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: left;
    padding-bottom:20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.woa-featured-image::before,
.woa-featured-image::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 40%;
    z-index: 1;
}
.woa-featured-image::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}
.woa-featured-image::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* =========================
   Blog Meta (Author + Date + Post Type)
   ========================= */
.woa-blog-meta {

    padding: 15px 0px;

    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 1rem;
    color: #444;
    margin: 20px auto 30px;
    max-width: 800px;
    flex-wrap: wrap;
    transition: box-shadow 0.3s ease;
}


.woa-author-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFA934;
    padding: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}
.woa-author-image:hover {
    transform: scale(1.05);
}

.woa-blog-meta-details {
    display: flex;
    gap: 30px;
}

.woa-author-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0053a0;
}
.woa-date, .woa-post-type {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}
.woa-date::before {
    content: "📅";
}
.woa-post-type::before {
    content: "📝";
}
/* =========================
   Blog Content
   ========================= */
.woa-blog-content {
    font-size: 1.05rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}
.woa-blog-content h2,
.woa-blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 600;
}
.woa-blog-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

/* =========================
   Action Buttons (PDF, Share)
   ========================= */
.woa-action-buttons {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* responsive ke liye */
}
.woa-button-border {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 15px;
    color: #0053a0; /* Default color */
}
.woa-button-border:hover {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    color: #FFA934; /* Highlight hover */
}
#woa-toggle-comment-form{
    background: #1a3344;
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#woa-toggle-comment-form:hover{
     background: #FFA934;
}

/* =========================
   Comments Section
   ========================= */
.woa-comments-section {
    max-width: 800px;
    margin: 3rem auto;
}
.woa-comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111;
    font-weight: 600;
}
.woa-comment {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}
.woa-comment:last-child {
    border-bottom: none;
}
.woa-comment strong {
    display: block;
    font-weight: 600;
    color: #0053a0;
    margin-bottom: 0.3rem;
}
.woa-comment-date {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-bottom: 0.8rem;
}
.woa-comment p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* =========================
   Comment Form
   ========================= */
.woa-comment-form {
    max-width: 800px;
    margin: 3rem auto;
    background: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
}
.woa-comment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111;
    font-weight: 600;
}
.woa-comment-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.woa-comment-form input,
.woa-comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    transition: border-color 0.3s ease;
}
.woa-comment-form input:focus,
.woa-comment-form textarea:focus {
    border-color: #0053a0;
    outline: none;
}
.woa-comment-form textarea {
    min-height: 150px;
    resize: vertical;
}
.woa-comment-form button {
    background-color: #0053a0;
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.woa-comment-form button:hover {
    background-color: #FFA934;
}

/* =========================
   Messages
   ========================= */
.woa-comment-success {
    color: #28a745;
    background: #f0fff4;
    padding: 10px 15px;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid #c3e6cb;
}
.woa-comment-error {
    color: #dc3545;
    background: #fff0f0;
    padding: 10px 15px;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* =========================
   Related Posts
   ========================= */
.woa-related-heading {
    margin: 40px 0 20px;
    padding-left: 20%;
    font-size: 24px;
    font-weight: bold;
}
.woa-related-posts-list {
    padding-left: 20%;
    padding-right: 20%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
.woa-single-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.woa-single-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.woa-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.woa-post-content {
    padding: 15px;
}
.woa-post-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #0053a0;
}
.woa-post-title a {
    text-decoration: none;
    color: inherit;
}
.woa-post-title a:hover {
    text-decoration: underline;
}
.woa-post-excerpt {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.5;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1024px) {
    .woa-featured-image { height: 450px; }
}
@media (max-width: 768px) {
    .woa-featured-image { height: 400px; }
    .woa-blog-meta {
        flex-direction: row;
        align-items: center;
        margin: 0 auto 1.5rem;
        font-size: 1rem;
    }
    .woa-date { width: auto; }
    .woa-comment-form { padding: 1.5rem; }
}
@media (max-width: 576px) {
    .woa-single-blog { padding: 0 15px; }
    .woa-featured-image { height: 350px; margin: 0 -15px 1.5rem; }
    .woa-blog-title { padding: 0 15px 30px; }
    .woa-author-image { width: 50px; height: 50px; }
    .woa-comments-section, .woa-comment-form { padding: 0 10px; }
    .woa-comment-form { padding: 1.25rem; }
}
@media (max-width: 480px) {
    .woa-featured-image { height: 300px; }
    .woa-blog-meta { flex-direction: column; align-items: flex-start; }
    .woa-author-image { width: 45px; height: 45px; }
    .woa-comment-form { padding: 1rem; }
    .woa-comment-form input, .woa-comment-form textarea { padding: 10px 12px; }
}
