/* 
 * PAlo Override Styles 
 * Because Tailwind utility classes are rendered directly on the HTML (like text-3xl), 
 * we use !important here to force the override when viewing a PAlo article.
 */
/* Define the Custom Fonts */
@font-face {
    font-family: 'Shurjo';
    src: url('/assets/fonts/ShurjoWeb_400_v5_1.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shurjo';
    src: url('/assets/fonts/ShurjoWeb_700_v5_1.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 2. Apply the Font Family */
/* Target the headline, author block, pub time, and the main article body */
h1.text-3xl,
.author-name,
.author-location,
.publication-update-time,
.article-content {
    font-family: "Shurjo", "Noto Sans Bengali", "Siyam Rupali", "Roboto", "Arial", sans-serif !important;
}

/* Make the main title larger and blacker */
h1.text-3xl {
    color: rgba(0, 0, 0, 0.87) !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 59px !important;
    margin-bottom: 0px !important;
    padding-bottom: 16px !important;
}



/* 3. Force image to be full width like the PAlo screenshot */
.article-content figure {
    margin: 2rem 0;
    text-align: left; /* PAlo aligns the caption to the left */
}

.article-content img {
    width: 100% !important; /* Force full width expansion */
    max-width: 100% !important;
    border-radius: 0 !important; /* PAlo images are sharp-edged */
}

/* 4. Format the caption to match the PAlo layout */
.article-content figcaption.img-title {
    display: inline;
    font-weight: 500;
    color: #444;
}

.article-content figcaption.img-attrib {
    display: inline;
    color: #888;
}

/* Add the pipe separator between title and attribution */
.article-content figcaption.img-attrib::before {
    content: " | ";
}

/* 2. Author Block Styling */
/* Force the container to not stack the items if tailwind flex-col is acting on it */
.author-name {
    display: inline-block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 21px !important;
    color: #000 !important;
    margin-right: 6px !important; /* Adds a tiny space between name and location */
}

.author-location {
    display: inline-block !important;
    color: rgb(111, 111, 111) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 17px !important;
}

/* 3. Publication Time Styling */
.publication-update-time {
    color: rgba(0, 0, 0, 0.68) !important;
    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 19px !important;
}