* {
    box-sizing: border-box;
}

:root {
  --bg-main: #0f0f0f;
  --bg-panel: #211716;
  --bg-dark: #0d0d0d;

  --gold-main: #9e640d;
  --gold-soft: #c9a94d;
  --gold-light: #f1d36b;

  --text-main: #b9b0a3;;
  --text-muted: #9c8b6b;

  --border-gold: #5a3a2a;
}

h1, h2, h3, h4 {
    color: var(--gold-main);
    font-family: "Times New Roman", serif;
    font-size: 18px;   
}

a {
    color: var(--text-muted);
    text-decoration: none;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Times New Roman", serif;
  line-height: 1.5;
}

.main-header {
    width: 100%;
    background-color: var(--bg-panel);
    border-bottom: 3px solid #8f6b2d;
}

.wrapper-header {
    max-width: 960px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s;
    font-size: 13px;
    font-weight: 600;
}

.main-nav ul li a:hover {
    color: var(--gold-main);
}

.wrapper-hero {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;   
}

hr {
    width: 100%;
    height: 1px;
    background-color: #3d3d3d;
    display: block;
    border: none;
    outline: none;
    margin-top: 20px;
}

.hero {
    height: 500px;
    background: url("images/hero.jpg") center top / cover no-repeat;
    position: relative;
    
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.6)
  );
}

.wrapper-main {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto; 
    position: relative;
    top: -100px;
    z-index: 1;
}

main {
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

main .content-top {
    flex: 0 0 100%;
    background-color: var(--bg-panel);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-paragraph {
    font-size: 14px;
    color: #616161;
}

.pagination ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px auto;
    padding: 0;
}

.pagination ul li a {
    text-decoration: none;
    color: var(--text-main);
}

.sidebar-left-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-left h3 {
    font-size: 16px;
}

.sidebar-left img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border: 2px solid #3a2a1f;
    transition: 0.3s;
}

.sidebar-left .featured-image:hover {
    border-color: #c9a94d;
    transform: scale(1.03);
}

.sidebar-left .img-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.sidebar-left .img-carousel img {
    width: 100%;
    height: 120px;
    display: block;
    border: 2px solid #3a2a1f;
    transition: 0.3s;
    object-fit: cover;
}

.sidebar-left .img-carousel img:hover {
    border-color: #c9a94d;
    transform: scale(1.03);
}

.sidebar-left > img {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

main .content-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 35px;
    background: linear-gradient(
        to bottom,
        #4d7d24,
        #2f5012
    );
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
    border: 1px solid #8fae5d;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 10px;
    font-size: 12px;
    position: relative;
    box-shadow:
        0 0 10px rgba(143,174,93,0.5),
        inset 0 0 5px rgba(255,255,255,0.1);
}

.content-button::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    background: url("images/ornament-left.png") no-repeat center/contain;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.content-button::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    background: url("images/ornament-right.png") no-repeat center/contain;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.content-button:hover {
    background: linear-gradient(
        to bottom,
        #5f9930,
        #3d6619
    );

    box-shadow: 0 0 10px rgba(143,174,93,0.5);
}

main .content-grid {
    display: grid;
    grid-template-columns: 300px 1fr 220px;
    gap: 30px;
}

.sidebar-left,
.content,
.sidebar-right {
    background-color: var(--bg-panel);
    padding: 35px;
}

.sidebar-right ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-right a.top-pvp-list {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 35px;
    line-height: 35px;
    background: linear-gradient(
        to bottom,
        #59120c,
        #410d08
    );
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
    border: 1px solid #8fae5d;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 12px;
    box-shadow:
        0 0 10px rgba(143,174,93,0.5),
        inset 0 0 5px rgba(255,255,255,0.1);
    margin: 20px 0 0 -20px;
}

.sidebar-right img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #3a2a1f;
    transition: 0.3s;
    object-fit: cover;
    margin: 10px 0;
}

.sidebar-right img:hover {
    border-color: #c9a94d;
    transform: scale(1.03);
}

.sidebar-right h2 {
    color: var(--gold-soft);
    margin: 40px 0;
}

.sidebar-right h4 {
    padding: 0;
    margin: 0;
}

.sidebar-right p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.main-footer-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.main-footer {
    width: 100%;
    padding: 50px 0;
    background-color: var(--bg-main);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 3px solid var(--gold-main);
}

.main-footer-box ul.social {
    list-style-type: none;
    display: flex;
    gap: 10px;
}

.main-footer-box ul.social img {
    width: 20px;
    height: auto;
    object-fit: cover;
}

.main-footer ul {
    list-style-type: none;
}

.main-footer ul li a {
    text-decoration: none;
    color: var(--text-main);
} 

.main-footer ul li {
    margin: 5px 0;
} 

.main-footer ul li a:hover {
    color: var(--text-muted);
} 