/** css file 
 * domain : ismysiteworking.com
 * need to change the relevant code for variants
 * 
 * **/
/** Main css **/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f8f9fa;
            font-size:1em;
        }
        header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 60px 20px;
            text-align: center;
        }
        header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        header p {
            font-size: 1.2em;
            opacity: 0.95;
        }
        #container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        .intro {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 8px;
            margin-bottom: 40px;
        }
        .intro h2 {
            color: #0053A6;
            margin-bottom: 15px;
        }
        .sections {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        .card {
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-left: 4px solid #667eea;
        }
        .card h3 {
            color: #0053A6;
            margin-bottom: 12px;
            font-size: 1.3em;
        }
        .card p {
            color: #555;
            font-size: 0.95em;
            line-height: 1.7;
        }
        .tips {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 20px;
            margin: 30px 0;
            border-radius: 4px;
        }
        .wip {
            background: #ffe7d8;
            border-left: 4px solid #ff6e14;
            padding: 20px;
            margin: 30px 0;
            color:#8a3500;
            border-radius: 4px;
        }
        .tips h3 {
            color: #856404;
            margin-bottom: 10px;
        }
        .tips ul {
            list-style-position: inside;
            color: #856404;
        }
        .tips li {
            margin: 8px 0;
        }
        footer {
            background: #f8f9fa;
            padding: 30px 20px;
            text-align: center;
            color: #666;
            margin-top: 40px;
            border-top: 1px solid #ddd;
        }

        a:link   { color: #0053A6; text-decoration: underline; }
		a:visited { color: #542ac9; }
		a:focus,
		a:hover   { color: #3949ab; background: #e2e6ea; text-decoration: none; outline: 2px dashed #667eea; }
		a:active  { color: #233185; background: #d9d9e3; }
		
        .button {
            display: inline-block;
            background: #0053A6;
            color: white !important;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            margin-top: 15px;
            transition: background 0.3s;
        }
		.button:link,
		.button:visited,
		.button:focus,
		.button:hover,
		.button:active {
			color: white !important;
			text-decoration: none;
		}

/** tags **/
.result { margin-bottom: 1.2em; }
.tags { color: #555; font-size: 0.9em; }
a.tag { text-decoration: none; margin-right: 8px; color: #0074D9; }
a.tag:hover { text-decoration: underline; }
hr { border: none; border-top: 1px solid #ddd; margin: 1.5em 0; }

main.tag-directory {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.tag-directory h1 {
  font-size: 1.8rem;
  border-bottom: 3px solid #222;
  padding-bottom: 0.3rem;
}

.tag-directory h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.2rem;
}
.tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem 1.5rem;
  list-style: none;
  padding: 0;
}
.tag-item {
  padding: 0.5rem 0.8rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.tag-item a {
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
}
.tag-item a:hover {
  text-decoration: underline;
}
.tag-description {
  font-size: 0.85em;
  color: #555;
  margin-top: 0.4em;
}
/** nav menu **/

/* ====== BASIC NAVBAR STYLES ====== */
.navbar {
  background: #333;
  color: #fff;
  font-family: sans-serif;
  position: relative;
  text-align: center;  /* centers inline or inline-block elements */
}
.nav-container {
  display: inline-block; /* makes the list act like inline text */
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 1em;
  max-width: 1200px;
  margin: 0 auto;
}
/* ====== MENU ====== */
.nav-menu {
  list-style: none;          /* remove bullets */
  display: flex;             /* activate flexbox */
  justify-content: center;   /* horizontally center items */
  align-items: center;       /* vertically center (optional) */
  gap: 1em;
  margin: 0;
  padding: 0;
  text-align:center;
}
.nav-menu li {
  position: relative;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.5em;
  display: block;
}
.nav-menu a:hover {
  background: #444;
  border-radius: 4px;
}
/* ====== DROPDOWN ====== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  list-style: none;
  padding: 0.5em 0;
  margin: 0;
  display: none;
  min-width: 150px;
}

.dropdown-menu li a {
  padding: 0.5em 1em;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ====== MOBILE STYLES ====== */
.nav-toggle {
  display: none;
  font-size: 1.6em;
  cursor: pointer;
}

/* Responsive layout */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #333;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .dropdown:hover .dropdown-menu {
    position: static;
  }
}
/** articles here **/

        .article-meta { background: #f0f9ff; padding: 15px; border-left: 4px solid #667eea; margin-bottom: 30px; border-radius: 4px; font-size: 0.9em; color: #5a67d8; }
        .article-meta span { margin-right: 20px; display: inline-block; }
        
        .featured-image,
        .article-image
         { width: 100%; max-width: 100%; height: auto; margin: 30px 0; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        
        article { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 30px; }
        
        article h1 { color: #333; margin-bottom: 20px; }
        article h2 { color: #667eea; font-size: 1.5em; margin-top: 30px; margin-bottom: 15px; border-bottom: 2px solid #667eea; padding-bottom: 10px; }
        article h3 { color: #764ba2; font-size: 1.2em; margin-top: 25px; margin-bottom: 12px; }
        article p { margin-bottom: 15px; }
        article ul, article ol { margin: 20px 0; margin-left: 30px; }
        article li { margin: 10px 0; }
        article a { color: #667eea; text-decoration: none; font-weight: 500; }
        article a:hover { text-decoration: underline; }
        article code { background: #f5f5f5; padding: 2px 6px; border-radius: 3px; font-family: 'Courier New', monospace; }
        article pre { background: #f5f5f5; padding: 15px; border-left: 4px solid #667eea; margin: 20px 0; border-radius: 4px; overflow-x: auto; }
        article pre code { background: none; padding: 0; }
        article strong { font-weight: 600; }
        article em { font-style: italic; }
 
 /*
 CSS Classes to Style:
.article-listing - Container
.article-preview - Each article card
.article-content - Text content
.read-more - Link button 
 */
/* Share routine */
.share-panel {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 500px;
}

.share-title {
  font-size: 16px;
  margin: 0 10px 0 0;
  font-weight: 600;
  color: #333;
}

/* All buttons look identical */
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: #ddd;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.share-button svg {
  fill: #fff;
  width: 22px;
  height: 22px;
  transition: opacity 0.3s ease;
}

/* Small hover lift */
.share-button:hover {
  transform: translateY(-2px);
}

/* Brand colors */
.share-button.facebook { border : 1px solid #4267b2; }
.share-button.facebook:hover { border : 1px solid #365899; }

.share-button.linkedin { border : 1px solid #0077b5; }
.share-button.linkedin:hover { border : 1px solid #005983; }

.share-button.x { border : 1px solid #000; }
.share-button.x:hover { border : 1px solid #333; }

.share-button.pinterest { border : 1px solid #bd081c; }
.share-button.pinterest:hover { border : 1px solid #8c0615; }

.share-button.whatsapp { border : 1px solid #25D366; }
.share-button.whatsapp:hover { border : 1px solid #1DA851; }

/* Copy link */
.share-button.copylink {
  border : 1px solid #555;
  overflow: hidden;
}
.share-button.copylink:hover {
  border : 1px solid #333;
  outline: 2px dashed #667eea;
}

/* Hide tick by default */
.share-button.copylink .tick-icon {
  position: absolute;
  opacity: 0;
  transform: scale(0.5);
}

/* When copied, swap icons */
.share-button.copylink.copied .link-icon {
  opacity: 0;
  transform: scale(0.5);
}
.share-button.copylink.copied .tick-icon {
  opacity: 1;
  transform: scale(1);
}

      
/** privacy **/

        .last-updated {
            background: #f5f3ff;
            padding: 15px;
            border-left: 4px solid #667eea;
            margin-bottom: 30px;
            border-radius: 4px;
            font-size: 0.95em;
            color: #5a67d8;
        }
        .toc {
            background: #f5f3ff;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 40px;
            border-left: 4px solid #667eea;
        }
        .toc h2 {
            color: #5a67d8;
            margin-bottom: 15px;
            font-size: 1.2em;
        }
        .toc ul {
            list-style-position: inside;
            color: #5a67d8;
        }
        .toc li {
            margin: 8px 0;
        }
        .toc a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
        }
        .toc a:hover {
            text-decoration: underline;
        }
        section {
            background: white;
            padding: 30px;
            margin-bottom: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        section h2 {
            color: #667eea;
            margin-bottom: 15px;
            font-size: 1.4em;
            border-bottom: 2px solid #667eea;
            padding-bottom: 10px;
        }
        section h3 {
            color: #5a67d8;
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 1.1em;
        }
        section p {
            margin-bottom: 15px;
            color: #555;
        }
        section ul {
            list-style-position: inside;
            margin-bottom: 15px;
            color: #555;
        }
        section li {
            margin: 8px 0;
            margin-left: 10px;
        }
        .highlight {
            background: #fef3c7;
            padding: 15px;
            border-left: 4px solid #f59e0b;
            margin: 15px 0;
            border-radius: 4px;
        }
        .highlight strong {
            color: #92400e;
        }
        .contact-box {
            background: #f0fdf4;
            padding: 20px;
            border-left: 4px solid #10b981;
            border-radius: 4px;
            margin: 20px 0;
        }
        .contact-box h3 {
            color: #065f46;
            margin-bottom: 10px;
        }
        .contact-box p {
            color: #047857;
            margin: 8px 0;
        }

/** cookie banner css **/

    .cookie-banner {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #333 !important;
        color: white !important;
        padding: 20px !important;
        z-index: 99999 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        font-family: Arial, sans-serif !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2) !important;
        flex-wrap: wrap !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .cookie-banner.hidden {
        display: none !important;
    }
    .cookie-text {
        flex: 1;
        min-width: 250px;
        line-height: 1.5;
    }
    .cookie-text a {
        color: #4a9eff;
        text-decoration: underline;
        font-weight: bold;
    }
    .cookie-text a:hover {
        background: #e2e6ea; text-decoration: none; outline: 2px dashed #667eea;;
    }
    .cookie-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    .cookie-button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1.1em;
        font-weight: bold;
        transition: background-color 0.3s;
        white-space: nowrap;
    }
    .cookie-accept {
        background-color: #027667;
        color: white;
    }
    .cookie-accept:hover {
        background-color: #45a049;
    }
    .cookie-decline {
        background-color: #666;
        color: white;
    }
    .cookie-decline:hover {
        background-color: #555;
    }
    @media (max-width: 768px) {
        .cookie-banner {
            flex-direction: column;
            align-items: stretch;
        }
        .cookie-buttons {
            justify-content: stretch;
        }
        .cookie-button {
            flex: 1;
            text-align: center;
        }
    }
