* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: #111;
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top bar */

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 40px;
    font-weight: 700;
}


.actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* Navigation */

.nav {

    background-color: white;
    color: black;
    border-bottom: 1px solid #ddd;
}

.nav ul {

    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 30px;

}

.nav a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 12px;
}

.nav a:hover,
.nav a:focus {
    border-radius: 4px;
    text-decoration: underline;
    color: rgb(182, 1, 182);
}


/* footer */

.site-footer {
  padding: 40px 20px;
  text-align: center;
  background-color: #f8f8f8;
  margin-top: 60px;          
}

/* horizonatal ruler */
hr {
  margin-top: 2rem;          
  margin-bottom: 2rem;       
  border-top: 1px solid #ccc;
  height: 1px;
}

/* Layout */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* Card */
.card {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    min-height: 260px;
}

/* Left content */
.card-content {
    flex: 1;
    padding: 24px;
}

.category {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.category.world {
    color: #1a73e8;
}

.category.design {
    color: #188038;
}

.card-content h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.date {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.read-more {
    font-size: 16px;
    color: #1a73e8;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}


/* Thumbnail */
.thumbnail {
    width: 200px;
    background-color: #5f6368;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;

    flex: 0 0 220px;        
    aspect-ratio: 4 / 3;   
    overflow: hidden;
}

/* image */

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;     
  display: block;
}

@media (max-width: 700px) {
  .card {
    flex-direction: column;
  }

  .thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* Responsive – Mobile Friendly */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        flex-direction: column;
    }

    .thumbnail {
        width: 100%;
        height: 180px;
    }
}

/* section for the about events */
.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 80px auto 50px;
}

.pricing-header h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
    color: rgb(182, 1, 182); 
}

.pricing-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .pricing-header {
        margin: 50px auto 30px;
    }

    .pricing-header h1 {
        font-size: 36px;
    }

    .pricing-header p {
        font-size: 16px;
    }
}

