/*
Theme Name: CoverNews Child
Theme URI: https://www.sirukathaigal.com/
Description: Custom child theme for Sirukathaigal
Author: Sirukathaigal
Template: covernews
Version: 1.0
Text Domain: covernews-child
*/

/* Custom styles will be added below */

/* =========================================
   Sirukathaigal - Single Story Details
   CoverNews Child Theme
========================================= */

.sk-story-details {
    margin: 18px 0 24px;
    padding: 14px 18px;
    background: #f7f8fa;
    border-left: 3px solid #c49a45;
    border-right: 3px solid #c49a45;
    border-top: 1px solid #e8e1d2;
    border-bottom: 1px solid #e8e1d2;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.7;
}

.sk-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
}

.sk-detail-row:last-child {
    border-bottom: none;
}

.sk-detail-icon {
    flex: 0 0 19px;
    width: 19px;
    height: 20px;
    color: #92702f;
    font-size: 17px;
    line-height: 20px;
}

.sk-detail-label {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap !important;
    display: inline-block;
    font-weight: 600;
}

.sk-detail-value {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 600px) {
    .sk-detail-row {
        flex-wrap: nowrap;
    }

    .sk-detail-label {
        white-space: nowrap !important;
        flex-shrink: 0;
    }

    .sk-detail-value {
        white-space: normal;
    }
}

.sk-detail-value a {
    color: #1769aa;
    text-decoration: none;
}

.sk-detail-value a:hover {
    color: #b07825;
    text-decoration: underline;
}

.sk-special-story {
    display: inline-block;
    margin-left: 8px;
    color: #9a7020;
    font-weight: 600;
}

.sk-special-story .dashicons {
    font-size: 16px;
    vertical-align: middle;
}

.sk-story-details p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.sk-story-details strong {
    display: inline;
    white-space: nowrap;
}

/* Golden borders - Writer profile */

.sk-author-profile {
    display: flow-root;
    margin: 28px 0;
    padding: 16px 18px;
    background: #fafafa;
    border-left: 3px solid #c49a45;
    border-right: 3px solid #c49a45;
    border-top: 1px solid #e8e1d2;
    border-bottom: 1px solid #e8e1d2;
    border-radius: 5px;
}

.sk-author-profile h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.sk-author-photo {
    float: left;
    width: 100px;
    margin: 0 16px 10px 0;
}

.sk-author-photo img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.sk-author-description {
    font-size: 15px;
    line-height: 1.8;
}

.sk-author-more {
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
}

/* Tamil story reading comfort */

.single-post .entry-content {
    font-size: 18px;
    line-height: 2;
}

.single-post .entry-content p {
    margin-bottom: 18px;
}

/* Mobile layout */

@media screen and (max-width: 600px) {

    .sk-story-details {
        margin: 14px 0 20px;
        padding: 11px 12px;
        font-size: 14px;
    }

    .sk-detail-row {
        gap: 6px;
    }

    .sk-detail-label {
        flex: 0 0 105px;
    }

    .sk-detail-value {
        overflow-wrap: anywhere;
    }

    .single-post .entry-content {
        font-size: 17px;
        line-height: 1.9;
    }

    .sk-author-photo {
        width: 80px;
        margin-right: 12px;
    }

    .sk-author-photo img {
        width: 80px;
    }
}
