/* about-detail.css - Wider layout, responsive */

/* Main container - wider */
.detail-content-section {
    max-width: 1200px;      /* wider max width */
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 0px;
}

/* Text container - full width inside the section */
.detail-content-text-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;            /* full width of parent */
    max-width: 100%;        /* remove 65% restriction */
    margin: 0;
}

.detail-head {
    font-size: 34px;
    margin: 0;
    font-weight: 600;
}
.author-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.author-info-top {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.author-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.author-details {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-size: 0.9rem;
    color: #4f4e4e;
    margin: 0;
}
.author-name span {
    color: #303030;
    font-weight: 700;
    margin-left: 3px;
}
.author-meta {
    font-size: 0.85rem;
    color: #000000ad;
    margin: 2px 0 0;
}
.article-tools {
    background-color: #f7f7f7;
    padding: 5px 10px;
    border-radius: 2px;
}
.article-tools p {
    font-size: 0.85rem;
    color: #444;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-tools a {
    text-decoration: none;
    color: #444;
    font-size: 0.85rem;
}
.article-tools a:hover {
    text-decoration: underline;
}
.detail-para {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;       /* slightly increased for readability */
    color: #222;
}
.font-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.single-text {
    margin: 0;
    font-weight: 600;
    font-size: 70px;
}
.img-detail-grid {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}
.detail-img {
    width: 33.33%;
    border-radius: 5px;
}
.detail-img-l {
    width: 10%;
}
.font-grid-r {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.detal-para-head {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #000;
}
.styled-quote {
    border-left: 3px solid #000;
    padding-left: 15px;
    margin: 20px 0;
}
.styled-quote p {
    font-size: 18px;
    color: #222;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}
.styled-quote a {
    color: #2a8da8;
    text-decoration: none;
}
.styled-quote a:hover {
    text-decoration: underline;
}
.styled-quote sup {
    font-size: 0.7em;
}
.membership-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 25px;
    gap: 20px;
}
.member-info {
    flex: 1;
}
.member-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
}
.member-info p {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    color: #333;
}
.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 300px;
}
.subscribe-form input {
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    font-size: 15px;
    outline: none;
}
.subscribe-form input:focus {
    border-color: #00b7e6;
}
.subscribe-form button {
    background-color: #00c8f0;
    border: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.subscribe-form button:hover {
    background-color: #00b7e6;
}
.article-meta {
    margin-bottom: 20px;
}
.article-meta-head {
    font-style: italic;
    margin-bottom: 10px;
    color: #333;
}
.meta-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 15px;
    color: #555;
}
.meta-icons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}
.meta-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f2f2f2;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background 0.3s ease;
}
.meta-icons a:hover {
    background-color: #ddd;
}
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0px 0;
}
.author-section {
    display: flex;
    align-items: center;
    align-items: flex-start;
    gap: 20px;
}
.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.author-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}
.author-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    margin: 0 0 10px;
}
.author-bio {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px;
}
.author-links {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-links a {
    font-weight: 600;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #aaa;
    padding-bottom: 2px;
}
.author-links a:hover {
    border-color: #000;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.social-links a:hover {
    color: #000;
}
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 30px;
}
.related-posts h2 {
    font-size: 20px;
    margin-bottom: 20px;
}
.post {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 20px;
}
.post-img {
    width: 180px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}
.post-content .hashtag-category {
    font-size: 0.9rem;
    color: #000000ad;
    margin-bottom: 5px;
}
.post-content h3 {
    font-size: 1.4rem;
    margin: 0 0 10px;
    font-weight: 500;
}
.post-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
.comments-section {
    margin: auto;
}
.comments-section h2 {
    font-size: 20px;
    margin-bottom: 30px;
}
.comment {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}
.comment img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.comment-body {
    flex: 1;
    padding-bottom: 20px;
}
.comment-text {
    margin-bottom: 10px;
    color: #444;
}
.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.comment-author {
    font-weight: bold;
    color: #222;
    font-size: 0.95rem;
}
.comment-date {
    color: #000000ad;
    font-size: 0.9rem;
    margin-left: 10px;
}
.reply {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-style: italic;
    transition: color 0.3s;
    text-decoration: underline;
}
.reply:hover {
    color: #000;
}
.comment-form {
    width: 100%;
}
.comment-form h2 {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 20px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
textarea, input {
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    resize: vertical;
}
textarea:focus, input:focus {
    border-color: #0d7680;
}
textarea {
    min-height: 180px;
    max-width: 100%;
}
.input-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.input-row input {
    flex: 1;
    min-width: 250px;
}
.submit-btn {
    background-color: #0d7680;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
}
.submit-btn:hover {
    background-color: #095e66;
}

/* Responsive breakpoints */
@media (max-width: 700px) {
    .membership-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .subscribe-form {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .author-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article-tools {
        align-self: flex-start;
    }
}
@media (max-width: 767px) {
    .detail-content-section {
        width: 95%;
        padding: 15px 0;
    }
    .detail-content-text-section {
        width: 100%;
        gap: 20px;
    }
    .detail-head {
        font-size: 24px;
        line-height: 1.3;
    }
    .author-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .author-info-top {
        flex-wrap: wrap;
    }
    .article-tools {
        align-self: flex-start;
        width: 100%;
    }
    .detail-para {
        font-size: 16px;
        line-height: 1.5;
    }
    .font-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    .single-text {
        font-size: 50px;
    }
    .img-detail-grid {
        flex-direction: column;
        gap: 15px;
    }
    .detail-img, .detail-img-l {
        width: 100%;
    }
    .font-grid-r {
        width: 100%;
    }
    .membership-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    .subscribe-form {
        width: 100%;
    }
    .subscribe-form input {
        width: 100%;
    }
    .meta-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .meta-icons {
        margin-left: 0;
    }
    .author-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .author-image {
        width: 70px;
        height: 70px;
    }
    .related-posts {
        gap: 25px;
    }
    .post {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .post-img {
        width: 100%;
        height: auto;
    }
    .post-content h3 {
        font-size: 1.2rem;
    }
    .post-content p {
        font-size: 0.95rem;
    }
    .comments-section {
        width: 100%;
    }
    .comment {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .comment img {
        width: 50px;
        height: 50px;
    }
    .comment-body {
        width: 100%;
    }
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .comment-form h2 {
        font-size: 1.5rem;
    }
    .input-row {
        flex-direction: column;
        gap: 10px;
    }
    .input-row input {
        max-width: 100%;
    }
    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* Overrides for about page (hide image column) */
.cateagory-two-section-grid.l,
.about-img-wrapper,
.cateagory-main-img {
    display: none !important;
}
.about-top {
    text-align: center;
    margin-bottom: 0;
}
.cateagory-head {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}
.h-line {
    width: 60px;
    height: 3px;
    background: #000;
    margin: 0 auto 30px;
}
.cateagory-two-section {
    padding: 0;
    margin: 0;
}
.about-two-section-grid-content {
    padding: 0;
}