/*** GLOBAL RESET & BASE SETTINGS ***/
*, *::before, *::after { box-sizing: border-box; }

/*** SCROLL BEHAVIOR ***/
html { scroll-behavior: smooth; }

/*** BODY SETTINGS ***/
body {
  margin: 0;
  line-height: 1.5;
	color: #777777;
  background: #eee;
  background: url('https://i.imgur.com/ZgN8jVP.png');
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
  font-family: Verdana;
  font-size: 10pt;
  scrollbar-color: #888 #eee;
  scrollbar-width: thin;
}

/*** SELECTION ***/
::selection { background: #212121; color: #fff; }

/*** SCROLLBAR ***/
::-webkit-scrollbar { width: 5px; height: 5px; background: #eee; }
::-webkit-scrollbar-thumb { background: #888; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, #888 80%, white); }

/*** LINKS ***/
a { color: #777; text-decoration: none; }
a:hover { color: #999; }
a > *, a:hover > * { color: inherit; }

/*** TEXT ELEMENTS ***/
p { margin-top: 0; margin-bottom: 1rem; }

/*** FORM ELEMENTS ***/
input, textarea {
  padding: 8px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #999; opacity: 1; }
textarea { min-height: 100px; resize: vertical; }

/*** BUTTONS ***/
button {
  padding: 8px 16px;
  border: 1px solid #888;
  background: #555;
  color: #fff;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}
button:hover { background-color: #444; }

/*** FORM RESET / NORMALIZE ***/
button, input, optgroup, select, textarea {
  font-family: Verdana;
  font-size: 10pt;
  font-size: 100%;
  line-height: 1.15;
}
button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
  appearance: button;
}
button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

/*** IMAGES & MEDIA ***/


/*** LIST DESIGN ***/
ul.styled-list, ol.styled-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
}

/*** LIST ITEMS ***/
ul.styled-list li, ol.styled-list li {
  position: relative;
  padding: 10px 15px 10px 35px;
  color: #333;
  background: linear-gradient(0deg, rgba(255,255,255,0.6), rgba(255,255,255,0.9));
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 10px;
  transition: background .3s ease, color .3s ease;
}

/*** LAST ITEM (NO BORDER) ***/
ul.styled-list li:last-child, ol.styled-list li:last-child {
  border-bottom: none;
}

/*** BULLET / MARKER ***/
ul.styled-list li::before {
  content: "•";
  position: absolute;
  left: 12px;
  top: 9px;
  color: #777;
  font-size: 18px;
  transition: color .3s ease, transform .2s ease;
}

/*** HOVER EFFECT ***/
ul.styled-list li:hover {
  background: linear-gradient(0deg, rgba(230,230,230,0.8), rgba(255,255,255,0.9));
  color: #000;
}
ul.styled-list li:hover::before {
  color: #555;
  transform: scale(1.2);
}

/*** ORDERED LIST NUMBERS ***/
ol.styled-list {
  counter-reset: list-counter;
}
ol.styled-list li {
  counter-increment: list-counter;
}
ol.styled-list li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 12px;
  top: 9px;
  color: #777;
  font-weight: bold;
  font-size: 10pt;
  transition: color .3s ease, transform .2s ease;
}

/*** LAYOUT STRUCTURE ***/
#container {
  margin: 0 auto;
  max-width: 850px;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

/*** HEADER ***/
#header {
  background: url('https://i.imgur.com/nHFiHuP.png');
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 250px;
}

/*** CONTENT AREA ***/
#content {
  background: #dddddd;
  color: #777777;
  padding: 15px;
  font-family: verdana;
  font-size: 10px;
  flex: 1;
  order: 2; /* content on the right */
}

/*** SIDEBAR ***/
#sidebar {
  background: #ddd;
  color: #333;
  padding: 10px;
  width: 250px;
  order: 1; /* sidebar on the left */
}
#sidebar a {
  display: block;
  background: #eee;
  padding: 5px 10px;
  margin-bottom: 3px;
  color: #777;
}
#sidebar a:hover {
  background: #626262;
  color: #bdbdbd;
}

/*** FOOTER ***/
#footer {
  background: url('https://i.imgur.com/5tXob7H.png');
  color: #717171;
  padding: 25px;
  text-align: right;
  width: 100%;
  order: 3;
  font-family: verdana;
  font-size: 7pt;
}

/*** MENU LINKS ***/
a.menu:link,
a.menu:visited,
a.menu:active {
  color: #777;
  font-family: verdana;
  font-size: 10px;
  line-height: 18px;
  letter-spacing: 2px;
  text-align: center;
  margin: 2px;
  width: 109px;
  text-transform: lowercase;
  background: #eeeeee;
  display: block;
}
a.menu:hover {
  color: #e5e5e5;
  background: #8d8d8d;
}

