/* /css/social-cards.css */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    margin: 0;
    padding: 20px;
}

.page-wrapper{
    
    width:100%;
}
/* Top menu - applies to ALL devices */
.top-menu {
    width: 100%;
    background: linear-gradient(to right, #27E7F5, #276CF5);
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.top-menu nav a {
    display: inline-block;
    margin: 0 15px;
    color: #E82702;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.top-menu nav a:hover {
    color: #0F0606;
}

/* Card container */
.card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Social card */
.social-card {
    width: 100%;
    max-width: 1080px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header with logo and title */
.card-header {
    background: linear-gradient(to right, #4b6cb7, #182848);
    color: white;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 180px;
}

.logo-container {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.logo-placeholder {
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
}

.card-title {
    font-size: 46px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    max-width: 80%;
}

/* Content columns */
.card-content {
    display: flex;
    flex: 1;
}

.content-column {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.column-1 {
    background-color: #e3f2fd;
}

.column-2 {
    background-color: #f1f8e9;
}

.column-3 {
    background-color: #ffebee;
}

.column-header {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

.column-1 .column-header {
    color: #1976d2;
    border-bottom-color: #90caf9;
}

.column-2 .column-header {
    color: #388e3c;
    border-bottom-color: #aed581;
}

.column-3 .column-header {
    color: #d32f2f;
    border-bottom-color: #ef9a9a;
}

.points-container {
    flex: 1;
}

.point {
    background-color: white;
    padding: 18px 24px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.column-1 .point {
    border-left: 5px solid #1976d2;
}

.column-2 .point {
    border-left: 5px solid #388e3c;
}

.column-3 .point {
    border-left: 5px solid #d32f2f;
}

/* Footer */
.card-footer {
    background-color: white;
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-text {
    font-size: 24px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.organization-link {
    font-size: 26px;
    font-weight: 700;
    color: #2196f3;
    text-decoration: none;
    transition: color 0.3s;
}

.organization-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .social-card {
        height: auto;
        max-width: 95%;
    }

    .card-content {
        flex-direction: column;
    }

    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .logo-container {
        width: 80px;
        height: 80px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .card-title {
        font-size: 24px;
        max-width: 100%;
        line-height: 1.3;
    }

    .column-header {
        font-size: 28px;
    }

    .point {
        font-size: 20px;
    }
}


 
 /* new pronunciation tip  */
 
 /* Tooltip styling */
.point {
    position: relative;
    cursor: help; /* shows a hint that it's interactive */
}

.point .tooltip {
    visibility: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: left;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.3;
    white-space: nowrap;

    /* Position */
    position: absolute;
    bottom: 120%; /* show above the sentence */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;

    /* Smooth fade in */
    transition: opacity 0.3s ease;
}

.point .tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* arrow below tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

/* Show tooltip on hover */
.point:hover .tooltip {
    visibility: visible;
    opacity: 1;
}   


.red-highlighter{
    
    color:red;
}   

.blue-highlighter{
    color:#2177f3; /* LIGHT BLUE MATCHING <h4> text */
}

/*.for explain quick <h3> <h4> notes */ 
.explainer{
    padding: 10;
    background-color: #278EF5;
    color:white;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-size: 18px;
    text-align:center;
}  


/* Explainer banner - above card header */
.card-explainer {
    background: linear-gradient(to right, #278EF5, #27E7F5);
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    padding: 30px 40px;   /* matches card-header padding */
    min-height: 180px;    /* same height as card-header */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    border-bottom: 2px solid rgba(255,255,255,0.2); /* subtle separation */
}
 /* for specific instruction at top of cards */ 
.card-explainer .explainer-note {
    background-color: rgba(255, 255, 255, 0.35); /* lighter overlay works better */
    color: #0D0B0B;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-style: italic;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
}
/*  special card for yok. */

  .yok-card {
    --bg: #C4B5B1 /* plainish grey red  */
    --border: #e6e6f0;
    --accent: #5b5bd6;
    --text: #222;
    --muted: #F4F7ED;
    --chip: #eef0ff;

    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 18px 14px;
    color: var(--text);
    max-width: 720px;
    line-height: 1.55;
    box-shadow: 0 1px 2px rgba(10,10,20,0.04);
  }
  .yok-card h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    letter-spacing: .2px;
  }
  .yok-card .sub {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: .98rem;
  }
  .yok-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 14px;
  }
  .yok-badges .badge {
    background: var(--chip);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .85rem;
    white-space: nowrap;
  }
  .yok-note {
    background: #ffffffcc;
    border: 1px dashed var(--border);
    border-left: 4px solid var(--accent);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .95rem;
    margin-bottom: 10px;
  }
  .ex-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ex {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
  }
  .ex .tr {
    font-weight: 600;
  }
  .ex .en {
    color: var(--muted);
    font-size: .95rem;
  }
  .ex .reply {
    margin-top: 6px;
    display: inline-block;
    background: var(--chip);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 8px;
    font-weight: 600;
  }
  .pattern {
    margin-top: 14px;
    font-size: .96rem;
  }
  .pattern code {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: .9rem;
  }