/*!
Theme Name: EasyWebProxy.id
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: easywebproxy-id
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

EasyWebProxy.id is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   EASYWEBPROXY CUSTOM STYLES (Penyesuaian Tampilan Root Domain)
   ========================================================================== */

/* 1. Override Body & Struktur Utama */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: #f8fafc; 
    color: #334155; 
    overflow-x: hidden; /* Dipindahkan ke sini agar sticky pada child element berfungsi */
}

#page {
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    /* overflow-x: hidden; ---> BARIS INI DIHAPUS */
}

#content {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* 2. Header & Navigasi */
header { 
    background: #ffffff; 
    padding: 15px 30px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid #f1f5f9; 
    width: 100%;
}
header h1 { margin: 0; display: flex; align-items: center; line-height: 1; }
header img { height: auto; width: auto; max-height: 45px; max-width: 250px; object-fit: contain; }
header nav { display: flex; align-items: center; }
header nav a { margin-left: 24px; text-decoration: none; color: #475569; font-weight: 600; transition: color 0.2s; box-shadow: none; }
header nav a:hover { color: #2563eb; }
header nav .btn-download { background: #10b981; color: white; padding: 8px 18px; border-radius: 20px; margin-left: 20px; transition: 0.2s; }
header nav .btn-download:hover { background: #059669; color: white; }

/* 3. Mobile Menu */
.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: #334155; cursor: pointer; padding: 5px; }
.mobile-menu { display: none; flex-direction: column; position: absolute; top: 70px; right: 20px; width: 220px; background: #ffffff; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; overflow: hidden; z-index: 101; }
.mobile-menu.show-menu { display: flex; }
.mobile-menu a { padding: 15px 20px; text-decoration: none; color: #475569; font-weight: 600; border-bottom: 1px solid #f1f5f9; box-shadow: none; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: #f8fafc; color: #2563eb; }
.mobile-menu .btn-download-mobile { background: #10b981; color: white; text-align: center; }
.mobile-menu .btn-download-mobile:hover { background: #059669; color: white; }

@media (max-width: 640px) {
    header img { max-height: 32px; max-width: 180px; }
    header nav { display: none; }
    .menu-toggle { display: block; }
}

/* 4. Footer */
footer { 
    background: #ffffff; 
    text-align: center; 
    padding: 30px; 
    font-size: 14px; 
    color: #94a3b8; 
    border-top: 1px solid #f1f5f9; 
    width: 100%; 
    margin-top: auto; 
}
footer a { color: #64748b; text-decoration: none; margin: 0 12px; transition: color 0.2s; box-shadow: none; }
footer a:hover { color: #2563eb; }

/* 5. Tampilan Artikel Blog (Meniru .seo-article) */
article.post, article.page, article.type-post { 
    width: 100%; 
    max-width: 850px; 
    background: #ffffff; 
    padding: 45px; 
    border-radius: 16px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); 
    border: 1px solid #f1f5f9; 
    text-align: left; 
    margin: 0 auto 40px auto; 
}
article.post h1, article.post h2, article.post h3, article.page h1, article.page h2 { color: #0f172a; margin-bottom: 16px; font-weight: 700; border: none; }
article.post p, article.post ul, article.page p { color: #475569; font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
article.post ul, article.page ul { margin-left: 20px; margin-bottom: 20px; list-style-type: disc; }
article.post li, article.page li { margin-bottom: 10px; }
article.post strong { color: #0f172a; font-weight: 600; }
article.post a { color: #2563eb; text-decoration: none; box-shadow: none; }
article.post a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    article.post, article.page { padding: 30px 20px; }
}

/* ==========================================================================
   BLOG ARCHIVE & SIDEBAR LAYOUT
   ========================================================================== */

/* Container Utama */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* Kolom Kiri (Artikel) */
.site-main {
    flex: 1 1 65%; /* Mengambil 65% lebar layar */
    min-width: 0;
}

/* Kolom Kanan (Sidebar) */
.sidebar-area {
    flex: 1 1 30%; /* Mengambil 30% lebar layar */
    min-width: 250px;
}

/* Kartu Artikel Archive (Gambar di Kiri, Teks di Kanan) */
.archive-post-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    gap: 20px;
    align-items: flex-start;
}
.archive-post-card .post-thumbnail {
    flex-shrink: 0;
    width: 220px; /* Ukuran gambar konstan */
}
.archive-post-card .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.archive-post-card .post-info {
    flex-grow: 1;
}
.archive-post-card .entry-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
}
.archive-post-card .entry-title a {
    color: #0f172a;
    text-decoration: none;
}
.archive-post-card .entry-title a:hover {
    color: #2563eb;
}
.archive-post-card .entry-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}
.archive-post-card .entry-summary p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Desain Sidebar */
.custom-widget {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.custom-widget .widget-title {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}
.custom-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-widget li {
    margin-bottom: 12px;
    line-height: 1.5;
}
.custom-widget li a {
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}
.custom-widget li a:hover {
    color: #2563eb;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}
.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}
.pagination .page-numbers {
    padding: 8px 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Responsif untuk layar HP */
@media (max-width: 768px) {
    .archive-post-card {
        flex-direction: column;
    }
    .archive-post-card .post-thumbnail {
        width: 100%;
    }
}

/* ==========================================================================
   COMMENT SECTION STYLES
   ========================================================================== */
.comments-area {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
    margin-bottom: 40px;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.comments-title, .comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

/* Daftar Komentar */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.comment-list .comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.comment-list .comment:last-child {
    border-bottom: none;
}
.comment-author img {
    border-radius: 50%;
    float: left;
    margin-right: 15px;
}
.comment-author b {
    color: #0f172a;
    font-size: 15px;
}
.comment-metadata {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}
.comment-content p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-left: 55px; /* Menyesuaikan dengan lebar avatar */
}
.reply a {
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 55px;
}

/* Form Komentar */
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    font-family: inherit;
    transition: all 0.3s ease;
}
.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #ffffff;
}
.form-submit .submit {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}
.form-submit .submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37,99,235,0.2);
}

/* ==========================================================================
   SIDEBAR SEARCH FORM
   ========================================================================== */
.search-island-sidebar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 5px 5px 5px 15px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.search-island-sidebar:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-island-sidebar input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #334155;
    padding: 5px 0;
}
.search-island-sidebar input::placeholder {
    color: #94a3b8;
}
.search-island-sidebar .btn-submit-sidebar {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}
.search-island-sidebar .btn-submit-sidebar:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   404 ERROR PAGE STYLES
   ========================================================================== */
.error-container { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 80px 20px; 
    min-height: 60vh;
}
.error-code { 
    font-size: 100px; 
    font-weight: 900; 
    color: #2563eb; 
    line-height: 1; 
    margin-bottom: 10px; 
    text-shadow: 0 10px 20px rgba(37,99,235,0.15); 
}
.error-title { 
    font-size: 32px; 
    color: #0f172a; 
    margin-bottom: 15px; 
    font-weight: 800; 
}
.error-desc { 
    font-size: 16px; 
    color: #64748b; 
    max-width: 450px; 
    margin-bottom: 35px; 
    line-height: 1.6; 
}
.btn-home { 
    background: #2563eb; 
    color: white; 
    padding: 14px 35px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.2s; 
    font-size: 16px; 
    display: inline-block;
    box-shadow: none;
}
.btn-home:hover { 
    background: #1d4ed8; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 15px rgba(37,99,235,0.2); 
    color: white;
}

/* Responsif untuk Mobile */
@media (max-width: 640px) {
    .error-code { font-size: 80px; }
    .error-title { font-size: 26px; }
    .error-container { padding: 50px 20px; }
}

/* ==========================================================================
   PERBAIKAN FINAL KARTU ARTIKEL (GAMBAR DI ATAS) & Z-INDEX MENU
   ========================================================================== */

/* 1. Memastikan Header & Menu Mobile Berada Paling Atas (Tingkat Dewa) */
header { 
    z-index: 99999 !important; 
    position: sticky !important; 
}
.mobile-menu { 
    z-index: 999999 !important; 
}

/* 2. Mengubah Layout Daftar Artikel (Gambar di Atas, Teks di Bawah) */
.archive-post-card {
    display: flex;
    flex-direction: column; /* Memaksa susunan menjadi atas-bawah */
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
    
    /* Menghapus z-index & position relative agar tidak menabrak menu dropdown */
    position: static !important; 
    z-index: auto !important;
}

/* 3. Merapikan Thumbnail Agar Lebar Penuh (Seragam di PC dan Mobile) */
.archive-post-card .post-thumbnail {
    width: 100%; /* Lebar gambar penuh 100% mengikuti kotak */
    margin-bottom: 8px; /* Jarak antara gambar dan judul */
}
.archive-post-card .post-thumbnail a {
    display: block;
    width: 100%;
}
.archive-post-card .post-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Menjaga gambar tetap proporsional seperti layar YouTube */
    object-fit: cover; 
    border-radius: 12px;
}

/* 4. Memastikan Teks Mengambil Lebar Penuh */
.archive-post-card .post-info {
    width: 100%;
}

/* 5. Menghilangkan Kotak "Siluman" pada Judul dan Meta Data */
.entry-header,
header.entry-header,
article.post .entry-header,
article.type-post .entry-header {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    display: block; 
    width: 100%;
    
    /* Mencegah judul melayang menimpa menu */
    position: static !important; 
}

/* 6. Memastikan Meta Data Tepat di Bawah Judul */
.entry-title {
    margin: 0 0 10px 0 !important;
    line-height: 1.4;
    position: static !important;
}
.archive-post-card .entry-meta {
    display: block !important;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px !important;
}

/* 7. Memastikan Wadah Artikel Single (Saat Dibaca) Tetap Rapi */
article.seo-article {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
    padding: 45px !important;
    max-width: 850px !important;
    margin: 0 auto 40px auto !important;
}

@media (max-width: 768px) {
    article.seo-article {
        padding: 30px 20px !important;
    }
}

/* ==========================================================================
   PERBAIKAN TINGGI GAMBAR THUMBNAIL & PENGHAPUSAN WARNA LINK UNGU
   ========================================================================== */

.archive-post-card .post-thumbnail img {
    width: 100%;
    height: 200px !important; /* Tinggi statis yang ideal untuk desktop */
    aspect-ratio: auto !important; /* Menonaktifkan rasio 16/9 sebelumnya */
    object-fit: cover; /* Memastikan gambar terpotong rapi di tengah tanpa gepeng */
    border-radius: 12px;
}

/* 3. Penyesuaian tinggi thumbnail di layar Mobile */
@media (max-width: 768px) {
    .archive-post-card .post-thumbnail img {
        height: 170px !important; /* Sedikit lebih pipih untuk layar HP */
    }
}

/* ==========================================================================
   PERBAIKAN Z-INDEX WP ADMIN BAR & POSISI HEADER STICKY
   ========================================================================== */

#wpadminbar {
    z-index: 9999999 !important;
}

/* ==========================================================================
   EASYWEBPROXY TOC (TABLE OF CONTENTS)
   ========================================================================== */

.ewp-toc-wrapper {
    margin: 10px 0 35px 0;
    width: 100%;
}

/* Tombol Toggle TOC */
.ewp-toc-toggle {
    background-color: #f1f5f9; /* Sedikit lebih gelap dari putih agar terlihat */
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 8px; /* Sedikit rounded */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.ewp-toc-toggle:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* Container utama TOC ketika dibuka */
.ewp-toc-content {
    background-color: #f8fafc; /* Lebih gelap dari artikel untuk membedakan */
    border: 1px solid #f1f5f9;
    border-radius: 12px; /* Rounded sesuai artikel */
    padding: 25px;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* Reset style khusus untuk List TOC (mencegah bentrok dengan style global UL) */
article.post ul.ewp-toc-list {
    list-style: none; /* Hilangkan default disc/bullet */
    margin: 0;
    padding: 0;
}

li.ewp-toc-item {
    margin-bottom: 10px !important; /* Override style artikel */
    line-height: 1.6;
}

/* Padding Hirarki H2, H3, H4 */
li.ewp-toc-h2 {
    padding-left: 0;
    font-weight: 600;
}
li.ewp-toc-h3 {
    padding-left: 24px;
    font-size: 0.95em;
}
li.ewp-toc-h4 {
    padding-left: 48px;
    font-size: 0.9em;
}

/* Style Teks & Link TOC */
.ewp-toc-list a {
    color: #475569 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ewp-toc-list a:hover {
    color: #2563eb !important;
    text-decoration: none;
}

/* Warna penomoran (1., 1.1., dll) */
.ewp-toc-number {
    color: #64748b;
    margin-right: 6px;
    font-family: monospace, sans-serif;
}

/* ==========================================================================
   SMOOTH SCROLL & OFFSET
   ========================================================================== */
html {
    scroll-behavior: smooth; /* Membuat efek gulir menjadi halus */
    /* Berikan jarak dari atas sebesar tinggi header Anda (sekitar 80px - 100px) 
       agar saat di-scroll, judul tidak tertutup oleh sticky header */
    scroll-padding-top: 90px; 
}

/* ==========================================================================
   ICON PANAH (CHEVRON) UNTUK TOMBOL TOC
   ========================================================================== */

/* Pastikan tombol TOC memiliki posisi relatif untuk icon */
.ewp-toc-toggle {
    display: inline-flex;
    align-items: center;
}

/* Membuat icon panah dari border CSS */
.ewp-toc-toggle::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 12px;
    border-right: 2.5px solid #475569; /* Warna panah */
    border-bottom: 2.5px solid #475569;
    /* Secara default (tertutup), panah menunjuk ke kanan */
    transform: rotate(-45deg); 
    transition: transform 0.3s ease;
    margin-bottom: 2px; /* Penyesuaian posisi optikal */
}

/* Saat di-hover, warna panah ikut berubah gelap mengikuti teks */
.ewp-toc-toggle:hover::before {
    border-color: #0f172a;
}

/* Saat TOC terbuka (class is-active ditambahkan oleh JS) */
.ewp-toc-toggle.is-active::before {
    /* Putar panah agar menunjuk ke bawah */
    transform: rotate(45deg); 
    margin-bottom: 4px; 
}