/*** HEADINGS ***/
h1 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #595959;
  text-shadow: 0 1px 0 #fff;
  filter: contrast(105%) saturate(90%);
  text-align: left;
}
h1::after {
  content: "";
  display: block;
  width: 220px;
  max-width: 45%;
  height: 6px;
  margin: 10px 0 0;
  background: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.05));
  clip-path: polygon(0 0, 98% 0, 100% 50%, 98% 100%, 0 100%, 2% 50%);
  opacity: .5;
}

h2 {
  color: #515151; 
  text-shadow: 1px 1px 0 #bbb; 
  font-size: 13px;
  margin: 5px auto;
  display: flex;
  align-items: flex-start;
  width: 80%; 
}

h2::before {
  content: '';
  flex-grow: 1;
  height: 1px;
  min-width: 5px;
  margin: auto;
  margin-right: 10px;
  background: linear-gradient(
    to right,
    rgba(68, 68, 68, 0.65),   /* #444 */
    rgba(119, 119, 119, 0.65), /* #777 */
    rgba(187, 187, 187, 0.65)  /* #bbb */
  );
}

/*** INLINE TEXT STYLES ***/
b, strong { font-weight: 800; letter-spacing: .2px; }
i, em { font-style: italic; opacity: .95; }

/*** CUSTOM UNDERLINE & STRIKE ***/
.u-underline {
  position: relative;
  text-decoration: none;
  background: linear-gradient(transparent 70%, rgba(127,142,163,.25) 0);
  box-decoration-break: clone;
}
.s-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(0,0,0,.35);
  text-decoration-skip-ink: auto;
  text-shadow: 0 1px 0 #fff;
}

/*** BLOCKQUOTE STYLE ***/
blockquote {
  margin: 22px 0;
  padding: 16px 18px 16px 48px;
  color: #2b2b2b;
  background: linear-gradient(0deg, rgba(0,0,0,.035), rgba(255,255,255,.6)), #eeeeee;
  border: 1px solid rgba(0,0,0,.12);
  border-left: 6px solid rgba(0,0,0,.28);
  position: relative;
  background: url('https://i.imgur.com/ZgN8jVP.png');
}
blockquote:before {
  content: "“";
  position: absolute;
  left: 12px;
  top: 2px;
  font-size: 42px;
  line-height: 1;
  color: rgba(0,0,0,.22);
  font-family: Verdana;
  font-size: 10pt;
}

/*** DECORATIVE LINKS (WASHI TAPE STYLE) ***/
a.link {
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(transparent 65%, rgba(127,142,163,.22) 0);
  transition: filter .2s ease, background-size .2s ease, box-shadow .2s ease;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.35);
}
a.link:hover {
  filter: contrast(110%);
  box-shadow: inset 0 -10px 0 rgba(127,142,163,.22), 0 1px 0 #fff;
}
a.link:active {
  box-shadow: inset 0 -12px 0 rgba(0,0,0,.12), 0 1px 0 #fff;
}

/*** NEWS CARD CONTAINER ***/
.news-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: linear-gradient(0deg, rgba(255,255,255,0.6), rgba(240,240,240,0.9)), #f8f8f8;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 12px 15px;
  margin: 10px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0,0,0,.12);
  border-left: 6px solid rgba(0,0,0,.28);
  position: relative;
  background: url('https://i.imgur.com/ZgN8jVP.png');
}

/*** AVATAR ***/
.news-avatar {
  flex: 0 0 120px;
  height: 120px;
  overflow: hidden;
  background: #ddd;
}
.news-avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}

/*** TEXT AREA ***/
.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333;
}
.news-title {
  font-size: 16px;
  color: #444;
  margin: 0 0 6px;
  text-shadow: 1px 1px 0 #ccc;
  letter-spacing: 0.5px;
}
.news-text {
  margin: 0 0 8px;
  line-height: 1.4;
  font-size: 10pt;
  color: #444;
}

/*** META INFORMATION (DATE / TIME / AUTHOR) ***/
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 9pt;
  color: #666;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 6px;
}
.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.images
{
	border: 5px solid #c6c6c6;
padding: 5px;
 background: url('https://i.imgur.com/ZgN8jVP.png');}

/*** OPTIONAL ICON STYLE (for small touches) ***/
.news-author::before {
  content: "👤";
}
.news-date::before {
  content: "📅";
}
.news-time::before {
  content: "⏰";
}
