/* main container. */
#x99d1 {display: flex; justify-content: space-between; gap: 40px; margin:40px auto; align-items:flex-start;}

/* left container */
#x99d2 {width: 65%;}
/* right panel */
#x99d3 {width: 35%;}

.x99i1 {width: 13px;}
.x99s1{color: oklch(0.51 0.026 256);
    font-size: 14px;}
.x99s2{    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
    transition: 0.2s;}
#x99d4{
    margin: 0;
    padding: 0 10px;
}
.x99d5{margin:16px 0; display:flex; align-items:center; gap:6px;}

.x99d6 {
    padding: 40px;
    flex-direction: column;
    margin: 0 0 30px 0;
    background: oklch(1 0 0);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.x99h1 {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.025em;
    font-size: 32px;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

/* Blog html container */
.x99d0{
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    color: oklch(0.21 0.038 258);
    line-height: 1.7;
    font-size: 16px;
}
.x99d0 a{
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: 0.2s;
}
.x99d0 a:hover{
    color: var(--navy);
}
.x99d0 h1, .x99d0 h2, .x99d0 h3, .x99d0 h4{
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.025em;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
}
.x99d0 h2{font-size: 28px; margin: 30px 0 10px;}
.x99d0 h3{font-size: 24px; margin: 24px 0 8px;}
.x99d0 h4{font-size: 20px; margin: 20px 0 6px;}
.x99d0 img{
    width:100%;
    height:auto;
    border-radius: 16px;
}
.x99d0 p ,.x99d0 li{font-weight:400; line-height:1.7; margin:15px 0; color:oklch(0.21 0.038 258);}

.x99d0 ul{margin-left:24px; padding-left:0; }
.x99d0 li{margin:6px 0; padding-left:6px; position:relative; list-style:disc;}

.x99d0 hr{
    border:0;
    border-top:1px solid var(--border);
    margin:20px 0;
    padding:0;
}

.x99d0 table {
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    border: 0;
    border-collapse: collapse;
    width:100%;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.x99d0 th,
.x99d0 td {
    border: 1px solid var(--border);
    text-align: center;
    padding: 10px;
}
.x99d0 th{background: oklch(0.965 0.008 250); font-weight:600; color: var(--navy);}

.x99d0 p>a {
    color: var(--brand);
}

/* Blog article headings on Blog main */
.x99h2 {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.025em;
    font-size: 28px;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
    margin: 30px 0 10px;
    transition: 0.2s;
}
.x99h2:hover{color: var(--brand);}
/* Posted date div */
.x99d7 {display: flex;flex-wrap: wrap;}


/* pagination */
.x99a1{
	width: 35px;
	text-align: center;
	padding: 5px;
	display: inline-block;
	height: 30px;
	text-decoration: none;
	color: var(--navy);
	background: oklch(0.965 0.008 250);
	border: 1px solid var(--border);
	border-radius: 8px;
	margin: 2px;
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    font-weight: 500;
	transition: 0.2s all;
}
/* x99a2 is for selected */
.x99a1:hover, .x99a2{
	color: #fff;
	background: var(--brand);
	border-color: var(--brand);
}
/* x99a3 is for dots */
.x99a3, .x99a3:hover {
	background: none;
	color: oklch(0.51 0.026 256);
	border: none;
	padding-top: 3px;
	height: 18px;
	width : auto;
}

/* Side panel - recent posts and category list */
.x99d8 {
    background: oklch(1 0 0);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.x99d9 {display: flex;flex-direction: column;margin-top: 12px;line-height: 1.5;}
.x99s3 {
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.025em;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}
.x99s4 {color: oklch(0.51 0.026 256);font-size: 15px;line-height: 1.5;transition: 0.2s;}
.x99s4:hover{color: var(--brand);}
.x99a4{    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    margin: 0;}
.x99a4:last-child{border-bottom:none;}

/* .....Responsive..... */
@media screen and (max-width:640px) {
    #x99d1 {flex-direction: column;gap:24px;margin:24px auto;}
    #x99d2,#x99d3 {width: 100%; min-width: 0;}
    .x99h1 {font-size: 26px;}
    .x99d6{padding:24px;margin:0;}

    /* post tables come from raw post HTML, so the table itself becomes the scroll container */
    .x99d0 table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .x99d0 th,
    .x99d0 td {min-width: 120px;}
}
